@covalent/components 8.3.0 → 8.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/_commonjsHelpers-2367a3a2.js +1 -0
  2. package/_commonjsHelpers-de2741aa.mjs +28 -0
  3. package/action-ribbon.mjs +2 -2
  4. package/alert.mjs +2 -2
  5. package/app-shell/app-shell.d.ts +6 -0
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +10 -10
  8. package/app-shell.mjs +45 -38
  9. package/button.mjs +3 -3
  10. package/card.js +1 -1
  11. package/card.mjs +14 -14
  12. package/check-list-item.js +1 -1
  13. package/check-list-item.mjs +6 -6
  14. package/checkbox.mjs +4 -4
  15. package/chip-9c846d01.mjs +3029 -0
  16. package/chip-d6f5c2bb.js +485 -0
  17. package/chip-set.js +76 -0
  18. package/chip-set.mjs +532 -0
  19. package/chip.js +1 -0
  20. package/chip.mjs +12 -0
  21. package/circular-progress.mjs +1 -1
  22. package/code-snippet.js +13 -1
  23. package/code-snippet.mjs +12252 -7
  24. package/{dialog-3ca1b701.mjs → dialog-3444dd4d.mjs} +8 -8
  25. package/dialog.mjs +2 -2
  26. package/drawer.mjs +2 -2
  27. package/empty-state.mjs +2 -2
  28. package/expansion-panel-item.js +25 -0
  29. package/expansion-panel-item.mjs +107 -0
  30. package/expansion-panel.js +7 -0
  31. package/expansion-panel.mjs +59 -0
  32. package/{form-element-ffcf59ff.mjs → form-element-7353b3c4.mjs} +1 -1
  33. package/formfield.js +80 -0
  34. package/formfield.mjs +277 -0
  35. package/{foundation-39dc72d2.mjs → foundation-eff81c1e.mjs} +1 -1
  36. package/icon-button.mjs +2 -2
  37. package/icon-check-toggle.mjs +4 -4
  38. package/icon-radio-toggle.mjs +4 -4
  39. package/icon.mjs +2 -2
  40. package/index.js +1 -560
  41. package/index.mjs +113 -3641
  42. package/linear-progress.mjs +4 -4
  43. package/list/nav-list-item.d.ts +1 -0
  44. package/list/nav-list-item.d.ts.map +1 -1
  45. package/{list-item-1fc0d619.mjs → list-item-098c7f47.mjs} +1 -1
  46. package/{list-item-209613bf.js → list-item-de5f96d8.js} +1 -1
  47. package/list-item.js +1 -1
  48. package/list-item.mjs +4 -4
  49. package/list.js +2 -2
  50. package/list.mjs +16 -16
  51. package/menu.mjs +5 -5
  52. package/{mwc-checkbox-base-f10fd709.mjs → mwc-checkbox-base-afeeff16.mjs} +3 -3
  53. package/{mwc-drawer-base-135de8a5.mjs → mwc-drawer-base-0c2b4060.mjs} +1 -1
  54. package/{mwc-icon-bf656cf5.mjs → mwc-icon-28b10c70.mjs} +1 -1
  55. package/{mwc-line-ripple-directive-b24a914e.mjs → mwc-line-ripple-directive-315e996d.mjs} +1 -1
  56. package/{mwc-list-base-76e37212.mjs → mwc-list-base-8aa5bfd8.mjs} +2 -2
  57. package/{mwc-list-item-base-fe4398c3.mjs → mwc-list-item-base-bf1a075b.mjs} +2 -2
  58. package/{mwc-menu-base-c4bc88ea.mjs → mwc-menu-base-872420a4.mjs} +2 -2
  59. package/{mwc-radio-base-a374fbd9.mjs → mwc-radio-base-18a887dd.mjs} +3 -3
  60. package/{mwc-slider.css-8b6f275c.mjs → mwc-slider.css-03537082.mjs} +3 -3
  61. package/{mwc-tab-base-be0c887f.mjs → mwc-tab-base-cd1570e4.mjs} +2 -2
  62. package/{mwc-top-app-bar-base-55da3fe4.mjs → mwc-top-app-bar-base-c7380903.mjs} +1 -1
  63. package/nav-list-item.js +10 -5
  64. package/nav-list-item.mjs +45 -36
  65. package/package.json +1 -1
  66. package/radio-list-item.js +1 -1
  67. package/radio-list-item.mjs +6 -6
  68. package/radio.mjs +4 -4
  69. package/{ripple-handlers-f37f21cf.mjs → ripple-handlers-38a43e50.mjs} +1 -1
  70. package/select.mjs +8 -8
  71. package/side-sheet.mjs +2 -2
  72. package/slider-range.mjs +4 -4
  73. package/slider.mjs +8 -8
  74. package/snackbar.mjs +1 -1
  75. package/style.css +1 -1
  76. package/switch.mjs +3 -3
  77. package/tab-bar.mjs +3 -3
  78. package/tab.mjs +3 -3
  79. package/textarea.js +1 -1
  80. package/textarea.mjs +4 -4
  81. package/{textfield-62e16cc2.js → textfield-11525c88.js} +1 -1
  82. package/{textfield-63d1859a.mjs → textfield-1792a6a8.mjs} +4 -4
  83. package/textfield.js +1 -1
  84. package/textfield.mjs +4 -4
  85. package/toolbar.mjs +2 -2
  86. package/tooltip.mjs +1 -1
  87. package/top-app-bar-fixed.mjs +2 -2
  88. package/top-app-bar.mjs +2 -2
  89. package/tree-list-item.mjs +2 -2
  90. package/{tslib.es6-f3e988cd.mjs → tslib.es6-226581a4.mjs} +5 -5
  91. package/code-snippet-2137b11c.js +0 -13
  92. package/code-snippet-ccca324f.mjs +0 -12278
@@ -0,0 +1,485 @@
1
+ "use strict";var Kt=Object.defineProperty;var $t=(t,e,i)=>e in t?Kt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var h=(t,e,i)=>($t(t,typeof e!="symbol"?e+"":e,i),i);const S=require("./query-assigned-elements-f623705d.js"),qt=require("./utils-a8190a39.js"),d=require("./tslib.es6-98719205.js"),L=require("./property-57f6f6fe.js"),Yt=require("./query-680f1868.js"),Xt=require("./class-map-b5efe8da.js"),_=require("./_commonjsHelpers-2367a3a2.js");var D={};/**
2
+ * @license
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */const w={};function Zt(t){if(t!==w)throw new Error("Bad secret")}/**
5
+ * @license
6
+ * SPDX-License-Identifier: Apache-2.0
7
+ */class St{constructor(){h(this,"brand")}}class wt extends St{constructor(i,n){super();h(this,"privateDoNotAccessOrElseWrappedAttrPrefix");this.privateDoNotAccessOrElseWrappedAttrPrefix=i}toString(){return this.privateDoNotAccessOrElseWrappedAttrPrefix}}function Tt(t){return new wt(t,w)}function Ct(t){if(t instanceof wt)return t.privateDoNotAccessOrElseWrappedAttrPrefix;{let e="";throw new Error(e)}}const Vt=Object.freeze(Object.defineProperty({__proto__:null,SafeAttributePrefix:St,createAttributePrefix:Tt,unwrapAttributePrefix:Ct},Symbol.toStringTag,{value:"Module"}));/**
8
+ * @license
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */function Jt(t){const e=t[0].toLowerCase();return Tt(e)}const Qt=Object.freeze(Object.defineProperty({__proto__:null,safeAttrPrefix:Jt},Symbol.toStringTag,{value:"Module"})),te=_.getAugmentedNamespace(Qt);/**
11
+ * @license
12
+ * SPDX-License-Identifier: Apache-2.0
13
+ */let Rt="google#safe";function ee(){if(typeof window<"u")return window.trustedTypes}function k(){return Rt!==""?ee()??null:null}let K;function J(){var t;if(K===void 0)try{K=((t=k())==null?void 0:t.createPolicy(Rt,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))??null}catch{K=null}return K}/**
14
+ * @license
15
+ * SPDX-License-Identifier: Apache-2.0
16
+ */class Q{constructor(e,i){h(this,"privateDoNotAccessOrElseWrappedHtml");this.privateDoNotAccessOrElseWrappedHtml=e}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function Dt(t,e){return e??new Q(t,w)}const ie=typeof window!==void 0?window.TrustedHTML:void 0,It=ie??Q;function F(t){var i;const e=t;return Dt(e,(i=J())==null?void 0:i.createHTML(e))}const ne=(()=>{var t;return Dt("",(t=k())==null?void 0:t.emptyHTML)})();function re(t){return t instanceof It}function tt(t){var e;if((e=k())!=null&&e.isHTML(t))return t;if(t instanceof Q)return t.privateDoNotAccessOrElseWrappedHtml;{let i="";throw new Error(i)}}const oe=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_HTML:ne,SafeHtml:It,createHtml:F,isHtml:re,unwrapHtml:tt},Symbol.toStringTag,{value:"Module"}));/**
17
+ * @license
18
+ * SPDX-License-Identifier: Apache-2.0
19
+ */class et{constructor(e,i){h(this,"privateDoNotAccessOrElseWrappedResourceUrl");this.privateDoNotAccessOrElseWrappedResourceUrl=e}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}const ae=typeof window!==void 0?window.TrustedScriptURL:void 0,Ot=ae??et;function U(t){var n;const e=t;return((n=J())==null?void 0:n.createScriptURL(e))??new et(e,w)}function ce(t){return t instanceof Ot}function Z(t){var e;if((e=k())!=null&&e.isScriptURL(t))return t;if(t instanceof et)return t.privateDoNotAccessOrElseWrappedResourceUrl;{let i="";throw new Error(i)}}const le=Object.freeze(Object.defineProperty({__proto__:null,TrustedResourceUrl:Ot,createResourceUrl:U,isResourceUrl:ce,unwrapResourceUrl:Z},Symbol.toStringTag,{value:"Module"}));/**
20
+ * @license
21
+ * SPDX-License-Identifier: Apache-2.0
22
+ */class it{constructor(e,i){h(this,"privateDoNotAccessOrElseWrappedScript");this.privateDoNotAccessOrElseWrappedScript=e}toString(){return this.privateDoNotAccessOrElseWrappedScript.toString()}}function Pt(t,e){return e??new it(t,w)}const se=typeof window!==void 0?window.TrustedScript:void 0,Nt=se??it;function G(t){var i;const e=t;return Pt(e,(i=J())==null?void 0:i.createScript(e))}const de=(()=>{var t;return Pt("",(t=k())==null?void 0:t.emptyScript)})();function ue(t){return t instanceof Nt}function V(t){var e;if((e=k())!=null&&e.isScript(t))return t;if(t instanceof it)return t.privateDoNotAccessOrElseWrappedScript;{let i="";throw new Error(i)}}const pe=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_SCRIPT:de,SafeScript:Nt,createScript:G,isScript:ue,unwrapScript:V},Symbol.toStringTag,{value:"Module"}));/**
23
+ * @license
24
+ * SPDX-License-Identifier: Apache-2.0
25
+ */function he(t,e={}){let i=z(t);return e.preserveSpaces&&(i=i.replace(/(^|[\r\n\t ]) /g,"$1&#160;")),e.preserveNewlines&&(i=i.replace(/(\r\n|\n|\r)/g,"<br>")),e.preserveTabs&&(i=i.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>')),F(i)}function me(t,e={}){const i=V(t).toString();let n="<script";return e.id&&(n+=` id="${z(e.id)}"`),e.nonce&&(n+=` nonce="${z(e.nonce)}"`),e.type&&(n+=` type="${z(e.type)}"`),n+=`>${i}<\/script>`,F(n)}function fe(t,e,i){const n=Z(t).toString();let r=`<script src="${z(n)}"`;return e&&(r+=" async"),i&&(r+=` nonce="${z(i)}"`),r+="><\/script>",F(r)}function z(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function ve(t){return F(t.map(tt).join(""))}const ge=Object.freeze(Object.defineProperty({__proto__:null,concatHtmls:ve,createScript:me,createScriptSrc:fe,htmlEscape:he},Symbol.toStringTag,{value:"Module"})),_e=_.getAugmentedNamespace(ge);/**
26
+ * @license
27
+ * SPDX-License-Identifier: Apache-2.0
28
+ */function ye(t){let e;try{e=new URL(t)}catch{return"https:"}return e.protocol}const be=["data:","http:","https:","mailto:","ftp:"];function Ae(t){const e=ye(t);return e!==void 0&&be.indexOf(e.toLowerCase())!==-1?t:"about:invalid#zClosurez"}/**
29
+ * @license
30
+ * SPDX-License-Identifier: Apache-2.0
31
+ */class Lt{constructor(){h(this,"brand")}}class nt extends Lt{constructor(i,n){super();h(this,"privateDoNotAccessOrElseWrappedStyle");this.privateDoNotAccessOrElseWrappedStyle=i}toString(){return this.privateDoNotAccessOrElseWrappedStyle}}function rt(t){return new nt(t,w)}function Ee(t){return t instanceof nt}function Ft(t){if(t instanceof nt)return t.privateDoNotAccessOrElseWrappedStyle;{let e="";throw new Error(e)}}const Se=Object.freeze(Object.defineProperty({__proto__:null,SafeStyle:Lt,createStyle:rt,isStyle:Ee,unwrapStyle:Ft},Symbol.toStringTag,{value:"Module"}));/**
32
+ * @license
33
+ * SPDX-License-Identifier: Apache-2.0
34
+ */function we(t,e){Ce(t)&&Te(t),t.innerHTML=tt(e)}function Mt(t,e,i,n){if(t.length===0)throw new Error("No prefixes are provided");const r=t.map(a=>Ct(a)),o=i.toLowerCase();if(r.every(a=>o.indexOf(a)!==0))throw new Error(`Attribute "${i}" does not match any of the allowed prefixes.`);e.setAttribute(i,n)}function Te(t){if(t.tagName.toLowerCase()==="script")throw new Error("Use setTextContent with a SafeScript.");if(t.tagName.toLowerCase()==="style")throw new Error("Use setTextContent with a SafeStyleSheet.")}function Ce(t){return t.tagName!==void 0}/**
35
+ * @license
36
+ * SPDX-License-Identifier: Apache-2.0
37
+ */function Re(t){const e=document.createElement("template"),i=F(t);return we(e,i),e.content}/**
38
+ * @license
39
+ * SPDX-License-Identifier: Apache-2.0
40
+ */function st(t){const e=t.nodeName;return typeof e=="string"?e:"FORM"}function dt(t){return t.nodeType===Node.TEXT_NODE}function ut(t){const e=t.nodeType;return e===Node.ELEMENT_NODE||typeof e!="number"}/**
41
+ * @license
42
+ * SPDX-License-Identifier: Apache-2.0
43
+ */class P{constructor(e,i,n,r){h(this,"allowedElements");h(this,"elementPolicies");h(this,"allowedGlobalAttributes");h(this,"globalAttributePolicies");this.allowedElements=e,this.elementPolicies=i,this.allowedGlobalAttributes=n,this.globalAttributePolicies=r}isAllowedElement(e){return e.toLowerCase()!=="form"&&(this.allowedElements.has(e)||this.elementPolicies.has(e))}getAttributePolicy(e,i){const n=this.elementPolicies.get(i);return n!=null&&n.has(e)?n.get(e):this.allowedGlobalAttributes.has(e)?{policyAction:u.KEEP}:this.globalAttributePolicies.get(e)||{policyAction:u.DROP}}}var u;(function(t){t[t.DROP=0]="DROP",t[t.KEEP=1]="KEEP",t[t.KEEP_AND_SANITIZE_URL=2]="KEEP_AND_SANITIZE_URL",t[t.KEEP_AND_NORMALIZE=3]="KEEP_AND_NORMALIZE",t[t.KEEP_AND_SANITIZE_STYLE=4]="KEEP_AND_SANITIZE_STYLE"})(u||(u={}));/**
44
+ * @license
45
+ * SPDX-License-Identifier: Apache-2.0
46
+ */const xt=new P(new Set(["ARTICLE","SECTION","NAV","ASIDE","H1","H2","H3","H4","H5","H6","HEADER","FOOTER","ADDRESS","P","HR","PRE","BLOCKQUOTE","OL","UL","LH","LI","DL","DT","DD","FIGURE","FIGCAPTION","MAIN","DIV","EM","STRONG","SMALL","S","CITE","Q","DFN","ABBR","RUBY","RB","RT","RTC","RP","DATA","TIME","CODE","VAR","SAMP","KBD","SUB","SUP","I","B","U","MARK","BDI","BDO","SPAN","BR","WBR","INS","DEL","PICTURE","PARAM","TRACK","MAP","TABLE","CAPTION","COLGROUP","COL","TBODY","THEAD","TFOOT","TR","TD","TH","SELECT","DATALIST","OPTGROUP","OPTION","OUTPUT","PROGRESS","METER","FIELDSET","LEGEND","DETAILS","SUMMARY","MENU","DIALOG","SLOT","CANVAS","FONT","CENTER"]),new Map([["A",new Map([["href",{policyAction:u.KEEP_AND_SANITIZE_URL}]])],["AREA",new Map([["href",{policyAction:u.KEEP_AND_SANITIZE_URL}]])],["LINK",new Map([["href",{policyAction:u.KEEP_AND_SANITIZE_URL,conditions:new Map([["rel",new Set(["alternate","author","bookmark","canonical","cite","help","icon","license","next","prefetch","dns-prefetch","prerender","preconnect","preload","prev","search","subresource"])]])}]])],["SOURCE",new Map([["src",{policyAction:u.KEEP_AND_SANITIZE_URL}]])],["IMG",new Map([["src",{policyAction:u.KEEP_AND_SANITIZE_URL}]])],["VIDEO",new Map([["src",{policyAction:u.KEEP_AND_SANITIZE_URL}]])],["AUDIO",new Map([["src",{policyAction:u.KEEP_AND_SANITIZE_URL}]])]]),new Set(["title","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-current","aria-disabled","aria-dropeffect","aria-expanded","aria-haspopup","aria-hidden","aria-invalid","aria-label","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","alt","align","autocapitalize","autocomplete","autocorrect","autofocus","autoplay","bgcolor","border","cellpadding","cellspacing","checked","color","cols","colspan","controls","datetime","disabled","download","draggable","enctype","face","formenctype","frameborder","height","hreflang","hidden","ismap","label","lang","loop","max","maxlength","media","minlength","min","multiple","muted","nonce","open","placeholder","preload","rel","required","reversed","role","rows","rowspan","selected","shape","size","sizes","slot","span","spellcheck","start","step","summary","translate","type","valign","value","width","wrap","itemscope","itemtype","itemid","itemprop","itemref"]),new Map([["dir",{policyAction:u.KEEP_AND_NORMALIZE,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{policyAction:u.KEEP_AND_NORMALIZE,conditions:new Map([["async",new Set(["async"])]])}],["cite",{policyAction:u.KEEP_AND_SANITIZE_URL}],["loading",{policyAction:u.KEEP_AND_NORMALIZE,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{policyAction:u.KEEP_AND_SANITIZE_URL}],["target",{policyAction:u.KEEP_AND_NORMALIZE,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]));/**
47
+ * @license
48
+ * SPDX-License-Identifier: Apache-2.0
49
+ */class ot{constructor(e,i){h(this,"sanitizerTable");h(this,"changes",[]);this.sanitizerTable=e,Zt(i)}sanitizeAssertUnchanged(e){this.changes=[];const i=this.sanitize(e);if(this.changes.length!==0){let n="";throw new Error(n)}return i}sanitize(e){const i=document.createElement("span");i.appendChild(this.sanitizeToFragment(e));let n=new XMLSerializer().serializeToString(i);return n=n.slice(n.indexOf(">")+1,n.lastIndexOf("</")),F(n)}sanitizeToFragment(e){const i=Re(e),n=document.createTreeWalker(i,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,c=>this.nodeFilter(c),!1);let r=n.nextNode();const o=document.createDocumentFragment();let a=o;for(;r!==null;){let c;if(dt(r))c=this.sanitizeTextNode(r);else if(ut(r))c=this.sanitizeElementNode(r);else throw new Error("Node is not of type text or element");if(a.appendChild(c),r=n.firstChild(),r)a=c;else for(;!(r=n.nextSibling())&&(r=n.parentNode());)a=a.parentNode}return o}sanitizeTextNode(e){return document.createTextNode(e.data)}sanitizeElementNode(e){const i=st(e),n=document.createElement(i),r=e.attributes;for(const{name:o,value:a}of r){const c=this.sanitizerTable.getAttributePolicy(o,i);if(!this.satisfiesAllConditions(c.conditions,r)){this.recordChange(`Not all conditions satisfied for attribute: ${o}.`);continue}switch(c.policyAction){case u.KEEP:n.setAttribute(o,a);break;case u.KEEP_AND_SANITIZE_URL:const s=Ae(a);s!==a&&this.recordChange(`Url in attribute ${o} was modified during sanitization. Original url:"${a}" was sanitized to: "${s}"`),n.setAttribute(o,s);break;case u.KEEP_AND_NORMALIZE:n.setAttribute(o,a.toLowerCase());break;case u.KEEP_AND_SANITIZE_STYLE:n.setAttribute(o,a);break;case u.DROP:this.recordChange(`Attribute: ${o} was dropped`);break;default:Pe(c.policyAction,"Unhandled AttributePolicyAction case")}}return n}nodeFilter(e){if(dt(e))return NodeFilter.FILTER_ACCEPT;if(!ut(e))return NodeFilter.FILTER_REJECT;const i=st(e);return i===null?(this.recordChange(`Node name was null for node: ${e}`),NodeFilter.FILTER_REJECT):this.sanitizerTable.isAllowedElement(i)?NodeFilter.FILTER_ACCEPT:(this.recordChange(`Element: ${i} was dropped`),NodeFilter.FILTER_REJECT)}recordChange(e){this.changes.length===0&&this.changes.push("")}satisfiesAllConditions(e,i){var n;if(!e)return!0;for(const[r,o]of e){const a=(n=i.getNamedItem(r))==null?void 0:n.value;if(a&&!o.has(a))return!1}return!0}}const at=(()=>new ot(xt,w))();function De(t){return at.sanitize(t)}function Ie(t){return at.sanitizeAssertUnchanged(t)}function Oe(t){return at.sanitizeToFragment(t)}function Pe(t,e=`unexpected value ${t}!`){throw new Error(e)}const Ne=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerImpl:ot,sanitizeHtml:De,sanitizeHtmlAssertUnchanged:Ie,sanitizeHtmlToFragment:Oe},Symbol.toStringTag,{value:"Module"})),Le=_.getAugmentedNamespace(Ne);/**
50
+ * @license
51
+ * SPDX-License-Identifier: Apache-2.0
52
+ */class Fe{constructor(){h(this,"sanitizerTable");h(this,"calledBuild",!1);this.sanitizerTable=xt}onlyAllowElements(e){const i=new Set,n=new Map;for(let r of e){if(r=r.toUpperCase(),!this.sanitizerTable.isAllowedElement(r))throw new Error(`Element: ${r}, is not allowed by html5_contract.textpb`);const o=this.sanitizerTable.elementPolicies.get(r);o!==void 0?n.set(r,o):i.add(r)}return this.sanitizerTable=new P(i,n,this.sanitizerTable.allowedGlobalAttributes,this.sanitizerTable.globalAttributePolicies),this}onlyAllowAttributes(e){const i=new Set,n=new Map,r=new Map;for(const o of e)this.sanitizerTable.allowedGlobalAttributes.has(o)&&i.add(o),this.sanitizerTable.globalAttributePolicies.has(o)&&n.set(o,this.sanitizerTable.globalAttributePolicies.get(o));for(const[o,a]of this.sanitizerTable.elementPolicies.entries()){const c=new Map;for(const[s,g]of a.entries())e.has(s)&&c.set(s,g);r.set(o,c)}return this.sanitizerTable=new P(this.sanitizerTable.allowedElements,r,i,n),this}allowDataAttributes(e){const i=new Set(this.sanitizerTable.allowedGlobalAttributes);for(const n of e){if(n.indexOf("data-")!==0)throw new Error(`data attribute: ${n} does not begin with the prefix "data-"`);i.add(n)}return this.sanitizerTable=new P(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,i,this.sanitizerTable.globalAttributePolicies),this}allowStyleAttributes(){const e=new Map(this.sanitizerTable.globalAttributePolicies);return e.set("style",{policyAction:u.KEEP_AND_SANITIZE_STYLE}),this.sanitizerTable=new P(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,e),this}allowClassAttributes(){const e=new Map(this.sanitizerTable.globalAttributePolicies);return e.set("class",{policyAction:u.KEEP}),this.sanitizerTable=new P(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,e),this}allowIdAttributes(){const e=new Map(this.sanitizerTable.globalAttributePolicies);return e.set("id",{policyAction:u.KEEP}),this.sanitizerTable=new P(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,e),this}build(){if(this.calledBuild)throw new Error("this sanitizer has already called build");return this.calledBuild=!0,new ot(this.sanitizerTable,w)}}const Me=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerBuilder:Fe},Symbol.toStringTag,{value:"Module"})),xe=_.getAugmentedNamespace(Me);/**
53
+ * @license
54
+ * SPDX-License-Identifier: Apache-2.0
55
+ */function ze(t,...e){if(e.length===0)return U(t[0]);t[0].toLowerCase();const i=[t[0]];for(let n=0;n<e.length;n++)i.push(encodeURIComponent(e[n])),i.push(t[n+1]);return U(i.join(""))}function Ue(t,e){let i=Z(t).toString();if(/#/.test(i)){let r="";throw new Error(r)}let n=/\?/.test(i)?"&":"?";return e.forEach((r,o)=>{const a=r instanceof Array?r:[r];for(let c=0;c<a.length;c++){const s=a[c];s!=null&&(i+=n+encodeURIComponent(o)+"="+encodeURIComponent(String(s)),n="&")}}),U(i)}const He=/[^#]*/;function ke(t,e){const i=Z(t).toString();return U(He.exec(i)[0]+"#"+e)}function Be(t){const e=V(t).toString(),i=new Blob([e],{type:"text/javascript"});return U(URL.createObjectURL(i))}const Ge=Object.freeze(Object.defineProperty({__proto__:null,appendParams:Ue,blobUrlFromScript:Be,replaceFragment:ke,trustedResourceUrl:ze},Symbol.toStringTag,{value:"Module"})),je=_.getAugmentedNamespace(Ge);/**
56
+ * @license
57
+ * SPDX-License-Identifier: Apache-2.0
58
+ */function We(t){return G(t[0])}function Ke(t){return G(t.map(V).join(""))}function zt(t){return G(JSON.stringify(t).replace(/</g,"\\x3c"))}function $e(t,...e){return(...i)=>{const n=i.map(r=>zt(r).toString());return G(`(${t.join("")})(${n.join(",")})`)}}const qe=Object.freeze(Object.defineProperty({__proto__:null,concatScripts:Ke,safeScript:We,safeScriptWithArgs:$e,scriptFromJson:zt},Symbol.toStringTag,{value:"Module"})),Ye=_.getAugmentedNamespace(qe);/**
59
+ * @license
60
+ * SPDX-License-Identifier: Apache-2.0
61
+ */function Xe(t){const e=t[0];return rt(e)}function Ze(t){return rt(t.map(Ft).join(""))}const Ve=Object.freeze(Object.defineProperty({__proto__:null,concatStyles:Ze,safeStyle:Xe},Symbol.toStringTag,{value:"Module"})),Je=_.getAugmentedNamespace(Ve);/**
62
+ * @license
63
+ * SPDX-License-Identifier: Apache-2.0
64
+ */class Ut{constructor(){h(this,"brand")}}class ct extends Ut{constructor(i,n){super();h(this,"privateDoNotAccessOrElseWrappedStyleSheet");this.privateDoNotAccessOrElseWrappedStyleSheet=i}toString(){return this.privateDoNotAccessOrElseWrappedStyleSheet}}function lt(t){return new ct(t,w)}function Qe(t){return t instanceof ct}function Ht(t){if(t instanceof ct)return t.privateDoNotAccessOrElseWrappedStyleSheet;{let e="";throw new Error(e)}}const ti=Object.freeze(Object.defineProperty({__proto__:null,SafeStyleSheet:Ut,createStyleSheet:lt,isStyleSheet:Qe,unwrapStyleSheet:Ht},Symbol.toStringTag,{value:"Module"}));/**
65
+ * @license
66
+ * SPDX-License-Identifier: Apache-2.0
67
+ */function ei(t){const e=t[0];return lt(e)}function ii(t){return lt(t.map(Ht).join(""))}const ni=Object.freeze(Object.defineProperty({__proto__:null,concatStyleSheets:ii,safeStyleSheet:ei},Symbol.toStringTag,{value:"Module"})),ri=_.getAugmentedNamespace(ni),oi=_.getAugmentedNamespace(Vt),ai=_.getAugmentedNamespace(oe),ci=_.getAugmentedNamespace(le),li=_.getAugmentedNamespace(pe),si=_.getAugmentedNamespace(Se),di=_.getAugmentedNamespace(ti);(function(t){/**
68
+ * @license
69
+ * SPDX-License-Identifier: Apache-2.0
70
+ */Object.defineProperty(t,"__esModule",{value:!0}),t.unwrapStyleSheet=t.SafeStyleSheet=t.isStyleSheet=t.unwrapStyle=t.SafeStyle=t.isStyle=t.unwrapScript=t.SafeScript=t.isScript=t.EMPTY_SCRIPT=t.unwrapResourceUrl=t.TrustedResourceUrl=t.isResourceUrl=t.unwrapHtml=t.SafeHtml=t.isHtml=t.EMPTY_HTML=t.unwrapAttributePrefix=t.SafeAttributePrefix=t.safeStyleSheet=t.concatStyleSheets=t.safeStyle=t.concatStyles=t.scriptFromJson=t.safeScriptWithArgs=t.safeScript=t.concatScripts=t.trustedResourceUrl=t.replaceFragment=t.blobUrlFromScript=t.appendParams=t.HtmlSanitizerBuilder=t.sanitizeHtmlToFragment=t.sanitizeHtmlAssertUnchanged=t.sanitizeHtml=t.htmlEscape=t.createScriptSrc=t.createScript=t.concatHtmls=t.safeAttrPrefix=void 0;var e=te;Object.defineProperty(t,"safeAttrPrefix",{enumerable:!0,get:function(){return e.safeAttrPrefix}});var i=_e;Object.defineProperty(t,"concatHtmls",{enumerable:!0,get:function(){return i.concatHtmls}}),Object.defineProperty(t,"createScript",{enumerable:!0,get:function(){return i.createScript}}),Object.defineProperty(t,"createScriptSrc",{enumerable:!0,get:function(){return i.createScriptSrc}}),Object.defineProperty(t,"htmlEscape",{enumerable:!0,get:function(){return i.htmlEscape}});var n=Le;Object.defineProperty(t,"sanitizeHtml",{enumerable:!0,get:function(){return n.sanitizeHtml}}),Object.defineProperty(t,"sanitizeHtmlAssertUnchanged",{enumerable:!0,get:function(){return n.sanitizeHtmlAssertUnchanged}}),Object.defineProperty(t,"sanitizeHtmlToFragment",{enumerable:!0,get:function(){return n.sanitizeHtmlToFragment}});var r=xe;Object.defineProperty(t,"HtmlSanitizerBuilder",{enumerable:!0,get:function(){return r.HtmlSanitizerBuilder}});var o=je;Object.defineProperty(t,"appendParams",{enumerable:!0,get:function(){return o.appendParams}}),Object.defineProperty(t,"blobUrlFromScript",{enumerable:!0,get:function(){return o.blobUrlFromScript}}),Object.defineProperty(t,"replaceFragment",{enumerable:!0,get:function(){return o.replaceFragment}}),Object.defineProperty(t,"trustedResourceUrl",{enumerable:!0,get:function(){return o.trustedResourceUrl}});var a=Ye;Object.defineProperty(t,"concatScripts",{enumerable:!0,get:function(){return a.concatScripts}}),Object.defineProperty(t,"safeScript",{enumerable:!0,get:function(){return a.safeScript}}),Object.defineProperty(t,"safeScriptWithArgs",{enumerable:!0,get:function(){return a.safeScriptWithArgs}}),Object.defineProperty(t,"scriptFromJson",{enumerable:!0,get:function(){return a.scriptFromJson}});var c=Je;Object.defineProperty(t,"concatStyles",{enumerable:!0,get:function(){return c.concatStyles}}),Object.defineProperty(t,"safeStyle",{enumerable:!0,get:function(){return c.safeStyle}});var s=ri;Object.defineProperty(t,"concatStyleSheets",{enumerable:!0,get:function(){return s.concatStyleSheets}}),Object.defineProperty(t,"safeStyleSheet",{enumerable:!0,get:function(){return s.safeStyleSheet}});var g=oi;Object.defineProperty(t,"SafeAttributePrefix",{enumerable:!0,get:function(){return g.SafeAttributePrefix}}),Object.defineProperty(t,"unwrapAttributePrefix",{enumerable:!0,get:function(){return g.unwrapAttributePrefix}});var b=ai;Object.defineProperty(t,"EMPTY_HTML",{enumerable:!0,get:function(){return b.EMPTY_HTML}}),Object.defineProperty(t,"isHtml",{enumerable:!0,get:function(){return b.isHtml}}),Object.defineProperty(t,"SafeHtml",{enumerable:!0,get:function(){return b.SafeHtml}}),Object.defineProperty(t,"unwrapHtml",{enumerable:!0,get:function(){return b.unwrapHtml}});var R=ci;Object.defineProperty(t,"isResourceUrl",{enumerable:!0,get:function(){return R.isResourceUrl}}),Object.defineProperty(t,"TrustedResourceUrl",{enumerable:!0,get:function(){return R.TrustedResourceUrl}}),Object.defineProperty(t,"unwrapResourceUrl",{enumerable:!0,get:function(){return R.unwrapResourceUrl}});var O=li;Object.defineProperty(t,"EMPTY_SCRIPT",{enumerable:!0,get:function(){return O.EMPTY_SCRIPT}}),Object.defineProperty(t,"isScript",{enumerable:!0,get:function(){return O.isScript}}),Object.defineProperty(t,"SafeScript",{enumerable:!0,get:function(){return O.SafeScript}}),Object.defineProperty(t,"unwrapScript",{enumerable:!0,get:function(){return O.unwrapScript}});var M=si;Object.defineProperty(t,"isStyle",{enumerable:!0,get:function(){return M.isStyle}}),Object.defineProperty(t,"SafeStyle",{enumerable:!0,get:function(){return M.SafeStyle}}),Object.defineProperty(t,"unwrapStyle",{enumerable:!0,get:function(){return M.unwrapStyle}});var x=di;Object.defineProperty(t,"isStyleSheet",{enumerable:!0,get:function(){return x.isStyleSheet}}),Object.defineProperty(t,"SafeStyleSheet",{enumerable:!0,get:function(){return x.SafeStyleSheet}}),Object.defineProperty(t,"unwrapStyleSheet",{enumerable:!0,get:function(){return x.unwrapStyleSheet}})})(D);/**
71
+ * @license
72
+ * Copyright 2020 Google Inc.
73
+ *
74
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
75
+ * of this software and associated documentation files (the "Software"), to deal
76
+ * in the Software without restriction, including without limitation the rights
77
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
78
+ * copies of the Software, and to permit persons to whom the Software is
79
+ * furnished to do so, subject to the following conditions:
80
+ *
81
+ * The above copyright notice and this permission notice shall be included in
82
+ * all copies or substantial portions of the Software.
83
+ *
84
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
85
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
86
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
87
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
88
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
89
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
90
+ * THE SOFTWARE.
91
+ */var ui=function(){function t(){this.rafIDs=new Map}return t.prototype.request=function(e,i){var n=this;this.cancel(e);var r=requestAnimationFrame(function(o){n.rafIDs.delete(e),i(o)});this.rafIDs.set(e,r)},t.prototype.cancel=function(e){var i=this.rafIDs.get(e);i&&(cancelAnimationFrame(i),this.rafIDs.delete(e))},t.prototype.cancelAll=function(){var e=this;this.rafIDs.forEach(function(i,n){e.cancel(n)})},t.prototype.getQueue=function(){var e=[];return this.rafIDs.forEach(function(i,n){e.push(n)}),e},t}();/**
92
+ * @license
93
+ * Copyright 2016 Google Inc.
94
+ *
95
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
96
+ * of this software and associated documentation files (the "Software"), to deal
97
+ * in the Software without restriction, including without limitation the rights
98
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99
+ * copies of the Software, and to permit persons to whom the Software is
100
+ * furnished to do so, subject to the following conditions:
101
+ *
102
+ * The above copyright notice and this permission notice shall be included in
103
+ * all copies or substantial portions of the Software.
104
+ *
105
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
106
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
107
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
108
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
109
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
110
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
111
+ * THE SOFTWARE.
112
+ */var j=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
113
+ * @license
114
+ * Copyright 2020 Google Inc.
115
+ *
116
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
117
+ * of this software and associated documentation files (the "Software"), to deal
118
+ * in the Software without restriction, including without limitation the rights
119
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
120
+ * copies of the Software, and to permit persons to whom the Software is
121
+ * furnished to do so, subject to the following conditions:
122
+ *
123
+ * The above copyright notice and this permission notice shall be included in
124
+ * all copies or substantial portions of the Software.
125
+ *
126
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
127
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
128
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
129
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
130
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
131
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
132
+ * THE SOFTWARE.
133
+ */var l={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"},f=new Set;f.add(l.BACKSPACE);f.add(l.ENTER);f.add(l.SPACEBAR);f.add(l.PAGE_UP);f.add(l.PAGE_DOWN);f.add(l.END);f.add(l.HOME);f.add(l.ARROW_LEFT);f.add(l.ARROW_UP);f.add(l.ARROW_RIGHT);f.add(l.ARROW_DOWN);f.add(l.DELETE);f.add(l.ESCAPE);f.add(l.TAB);var y={BACKSPACE:8,ENTER:13,SPACEBAR:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,ESCAPE:27,TAB:9},v=new Map;v.set(y.BACKSPACE,l.BACKSPACE);v.set(y.ENTER,l.ENTER);v.set(y.SPACEBAR,l.SPACEBAR);v.set(y.PAGE_UP,l.PAGE_UP);v.set(y.PAGE_DOWN,l.PAGE_DOWN);v.set(y.END,l.END);v.set(y.HOME,l.HOME);v.set(y.ARROW_LEFT,l.ARROW_LEFT);v.set(y.ARROW_UP,l.ARROW_UP);v.set(y.ARROW_RIGHT,l.ARROW_RIGHT);v.set(y.ARROW_DOWN,l.ARROW_DOWN);v.set(y.DELETE,l.DELETE);v.set(y.ESCAPE,l.ESCAPE);v.set(y.TAB,l.TAB);var T=new Set;T.add(l.PAGE_UP);T.add(l.PAGE_DOWN);T.add(l.END);T.add(l.HOME);T.add(l.ARROW_LEFT);T.add(l.ARROW_UP);T.add(l.ARROW_RIGHT);T.add(l.ARROW_DOWN);function kt(t){var e=t.key;if(f.has(e))return e;var i=v.get(t.keyCode);return i||l.UNKNOWN}function pi(t){return T.has(kt(t))}/**
134
+ * @license
135
+ * Copyright 2020 Google Inc.
136
+ *
137
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
138
+ * of this software and associated documentation files (the "Software"), to deal
139
+ * in the Software without restriction, including without limitation the rights
140
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
141
+ * copies of the Software, and to permit persons to whom the Software is
142
+ * furnished to do so, subject to the following conditions:
143
+ *
144
+ * The above copyright notice and this permission notice shall be included in
145
+ * all copies or substantial portions of the Software.
146
+ *
147
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
148
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
149
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
150
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
151
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
152
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
153
+ * THE SOFTWARE.
154
+ */var B;(function(t){t.PRIMARY_ACTION="mdc-evolution-chip__action--primary",t.TRAILING_ACTION="mdc-evolution-chip__action--trailing",t.CHIP_ROOT="mdc-evolution-chip"})(B||(B={}));var E;(function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.CLICK=1]="CLICK",t[t.BACKSPACE_KEY=2]="BACKSPACE_KEY",t[t.DELETE_KEY=3]="DELETE_KEY",t[t.SPACEBAR_KEY=4]="SPACEBAR_KEY",t[t.ENTER_KEY=5]="ENTER_KEY"})(E||(E={}));exports.MDCChipActionType=void 0;(function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.PRIMARY=1]="PRIMARY",t[t.TRAILING=2]="TRAILING"})(exports.MDCChipActionType||(exports.MDCChipActionType={}));var H;(function(t){t.INTERACTION="MDCChipAction:interaction",t.NAVIGATION="MDCChipAction:navigation"})(H||(H={}));exports.MDCChipActionFocusBehavior=void 0;(function(t){t[t.FOCUSABLE=0]="FOCUSABLE",t[t.FOCUSABLE_AND_FOCUSED=1]="FOCUSABLE_AND_FOCUSED",t[t.NOT_FOCUSABLE=2]="NOT_FOCUSABLE"})(exports.MDCChipActionFocusBehavior||(exports.MDCChipActionFocusBehavior={}));var m;(function(t){t.ARIA_DISABLED="aria-disabled",t.ARIA_HIDDEN="aria-hidden",t.ARIA_SELECTED="aria-selected",t.DATA_DELETABLE="data-mdc-deletable",t.DISABLED="disabled",t.ROLE="role",t.TAB_INDEX="tabindex"})(m||(m={}));/**
155
+ * @license
156
+ * Copyright 2016 Google Inc.
157
+ *
158
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
159
+ * of this software and associated documentation files (the "Software"), to deal
160
+ * in the Software without restriction, including without limitation the rights
161
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
162
+ * copies of the Software, and to permit persons to whom the Software is
163
+ * furnished to do so, subject to the following conditions:
164
+ *
165
+ * The above copyright notice and this permission notice shall be included in
166
+ * all copies or substantial portions of the Software.
167
+ *
168
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
169
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
170
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
171
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
172
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
173
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
174
+ * THE SOFTWARE.
175
+ */var p;(function(t){t.SELECTING="mdc-evolution-chip--selecting",t.DESELECTING="mdc-evolution-chip--deselecting",t.SELECTING_WITH_PRIMARY_ICON="mdc-evolution-chip--selecting-with-primary-icon",t.DESELECTING_WITH_PRIMARY_ICON="mdc-evolution-chip--deselecting-with-primary-icon",t.DISABLED="mdc-evolution-chip--disabled",t.ENTER="mdc-evolution-chip--enter",t.EXIT="mdc-evolution-chip--exit",t.SELECTED="mdc-evolution-chip--selected",t.HIDDEN="mdc-evolution-chip--hidden",t.WITH_PRIMARY_ICON="mdc-evolution-chip--with-primary-icon"})(p||(p={}));exports.MDCChipEvents=void 0;(function(t){t.INTERACTION="MDCChip:interaction",t.NAVIGATION="MDCChip:navigation",t.ANIMATION="MDCChip:animation"})(exports.MDCChipEvents||(exports.MDCChipEvents={}));var X;(function(t){t.DATA_REMOVED_ANNOUNCEMENT="data-mdc-removed-announcement",t.DATA_ADDED_ANNOUNCEMENT="data-mdc-added-announcement"})(X||(X={}));exports.MDCChipAnimation=void 0;(function(t){t.ENTER="mdc-evolution-chip-enter",t.EXIT="mdc-evolution-chip-exit"})(exports.MDCChipAnimation||(exports.MDCChipAnimation={}));/**
176
+ * @license
177
+ * Copyright 2020 Google Inc.
178
+ *
179
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
180
+ * of this software and associated documentation files (the "Software"), to deal
181
+ * in the Software without restriction, including without limitation the rights
182
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
183
+ * copies of the Software, and to permit persons to whom the Software is
184
+ * furnished to do so, subject to the following conditions:
185
+ *
186
+ * The above copyright notice and this permission notice shall be included in
187
+ * all copies or substantial portions of the Software.
188
+ *
189
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
190
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
191
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
192
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
193
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
194
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
195
+ * THE SOFTWARE.
196
+ */var N;(function(t){t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT"})(N||(N={}));var A;(function(t){t.SELECTION="selection",t.EXIT="exit"})(A||(A={}));var hi=function(t){d.__extends(e,t);function e(i){var n=t.call(this,d.__assign(d.__assign({},e.defaultAdapter),i))||this;return n.animFrame=new ui,n}return Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},emitEvent:function(){},getActions:function(){return[]},getAttribute:function(){return null},getElementID:function(){return""},getOffsetWidth:function(){return 0},hasClass:function(){return!1},isActionDisabled:function(){return!1},isActionFocusable:function(){return!1},isActionSelectable:function(){return!1},isActionSelected:function(){return!1},isRTL:function(){return!1},removeClass:function(){},setActionDisabled:function(){},setActionFocus:function(){},setActionSelected:function(){},setStyleProperty:function(){}}},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.animFrame.cancelAll()},e.prototype.getElementID=function(){return this.adapter.getElementID()},e.prototype.setDisabled=function(i){var n,r,o=this.getActions();try{for(var a=d.__values(o),c=a.next();!c.done;c=a.next()){var s=c.value;this.adapter.setActionDisabled(s,i)}}catch(g){n={error:g}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}i?this.adapter.addClass(p.DISABLED):this.adapter.removeClass(p.DISABLED)},e.prototype.isDisabled=function(){var i,n,r=this.getActions();try{for(var o=d.__values(r),a=o.next();!a.done;a=o.next()){var c=a.value;if(this.adapter.isActionDisabled(c))return!0}}catch(s){i={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return!1},e.prototype.getActions=function(){return this.adapter.getActions()},e.prototype.isActionFocusable=function(i){return this.adapter.isActionFocusable(i)},e.prototype.isActionSelectable=function(i){return this.adapter.isActionSelectable(i)},e.prototype.isActionSelected=function(i){return this.adapter.isActionSelected(i)},e.prototype.setActionFocus=function(i,n){this.adapter.setActionFocus(i,n)},e.prototype.setActionSelected=function(i,n){this.adapter.setActionSelected(i,n),this.animateSelection(n)},e.prototype.startAnimation=function(i){if(i===exports.MDCChipAnimation.ENTER){this.adapter.addClass(p.ENTER);return}if(i===exports.MDCChipAnimation.EXIT){this.adapter.addClass(p.EXIT);return}},e.prototype.handleAnimationEnd=function(i){var n=this,r=i.animationName;if(r===exports.MDCChipAnimation.ENTER){this.adapter.removeClass(p.ENTER),this.adapter.emitEvent(exports.MDCChipEvents.ANIMATION,{chipID:this.getElementID(),animation:exports.MDCChipAnimation.ENTER,addedAnnouncement:this.getAddedAnnouncement(),isComplete:!0});return}if(r===exports.MDCChipAnimation.EXIT){this.adapter.removeClass(p.EXIT),this.adapter.addClass(p.HIDDEN);var o=this.adapter.getOffsetWidth();this.adapter.setStyleProperty("width",o+"px"),this.animFrame.request(A.EXIT,function(){n.animFrame.request(A.EXIT,function(){n.adapter.setStyleProperty("width","0")})})}},e.prototype.handleTransitionEnd=function(){this.adapter.hasClass(p.HIDDEN)&&this.adapter.emitEvent(exports.MDCChipEvents.ANIMATION,{chipID:this.getElementID(),animation:exports.MDCChipAnimation.EXIT,removedAnnouncement:this.getRemovedAnnouncement(),isComplete:!0})},e.prototype.handleActionInteraction=function(i){var n=i.detail,r=n.source,o=n.actionID,a=this.adapter.isActionSelectable(r),c=this.adapter.isActionSelected(r);this.adapter.emitEvent(exports.MDCChipEvents.INTERACTION,{chipID:this.getElementID(),shouldRemove:this.shouldRemove(n),actionID:o,isSelectable:a,isSelected:c,source:r})},e.prototype.handleActionNavigation=function(i){var n=i.detail,r=n.source,o=n.key,a=this.adapter.isRTL(),c=this.adapter.isActionFocusable(exports.MDCChipActionType.TRAILING),s=this.adapter.isActionFocusable(exports.MDCChipActionType.PRIMARY),g=this.directionFromKey(o,a),b=r===exports.MDCChipActionType.PRIMARY&&g===N.RIGHT&&c,R=r===exports.MDCChipActionType.TRAILING&&g===N.LEFT&&s;if(b){this.navigateActions({from:r,to:exports.MDCChipActionType.TRAILING});return}if(R){this.navigateActions({from:r,to:exports.MDCChipActionType.PRIMARY});return}this.adapter.emitEvent(exports.MDCChipEvents.NAVIGATION,{chipID:this.getElementID(),isRTL:a,source:r,key:o})},e.prototype.directionFromKey=function(i,n){var r=i===l.ARROW_LEFT,o=i===l.ARROW_RIGHT;return!n&&r||n&&o?N.LEFT:!n&&o||n&&r?N.RIGHT:N.UNSPECIFIED},e.prototype.navigateActions=function(i){this.adapter.setActionFocus(i.from,exports.MDCChipActionFocusBehavior.NOT_FOCUSABLE),this.adapter.setActionFocus(i.to,exports.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED)},e.prototype.shouldRemove=function(i){var n=i.source,r=i.trigger;return r===E.BACKSPACE_KEY||r===E.DELETE_KEY?!0:n===exports.MDCChipActionType.TRAILING},e.prototype.getRemovedAnnouncement=function(){var i=this.adapter.getAttribute(X.DATA_REMOVED_ANNOUNCEMENT);return i||void 0},e.prototype.getAddedAnnouncement=function(){var i=this.adapter.getAttribute(X.DATA_ADDED_ANNOUNCEMENT);return i||void 0},e.prototype.animateSelection=function(i){var n=this;this.resetAnimationStyles(),this.animFrame.request(A.SELECTION,function(){n.animFrame.request(A.SELECTION,function(){n.updateSelectionStyles(i)})})},e.prototype.resetAnimationStyles=function(){this.adapter.removeClass(p.SELECTING),this.adapter.removeClass(p.DESELECTING),this.adapter.removeClass(p.SELECTING_WITH_PRIMARY_ICON),this.adapter.removeClass(p.DESELECTING_WITH_PRIMARY_ICON)},e.prototype.updateSelectionStyles=function(i){var n=this,r=this.adapter.hasClass(p.WITH_PRIMARY_ICON);if(r&&i){this.adapter.addClass(p.SELECTING_WITH_PRIMARY_ICON),this.animFrame.request(A.SELECTION,function(){n.adapter.addClass(p.SELECTED)});return}if(r&&!i){this.adapter.addClass(p.DESELECTING_WITH_PRIMARY_ICON),this.animFrame.request(A.SELECTION,function(){n.adapter.removeClass(p.SELECTED)});return}if(i){this.adapter.addClass(p.SELECTING),this.animFrame.request(A.SELECTION,function(){n.adapter.addClass(p.SELECTED)});return}if(!i){this.adapter.addClass(p.DESELECTING),this.animFrame.request(A.SELECTION,function(){n.adapter.removeClass(p.SELECTED)});return}},e}(j);/**
197
+ * @license
198
+ * Copyright 2016 Google Inc.
199
+ *
200
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
201
+ * of this software and associated documentation files (the "Software"), to deal
202
+ * in the Software without restriction, including without limitation the rights
203
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
204
+ * copies of the Software, and to permit persons to whom the Software is
205
+ * furnished to do so, subject to the following conditions:
206
+ *
207
+ * The above copyright notice and this permission notice shall be included in
208
+ * all copies or substantial portions of the Software.
209
+ *
210
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
211
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
212
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
213
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
214
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
215
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
216
+ * THE SOFTWARE.
217
+ */function mi(t){return String(t).replace(/\-([a-z])/g,function(e,i){return i.toUpperCase()})}var Bt=function(){function t(e,i){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.root=e,this.initialize.apply(this,d.__spreadArray([],d.__read(n))),this.foundation=i===void 0?this.getDefaultFoundation():i,this.foundation.init(),this.initialSyncWithDOM()}return t.attachTo=function(e){return new t(e,new j({}))},t.prototype.initialize=function(){},t.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},t.prototype.initialSyncWithDOM=function(){},t.prototype.destroy=function(){this.foundation.destroy()},t.prototype.listen=function(e,i,n){this.root.addEventListener(e,i,n)},t.prototype.unlisten=function(e,i,n){this.root.removeEventListener(e,i,n)},t.prototype.emit=function(e,i,n){n===void 0&&(n=!1);var r;typeof CustomEvent=="function"?r=new CustomEvent(e,{bubbles:n,detail:i}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,n,!1,i)),this.root.dispatchEvent(r)},t.prototype.safeSetAttribute=function(e,i,n){if(i.toLowerCase()==="tabindex")e.tabIndex=Number(n);else if(i.indexOf("data-")===0){var r=mi(i.replace(/^data-/,""));e.dataset[r]=n}else Mt([D.safeAttrPrefix(pt||(pt=d.__makeTemplateObject(["aria-"],["aria-"]))),D.safeAttrPrefix(ht||(ht=d.__makeTemplateObject(["role"],["role"])))],e,i,n)},t}(),pt,ht;/**
218
+ * @license
219
+ * Copyright 2018 Google Inc.
220
+ *
221
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
222
+ * of this software and associated documentation files (the "Software"), to deal
223
+ * in the Software without restriction, including without limitation the rights
224
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
225
+ * copies of the Software, and to permit persons to whom the Software is
226
+ * furnished to do so, subject to the following conditions:
227
+ *
228
+ * The above copyright notice and this permission notice shall be included in
229
+ * all copies or substantial portions of the Software.
230
+ *
231
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
232
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
233
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
234
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
235
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
236
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
237
+ * THE SOFTWARE.
238
+ */function fi(t,e){if(t.closest)return t.closest(e);for(var i=t;i;){if(Gt(i,e))return i;i=i.parentElement}return null}function Gt(t,e){var i=t.matches||t.webkitMatchesSelector||t.msMatchesSelector;return i.call(t,e)}/**
239
+ * @license
240
+ * Copyright 2019 Google Inc.
241
+ *
242
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
243
+ * of this software and associated documentation files (the "Software"), to deal
244
+ * in the Software without restriction, including without limitation the rights
245
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
246
+ * copies of the Software, and to permit persons to whom the Software is
247
+ * furnished to do so, subject to the following conditions:
248
+ *
249
+ * The above copyright notice and this permission notice shall be included in
250
+ * all copies or substantial portions of the Software.
251
+ *
252
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
253
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
254
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
255
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
256
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
257
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
258
+ * THE SOFTWARE.
259
+ */function $(t){return t===void 0&&(t=window),vi(t)?{passive:!0}:!1}function vi(t){t===void 0&&(t=window);var e=!1;try{var i={get passive(){return e=!0,!1}},n=function(){};t.document.addEventListener("test",n,i),t.document.removeEventListener("test",n,i)}catch{e=!1}return e}/**
260
+ * @license
261
+ * Copyright 2016 Google Inc.
262
+ *
263
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
264
+ * of this software and associated documentation files (the "Software"), to deal
265
+ * in the Software without restriction, including without limitation the rights
266
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
267
+ * copies of the Software, and to permit persons to whom the Software is
268
+ * furnished to do so, subject to the following conditions:
269
+ *
270
+ * The above copyright notice and this permission notice shall be included in
271
+ * all copies or substantial portions of the Software.
272
+ *
273
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
274
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
275
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
276
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
277
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
278
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
279
+ * THE SOFTWARE.
280
+ */var gi={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},_i={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},mt={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},q;function yi(t,e){e===void 0&&(e=!1);var i=t.CSS,n=q;if(typeof q=="boolean"&&!e)return q;var r=i&&typeof i.supports=="function";if(!r)return!1;var o=i.supports("--css-vars","yes"),a=i.supports("(--css-vars: yes)")&&i.supports("color","#00000000");return n=o||a,e||(q=n),n}function bi(t,e,i){if(!t)return{x:0,y:0};var n=e.x,r=e.y,o=n+i.left,a=r+i.top,c,s;if(t.type==="touchstart"){var g=t;c=g.changedTouches[0].pageX-o,s=g.changedTouches[0].pageY-a}else{var b=t;c=b.pageX-o,s=b.pageY-a}return{x:c,y:s}}/**
281
+ * @license
282
+ * Copyright 2016 Google Inc.
283
+ *
284
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
285
+ * of this software and associated documentation files (the "Software"), to deal
286
+ * in the Software without restriction, including without limitation the rights
287
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
288
+ * copies of the Software, and to permit persons to whom the Software is
289
+ * furnished to do so, subject to the following conditions:
290
+ *
291
+ * The above copyright notice and this permission notice shall be included in
292
+ * all copies or substantial portions of the Software.
293
+ *
294
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
295
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
296
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
297
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
298
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
299
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
300
+ * THE SOFTWARE.
301
+ */var ft=["touchstart","pointerdown","mousedown","keydown"],vt=["touchend","pointerup","mouseup","contextmenu"],Y=[],jt=function(t){d.__extends(e,t);function e(i){var n=t.call(this,d.__assign(d.__assign({},e.defaultAdapter),i))||this;return n.activationAnimationHasEnded=!1,n.activationTimer=0,n.fgDeactivationRemovalTimer=0,n.fgScale="0",n.frame={width:0,height:0},n.initialSize=0,n.layoutFrame=0,n.maxRadius=0,n.unboundedCoords={left:0,top:0},n.activationState=n.defaultActivationState(),n.activationTimerCallback=function(){n.activationAnimationHasEnded=!0,n.runDeactivationUXLogicIfReady()},n.activateHandler=function(r){n.activateImpl(r)},n.deactivateHandler=function(){n.deactivateImpl()},n.focusHandler=function(){n.handleFocus()},n.blurHandler=function(){n.handleBlur()},n.resizeHandler=function(){n.layout()},n}return Object.defineProperty(e,"cssClasses",{get:function(){return gi},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return _i},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return mt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var i=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=e.cssClasses,o=r.ROOT,a=r.UNBOUNDED;requestAnimationFrame(function(){i.adapter.addClass(o),i.adapter.isUnbounded()&&(i.adapter.addClass(a),i.layoutInternal())})}},e.prototype.destroy=function(){var i=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var n=e.cssClasses,r=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame(function(){i.adapter.removeClass(r),i.adapter.removeClass(o),i.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(i){this.activateImpl(i)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var i=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){i.layoutInternal(),i.layoutFrame=0})},e.prototype.setUnbounded=function(i){var n=e.cssClasses.UNBOUNDED;i?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.handleFocus=function(){var i=this;requestAnimationFrame(function(){i.adapter.addClass(e.cssClasses.BG_FOCUSED)})},e.prototype.handleBlur=function(){var i=this;requestAnimationFrame(function(){i.adapter.removeClass(e.cssClasses.BG_FOCUSED)})},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(i){var n,r;if(i){try{for(var o=d.__values(ft),a=o.next();!a.done;a=o.next()){var c=a.value;this.adapter.registerInteractionHandler(c,this.activateHandler)}}catch(s){n={error:s}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},e.prototype.registerDeactivationHandlers=function(i){var n,r;if(i.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=d.__values(vt),a=o.next();!a.done;a=o.next()){var c=a.value;this.adapter.registerDocumentInteractionHandler(c,this.deactivateHandler)}}catch(s){n={error:s}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},e.prototype.deregisterRootHandlers=function(){var i,n;try{for(var r=d.__values(ft),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(c){i={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var i,n;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=d.__values(vt),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(c){i={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}},e.prototype.removeCssVars=function(){var i=this,n=e.strings,r=Object.keys(n);r.forEach(function(o){o.indexOf("VAR_")===0&&i.adapter.updateCssVariable(n[o],null)})},e.prototype.activateImpl=function(i){var n=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var o=this.previousActivationEvent,a=o&&i!==void 0&&o.type!==i.type;if(!a){r.isActivated=!0,r.isProgrammatic=i===void 0,r.activationEvent=i,r.wasActivatedByPointer=r.isProgrammatic?!1:i!==void 0&&(i.type==="mousedown"||i.type==="touchstart"||i.type==="pointerdown");var c=i!==void 0&&Y.length>0&&Y.some(function(s){return n.adapter.containsEventTarget(s)});if(c){this.resetActivationState();return}i!==void 0&&(Y.push(i.target),this.registerDeactivationHandlers(i)),r.wasElementMadeActive=this.checkElementMadeActive(i),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){Y=[],!r.wasElementMadeActive&&i!==void 0&&(i.key===" "||i.keyCode===32)&&(r.wasElementMadeActive=n.checkElementMadeActive(i),r.wasElementMadeActive&&n.animateActivation()),r.wasElementMadeActive||(n.activationState=n.defaultActivationState())})}}}},e.prototype.checkElementMadeActive=function(i){return i!==void 0&&i.type==="keydown"?this.adapter.isSurfaceActive():!0},e.prototype.animateActivation=function(){var i=this,n=e.strings,r=n.VAR_FG_TRANSLATE_START,o=n.VAR_FG_TRANSLATE_END,a=e.cssClasses,c=a.FG_DEACTIVATION,s=a.FG_ACTIVATION,g=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var b="",R="";if(!this.adapter.isUnbounded()){var O=this.getFgTranslationCoordinates(),M=O.startPoint,x=O.endPoint;b=M.x+"px, "+M.y+"px",R=x.x+"px, "+x.y+"px"}this.adapter.updateCssVariable(r,b),this.adapter.updateCssVariable(o,R),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(c),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout(function(){i.activationTimerCallback()},g)},e.prototype.getFgTranslationCoordinates=function(){var i=this.activationState,n=i.activationEvent,r=i.wasActivatedByPointer,o;r?o=bi(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):o={x:this.frame.width/2,y:this.frame.height/2},o={x:o.x-this.initialSize/2,y:o.y-this.initialSize/2};var a={x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2};return{startPoint:o,endPoint:a}},e.prototype.runDeactivationUXLogicIfReady=function(){var i=this,n=e.cssClasses.FG_DEACTIVATION,r=this.activationState,o=r.hasDeactivationUXRun,a=r.isActivated,c=o||!a;c&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer=setTimeout(function(){i.adapter.removeClass(n)},mt.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var i=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(i),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var i=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return i.previousActivationEvent=void 0},e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var i=this,n=this.activationState;if(n.isActivated){var r=d.__assign({},n);n.isProgrammatic?(requestAnimationFrame(function(){i.animateDeactivation(r)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){i.activationState.hasDeactivationUXRun=!0,i.animateDeactivation(r),i.resetActivationState()}))}},e.prototype.animateDeactivation=function(i){var n=i.wasActivatedByPointer,r=i.wasElementMadeActive;(n||r)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var i=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width),r=function(){var a=Math.sqrt(Math.pow(i.frame.width,2)+Math.pow(i.frame.height,2));return a+e.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?n:r();var o=Math.floor(n*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&o%2!==0?this.initialSize=o-1:this.initialSize=o,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},e.prototype.updateLayoutCssVars=function(){var i=e.strings,n=i.VAR_FG_SIZE,r=i.VAR_LEFT,o=i.VAR_TOP,a=i.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize+"px"),this.adapter.updateCssVariable(a,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},e}(j);/**
302
+ * @license
303
+ * Copyright 2016 Google Inc.
304
+ *
305
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
306
+ * of this software and associated documentation files (the "Software"), to deal
307
+ * in the Software without restriction, including without limitation the rights
308
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
309
+ * copies of the Software, and to permit persons to whom the Software is
310
+ * furnished to do so, subject to the following conditions:
311
+ *
312
+ * The above copyright notice and this permission notice shall be included in
313
+ * all copies or substantial portions of the Software.
314
+ *
315
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
316
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
317
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
318
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
319
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
320
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
321
+ * THE SOFTWARE.
322
+ */var gt=function(t){d.__extends(e,t);function e(){var i=t!==null&&t.apply(this,arguments)||this;return i.disabled=!1,i}return e.attachTo=function(i,n){n===void 0&&(n={isUnbounded:void 0});var r=new e(i);return n.isUnbounded!==void 0&&(r.unbounded=n.isUnbounded),r},e.createAdapter=function(i){return{addClass:function(n){i.root.classList.add(n)},browserSupportsCssVars:function(){return yi(window)},computeBoundingRect:function(){return i.root.getBoundingClientRect()},containsEventTarget:function(n){return i.root.contains(n)},deregisterDocumentInteractionHandler:function(n,r){document.documentElement.removeEventListener(n,r,$())},deregisterInteractionHandler:function(n,r){i.root.removeEventListener(n,r,$())},deregisterResizeHandler:function(n){window.removeEventListener("resize",n)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return Gt(i.root,":active")},isSurfaceDisabled:function(){return!!i.disabled},isUnbounded:function(){return!!i.unbounded},registerDocumentInteractionHandler:function(n,r){document.documentElement.addEventListener(n,r,$())},registerInteractionHandler:function(n,r){i.root.addEventListener(n,r,$())},registerResizeHandler:function(n){window.addEventListener("resize",n)},removeClass:function(n){i.root.classList.remove(n)},updateCssVariable:function(n,r){i.root.style.setProperty(n,r)}}},Object.defineProperty(e.prototype,"unbounded",{get:function(){return!!this.isUnbounded},set:function(i){this.isUnbounded=!!i,this.setUnbounded()},enumerable:!1,configurable:!0}),e.prototype.activate=function(){this.foundation.activate()},e.prototype.deactivate=function(){this.foundation.deactivate()},e.prototype.layout=function(){this.foundation.layout()},e.prototype.getDefaultFoundation=function(){return new jt(e.createAdapter(this))},e.prototype.initialSyncWithDOM=function(){var i=this.root;this.isUnbounded="mdcRippleIsUnbounded"in i.dataset},e.prototype.setUnbounded=function(){this.foundation.setUnbounded(!!this.isUnbounded)},e}(Bt);/**
323
+ * @license
324
+ * Copyright 2020 Google Inc.
325
+ *
326
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
327
+ * of this software and associated documentation files (the "Software"), to deal
328
+ * in the Software without restriction, including without limitation the rights
329
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
330
+ * copies of the Software, and to permit persons to whom the Software is
331
+ * furnished to do so, subject to the following conditions:
332
+ *
333
+ * The above copyright notice and this permission notice shall be included in
334
+ * all copies or substantial portions of the Software.
335
+ *
336
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
337
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
338
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
339
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
340
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
341
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
342
+ * THE SOFTWARE.
343
+ */function Ai(t,e){var i=Number(e.replace("px",""));return Number.isNaN(i)?t:{width:t.width+i,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left}}var Ei="--mdc-chip-graphic-selected-width";/**
344
+ * @license
345
+ * Copyright 2020 Google Inc.
346
+ *
347
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
348
+ * of this software and associated documentation files (the "Software"), to deal
349
+ * in the Software without restriction, including without limitation the rights
350
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
351
+ * copies of the Software, and to permit persons to whom the Software is
352
+ * furnished to do so, subject to the following conditions:
353
+ *
354
+ * The above copyright notice and this permission notice shall be included in
355
+ * all copies or substantial portions of the Software.
356
+ *
357
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
358
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
359
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
360
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
361
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
362
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
363
+ * THE SOFTWARE.
364
+ */var W=new Map;W.set(l.SPACEBAR,E.SPACEBAR_KEY);W.set(l.ENTER,E.ENTER_KEY);W.set(l.DELETE,E.DELETE_KEY);W.set(l.BACKSPACE,E.BACKSPACE_KEY);var Wt=function(t){d.__extends(e,t);function e(i){return t.call(this,d.__assign(d.__assign({},e.defaultAdapter),i))||this}return Object.defineProperty(e,"defaultAdapter",{get:function(){return{emitEvent:function(){},focus:function(){},getAttribute:function(){return null},getElementID:function(){return""},removeAttribute:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),e.prototype.handleClick=function(){this.isDisabled()||this.emitInteraction(E.CLICK)},e.prototype.handleKeydown=function(i){var n=kt(i);if(this.shouldNotifyInteractionFromKey(n)){i.preventDefault(),this.emitInteraction(this.getTriggerFromKey(n));return}if(pi(i)){i.preventDefault(),this.emitNavigation(n);return}return!0},e.prototype.setDisabled=function(i){if(this.isSelectable()){this.adapter.setAttribute(m.ARIA_DISABLED,""+i);return}i?this.adapter.setAttribute(m.DISABLED,"true"):this.adapter.removeAttribute(m.DISABLED)},e.prototype.isDisabled=function(){return this.adapter.getAttribute(m.ARIA_DISABLED)==="true"||this.adapter.getAttribute(m.DISABLED)!==null},e.prototype.setFocus=function(i){if(this.isFocusable()){if(i===exports.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED){this.adapter.setAttribute(m.TAB_INDEX,"0"),this.adapter.focus();return}if(i===exports.MDCChipActionFocusBehavior.FOCUSABLE){this.adapter.setAttribute(m.TAB_INDEX,"0");return}if(i===exports.MDCChipActionFocusBehavior.NOT_FOCUSABLE){this.adapter.setAttribute(m.TAB_INDEX,"-1");return}}},e.prototype.isFocusable=function(){return!(this.isDisabled()||this.adapter.getAttribute(m.ARIA_HIDDEN)==="true")},e.prototype.setSelected=function(i){this.isSelectable()&&this.adapter.setAttribute(m.ARIA_SELECTED,""+i)},e.prototype.isSelected=function(){return this.adapter.getAttribute(m.ARIA_SELECTED)==="true"},e.prototype.emitInteraction=function(i){this.adapter.emitEvent(H.INTERACTION,{actionID:this.adapter.getElementID(),source:this.actionType(),trigger:i})},e.prototype.emitNavigation=function(i){this.adapter.emitEvent(H.NAVIGATION,{source:this.actionType(),key:i})},e.prototype.shouldNotifyInteractionFromKey=function(i){var n=i===l.ENTER||i===l.SPACEBAR,r=i===l.BACKSPACE||i===l.DELETE;return!!(n||r&&this.shouldEmitInteractionOnRemoveKey())},e.prototype.getTriggerFromKey=function(i){var n=W.get(i);return n||E.UNSPECIFIED},e}(j);/**
365
+ * @license
366
+ * Copyright 2020 Google Inc.
367
+ *
368
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
369
+ * of this software and associated documentation files (the "Software"), to deal
370
+ * in the Software without restriction, including without limitation the rights
371
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
372
+ * copies of the Software, and to permit persons to whom the Software is
373
+ * furnished to do so, subject to the following conditions:
374
+ *
375
+ * The above copyright notice and this permission notice shall be included in
376
+ * all copies or substantial portions of the Software.
377
+ *
378
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
379
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
380
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
381
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
382
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
383
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
384
+ * THE SOFTWARE.
385
+ */var Si=function(t){d.__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isSelectable=function(){return this.adapter.getAttribute(m.ROLE)==="option"},e.prototype.actionType=function(){return exports.MDCChipActionType.PRIMARY},e.prototype.shouldEmitInteractionOnRemoveKey=function(){return this.adapter.getAttribute(m.DATA_DELETABLE)==="true"},e}(Wt);/**
386
+ * @license
387
+ * Copyright 2020 Google Inc.
388
+ *
389
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
390
+ * of this software and associated documentation files (the "Software"), to deal
391
+ * in the Software without restriction, including without limitation the rights
392
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
393
+ * copies of the Software, and to permit persons to whom the Software is
394
+ * furnished to do so, subject to the following conditions:
395
+ *
396
+ * The above copyright notice and this permission notice shall be included in
397
+ * all copies or substantial portions of the Software.
398
+ *
399
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
400
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
401
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
402
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
403
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
404
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
405
+ * THE SOFTWARE.
406
+ */var wi=function(t){d.__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.isSelectable=function(){return!1},e.prototype.actionType=function(){return exports.MDCChipActionType.TRAILING},e.prototype.shouldEmitInteractionOnRemoveKey=function(){return!0},e}(Wt);/**
407
+ * @license
408
+ * Copyright 2020 Google Inc.
409
+ *
410
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
411
+ * of this software and associated documentation files (the "Software"), to deal
412
+ * in the Software without restriction, including without limitation the rights
413
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
414
+ * copies of the Software, and to permit persons to whom the Software is
415
+ * furnished to do so, subject to the following conditions:
416
+ *
417
+ * The above copyright notice and this permission notice shall be included in
418
+ * all copies or substantial portions of the Software.
419
+ *
420
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
421
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
422
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
423
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
424
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
425
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
426
+ * THE SOFTWARE.
427
+ */var Ti=[D.safeAttrPrefix(_t||(_t=d.__makeTemplateObject(["aria-"],["aria-"]))),D.safeAttrPrefix(yt||(yt=d.__makeTemplateObject(["data-"],["data-"]))),D.safeAttrPrefix(bt||(bt=d.__makeTemplateObject(["disabled"],["disabled"]))),D.safeAttrPrefix(At||(At=d.__makeTemplateObject(["role"],["role"]))),D.safeAttrPrefix(Et||(Et=d.__makeTemplateObject(["tabindex"],["tabindex"])))],Ci=function(t){d.__extends(e,t);function e(){var i=t!==null&&t.apply(this,arguments)||this;return i.rootHTML=i.root,i}return e.attachTo=function(i){return new e(i)},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.rippleInstance},enumerable:!1,configurable:!0}),e.prototype.initialize=function(i){var n=this;i===void 0&&(i=function(o,a){return new gt(o,a)});var r=d.__assign(d.__assign({},gt.createAdapter(this)),{computeBoundingRect:function(){return n.computeRippleClientRect()}});this.rippleInstance=i(this.root,new jt(r))},e.prototype.initialSyncWithDOM=function(){var i=this;this.handleClick=function(){i.foundation.handleClick()},this.handleKeydown=function(n){i.foundation.handleKeydown(n)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown)},e.prototype.destroy=function(){this.ripple.destroy(),this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var i=this,n={emitEvent:function(r,o){i.emit(r,o,!0)},focus:function(){i.rootHTML.focus()},getAttribute:function(r){return i.root.getAttribute(r)},getElementID:function(){return i.root.id},removeAttribute:function(r){i.root.removeAttribute(r)},setAttribute:function(r,o){Mt(Ti,i.root,r,o)}};return this.root.classList.contains(B.TRAILING_ACTION)?new wi(n):new Si(n)},e.prototype.setDisabled=function(i){this.foundation.setDisabled(i)},e.prototype.isDisabled=function(){return this.foundation.isDisabled()},e.prototype.setFocus=function(i){this.foundation.setFocus(i)},e.prototype.isFocusable=function(){return this.foundation.isFocusable()},e.prototype.setSelected=function(i){this.foundation.setSelected(i)},e.prototype.isSelected=function(){return this.foundation.isSelected()},e.prototype.isSelectable=function(){return this.foundation.isSelectable()},e.prototype.actionType=function(){return this.foundation.actionType()},e.prototype.computeRippleClientRect=function(){if(this.root.classList.contains(B.PRIMARY_ACTION)){var i=fi(this.root,"."+B.CHIP_ROOT);if(!i)return this.root.getBoundingClientRect();var n=window.getComputedStyle(i).getPropertyValue(Ei);return Ai(i.getBoundingClientRect(),n)}return this.root.getBoundingClientRect()},e}(Bt),_t,yt,bt,At,Et,Ri=Object.defineProperty,Di=Object.getOwnPropertyDescriptor,I=(t,e,i,n)=>{for(var r=n>1?void 0:n?Di(e,i):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(r=(n?a(e,i,r):a(r))||r);return n&&r&&Ri(e,i,r),r};let Ii=0;class C extends S.s{constructor(){super(),this.mdcFoundationClass=hi,this.label="",this.icon="",this.trailingIcon=!1,this.avatar=!1,this.disabled=!1,this.filter=!1,this.chipId=Ii++}render(){const e={"mdc-evolution-chip":!0,"mdc-evolution-chip--disabled":this.disabled,"mdc-evolution-chip--with-trailing-action":this.trailingIcon,"mdc-evolution-chip--with-primary-graphic":!this.trailingIcon&&this.icon,"mdc-evolution-chip--with-primary-icon":this.icon&&!this.filter,"mdc-evolution-chip--filter":this.filter,"mdc-evolution-chip--selectable":this.filter,"mdc-evolution-chip--with-avatar":this.avatar,secondary:this.state==="secondary",negative:this.state==="negative",caution:this.state==="caution"};return S.x`
428
+ <span
429
+ class="${Xt.o(e)}"
430
+ role="${this.filter?"presentation":"row"}"
431
+ id="cv-chip-${this.chipId}"
432
+ >
433
+ <span
434
+ class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary"
435
+ role="${this.filter?"presentation":"gridcell"}"
436
+ >
437
+ <button
438
+ class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
439
+ role="${this.filter?"option":""}"
440
+ type="button"
441
+ tabindex="-1"
442
+ >
443
+ <span
444
+ class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
445
+ ></span>
446
+ ${!this.trailingIcon&&this.icon||this.filter?this.renderGraphic():""}
447
+ <span class="mdc-evolution-chip__text-label">${this.label}</span>
448
+ </button>
449
+ </span>
450
+ ${this.trailingIcon?this.renderTrailing():""}
451
+ </span>
452
+ `}async firstUpdated(){this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.actions=new Map;const e=this.mdcRoot.querySelectorAll(".mdc-evolution-chip__action");for(let i=0;i<e.length;i++){const n=new Ci(e[i]);this.actions.set(n.actionType(),n),e[i].addEventListener(H.INTERACTION,r=>{var o;(o=this.mdcFoundation)==null||o.handleActionInteraction(r)}),e[i].addEventListener(H.NAVIGATION,r=>{var o;(o=this.mdcFoundation)==null||o.handleActionNavigation(r)})}}renderGraphic(){const e=this.filter?this.renderCheckMark():this.renderIcon();return S.x`<span class="mdc-evolution-chip__graphic">
453
+ ${e}
454
+ </span>`}renderCheckMark(){return S.x` <span class="mdc-evolution-chip__checkmark">
455
+ <svg class="mdc-evolution-chip__checkmark-svg" viewBox="-2 -3 30 30">
456
+ <path
457
+ class="mdc-evolution-chip__checkmark-path"
458
+ fill="none"
459
+ d="M1.73,12.91 8.1,19.28 22.79,4.59"
460
+ />
461
+ </svg>
462
+ </span>`}renderIcon(e=!1){return S.x` <span
463
+ class="mdc-evolution-chip__icon mdc-evolution-chip__icon--${e?"trailing":"primary"}"
464
+ >
465
+ ${this.icon}
466
+ </span>`}renderTrailing(){return S.x` <span
467
+ class="mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"
468
+ role="gridcell"
469
+ >
470
+ <button
471
+ class="mdc-evolution-chip__action mdc-evolution-chip__action--trailing"
472
+ type="button"
473
+ tabindex="-1"
474
+ data-mdc-deletable="true"
475
+ aria-label="Remove ${this.label}"
476
+ >
477
+ <span
478
+ class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--trailing"
479
+ ></span>
480
+ ${this.renderIcon(!0)}
481
+ </button>
482
+ </span>`}createAdapter(){return{...qt.addHasRemoveClass(this.mdcRoot),emitEvent:(e,i)=>this.dispatchEvent(new CustomEvent(e,{bubbles:!0,detail:i})),getActions:()=>{const e=[];for(const[i]of this.actions)e.push(i);return e},getAttribute:e=>this.mdcRoot.getAttribute(e),getElementID:()=>this.mdcRoot.getAttribute("id")??"",getOffsetWidth:()=>this.mdcRoot.offsetWidth,hasClass:e=>this.mdcRoot.classList.contains(e),isActionSelectable:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isSelectable())??!0},isActionSelected:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isSelected())??!1},isActionFocusable:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isFocusable())??!0},isActionDisabled:e=>{var i;return((i=this.actions.get(e))==null?void 0:i.isDisabled())??!1},isRTL:()=>window.getComputedStyle(this.mdcRoot).getPropertyValue("direction")==="rtl",setActionDisabled:(e,i)=>{var n;return(n=this.actions.get(e))==null?void 0:n.setDisabled(i)},setActionFocus:(e,i)=>{var n;return(n=this.actions.get(e))==null?void 0:n.setFocus(i)},setActionSelected:(e,i)=>{var n;return(n=this.actions.get(e))==null?void 0:n.setSelected(i)},setStyleProperty:(e,i)=>this.mdcRoot.style.setProperty(e,i)}}getActions(){var e;return((e=this.mdcFoundation)==null?void 0:e.getActions())??[]}getElementID(){var e;return((e=this.mdcFoundation)==null?void 0:e.getElementID())??""}isActionFocusable(e){var i;return((i=this.mdcFoundation)==null?void 0:i.isActionFocusable(e))??!1}isActionSelectable(e){var i;return((i=this.mdcFoundation)==null?void 0:i.isActionSelectable(e))??!1}isActionSelected(e){var i;return((i=this.mdcFoundation)==null?void 0:i.isActionSelected(e))??!1}setActionFocus(e,i){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionFocus(e,i)}setActionSelected(e,i){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionSelected(e,i)}startAnimation(e){var i;return(i=this.mdcFoundation)==null?void 0:i.startAnimation(e)}}I([Yt.i(".mdc-evolution-chip")],C.prototype,"mdcRoot",2);I([L.n()],C.prototype,"label",2);I([L.n({type:String})],C.prototype,"icon",2);I([L.n({type:Boolean,reflect:!0})],C.prototype,"trailingIcon",2);I([L.n({type:Boolean,reflect:!0})],C.prototype,"avatar",2);I([L.n({type:Boolean,reflect:!0})],C.prototype,"disabled",2);I([L.n({type:Boolean,reflect:!0})],C.prototype,"filter",2);I([L.n()],C.prototype,"state",2);const Oi=`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;-webkit-user-select:none;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width .15s 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform .15s 0ms cubic-bezier(.4,0,.2,1);transform:translate(-75%,-50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset .15s 45ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width .1s 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform .1s 0ms cubic-bezier(.4,0,.2,1);transform:translate(-75%,-50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset .15s 75ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity .15s 75ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(.4,0,.2,1);transform:translate(-50%,-50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%,-50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{0%{transform:scale(.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter .1s 0ms cubic-bezier(0,0,.2,1)}@keyframes mdc-evolution-chip-exit{0%{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(.4,0,1,1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width .15s 0ms cubic-bezier(.4,0,1,1)}.mdc-evolution-chip{height:32px;border-radius:16px;background-color:#e0e0e0}.mdc-evolution-chip .mdc-evolution-chip__ripple{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__action--primary:before{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__icon--primary{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip .mdc-evolution-chip__action--primary,.mdc-evolution-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip .mdc-evolution-chip__text-label,.mdc-evolution-chip .mdc-evolution-chip__icon--primary,.mdc-evolution-chip .mdc-evolution-chip__checkmark,.mdc-evolution-chip .mdc-evolution-chip__icon--trailing{color:#000000de}.mdc-evolution-chip .mdc-evolution-chip__text-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-evolution-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width: 20px}.mdc-evolution-chip .mdc-evolution-chip__graphic,.mdc-evolution-chip .mdc-evolution-chip__icon--primary{height:20px;width:20px;font-size:20px}.mdc-evolution-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mdc-evolution-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-evolution-chip.mdc-evolution-chip .mdc-evolution-chip__action--primary:before{border-color:CanvasText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-color:CanvasText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:Canvas}}.mdc-evolution-chip .mdc-evolution-chip__focus-ring{display:none}.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{z-index:1;display:block;pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{z-index:1;display:block;pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% - 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{border-color:CanvasText}}.mdc-evolution-chip--filter.mdc-evolution-chip--selected{background-color:#cecece}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width: 24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded) .mdc-evolution-chip__ripple:after{transition:opacity .15s linear}.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):active .mdc-evolution-chip__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--trailing .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing .mdc-evolution-chip__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-evolution-chip__action--trailing:hover .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing.mdc-ripple-surface--hover .mdc-evolution-chip__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-evolution-chip__action--trailing.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded) .mdc-evolution-chip__ripple:after{transition:opacity .15s linear}.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded):active .mdc-evolution-chip__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--trailing.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__ripple--trailing{height:18px;width:18px}.mdc-evolution-chip__action{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-evolution-chip__action.mdc-ripple-upgraded--unbounded .mdc-evolution-chip__ripple:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-evolution-chip__action.mdc-ripple-upgraded--foreground-activation .mdc-evolution-chip__ripple:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-evolution-chip__action.mdc-ripple-upgraded--foreground-deactivation .mdc-evolution-chip__ripple:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{top:-50%;left:-50%;width:200%;height:200%}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-evolution-chip__ripple{position:absolute;box-sizing:content-box;overflow:hidden;pointer-events:none}.mdc-evolution-chip__ripple--primary{height:100%;width:100%;top:0;left:0}.mdc-evolution-chip__ripple--trailing{top:50%;transform:translateY(-50%)}.mdc-evolution-chip{background-color:var(--mdc-theme-surface-neutral)}.mdc-evolution-chip .mdc-evolution-chip__text-label{color:var(--mdc-theme-text-primary-on-background)}.mdc-evolution-chip .mdc-evolution-chip__icon{font-family:var(--mdc-icon-font, "Material Symbols Rounded");color:var(--mdc-theme-text-icon-on-background)}.mdc-evolution-chip .mdc-evolution-chip__checkmark-path{stroke:var(--mdc-theme-text-icon-on-background)}.mdc-evolution-chip.mdc-evolution-chip--selected{background-color:var(--mdc-theme-surface-primary)}.mdc-evolution-chip.negative{background-color:var(--mdc-theme-surface-negative)}.mdc-evolution-chip.caution{background-color:var(--mdc-theme-surface-caution)}.mdc-evolution-chip.secondary{background-color:var(--mdc-theme-surface-secondary)}
483
+ `;var Pi=Object.defineProperty,Ni=Object.getOwnPropertyDescriptor,Li=(t,e,i,n)=>{for(var r=n>1?void 0:n?Ni(e,i):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(r=(n?a(e,i,r):a(r))||r);return n&&r&&Pi(e,i,r),r};exports.CovalentChip=class extends C{};exports.CovalentChip.styles=[S.i`
484
+ ${S.r(Oi)}
485
+ `];exports.CovalentChip=Li([S.e("cv-chip")],exports.CovalentChip);const Fi=exports.CovalentChip;exports.CovalentChip$1=Fi;exports.KEY=l;exports.MDCFoundation=j;