@descope/web-components-ui 1.0.232 → 1.0.233

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,114 @@
1
+ /*! For license information please see 4226.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[4226],{2521:(e,o,t)=>{t.d(o,{S:()=>m});var i=t(9387),n=t(7913),s=t(6139),a=t(1914);let l;(0,i.xj)(!1),window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations||(window.Vaadin.registrations=[]),window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={}),window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){};const r=new Set,m=e=>class extends((0,a.U)(e)){static get version(){return"24.2.5"}static finalize(){super.finalize();const{is:e}=this;e&&!r.has(e)&&(window.Vaadin.registrations.push(this),r.add(e),window.Vaadin.developmentModeCallback&&(l=s.dx.debounce(l,n.t$,(()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()})),(0,s.Ex)(l)))}constructor(){super(),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}}},4173:(e,o,t)=>{t(4407);var i=t(6570),n=t(2463);const s=i.iv`
3
+ :host {
4
+ /* prettier-ignore */
5
+ --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
6
+
7
+ /* Font sizes */
8
+ --lumo-font-size-xxs: 0.75rem;
9
+ --lumo-font-size-xs: 0.8125rem;
10
+ --lumo-font-size-s: 0.875rem;
11
+ --lumo-font-size-m: 1rem;
12
+ --lumo-font-size-l: 1.125rem;
13
+ --lumo-font-size-xl: 1.375rem;
14
+ --lumo-font-size-xxl: 1.75rem;
15
+ --lumo-font-size-xxxl: 2.5rem;
16
+
17
+ /* Line heights */
18
+ --lumo-line-height-xs: 1.25;
19
+ --lumo-line-height-s: 1.375;
20
+ --lumo-line-height-m: 1.625;
21
+ }
22
+ `,a=i.iv`
23
+ body,
24
+ :host {
25
+ font-family: var(--lumo-font-family);
26
+ font-size: var(--lumo-font-size-m);
27
+ line-height: var(--lumo-line-height-m);
28
+ -webkit-text-size-adjust: 100%;
29
+ -webkit-font-smoothing: antialiased;
30
+ -moz-osx-font-smoothing: grayscale;
31
+ }
32
+
33
+ small,
34
+ [theme~='font-size-s'] {
35
+ font-size: var(--lumo-font-size-s);
36
+ line-height: var(--lumo-line-height-s);
37
+ }
38
+
39
+ [theme~='font-size-xs'] {
40
+ font-size: var(--lumo-font-size-xs);
41
+ line-height: var(--lumo-line-height-xs);
42
+ }
43
+
44
+ :where(h1, h2, h3, h4, h5, h6) {
45
+ font-weight: 600;
46
+ line-height: var(--lumo-line-height-xs);
47
+ margin-block: 0;
48
+ }
49
+
50
+ :where(h1) {
51
+ font-size: var(--lumo-font-size-xxxl);
52
+ }
53
+
54
+ :where(h2) {
55
+ font-size: var(--lumo-font-size-xxl);
56
+ }
57
+
58
+ :where(h3) {
59
+ font-size: var(--lumo-font-size-xl);
60
+ }
61
+
62
+ :where(h4) {
63
+ font-size: var(--lumo-font-size-l);
64
+ }
65
+
66
+ :where(h5) {
67
+ font-size: var(--lumo-font-size-m);
68
+ }
69
+
70
+ :where(h6) {
71
+ font-size: var(--lumo-font-size-xs);
72
+ text-transform: uppercase;
73
+ letter-spacing: 0.03em;
74
+ }
75
+
76
+ p,
77
+ blockquote {
78
+ margin-top: 0.5em;
79
+ margin-bottom: 0.75em;
80
+ }
81
+
82
+ a {
83
+ text-decoration: none;
84
+ }
85
+
86
+ a:where(:any-link):hover {
87
+ text-decoration: underline;
88
+ }
89
+
90
+ hr {
91
+ display: block;
92
+ align-self: stretch;
93
+ height: 1px;
94
+ border: 0;
95
+ padding: 0;
96
+ margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
97
+ background-color: var(--lumo-contrast-10pct);
98
+ }
99
+
100
+ blockquote {
101
+ border-left: 2px solid var(--lumo-contrast-30pct);
102
+ }
103
+
104
+ b,
105
+ strong {
106
+ font-weight: 600;
107
+ }
108
+
109
+ /* RTL specific styles */
110
+ blockquote[dir='rtl'] {
111
+ border-left: none;
112
+ border-right: 2px solid var(--lumo-contrast-30pct);
113
+ }
114
+ `;(0,i.hC)("",a,{moduleId:"lumo-typography"}),(0,n.K)("typography-props",s)}}]);
@@ -9,15 +9,3 @@
9
9
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
10
10
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
11
11
  */
12
-
13
- /**
14
- * @license
15
- * Copyright 2017 Google LLC
16
- * SPDX-License-Identifier: BSD-3-Clause
17
- */
18
-
19
- /**
20
- * @license
21
- * Copyright 2019 Google LLC
22
- * SPDX-License-Identifier: BSD-3-Clause
23
- */
@@ -0,0 +1,92 @@
1
+ /*! For license information please see 446.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[446],{446:(e,t,A)=>{A.d(t,{n:()=>d}),A(1195),A(9849),A(9416);var i=A(6570);(0,i.hC)("vaadin-grid-sorter",i.iv`
3
+ :host {
4
+ justify-content: flex-start;
5
+ align-items: baseline;
6
+ -webkit-user-select: none;
7
+ -moz-user-select: none;
8
+ user-select: none;
9
+ cursor: var(--lumo-clickable-cursor);
10
+ }
11
+
12
+ [part='content'] {
13
+ display: inline-block;
14
+ overflow: hidden;
15
+ text-overflow: ellipsis;
16
+ }
17
+
18
+ [part='indicators'] {
19
+ margin-left: var(--lumo-space-s);
20
+ }
21
+
22
+ [part='indicators']::before {
23
+ transform: scale(0.8);
24
+ }
25
+
26
+ :host(:not([direction]):not(:hover)) [part='indicators'] {
27
+ color: var(--lumo-tertiary-text-color);
28
+ }
29
+
30
+ :host([direction]) {
31
+ color: var(--lumo-primary-text-color);
32
+ }
33
+
34
+ [part='order'] {
35
+ font-size: var(--lumo-font-size-xxs);
36
+ line-height: 1;
37
+ }
38
+
39
+ /* RTL specific styles */
40
+
41
+ :host([dir='rtl']) [part='indicators'] {
42
+ margin-right: var(--lumo-space-s);
43
+ margin-left: 0;
44
+ }
45
+ `,{moduleId:"lumo-grid-sorter"});var r=A(4241),n=A(2807),o=A(1914);const s=document.createElement("template");s.innerHTML="\n <style>\n @font-face {\n font-family: 'vaadin-grid-sorter-icons';\n src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAQwAA0AAAAABuwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAEFAAAABkAAAAcfep+mUdERUYAAAP4AAAAHAAAAB4AJwAOT1MvMgAAAZgAAAA/AAAAYA8TBPpjbWFwAAAB7AAAAFUAAAFeF1fZ4mdhc3AAAAPwAAAACAAAAAgAAAAQZ2x5ZgAAAlgAAABcAAAAnMvguMloZWFkAAABMAAAAC8AAAA2C5Ap72hoZWEAAAFgAAAAHQAAACQGbQPHaG10eAAAAdgAAAAUAAAAHAoAAABsb2NhAAACRAAAABIAAAASAIwAYG1heHAAAAGAAAAAFgAAACAACwAKbmFtZQAAArQAAAECAAACZxWCgKhwb3N0AAADuAAAADUAAABZCrApUXicY2BkYGAA4rDECVrx/DZfGbhZGEDgyqNPOxH0/wNMq5kPALkcDEwgUQBWRA0dAHicY2BkYGA+8P8AAwMLAwgwrWZgZEAFbABY4QM8AAAAeJxjYGRgYOAAQiYGEICQSAAAAi8AFgAAeJxjYGY6yziBgZWBgWkm0xkGBoZ+CM34msGYkZMBFTAKoAkwODAwvmRiPvD/AIMDMxCD1CDJKjAwAgBktQsXAHicY2GAAMZQCM0EwqshbAALxAEKeJxjYGBgZoBgGQZGBhCIAPIYwXwWBhsgzcXAwcAEhIwMCi+Z/v/9/x+sSuElA4T9/4k4K1gHFwMMMILMY2QDYmaoABOQYGJABUA7WBiGNwAAJd4NIQAAAAAAAAAACAAIABAAGAAmAEAATgAAeJyNjLENgDAMBP9tIURJwQCMQccSZgk2i5fIYBDAidJjycXr7x5EPwE2wY8si7jmyBNXGo/bNBerxJNrpxhbO3/fEFpx8ZICpV+ghxJ74fAMe+h7Ox14AbrsHB14nK2QQWrDMBRER4mTkhQK3ZRQKOgCNk7oGQqhhEIX2WSlWEI1BAlkJ5CDdNsj5Ey9Rncdi38ES+jzNJo/HwTgATcoDEthhY3wBHc4CE+pfwsX5F/hGe7Vo/AcK/UhvMSz+mGXKhZU6pww8ISz3oWn1BvhgnwTnuEJf8Jz1OpFeIlX9YULDLdFi4ASHolkSR0iuYdjLak1vAequBhj21D61Nqyi6l3qWybGPjySbPHGScGJl6dP58MYcQRI0bts7mjebBqrFENH7t3qWtj0OuqHnXcW7b0HOTZFnKryRGW2hFX1m0O2vEM3opNMfTau+CS6Z3Vx6veNnEXY6jwDxhsc2gAAHicY2BiwA84GBgYmRiYGJkZmBlZGFkZ2djScyoLMgzZS/MyDQwMwLSrpYEBlIbxjQDrzgsuAAAAAAEAAf//AA94nGNgZGBg4AFiMSBmYmAEQnYgZgHzGAAD6wA2eJxjYGBgZACCKyoz1cD0o087YTQATOcIewAAAA==) format('woff');\n font-weight: normal;\n font-style: normal;\n }\n </style>\n",document.head.appendChild(s.content);class a extends((0,i.Tb)((0,o.U)(r.H3))){static get template(){return r.dy`
46
+ <style>
47
+ :host {
48
+ display: inline-flex;
49
+ cursor: pointer;
50
+ max-width: 100%;
51
+ }
52
+
53
+ [part='content'] {
54
+ flex: 1 1 auto;
55
+ }
56
+
57
+ [part='indicators'] {
58
+ position: relative;
59
+ align-self: center;
60
+ flex: none;
61
+ }
62
+
63
+ [part='order'] {
64
+ display: inline;
65
+ vertical-align: super;
66
+ }
67
+
68
+ [part='indicators']::before {
69
+ font-family: 'vaadin-grid-sorter-icons';
70
+ display: inline-block;
71
+ }
72
+
73
+ :host(:not([direction])) [part='indicators']::before {
74
+ content: '\\e901';
75
+ }
76
+
77
+ :host([direction='asc']) [part='indicators']::before {
78
+ content: '\\e900';
79
+ }
80
+
81
+ :host([direction='desc']) [part='indicators']::before {
82
+ content: '\\e902';
83
+ }
84
+ </style>
85
+
86
+ <div part="content">
87
+ <slot></slot>
88
+ </div>
89
+ <div part="indicators">
90
+ <span part="order">[[_getDisplayOrder(_order)]]</span>
91
+ </div>
92
+ `}static get is(){return"vaadin-grid-sorter"}static get properties(){return{path:String,direction:{type:String,reflectToAttribute:!0,notify:!0,value:null},_order:{type:Number,value:null},_isConnected:{type:Boolean,observer:"__isConnectedChanged"}}}static get observers(){return["_pathOrDirectionChanged(path, direction)"]}ready(){super.ready(),this.addEventListener("click",this._onClick.bind(this))}connectedCallback(){super.connectedCallback(),this._isConnected=!0}disconnectedCallback(){super.disconnectedCallback(),this._isConnected=!1,!this.parentNode&&this._grid&&this._grid.__removeSorters([this])}_pathOrDirectionChanged(){this.__dispatchSorterChangedEvenIfPossible()}__isConnectedChanged(e,t){!1!==t&&this.__dispatchSorterChangedEvenIfPossible()}__dispatchSorterChangedEvenIfPossible(){void 0!==this.path&&void 0!==this.direction&&this._isConnected&&(this.dispatchEvent(new CustomEvent("sorter-changed",{detail:{shiftClick:Boolean(this._shiftClick),fromSorterClick:Boolean(this._fromSorterClick)},bubbles:!0,composed:!0})),this._fromSorterClick=!1,this._shiftClick=!1)}_getDisplayOrder(e){return null===e?"":e+1}_onClick(e){if(e.defaultPrevented)return;const t=this.getRootNode().activeElement;this!==t&&this.contains(t)||(e.preventDefault(),this._shiftClick=e.shiftKey,this._fromSorterClick=!0,"asc"===this.direction?this.direction="desc":"desc"===this.direction?this.direction=null:this.direction="asc")}}(0,n.M)(a);var c=A(4089);class d extends c.C{static get is(){return"vaadin-grid-sort-column"}static get properties(){return{path:String,direction:{type:String,notify:!0}}}static get observers(){return["_onHeaderRendererOrBindingChanged(_headerRenderer, _headerCell, path, header, direction)"]}constructor(){super(),this.__boundOnDirectionChanged=this.__onDirectionChanged.bind(this)}_defaultHeaderRenderer(e,t){let A=e.firstElementChild;A||(A=document.createElement("vaadin-grid-sorter"),A.addEventListener("direction-changed",this.__boundOnDirectionChanged),e.appendChild(A)),A.path=this.path,A.__rendererDirection=this.direction,A.direction=this.direction,A.textContent=this.__getHeader(this.header,this.path)}_computeHeaderRenderer(){return this._defaultHeaderRenderer}__onDirectionChanged(e){e.detail.value!==e.target.__rendererDirection&&(this.direction=e.detail.value)}__getHeader(e,t){return e||(t?this._generateHeader(t):void 0)}}(0,n.M)(d)}}]);
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2016 - 2023 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
@@ -0,0 +1,248 @@
1
+ /*! For license information please see 7531.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[7531],{7221:(t,e,r)=>{r.d(e,{e:()=>a}),r(7894);var s=r(1014),o=r(2224),i=r(1342);const n=o.YA,a=(0,s.o)((t=>class extends t{static createProperties(t){const e=this.prototype;for(let r in t)r in e||e._createPropertyAccessor(r)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,r){let s=this.__data[t],o=this._shouldPropertyChange(t,e,s);return o&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=s),this.__data[t]=e,this.__dataPending[t]=e),o}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,n.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(t,e,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,r)),this.__dataCounter--}_shouldPropertiesChange(t,e,r){return Boolean(e)}_propertiesChanged(t,e,r){}_shouldPropertyChange(t,e,r){return r!==e&&(r==r||e==e)}attributeChangedCallback(t,e,r,s){e!==r&&this._attributeToProperty(t,r),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,r,s)}_attributeToProperty(t,e,r){if(!this.__serializing){const s=this.__dataAttributes,o=s&&s[t]||t;this[o]=this._deserializeValue(e,r||this.constructor.typeForProperty(o))}}_propertyToAttribute(t,e,r){this.__serializing=!0,r=arguments.length<3?this[t]:r,this._valueToNodeAttribute(this,r,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,r){const s=this._serializeValue(e);"class"!==r&&"name"!==r&&"slot"!==r||(t=(0,i.r)(t)),void 0===s?t.removeAttribute(r):t.setAttribute(r,""===s&&window.trustedTypes?window.trustedTypes.emptyScript:s)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}}))},4933:(t,e,r)=>{r.d(e,{q:()=>at}),r(7894);var s=r(1342),o=r(1014),i=r(1446);const n={},a=/-[a-z]/g,l=/([A-Z])/g;function c(t){return n[t]||(n[t]=t.indexOf("-")<0?t:t.replace(a,(t=>t[1].toUpperCase())))}function h(t){return n[t]||(n[t]=t.replace(l,"-$1").toLowerCase())}var d=r(7221);const u={};let p=HTMLElement.prototype;for(;p;){let t=Object.getOwnPropertyNames(p);for(let e=0;e<t.length;e++)u[t[e]]=!0;p=Object.getPrototypeOf(p)}const _=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1,m=(0,o.o)((t=>{const e=(0,d.e)(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(c(t[e]))}static attributeNameForProperty(t){return h(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){this.hasAttribute(t)||this._valueToNodeAttribute(this,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(_(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let r;switch(e){case Object:try{r=JSON.parse(t)}catch(e){r=t}break;case Array:try{r=JSON.parse(t)}catch(e){r=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:r=isNaN(t)?String(t):Number(t),r=new Date(r);break;default:r=super._deserializeValue(t,e)}return r}_definePropertyAccessor(t,e){!function(t,e){if(!u[e]){let r=t[e];void 0!==r&&(t.__data?t._setPendingProperty(e,r):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=r))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),f={"dom-if":!0,"dom-repeat":!0};let y=!1,g=!1;const v=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,r,s)=>{const o=r.getAttribute(s);t&&s.startsWith("on-")?e.setAttribute(s,t.createScript(o,s)):e.setAttribute(s,o)}})();function P(t){let e=t.getAttribute("is");if(e&&f[e]){let r=t;for(r.removeAttribute("is"),t=r.ownerDocument.createElement(e),r.parentNode.replaceChild(t,r),t.appendChild(r);r.attributes.length;){const{name:e}=r.attributes[0];v(t,r,e),r.removeAttribute(e)}}return t}function b(t,e){let r=e.parentInfo&&b(t,e.parentInfo);if(!r)return t;for(let t=r.firstChild,s=0;t;t=t.nextSibling)if(e.parentIndex===s++)return t}function w(t,e,r,s){s.id&&(e[s.id]=r)}function A(t,e,r){if(r.events&&r.events.length)for(let s,o=0,i=r.events;o<i.length&&(s=i[o]);o++)t._addMethodEventListenerToNode(e,s.name,s.value,t)}function C(t,e,r,s){r.templateInfo&&(e._templateInfo=r.templateInfo,e._parentTemplateInfo=s)}const S=(0,o.o)((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let r=t._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=Boolean(e),r.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,r,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,r){return this._parseTemplateNode(t.content,e,r)}static _parseTemplateNode(t,e,r){let s=!1,o=t;return"template"!=o.localName||o.hasAttribute("preserve-content")?"slot"===o.localName&&(e.hasInsertionPoint=!0):s=this._parseTemplateNestedTemplate(o,e,r)||s,function(t){(function(){if(!y){y=!0;const t=document.createElement("textarea");t.placeholder="a",g=t.placeholder===t.textContent}return g})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}(o),o.firstChild&&this._parseTemplateChildNodes(o,e,r),o.hasAttributes&&o.hasAttributes()&&(s=this._parseTemplateNodeAttributes(o,e,r)||s),s||r.noted}static _parseTemplateChildNodes(t,e,r){if("script"!==t.localName&&"style"!==t.localName)for(let s,o=t.firstChild,i=0;o;o=s){if("template"==o.localName&&(o=P(o)),s=o.nextSibling,o.nodeType===Node.TEXT_NODE){let r=s;for(;r&&r.nodeType===Node.TEXT_NODE;)o.textContent+=r.textContent,s=r.nextSibling,t.removeChild(r),r=s;if(e.stripWhiteSpace&&!o.textContent.trim()){t.removeChild(o);continue}}let n={parentIndex:i,parentInfo:r};this._parseTemplateNode(o,e,n)&&(n.infoIndex=e.nodeInfoList.push(n)-1),o.parentNode&&i++}}static _parseTemplateNestedTemplate(t,e,r){let s=t,o=this._parseTemplate(s,e);return(o.content=s.content.ownerDocument.createDocumentFragment()).appendChild(s.content),r.templateInfo=o,!0}static _parseTemplateNodeAttributes(t,e,r){let s=!1,o=Array.from(t.attributes);for(let i,n=o.length-1;i=o[n];n--)s=this._parseTemplateNodeAttribute(t,e,r,i.name,i.value)||s;return s}static _parseTemplateNodeAttribute(t,e,r,s,o){return"on-"===s.slice(0,3)?(t.removeAttribute(s),r.events=r.events||[],r.events.push({name:s.slice(3),value:o}),!0):"id"===s&&(r.id=o,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let r=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,s=e.content||t.content,o=document.importNode(s,!0);o.__noInsertionPoint=!e.hasInsertionPoint;let i=o.nodeList=new Array(r.length);o.$={};for(let t,s=0,n=r.length;s<n&&(t=r[s]);s++){let r=i[s]=b(o,t);w(0,o.$,r,t),C(0,r,t,e),A(this,r,t)}return o}_addMethodEventListenerToNode(t,e,r,s){let o=function(t,e,r){return t=t._methodHost||t,function(e){t[r]?t[r](e,e.detail):console.warn("listener method `"+r+"` not defined")}}(s=s||t,0,r);return this._addEventListenerToNode(t,e,o),o}_addEventListenerToNode(t,e,r){t.addEventListener(e,r)}_removeEventListenerFromNode(t,e,r){t.removeEventListener(e,r)}}));var E=r(9387);let T=0;const $=[],x={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},O="__computeInfo",N=/[A-Z]/;function I(t,e,r){let s=t[e];if(s){if(!t.hasOwnProperty(e)&&(s=t[e]=Object.create(t[e]),r))for(let t in s){let e=s[t],r=s[t]=Array(e.length);for(let t=0;t<e.length;t++)r[t]=e[t]}}else s=t[e]={};return s}function R(t,e,r,s,o,n){if(e){let a=!1;const l=T++;for(let c in r){let h=e[o?(0,i.Jz)(c):c];if(h)for(let e,i=0,d=h.length;i<d&&(e=h[i]);i++)e.info&&e.info.lastRun===l||o&&!M(c,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,c,r,s,e.info,o,n),a=!0)}return a}return!1}function k(t,e,r,s,o,n,a,l){let c=!1,h=e[a?(0,i.Jz)(s):s];if(h)for(let e,i=0,d=h.length;i<d&&(e=h[i]);i++)e.info&&e.info.lastRun===r||a&&!M(s,e.trigger)||(e.info&&(e.info.lastRun=r),e.fn(t,s,o,n,e.info,a,l),c=!0);return c}function M(t,e){if(e){let r=e.name;return r==t||!(!e.structured||!(0,i.jg)(r,t))||!(!e.wildcard||!(0,i.SG)(r,t))}return!0}function H(t,e,r,s,o){let i="string"==typeof o.method?t[o.method]:o.method,n=o.property;i?i.call(t,t.__data[n],s[n]):o.dynamicFn||console.warn("observer method `"+o.method+"` not defined")}function L(t,e,r){let s=(0,i.Jz)(e);return s!==e&&(U(t,h(s)+"-changed",r[e],e),!0)}function U(t,e,r,o){let i={value:r,queueProperty:!0};o&&(i.path=o),(0,s.r)(t).dispatchEvent(new CustomEvent(e,{detail:i}))}function z(t,e,r,s,o,n){let a=(n?(0,i.Jz)(e):e)!=e?e:null,l=a?(0,i.U2)(t,a):t.__data[e];a&&void 0===l&&(l=r[e]),U(t,o.eventName,l,a)}function D(t,e,r,s,o){let i=t.__data[e];E.v1&&(i=(0,E.v1)(i,o.attrName,"attribute",t)),t._propertyToAttribute(e,o.attrName,i)}const F=(t,e,r)=>{let s=0,o=e.length-1,i=-1;for(;s<=o;){const n=s+o>>1,a=r.get(e[n].methodInfo)-r.get(t.methodInfo);if(a<0)s=n+1;else{if(!(a>0)){i=n;break}o=n-1}}i<0&&(i=o+1),e.splice(i,0,t)},j=(t,e,r,s,o)=>{const n=e[o?(0,i.Jz)(t):t];if(n)for(let e=0;e<n.length;e++){const i=n[e];i.info.lastRun===T||o&&!M(t,i.trigger)||(i.info.lastRun=T,F(i.info,r,s))}};function B(t,e,r,s,o){let i=Z(t,e,r,0,o);if(i===$)return!1;let n=o.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[n]?t._setPendingProperty(n,i,!0):(t[n]=i,!1)}function Y(t,e,r,s,o,i,n){r.bindings=r.bindings||[];let a={kind:s,target:o,parts:i,literal:n,isCompound:1!==i.length};if(r.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||h(o)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let r=0;r<a.parts.length;r++){let s=a.parts[r];s.compoundIndex=r,V(t,e,a,s,l)}}function V(t,e,r,s,o){if(!s.literal)if("attribute"===r.kind&&"-"===r.target[0])console.warn("Cannot set attribute "+r.target+' because "-" is not a valid attribute starting character');else{let i=s.dependencies,n={index:o,binding:r,part:s,evaluator:t};for(let r=0;r<i.length;r++){let s=i[r];"string"==typeof s&&(s=st(s),s.wildcard=!0),t._addTemplatePropertyEffect(e,s.rootProperty,{fn:J,info:n,trigger:s})}}}function J(t,e,r,s,o,n,a){let l=a[o.index],c=o.binding,h=o.part;if(n&&h.source&&e.length>h.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let s=r[e];e=(0,i.Iu)(h.source,c.target,e),l._setPendingPropertyOrPath(e,s,!1,!0)&&t._enqueueClient(l)}else{let i=o.evaluator._evaluateBinding(t,h,e,r,s,n);i!==$&&function(t,e,r,s,o){if(o=function(t,e,r,s){if(r.isCompound){let o=t.__dataCompoundStorage[r.target];o[s.compoundIndex]=e,e=o.join("")}return"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e)),e}(e,o,r,s),E.v1&&(o=(0,E.v1)(o,r.target,r.kind,e)),"attribute"==r.kind)t._valueToNodeAttribute(e,o,r.target);else{let s=r.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[s]?e[x.READ_ONLY]&&e[x.READ_ONLY][s]||e._setPendingProperty(s,o)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,s,o)}}(t,l,c,h,i)}}function q(t,e){if(e.isCompound){let r=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),o=e.parts,i=new Array(o.length);for(let t=0;t<o.length;t++)i[t]=o[t].literal;let n=e.target;r[n]=i,e.literal&&"property"==e.kind&&("className"===n&&(t=(0,s.r)(t)),t[n]=e.literal)}}function W(t,e,r){if(r.listenerEvent){let s=r.parts[0];t.addEventListener(r.listenerEvent,(function(t){!function(t,e,r,s,o){let n,a=t.detail,l=a&&a.path;l?(s=(0,i.Iu)(r,s,l),n=a&&a.value):n=t.currentTarget[r],n=o?!n:n,e[x.READ_ONLY]&&e[x.READ_ONLY][s]||!e._setPendingPropertyOrPath(s,n,!0,Boolean(l))||a&&a.queueProperty||e._invalidateProperties()}(t,e,r.target,s.source,s.negate)}))}}function K(t,e,r,s,o,i){i=e.static||i&&("object"!=typeof i||i[e.methodName]);let n={methodName:e.methodName,args:e.args,methodInfo:o,dynamicFn:i};for(let o,i=0;i<e.args.length&&(o=e.args[i]);i++)o.literal||t._addPropertyEffect(o.rootProperty,r,{fn:s,info:n,trigger:o});return i&&t._addPropertyEffect(e.methodName,r,{fn:s,info:n}),n}function Z(t,e,r,s,o){let i=t._methodHost||t,n=i[o.methodName];if(n){let s=t._marshalArgs(o.args,e,r);return s===$?$:n.apply(i,s)}o.dynamicFn||console.warn("method `"+o.methodName+"` not defined")}const G=[],X="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Q="(?:("+X+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",tt=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+X+"\\s*(?:\\(\\s*(?:(?:"+Q+"(?:,\\s*"+Q+")*)?)\\)\\s*)?)(?:]]|}})","g");function et(t){let e="";for(let r=0;r<t.length;r++)e+=t[r].literal||"";return e}function rt(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:G};return e[2].trim()?function(t,e){return e.args=t.map((function(t){let r=st(t);return r.literal||(e.static=!1),r}),this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t):t}return null}function st(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),r={name:e,value:"",literal:!1},s=e[0];switch("-"===s&&(s=e[1]),s>="0"&&s<="9"&&(s="#"),s){case"'":case'"':r.value=e.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(e),r.literal=!0}return r.literal||(r.rootProperty=(0,i.Jz)(e),r.structured=(0,i.AZ)(e),r.structured&&(r.wildcard=".*"==e.slice(-2),r.wildcard&&(r.name=e.slice(0,-2)))),r}function ot(t,e,r){let s=(0,i.U2)(t,r);return void 0===s&&(s=e[r]),s}function it(t,e,r,s){const o={indexSplices:s};E.HY&&!t._overrideLegacyUndefined&&(e.splices=o),t.notifyPath(r+".splices",o),t.notifyPath(r+".length",e.length),E.HY&&!t._overrideLegacyUndefined&&(o.indexSplices=[])}function nt(t,e,r,s,o,i){it(t,e,r,[{index:s,addedCount:o,removed:i,object:e,type:"splice"}])}const at=(0,o.o)((t=>{const e=S(m(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return x}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(lt.length){let t=lt[lt.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[x.READ_ONLY];for(let r in t)e&&e[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=t[r])}_addPropertyEffect(t,e,r){this._createPropertyAccessor(t,e==x.READ_ONLY);let s=I(this,e,!0)[t];s||(s=this[e][t]=[]),s.push(r)}_removePropertyEffect(t,e,r){let s=I(this,e,!0)[t],o=s.indexOf(r);o>=0&&s.splice(o,1)}_hasPropertyEffect(t,e){let r=this[e];return Boolean(r&&r[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,x.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,x.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,x.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,x.COMPUTE)}_setPendingPropertyOrPath(t,e,r,s){if(s||(0,i.Jz)(Array.isArray(t)?t[0]:t)!==t){if(!s){let r=(0,i.U2)(this,t);if(!(t=(0,i.t8)(this,t,e))||!super._shouldPropertyChange(t,e,r))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,r))return function(t,e,r){let s=t.__dataLinkedPaths;if(s){let o;for(let n in s){let a=s[n];(0,i.SG)(n,e)?(o=(0,i.Iu)(n,a,e),t._setPendingPropertyOrPath(o,r,!0,!0)):(0,i.SG)(a,e)&&(o=(0,i.Iu)(a,n,e),t._setPendingPropertyOrPath(o,r,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,r);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,r){r===t[e]&&"object"!=typeof r||("className"===e&&(t=(0,s.r)(t)),t[e]=r)}_setPendingProperty(t,e,r){let s=this.__dataHasPaths&&(0,i.AZ)(t),o=s?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,o[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),s?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(s||this[x.NOTIFY]&&this[x.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=r),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let r=t[e];r.__dataEnabled?r.__dataPending&&r._flushProperties():r._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let r in t)!e&&this[x.READ_ONLY]&&this[x.READ_ONLY][r]||this._setPendingPropertyOrPath(r,t[r],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,r){let s,o=this.__dataHasPaths;this.__dataHasPaths=!1,function(t,e,r,s){let o=t[x.COMPUTE];if(o)if(E.ls){T++;const i=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const r=t[x.COMPUTE];let s,{counts:o,ready:i,total:n}=function(t){const e=t[O],r={},s=t[x.COMPUTE],o=[];let i=0;for(let t in e){const s=e[t];i+=r[t]=s.args.filter((t=>!t.literal)).length+(s.dynamicFn?1:0)}for(let t in s)e[t]||o.push(t);return{counts:r,ready:o,total:i}}(t);for(;s=i.shift();){e.set(s,e.size);const t=r[s];t&&t.forEach((t=>{const e=t.info.methodInfo;--n,0==--o[e]&&i.push(e)}))}if(0!==n){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),n=[];for(let t in e)j(t,o,n,i,s);let a;for(;a=n.shift();)B(t,"",e,0,a)&&j(a.methodInfo,o,n,i,s);Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let i=e;for(;R(t,o,i,r,s);)Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),i=t.__dataPending,t.__dataPending=null}}(this,e,r,o),s=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,r,o),this._flushClients(),R(this,this[x.REFLECT],e,r,o),R(this,this[x.OBSERVE],e,r,o),s&&function(t,e,r,s,o){let i,n,a=t[x.NOTIFY],l=T++;for(let n in e)e[n]&&(a&&k(t,a,l,n,r,s,o)||o&&L(t,n,r))&&(i=!0);i&&(n=t.__dataHost)&&n._invalidateProperties&&n._invalidateProperties()}(this,s,e,r,o),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,r){this[x.PROPAGATE]&&R(this,this[x.PROPAGATE],t,e,r),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,r)}_runEffectsForTemplate(t,e,r,s){const o=(e,s)=>{R(this,t.propertyEffects,e,r,s,t.nodeList);for(let o=t.firstChild;o;o=o.nextSibling)this._runEffectsForTemplate(o,e,r,s)};t.runEffects?t.runEffects(o,e,s):o(e,s)}linkPaths(t,e){t=(0,i.Fv)(t),e=(0,i.Fv)(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=(0,i.Fv)(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let r={path:""};it(this,(0,i.U2)(this,t,r),r.path,e)}get(t,e){return(0,i.U2)(e||this,t)}set(t,e,r){r?(0,i.t8)(r,t,e):this[x.READ_ONLY]&&this[x.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let r={path:""},s=(0,i.U2)(this,t,r),o=s.length,n=s.push(...e);return e.length&&nt(this,s,r.path,o,e.length,[]),n}pop(t){let e={path:""},r=(0,i.U2)(this,t,e),s=Boolean(r.length),o=r.pop();return s&&nt(this,r,e.path,r.length,0,[o]),o}splice(t,e,r,...s){let o,n={path:""},a=(0,i.U2)(this,t,n);return e<0?e=a.length-Math.floor(-e):e&&(e=Math.floor(e)),o=2===arguments.length?a.splice(e):a.splice(e,r,...s),(s.length||o.length)&&nt(this,a,n.path,e,s.length,o),o}shift(t){let e={path:""},r=(0,i.U2)(this,t,e),s=Boolean(r.length),o=r.shift();return s&&nt(this,r,e.path,0,0,[o]),o}unshift(t,...e){let r={path:""},s=(0,i.U2)(this,t,r),o=s.unshift(...e);return e.length&&nt(this,s,r.path,0,e.length,[]),o}notifyPath(t,e){let r;if(1==arguments.length){let s={path:""};e=(0,i.U2)(this,t,s),r=s.path}else r=Array.isArray(t)?(0,i.Fv)(t):t;this._setPendingPropertyOrPath(r,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var r;this._addPropertyEffect(t,x.READ_ONLY),e&&(this["_set"+(r=t,r[0].toUpperCase()+r.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,r){let s={property:t,method:e,dynamicFn:Boolean(r)};this._addPropertyEffect(t,x.OBSERVE,{fn:H,info:s,trigger:{name:t}}),r&&this._addPropertyEffect(e,x.OBSERVE,{fn:H,info:s,trigger:{name:e}})}_createMethodObserver(t,e){let r=rt(t);if(!r)throw new Error("Malformed observer expression '"+t+"'");K(this,r,x.OBSERVE,Z,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,x.NOTIFY,{fn:z,info:{eventName:h(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,x.REFLECT,{fn:D,info:{attrName:e}})}_createComputedProperty(t,e,r){let s=rt(e);if(!s)throw new Error("Malformed computed expression '"+e+"'");const o=K(this,s,x.COMPUTE,B,t,r);I(this,O)[t]=o}_marshalArgs(t,e,r){const s=this.__data,o=[];for(let n=0,a=t.length;n<a;n++){let{name:a,structured:l,wildcard:c,value:h,literal:d}=t[n];if(!d)if(c){const t=(0,i.SG)(a,e),o=ot(s,r,t?e:a);h={path:t?e:a,value:o,base:t?(0,i.U2)(s,a):o}}else h=l?ot(s,r,a):s[a];if(E.HY&&!this._overrideLegacyUndefined&&void 0===h&&t.length>1)return $;o[n]=h}return o}static addPropertyEffect(t,e,r){this.prototype._addPropertyEffect(t,e,r)}static createPropertyObserver(t,e,r){this.prototype._createPropertyObserver(t,e,r)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,r){this.prototype._createComputedProperty(t,e,r)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let r=this.constructor._parseTemplate(t),s=this.__preBoundTemplateInfo==r;if(!s)for(let t in r.propertyEffects)this._createPropertyAccessor(t);if(e)if(r=Object.create(r),r.wasPreBound=s,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,s=e.lastChild;r.parent=e,e.lastChild=r,r.previousSibling=s,s?s.nextSibling=r:e.firstChild=r}else this.__templateInfo=r;else this.__preBoundTemplateInfo=r;return r}static _addTemplatePropertyEffect(t,e,r){(t.hostProps=t.hostProps||{})[e]=!0;let s=t.propertyEffects=t.propertyEffects||{};(s[e]=s[e]||[]).push(r)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),lt.push(this);let r=super._stampTemplate(t,e);if(lt.pop(),e.nodeList=r.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=r.firstChild;e;e=e.nextSibling)t.push(e)}return r.templateInfo=e,function(t,e){let{nodeList:r,nodeInfoList:s}=e;if(s.length)for(let e=0;e<s.length;e++){let o=s[e],i=r[e],n=o.bindings;if(n)for(let e=0;e<n.length;e++){let r=n[e];q(i,r),W(i,t,r)}i.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),r}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:r,nextSibling:o,parent:i}=e;r?r.nextSibling=o:i&&(i.firstChild=o),o?o.previousSibling=r:i&&(i.lastChild=r),e.nextSibling=e.previousSibling=null;let n=e.childNodes;for(let t=0;t<n.length;t++){let e=n[t];(0,s.r)((0,s.r)(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,r,s){let o=e._parseTemplateNode.call(this,t,r,s);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,r);e&&(t.textContent=et(e)||" ",Y(this,r,s,"text","textContent",e),o=!0)}return o}static _parseTemplateNodeAttribute(t,r,s,o,i){let n=this._parseBindings(i,r);if(n){let e=o,i="property";N.test(o)?i="attribute":"$"==o[o.length-1]&&(o=o.slice(0,-1),i="attribute");let a=et(n);return a&&"attribute"==i&&("class"==o&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(o)),t.setAttribute(o,a)),"attribute"==i&&"disable-upgrade$"==e&&t.setAttribute(o,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===i&&(o=c(o)),Y(this,r,s,i,o,n,a),!0}return e._parseTemplateNodeAttribute.call(this,t,r,s,o,i)}static _parseTemplateNestedTemplate(t,r,s){let o=e._parseTemplateNestedTemplate.call(this,t,r,s);const i=t.parentNode,n=s.templateInfo,a="dom-if"===i.localName,l="dom-repeat"===i.localName;E.gx&&(a||l)&&(i.removeChild(t),(s=s.parentInfo).templateInfo=n,s.noted=!0,o=!1);let c=n.hostProps;if(E.ew&&a)c&&(r.hostProps=Object.assign(r.hostProps||{},c),E.gx||(s.parentInfo.noted=!0));else{let t="{";for(let e in c)Y(this,r,s,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}return o}static _parseBindings(t,e){let r,s=[],o=0;for(;null!==(r=tt.exec(t));){r.index>o&&s.push({literal:t.slice(o,r.index)});let i=r[1][0],n=Boolean(r[2]),a=r[3].trim(),l=!1,c="",h=-1;"{"==i&&(h=a.indexOf("::"))>0&&(c=a.substring(h+2),a=a.substring(0,h),l=!0);let d=rt(a),u=[];if(d){let{args:t,methodName:r}=d;for(let e=0;e<t.length;e++){let r=t[e];r.literal||u.push(r)}let s=e.dynamicFns;(s&&s[r]||d.static)&&(u.push(r),d.dynamicFn=!0)}else u.push(a);s.push({source:a,mode:i,negate:n,customEvent:l,signature:d,dependencies:u,event:c}),o=tt.lastIndex}if(o&&o<t.length){let e=t.substring(o);e&&s.push({literal:e})}return s.length?s:null}static _evaluateBinding(t,e,r,s,o,n){let a;return a=e.signature?Z(t,r,s,0,e.signature):r!=e.source?(0,i.U2)(t,e.source):n&&(0,i.AZ)(r)?(0,i.U2)(t,r):t.__data[r],e.negate&&(a=!a),a}}})),lt=[]},2224:(t,e,r)=>{r.d(e,{Wc:()=>c,YA:()=>h}),r(7894);let s=0,o=0,i=[],n=0,a=!1,l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const t=i.length;for(let e=0;e<t;e++){let t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),o+=t})).observe(l,{characterData:!0});const c={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},h={run:t=>(a||(a=!0,l.textContent=n++),i.push(t),s++),cancel(t){const e=t-o;if(e>=0){if(!i[e])throw new Error("invalid async handle: "+t);i[e]=null}}}},7894:()=>{window.JSCompiler_renameProperty=function(t,e){return t}},1121:(t,e,r)=>{r.d(e,{d:()=>n}),r(7894);const s=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class o{constructor(t,e){a(t,e);const r=e.reduce(((e,r,s)=>e+i(r)+t[s+1]),t[0]);this.value=r.toString()}toString(){return this.value}}function i(t){if(t instanceof o)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const n=function(t,...e){a(t,e);const r=document.createElement("template");let n=e.reduce(((e,r,s)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof o)return i(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(r)+t[s+1]),t[0]);return s&&(n=s.createHTML(n)),r.innerHTML=n,r},a=(t,e)=>{if(!Array.isArray(t)||!Array.isArray(t.raw)||e.length!==t.length-1)throw new TypeError("Invalid call to the html template tag")}},1014:(t,e,r)=>{r.d(e,{o:()=>i}),r(7894);let s=0;function o(){}o.prototype.__mixinApplications,o.prototype.__mixinSet;const i=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let r=s++;return function(s){let o=s.__mixinSet;if(o&&o[r])return s;let i=e,n=i.get(s);if(!n){n=t(s),i.set(s,n);let e=Object.create(n.__mixinSet||o||null);e[r]=!0,n.__mixinSet=e}return n}}},1446:(t,e,r)=>{function s(t){return t.indexOf(".")>=0}function o(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function i(t,e){return 0===t.indexOf(e+".")}function n(t,e){return 0===e.indexOf(t+".")}function a(t,e,r){return e+r.slice(t.length)}function l(t,e){return t===e||i(t,e)||n(t,e)}function c(t){if(Array.isArray(t)){let e=[];for(let r=0;r<t.length;r++){let s=t[r].toString().split(".");for(let t=0;t<s.length;t++)e.push(s[t])}return e.join(".")}return t}function h(t){return Array.isArray(t)?c(t).split("."):t.toString().split(".")}function d(t,e,r){let s=t,o=h(e);for(let t=0;t<o.length;t++){if(!s)return;s=s[o[t]]}return r&&(r.path=o.join(".")),s}function u(t,e,r){let s=t,o=h(e),i=o[o.length-1];if(o.length>1){for(let t=0;t<o.length-1;t++)if(s=s[o[t]],!s)return;s[i]=r}else s[e]=r;return o.join(".")}r.d(e,{AZ:()=>s,Fv:()=>c,Iu:()=>a,Jz:()=>o,SG:()=>n,U2:()=>d,jg:()=>i,t8:()=>u,wB:()=>l}),r(7894)},9967:(t,e,r)=>{r.d(e,{Kk:()=>a,Rq:()=>l,iY:()=>c}),r(7894);let s,o,i=/(url\()([^)]*)(\))/g,n=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(t,e){if(t&&n.test(t))return t;if("//"===t)return t;if(void 0===s){s=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",s="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),s)try{return new URL(t,e).href}catch(e){return t}return o||(o=document.implementation.createHTMLDocument("temp"),o.base=o.createElement("base"),o.head.appendChild(o.base),o.anchor=o.createElement("a"),o.body.appendChild(o.anchor)),o.base.href=e,o.anchor.href=t,o.anchor.href||t}function l(t,e){return t.replace(i,(function(t,r,s,o){return r+"'"+a(s.replace(/["']/g,""),e)+"'"+o}))}function c(t){return t.substring(0,t.lastIndexOf("/")+1)}},9387:(t,e,r)=>{r.d(e,{FV:()=>i,HY:()=>p,Hr:()=>u,XN:()=>l,ZN:()=>c,a2:()=>d,dJ:()=>v,ew:()=>g,gx:()=>y,ls:()=>_,md:()=>P,my:()=>o,nL:()=>h,sM:()=>n,v1:()=>a,xj:()=>f}),r(7894);var s=r(9967);const o=!window.ShadyDOM||!window.ShadyDOM.inUse,i=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,o&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let n=window.Polymer&&window.Polymer.rootPath||(0,s.iY)(document.baseURI||window.location.href),a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let l=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,c=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,h=window.Polymer&&window.Polymer.legacyOptimizations||!1,d=window.Polymer&&window.Polymer.legacyWarnings||!1,u=window.Polymer&&window.Polymer.syncInitialRender||!1,p=window.Polymer&&window.Polymer.legacyUndefined||!1,_=window.Polymer&&window.Polymer.orderedComputed||!1,m=!0;const f=function(t){m=t};let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1,g=window.Polymer&&window.Polymer.fastDomIf||!1,v=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let P=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},1342:(t,e,r)=>{r.d(e,{r:()=>s});const s=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t},4241:(t,e,r)=>{r.d(e,{H3:()=>$,dy:()=>T.d}),r(7894);var s=r(9387),o=r(1014),i=r(9967);let n={},a={};function l(t,e){n[t]=a[t.toLowerCase()]=e}function c(t){return n[t]||a[t.toLowerCase()]}class h extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let r=c(t);return r&&e?r.querySelector(e):r}return null}attributeChangedCallback(t,e,r,s){e!==r&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,i.Kk)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,i.iY)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(s.XN&&void 0!==c(t))throw l(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,l(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}h.prototype.modules=n,customElements.define("dom-module",h);const d="link[rel=import][type~=css]",u="include",p="shady-unscoped";function _(t){return h.import(t)}function m(t){let e=t.body?t.body:t;const r=(0,i.Rq)(e.textContent,t.baseURI),s=document.createElement("style");return s.textContent=r,s}function f(t){const e=t.trim().split(/\s+/),r=[];for(let t=0;t<e.length;t++)r.push(...y(e[t]));return r}function y(t){const e=_(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...v(e));const r=e.querySelector("template");r&&t.push(...g(r,e.assetpath)),e._styles=t}return e._styles}function g(t,e){if(!t._styles){const r=[],s=t.content.querySelectorAll("style");for(let t=0;t<s.length;t++){let o=s[t],n=o.getAttribute(u);n&&r.push(...f(n).filter((function(t,e,r){return r.indexOf(t)===e}))),e&&(o.textContent=(0,i.Rq)(o.textContent,e)),r.push(o)}t._styles=r}return t._styles}function v(t){const e=[],r=t.querySelectorAll(d);for(let t=0;t<r.length;t++){let s=r[t];if(s.import){const t=s.import,r=s.hasAttribute(p);if(r&&!t._unscopedStyle){const e=m(t);e.setAttribute(p,""),t._unscopedStyle=e}else t._style||(t._style=m(t));e.push(r?t._unscopedStyle:t._style)}}return e}var P=r(4933);const b=[];var w=r(7221);const A=(0,o.o)((t=>{const e=(0,w.e)(t);function r(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof o?e:null}function s(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const r=t.properties;r&&(e=function(t){const e={};for(let r in t){const s=t[r];e[r]="function"==typeof s?{type:s}:s}return e}(r))}t.__ownProperties=e}return t.__ownProperties}class o extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){t=this.prototype,b.push(t);const e=this._properties;this.__observedAttributes=e?Object.keys(e).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}var t;return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=r(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=s(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=r(this);this.__properties=Object.assign({},t&&t._properties,s(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return o}));var C=r(1342);const S=window.ShadyCSS&&window.ShadyCSS.cssBuild,E=(0,o.o)((t=>{const e=A((0,P.q)(t));return class extends e{static get polymerElementVersion(){return"3.5.1"}static _finalizeClass(){e._finalizeClass.call(this);const t=((r=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",r))||(r.__ownObservers=r.hasOwnProperty(JSCompiler_renameProperty("observers",r))?r.observers:null),r.__ownObservers);var r;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):s.nL||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let i in t)e=this.prototype,r=i,o=t,(s=t[i]).computed&&(s.readOnly=!0),s.computed&&(e._hasReadOnlyEffect(r)?console.warn(`Cannot redefine computed property '${r}'.`):e._createComputedProperty(r,s.computed,o)),s.readOnly&&!e._hasReadOnlyEffect(r)?e._createReadOnlyProperty(r,!s.computed):!1===s.readOnly&&e._hasReadOnlyEffect(r)&&console.warn(`Cannot make readOnly property '${r}' non-readOnly.`),s.reflectToAttribute&&!e._hasReflectEffect(r)?e._createReflectedProperty(r):!1===s.reflectToAttribute&&e._hasReflectEffect(r)&&console.warn(`Cannot make reflected property '${r}' non-reflected.`),s.notify&&!e._hasNotifyEffect(r)?e._createNotifyingProperty(r):!1===s.notify&&e._hasNotifyEffect(r)&&console.warn(`Cannot make notify property '${r}' non-notify.`),s.observer&&e._createPropertyObserver(r,s.observer,o[s.observer]),e._addPropertyToAttributeMap(r);var e,r,s,o}static createObservers(t,e){const r=this.prototype;for(let s=0;s<t.length;s++)r._createMethodObserver(t[s],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof t&&(t=t()),this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!s.XN||s.ZN)&&(e=h.import(t,"template"),s.XN&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,i.iY)(t.url);else{const t=h.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=s.sM,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let r in e){let s=e[r];"value"in s&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[r]=s)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let r=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof r.value?r.value.call(this):r.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,i.Rq)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const r=this.importPath;(function(t,e,r,o){if(!S){const s=e.content.querySelectorAll("style"),i=g(e),n=function(t){let e=_(t);return e?v(e):[]}(r),a=e.content.firstElementChild;for(let r=0;r<n.length;r++){let s=n[r];s.textContent=t._processStyleText(s.textContent,o),e.content.insertBefore(s,a)}let l=0;for(let e=0;e<i.length;e++){let r=i[e],n=s[l];n!==r?(r=r.cloneNode(!0),n.parentNode.insertBefore(r,n)):l++,r.textContent=t._processStyleText(r.textContent,o)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,r),s.md&&S&&s.FV){const r=e.content.querySelectorAll("style");if(r){let e="";Array.from(r).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,r?(0,i.Kk)(r):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=(0,C.r)(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),s.Hr&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,i.Kk)(this.importPath)),(0,i.Kk)(t,e)}static _parseTemplateContent(t,r,s){return r.dynamicFns=r.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,r,s)}static _addTemplatePropertyEffect(t,r,o){return!s.a2||r in this._properties||o.info.part.signature&&o.info.part.signature.static||o.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${r}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,r,o)}}}));var T=r(1121);const $=E(HTMLElement)},7913:(t,e,r)=>{r.d(e,{Wc:()=>a,YA:()=>h,rs:()=>l,t$:()=>c});let s=0,o=0;const i=[];let n=!1;const a={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},l={run:t=>window.requestAnimationFrame(t),cancel(t){window.cancelAnimationFrame(t)}},c={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},h={run(t){n||(n=!0,queueMicrotask((()=>function(){n=!1;const t=i.length;for(let e=0;e<t;e++){const t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),o+=t}()))),i.push(t);const e=s;return s+=1,e},cancel(t){const e=t-o;if(e>=0){if(!i[e])throw new Error(`invalid async handle: ${t}`);i[e]=null}}}},6139:(t,e,r)=>{r.d(e,{Ex:()=>i,dx:()=>o,yl:()=>a});const s=new Set;class o{static debounce(t,e,r){return t instanceof o?t._cancelAsync():t=new o,t.setConfig(e,r),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,s.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),s.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}}function i(t){s.add(t)}function n(){const t=Boolean(s.size);return s.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t}const a=()=>{let t;do{t=n()}while(t)}},2807:(t,e,r)=>{function s(t){const e=customElements.get(t.is);if(e){const r=e.version;r&&t.version&&r===t.version?console.warn(`The component ${t.is} has been loaded twice`):console.error(`Tried to define ${t.is} version ${t.version} when version ${e.version} is already in use. Something will probably break.`)}else customElements.define(t.is,t)}r.d(e,{M:()=>s})},1914:(t,e,r)=>{r.d(e,{U:()=>n});const s=[];function o(t,e,r=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=r&&t.removeAttribute("dir")}function i(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=i();s.forEach((e=>{o(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const n=t=>class extends t{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:t=>t||"",toAttribute:t=>""===t?null:t}}}}get __isRTL(){return"rtl"===this.getAttribute("dir")}connectedCallback(){super.connectedCallback(),this.hasAttribute("dir")&&!this.__restoreSubscription||(this.__subscribe(),o(this,i(),null))}attributeChangedCallback(t,e,r){if(super.attributeChangedCallback(t,e,r),"dir"!==t)return;const n=i(),a=r===n&&-1===s.indexOf(this),l=!r&&e&&-1===s.indexOf(this),c=r!==n&&e===n;a||l?(this.__subscribe(),o(this,n,r)):c&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=s.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,r){("dir"!==r||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,r)}_attributeToProperty(t,e,r){"dir"!==t||e?super._attributeToProperty(t,e,r):this.dir=""}__subscribe(){s.includes(this)||s.push(this)}__unsubscribe(){s.includes(this)&&s.splice(s.indexOf(this),1)}}},1195:(t,e,r)=>{r(4407);var s=r(6570),o=r(2463);const i=s.iv`
3
+ :host {
4
+ /* Base (background) */
5
+ --lumo-base-color: #fff;
6
+
7
+ /* Tint */
8
+ --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
9
+ --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
10
+ --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
11
+ --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
12
+ --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
13
+ --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
14
+ --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
15
+ --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
16
+ --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
17
+ --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
18
+ --lumo-tint: #fff;
19
+
20
+ /* Shade */
21
+ --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
22
+ --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
23
+ --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
24
+ --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
25
+ --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
26
+ --lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
27
+ --lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
28
+ --lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
29
+ --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
30
+ --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
31
+ --lumo-shade: hsl(214, 35%, 15%);
32
+
33
+ /* Contrast */
34
+ --lumo-contrast-5pct: var(--lumo-shade-5pct);
35
+ --lumo-contrast-10pct: var(--lumo-shade-10pct);
36
+ --lumo-contrast-20pct: var(--lumo-shade-20pct);
37
+ --lumo-contrast-30pct: var(--lumo-shade-30pct);
38
+ --lumo-contrast-40pct: var(--lumo-shade-40pct);
39
+ --lumo-contrast-50pct: var(--lumo-shade-50pct);
40
+ --lumo-contrast-60pct: var(--lumo-shade-60pct);
41
+ --lumo-contrast-70pct: var(--lumo-shade-70pct);
42
+ --lumo-contrast-80pct: var(--lumo-shade-80pct);
43
+ --lumo-contrast-90pct: var(--lumo-shade-90pct);
44
+ --lumo-contrast: var(--lumo-shade);
45
+
46
+ /* Text */
47
+ --lumo-header-text-color: var(--lumo-contrast);
48
+ --lumo-body-text-color: var(--lumo-contrast-90pct);
49
+ --lumo-secondary-text-color: var(--lumo-contrast-70pct);
50
+ --lumo-tertiary-text-color: var(--lumo-contrast-50pct);
51
+ --lumo-disabled-text-color: var(--lumo-contrast-30pct);
52
+
53
+ /* Primary */
54
+ --lumo-primary-color: hsl(214, 100%, 48%);
55
+ --lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
56
+ --lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
57
+ --lumo-primary-text-color: hsl(214, 100%, 43%);
58
+ --lumo-primary-contrast-color: #fff;
59
+
60
+ /* Error */
61
+ --lumo-error-color: hsl(3, 85%, 48%);
62
+ --lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
63
+ --lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
64
+ --lumo-error-text-color: hsl(3, 89%, 42%);
65
+ --lumo-error-contrast-color: #fff;
66
+
67
+ /* Success */
68
+ --lumo-success-color: hsl(145, 72%, 30%);
69
+ --lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
70
+ --lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
71
+ --lumo-success-text-color: hsl(145, 85%, 25%);
72
+ --lumo-success-contrast-color: #fff;
73
+
74
+ /* Warning */
75
+ --lumo-warning-color: hsl(48, 100%, 50%);
76
+ --lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
77
+ --lumo-warning-text-color: hsl(32, 100%, 30%);
78
+ --lumo-warning-contrast-color: var(--lumo-shade-90pct);
79
+ }
80
+
81
+ /* forced-colors mode adjustments */
82
+ @media (forced-colors: active) {
83
+ html {
84
+ --lumo-disabled-text-color: GrayText;
85
+ }
86
+ }
87
+ `;(0,o.K)("color-props",i);const n=s.iv`
88
+ [theme~='dark'] {
89
+ /* Base (background) */
90
+ --lumo-base-color: hsl(214, 35%, 21%);
91
+
92
+ /* Tint */
93
+ --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
94
+ --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
95
+ --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
96
+ --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
97
+ --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
98
+ --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
99
+ --lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
100
+ --lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
101
+ --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
102
+ --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
103
+ --lumo-tint: hsl(214, 100%, 98%);
104
+
105
+ /* Shade */
106
+ --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
107
+ --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
108
+ --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
109
+ --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
110
+ --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
111
+ --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
112
+ --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
113
+ --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
114
+ --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
115
+ --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
116
+ --lumo-shade: hsl(214, 33%, 13%);
117
+
118
+ /* Contrast */
119
+ --lumo-contrast-5pct: var(--lumo-tint-5pct);
120
+ --lumo-contrast-10pct: var(--lumo-tint-10pct);
121
+ --lumo-contrast-20pct: var(--lumo-tint-20pct);
122
+ --lumo-contrast-30pct: var(--lumo-tint-30pct);
123
+ --lumo-contrast-40pct: var(--lumo-tint-40pct);
124
+ --lumo-contrast-50pct: var(--lumo-tint-50pct);
125
+ --lumo-contrast-60pct: var(--lumo-tint-60pct);
126
+ --lumo-contrast-70pct: var(--lumo-tint-70pct);
127
+ --lumo-contrast-80pct: var(--lumo-tint-80pct);
128
+ --lumo-contrast-90pct: var(--lumo-tint-90pct);
129
+ --lumo-contrast: var(--lumo-tint);
130
+
131
+ /* Text */
132
+ --lumo-header-text-color: var(--lumo-contrast);
133
+ --lumo-body-text-color: var(--lumo-contrast-90pct);
134
+ --lumo-secondary-text-color: var(--lumo-contrast-70pct);
135
+ --lumo-tertiary-text-color: var(--lumo-contrast-50pct);
136
+ --lumo-disabled-text-color: var(--lumo-contrast-30pct);
137
+
138
+ /* Primary */
139
+ --lumo-primary-color: hsl(214, 90%, 48%);
140
+ --lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
141
+ --lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
142
+ --lumo-primary-text-color: hsl(214, 90%, 77%);
143
+ --lumo-primary-contrast-color: #fff;
144
+
145
+ /* Error */
146
+ --lumo-error-color: hsl(3, 79%, 49%);
147
+ --lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
148
+ --lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
149
+ --lumo-error-text-color: hsl(3, 100%, 80%);
150
+
151
+ /* Success */
152
+ --lumo-success-color: hsl(145, 72%, 30%);
153
+ --lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
154
+ --lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
155
+ --lumo-success-text-color: hsl(145, 85%, 46%);
156
+
157
+ /* Warning */
158
+ --lumo-warning-color: hsl(43, 100%, 48%);
159
+ --lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
160
+ --lumo-warning-text-color: hsl(45, 100%, 60%);
161
+ --lumo-warning-contrast-color: var(--lumo-shade-90pct);
162
+ }
163
+
164
+ html {
165
+ color: var(--lumo-body-text-color);
166
+ background-color: var(--lumo-base-color);
167
+ color-scheme: light;
168
+ }
169
+
170
+ [theme~='dark'] {
171
+ color: var(--lumo-body-text-color);
172
+ background-color: var(--lumo-base-color);
173
+ color-scheme: dark;
174
+ }
175
+
176
+ h1,
177
+ h2,
178
+ h3,
179
+ h4,
180
+ h5,
181
+ h6 {
182
+ color: var(--lumo-header-text-color);
183
+ }
184
+
185
+ a:where(:any-link) {
186
+ color: var(--lumo-primary-text-color);
187
+ }
188
+
189
+ a:not(:any-link) {
190
+ color: var(--lumo-disabled-text-color);
191
+ }
192
+
193
+ blockquote {
194
+ color: var(--lumo-secondary-text-color);
195
+ }
196
+
197
+ code,
198
+ pre {
199
+ background-color: var(--lumo-contrast-10pct);
200
+ border-radius: var(--lumo-border-radius-m);
201
+ }
202
+ `;(0,s.hC)("",n,{moduleId:"lumo-color"})},2463:(t,e,r)=>{r.d(e,{K:()=>s}),r(6570);const s=(t,...e)=>{((t,...e)=>{const r=document.createElement("style");r.id=t,r.textContent=e.map((t=>t.toString())).join("\n").replace(":host","html"),document.head.insertAdjacentElement("afterbegin",r)})(`lumo-${t}`,e)}},9416:(t,e,r)=>{r(4407);var s=r(6570),o=r(2463);const i=s.iv`
203
+ :host {
204
+ /* Square */
205
+ --lumo-space-xs: 0.25rem;
206
+ --lumo-space-s: 0.5rem;
207
+ --lumo-space-m: 1rem;
208
+ --lumo-space-l: 1.5rem;
209
+ --lumo-space-xl: 2.5rem;
210
+
211
+ /* Wide */
212
+ --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
213
+ --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
214
+ --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
215
+ --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
216
+ --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
217
+
218
+ /* Tall */
219
+ --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
220
+ --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
221
+ --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
222
+ --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
223
+ --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
224
+ }
225
+ `;(0,o.K)("spacing-props",i)},9849:(t,e,r)=>{r(4407);var s=r(6570),o=r(2463);const i=s.iv`
226
+ :host {
227
+ /* Border radius */
228
+ --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
229
+ --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
230
+ --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
231
+
232
+ /* Shadow */
233
+ --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
234
+ --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
235
+ --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
236
+ --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
237
+ --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
238
+
239
+ /* Clickable element cursor */
240
+ --lumo-clickable-cursor: default;
241
+ }
242
+ `;s.iv`
243
+ html {
244
+ --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
245
+ --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
246
+ --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
247
+ }
248
+ `,(0,o.K)("style-props",i)},4407:(t,e,r)=>{var s=r(2807);class o extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.5"}}(0,s.M)(o)},6570:(t,e,r)=>{r.d(e,{Tb:()=>u,hC:()=>a,iv:()=>s.iv});var s=r(9392),o=r(1462);const i=[];function n(t){return t&&Object.prototype.hasOwnProperty.call(t,"__themes")}function a(t,e,r={}){var o;t&&(o=t,n(customElements.get(o))&&console.warn(`The custom element definition for "${t}"\n was finalized before a style module was registered.\n Make sure to add component specific style modules before\n importing the corresponding custom element.`)),e=function(t=[]){return[t].flat(1/0).filter((t=>t instanceof s.c3||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(e),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(t,e,r):i.push({themeFor:t,styles:e,include:r.include,moduleId:r.moduleId})}function l(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():i}function c(t=""){let e=0;return t.startsWith("lumo-")||t.startsWith("material-")?e=1:t.startsWith("vaadin-")&&(e=2),e}function h(t){const e=[];return t.include&&[].concat(t.include).forEach((t=>{const r=l().find((e=>e.moduleId===t));r?e.push(...h(r),...r.styles):console.warn(`Included moduleId ${t} not found in style registry`)}),t.styles),e}function d(t){const e=`${t}-default-theme`,r=l().filter((r=>r.moduleId!==e&&function(t,e){return(t||"").split(" ").some((t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(e)))}(r.themeFor,t))).map((t=>({...t,styles:[...h(t),...t.styles],includePriority:c(t.moduleId)}))).sort(((t,e)=>e.includePriority-t.includePriority));return r.length>0?r:l().filter((t=>t.moduleId===e))}const u=t=>class extends((0,o.I)(t)){static finalize(){if(super.finalize(),this.elementStyles)return;const t=this.prototype._template;t&&!n(this)&&function(t,e){const r=document.createElement("style");r.innerHTML=t.map((t=>t.cssText)).join("\n"),e.content.appendChild(r)}(this.getStylesForThis(),t)}static finalizeStyles(t){const e=this.getStylesForThis();return t?[...super.finalizeStyles(t),...e]:e}static getStylesForThis(){const t=Object.getPrototypeOf(this.prototype),e=(t?t.constructor.__themes:[])||[];this.__themes=[...e,...d(this.is)];const r=this.__themes.flatMap((t=>t.styles));return r.filter(((t,e)=>e===r.lastIndexOf(t)))}}},1462:(t,e,r)=>{r.d(e,{I:()=>s});const s=t=>class extends t{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),"theme"===t&&this._set_theme(r)}}},3692:(t,e,r)=>{var s;r.d(e,{Jb:()=>S,_$LH:()=>D,sY:()=>j});const o=window,i=o.trustedTypes,n=i?i.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",l=`lit$${(Math.random()+"").slice(9)}$`,c="?"+l,h=`<${c}>`,d=document,u=()=>d.createComment(""),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,m=t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),f="[ \t\n\f\r]",y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,v=/>/g,P=RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,w=/"/g,A=/^(?:script|style|textarea|title)$/i,C=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),S=(C(1),C(2),Symbol.for("lit-noChange")),E=Symbol.for("lit-nothing"),T=new WeakMap,$=d.createTreeWalker(d,129,null,!1),x=(t,e)=>{const r=t.length-1,s=[];let o,i=2===e?"<svg>":"",c=y;for(let e=0;e<r;e++){const r=t[e];let n,d,u=-1,p=0;for(;p<r.length&&(c.lastIndex=p,d=c.exec(r),null!==d);)p=c.lastIndex,c===y?"!--"===d[1]?c=g:void 0!==d[1]?c=v:void 0!==d[2]?(A.test(d[2])&&(o=RegExp("</"+d[2],"g")),c=P):void 0!==d[3]&&(c=P):c===P?">"===d[0]?(c=null!=o?o:y,u=-1):void 0===d[1]?u=-2:(u=c.lastIndex-d[2].length,n=d[1],c=void 0===d[3]?P:'"'===d[3]?w:b):c===w||c===b?c=P:c===g||c===v?c=y:(c=P,o=void 0);const _=c===P&&t[e+1].startsWith("/>")?" ":"";i+=c===y?r+h:u>=0?(s.push(n),r.slice(0,u)+a+r.slice(u)+l+_):r+l+(-2===u?(s.push(void 0),e):_)}const d=i+(t[r]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==n?n.createHTML(d):d,s]};class O{constructor({strings:t,_$litType$:e},r){let s;this.parts=[];let o=0,n=0;const h=t.length-1,d=this.parts,[p,_]=x(t,e);if(this.el=O.createElement(p,r),$.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=$.nextNode())&&d.length<h;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith(a)||e.startsWith(l)){const r=_[n++];if(t.push(e),void 0!==r){const t=s.getAttribute(r.toLowerCase()+a).split(l),e=/([.?@])?(.*)/.exec(r);d.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?M:"?"===e[1]?L:"@"===e[1]?U:k})}else d.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(A.test(s.tagName)){const t=s.textContent.split(l),e=t.length-1;if(e>0){s.textContent=i?i.emptyScript:"";for(let r=0;r<e;r++)s.append(t[r],u()),$.nextNode(),d.push({type:2,index:++o});s.append(t[e],u())}}}else if(8===s.nodeType)if(s.data===c)d.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(l,t+1));)d.push({type:7,index:o}),t+=l.length-1}o++}}static createElement(t,e){const r=d.createElement("template");return r.innerHTML=t,r}}function N(t,e,r=t,s){var o,i,n,a;if(e===S)return e;let l=void 0!==s?null===(o=r._$Co)||void 0===o?void 0:o[s]:r._$Cl;const c=p(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(i=null==l?void 0:l._$AO)||void 0===i||i.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,r,s)),void 0!==s?(null!==(n=(a=r)._$Co)&&void 0!==n?n:a._$Co=[])[s]=l:r._$Cl=l),void 0!==l&&(e=N(t,l._$AS(t,e.values),l,s)),e}class I{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:r},parts:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(r,!0);$.currentNode=o;let i=$.nextNode(),n=0,a=0,l=s[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new R(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new z(i,this,t)),this._$AV.push(e),l=s[++a]}n!==(null==l?void 0:l.index)&&(i=$.nextNode(),n++)}return o}v(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class R{constructor(t,e,r,s){var o;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=s,this._$Cp=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),p(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):m(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==E&&p(this._$AH)?this._$AA.nextSibling.data=t:this.$(d.createTextNode(t)),this._$AH=t}g(t){var e;const{values:r,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=O.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.v(r);else{const t=new I(o,this),e=t.u(this.options);t.v(r),this.$(e),this._$AH=t}}_$AC(t){let e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new O(t)),e}T(t){_(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,s=0;for(const o of t)s===e.length?e.push(r=new R(this.k(u()),this.k(u()),this,this.options)):r=e[s],r._$AI(o),s++;s<e.length&&(this._$AR(r&&r._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class k{constructor(t,e,r,s,o){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,r,s){const o=this.strings;let i=!1;if(void 0===o)t=N(this,t,e,0),i=!p(t)||t!==this._$AH&&t!==S,i&&(this._$AH=t);else{const s=t;let n,a;for(t=o[0],n=0;n<o.length-1;n++)a=N(this,s[r+n],e,n),a===S&&(a=this._$AH[n]),i||(i=!p(a)||a!==this._$AH[n]),a===E?t=E:t!==E&&(t+=(null!=a?a:"")+o[n+1]),this._$AH[n]=a}i&&!s&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}}const H=i?i.emptyScript:"";class L extends k{constructor(){super(...arguments),this.type=4}j(t){t&&t!==E?this.element.setAttribute(this.name,H):this.element.removeAttribute(this.name)}}class U extends k{constructor(t,e,r,s,o){super(t,e,r,s,o),this.type=5}_$AI(t,e=this){var r;if((t=null!==(r=N(this,t,e,0))&&void 0!==r?r:E)===S)return;const s=this._$AH,o=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==E&&(s===E||o);o&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class z{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}}const D={O:a,P:l,A:c,C:1,M:x,L:I,D:m,R:N,I:R,V:k,H:L,N:U,U:M,F:z},F=o.litHtmlPolyfillSupport;null==F||F(O,R),(null!==(s=o.litHtmlVersions)&&void 0!==s?s:o.litHtmlVersions=[]).push("2.7.2");const j=(t,e,r)=>{var s,o;const i=null!==(s=null==r?void 0:r.renderBefore)&&void 0!==s?s:e;let n=i._$litPart$;if(void 0===n){const t=null!==(o=null==r?void 0:r.renderBefore)&&void 0!==o?o:null;i._$litPart$=n=new R(e.insertBefore(u(),t),t,void 0,null!=r?r:{})}return n._$AI(t),n}},9392:(t,e,r)=>{r.d(e,{c3:()=>a,iv:()=>l,sY:()=>b.sY});const s=window,o=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new WeakMap;class a{constructor(t,e,r){if(this._$cssResult$=!0,r!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&n.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[s+1]),t[0]);return new a(r,t,i)},c=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,i))(e)})(t):t;var h;const d=window,u=d.trustedTypes,p=u?u.emptyScript:"",_=d.reactiveElementPolyfillSupport,m={toAttribute(t,e){switch(e){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},f=(t,e)=>e!==t&&(e==e||t==t),y={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:f};class g extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,r)=>{const s=this._$Ep(r,e);void 0!==s&&(this._$Ev.set(s,r),t.push(s))})),t}static createProperty(t,e=y){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const r="symbol"==typeof t?Symbol():"__"+t,s=this.getPropertyDescriptor(t,r,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(s){const o=this[t];this[e]=s,this.requestUpdate(t,o,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||y}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const r of e)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Ep(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,r;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{o?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const r=document.createElement("style"),o=s.litNonce;void 0!==o&&r.setAttribute("nonce",o),r.textContent=e.cssText,t.appendChild(r)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EO(t,e,r=y){var s;const o=this.constructor._$Ep(t,r);if(void 0!==o&&!0===r.reflect){const i=(void 0!==(null===(s=r.converter)||void 0===s?void 0:s.toAttribute)?r.converter:m).toAttribute(e,r.type);this._$El=t,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$El=null}}_$AK(t,e){var r;const s=this.constructor,o=s._$Ev.get(t);if(void 0!==o&&this._$El!==o){const t=s.getPropertyOptions(o),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(r=t.converter)||void 0===r?void 0:r.fromAttribute)?t.converter:m;this._$El=o,this[o]=i.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,r){let s=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||f)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(r)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(r)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}g.finalized=!0,g.elementProperties=new Map,g.elementStyles=[],g.shadowRootOptions={mode:"open"},null==_||_({ReactiveElement:g}),(null!==(h=d.reactiveElementVersions)&&void 0!==h?h:d.reactiveElementVersions=[]).push("1.6.1");var v,P,b=r(3692);class w extends g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,b.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return b.Jb}}w.finalized=!0,w._$litElement$=!0,null===(v=globalThis.litElementHydrateSupport)||void 0===v||v.call(globalThis,{LitElement:w});const A=globalThis.litElementPolyfillSupport;null==A||A({LitElement:w}),(null!==(P=globalThis.litElementVersions)&&void 0!==P?P:globalThis.litElementVersions=[]).push("3.3.1")}}]);