!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("@material/chips",[],e):"object"==typeof exports?exports.chips=e():(t.mdc=t.mdc||{},t.mdc.chips=e())}(this,function(){return i={},r.m=n=[function(t,e,n){"use strict";(function(t){}).call(this,n(20))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapResourceUrl=e.isResourceUrl=e.createResourceUrl=e.TrustedResourceUrl=void 0,n(0);var r=n(4),o=n(9),a=(i.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()},i);function i(t,e){this.privateDoNotAccessOrElseWrappedResourceUrl=t}var s=window.TrustedScriptURL;e.TrustedResourceUrl=null!=s?s:a,e.createResourceUrl=function(t){var e,n=t,i=null===(e=(0,o.getTrustedTypesPolicy)())||void 0===e?void 0:e.createScriptURL(n);return null!=i?i:new a(n,r.secretToken)},e.isResourceUrl=function(t){return t instanceof e.TrustedResourceUrl},e.unwrapResourceUrl=function(t){var e;if(null===(e=(0,o.getTrustedTypes)())||void 0===e?void 0:e.isScriptURL(t))return t;if(t instanceof a)return t.privateDoNotAccessOrElseWrappedResourceUrl;throw new Error("")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapHtml=e.isHtml=e.EMPTY_HTML=e.createHtml=e.SafeHtml=void 0,n(0);var i=n(4),r=n(9),o=(a.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedHtml.toString()},a);function a(t,e){this.privateDoNotAccessOrElseWrappedHtml=t}function s(t,e){return null!=e?e:new o(t,i.secretToken)}var c=window.TrustedHTML;e.SafeHtml=null!=c?c:o,e.createHtml=function(t){var e,n=t;return s(n,null===(e=(0,r.getTrustedTypesPolicy)())||void 0===e?void 0:e.createHTML(n))},e.EMPTY_HTML=function(){var t;return s("",null===(t=(0,r.getTrustedTypes)())||void 0===t?void 0:t.emptyHTML)}(),e.isHtml=function(t){return t instanceof e.SafeHtml},e.unwrapHtml=function(t){var e;if(null===(e=(0,r.getTrustedTypes)())||void 0===e?void 0:e.isHTML(t))return t;if(t instanceof o)return t.privateDoNotAccessOrElseWrappedHtml;throw new Error("")}},function(t,e,n){"use strict";function i(t){var e;try{e=new URL(t)}catch(t){return"https:"}return e.protocol}Object.defineProperty(e,"__esModule",{value:!0}),e.restrictivelySanitizeUrl=e.unwrapUrlOrSanitize=e.sanitizeJavascriptUrl=void 0,n(0);var r=["data:","http:","https:","mailto:","ftp:"];function o(t){if("javascript:"!==i(t))return t}e.sanitizeJavascriptUrl=o,e.unwrapUrlOrSanitize=function(t){return o(t)},e.restrictivelySanitizeUrl=function(t){var e=i(t);return void 0!==e&&-1!==r.indexOf(e.toLowerCase())?t:"about:invalid#zClosurez"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ensureTokenIsValid=e.secretToken=void 0,e.secretToken={},e.ensureTokenIsValid=function(t){if(t!==e.secretToken)throw new Error("Bad secret")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapScript=e.isScript=e.EMPTY_SCRIPT=e.createScript=e.SafeScript=void 0,n(0);var i=n(4),r=n(9),o=(a.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedScript.toString()},a);function a(t,e){this.privateDoNotAccessOrElseWrappedScript=t}function s(t,e){return null!=e?e:new o(t,i.secretToken)}var c=window.TrustedScript;e.SafeScript=null!=c?c:o,e.createScript=function(t){var e,n=t;return s(n,null===(e=(0,r.getTrustedTypesPolicy)())||void 0===e?void 0:e.createScript(n))},e.EMPTY_SCRIPT=function(){var t;return s("",null===(t=(0,r.getTrustedTypes)())||void 0===t?void 0:t.emptyScript)}(),e.isScript=function(t){return t instanceof e.SafeScript},e.unwrapScript=function(t){var e;if(null===(e=(0,r.getTrustedTypes)())||void 0===e?void 0:e.isScript(t))return t;if(t instanceof o)return t.privateDoNotAccessOrElseWrappedScript;throw new Error("")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertIsTemplateObject=void 0,e.assertIsTemplateObject=function(t,e,n){if(!Array.isArray(t)||!Array.isArray(t.raw)||!e&&1!==t.length)throw new TypeError(n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFoundation=void 0;var i=(Object.defineProperty(r,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),r.prototype.init=function(){},r.prototype.destroy=function(){},r);function r(t){void 0===t&&(t={}),this.adapter=t}e.MDCFoundation=i,e.default=i},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapAttributePrefix=e.createAttributePrefix=e.SafeAttributePrefix=void 0,n(0);function o(){}var a=n(4);e.SafeAttributePrefix=o;var s,c=(r(u,s=o),u.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedAttrPrefix},u);function u(t,e){var n=s.call(this)||this;return n.privateDoNotAccessOrElseWrappedAttrPrefix=t,n}e.createAttributePrefix=function(t){return new c(t,a.secretToken)},e.unwrapAttributePrefix=function(t){if(t instanceof c)return t.privateDoNotAccessOrElseWrappedAttrPrefix;throw new Error("")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TEST_ONLY=e.getTrustedTypesPolicy=e.getTrustedTypes=void 0;var i,r="google#safe";function o(){var t;return""!==r&&null!==(t=function(){if("undefined"!=typeof window)return window.trustedTypes}())&&void 0!==t?t:null}e.getTrustedTypes=o,e.getTrustedTypesPolicy=function(){var t,e;if(void 0===i)try{i=null!==(e=null===(t=o())||void 0===t?void 0:t.createPolicy(r,{createHTML:function(t){return t},createScript:function(t){return t},createScriptURL:function(t){return t}}))&&void 0!==e?e:null}catch(t){i=null}return i},e.TEST_ONLY={resetDefaults:function(){i=void 0,r="google#safe"},setTrustedTypesPolicyName:function(t){r=t}}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapStyle=e.isStyle=e.createStyle=e.SafeStyle=void 0,n(0);function o(){}var a=n(4);e.SafeStyle=o;var s,c=(r(u,s=o),u.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedStyle},u);function u(t,e){var n=s.call(this)||this;return n.privateDoNotAccessOrElseWrappedStyle=t,n}e.createStyle=function(t){return new c(t,a.secretToken)},e.isStyle=function(t){return t instanceof c},e.unwrapStyle=function(t){if(t instanceof c)return t.privateDoNotAccessOrElseWrappedStyle;throw new Error("")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AttributePolicyAction=e.SanitizerTable=void 0;var i,r,o=(a.prototype.isAllowedElement=function(t){return"form"!==t.toLowerCase()&&(this.allowedElements.has(t)||this.elementPolicies.has(t))},a.prototype.getAttributePolicy=function(t,e){var n=this.elementPolicies.get(e);return(null==n?void 0:n.has(t))?n.get(t):this.allowedGlobalAttributes.has(t)?{policyAction:i.KEEP}:this.globalAttributePolicies.get(t)||{policyAction:i.DROP}},a);function a(t,e,n,i){this.allowedElements=t,this.elementPolicies=e,this.allowedGlobalAttributes=n,this.globalAttributePolicies=i}e.SanitizerTable=o,(r=i=e.AttributePolicyAction||(e.AttributePolicyAction={}))[r.DROP=0]="DROP",r[r.KEEP=1]="KEEP",r[r.KEEP_AND_SANITIZE_URL=2]="KEEP_AND_SANITIZE_URL",r[r.KEEP_AND_NORMALIZE=3]="KEEP_AND_NORMALIZE",r[r.KEEP_AND_SANITIZE_STYLE=4]="KEEP_AND_SANITIZE_STYLE"},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapStyleSheet=e.isStyleSheet=e.createStyleSheet=e.SafeStyleSheet=void 0,n(0);function o(){}var a=n(4);e.SafeStyleSheet=o;var s,c=(r(u,s=o),u.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedStyleSheet},u);function u(t,e){var n=s.call(this)||this;return n.privateDoNotAccessOrElseWrappedStyleSheet=t,n}e.createStyleSheet=function(t){return new c(t,a.secretToken)},e.isStyleSheet=function(t){return t instanceof c},e.unwrapStyleSheet=function(t){if(t instanceof c)return t.privateDoNotAccessOrElseWrappedStyleSheet;throw new Error("")}},function(t,e,n){"use strict";var r=this&&this.__makeTemplateObject||function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},o=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||0=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},p=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||0")+1,n.lastIndexOf("/g,">").replace(/"/g,""").replace(/'/g,"'")}e.htmlEscape=function(t,e){void 0===e&&(e={});var n=s(t);return e.preserveSpaces&&(n=n.replace(/(^|[\r\n\t ]) /g,"$1 ")),e.preserveNewlines&&(n=n.replace(/(\r\n|\n|\r)/g,"
")),e.preserveTabs&&(n=n.replace(/(\t+)/g,'$1')),(0,o.createHtml)(n)},e.createScript=function(t,e){void 0===e&&(e={});var n=(0,r.unwrapScript)(t).toString(),i=""),(0,o.createHtml)(i)},e.createScriptSrc=function(t,e,n){var i=(0,a.unwrapResourceUrl)(t).toString(),r='