@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.
package/dist/umd/1769.js DELETED
@@ -1,360 +0,0 @@
1
- /*! For license information please see 1769.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[1769],{2521:(t,e,o)=>{o.d(e,{S:()=>c});var s=o(9387),l=o(7913),r=o(6139),i=o(1914);let n;(0,s.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 a=new Set,c=t=>class extends((0,i.U)(t)){static get version(){return"24.2.5"}static finalize(){super.finalize();const{is:t}=this;t&&!a.has(t)&&(window.Vaadin.registrations.push(this),a.add(t),window.Vaadin.developmentModeCallback&&(n=r.dx.debounce(n,l.t$,(()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()})),(0,r.Ex)(n)))}constructor(){super(),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}}},1195:(t,e,o)=>{o(4407);var s=o(6570),l=o(2463);const r=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,l.K)("color-props",r);const i=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)("",i,{moduleId:"lumo-color"})},2463:(t,e,o)=>{o.d(e,{K:()=>s}),o(6570);const s=(t,...e)=>{((t,...e)=>{const o=document.createElement("style");o.id=t,o.textContent=e.map((t=>t.toString())).join("\n").replace(":host","html"),document.head.insertAdjacentElement("afterbegin",o)})(`lumo-${t}`,e)}},9416:(t,e,o)=>{o(4407);var s=o(6570),l=o(2463);const r=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,l.K)("spacing-props",r)},9849:(t,e,o)=>{o(4407);var s=o(6570),l=o(2463);const r=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,l.K)("style-props",r)},4173:(t,e,o)=>{o(4407);var s=o(6570),l=o(2463);const r=s.iv`
249
- :host {
250
- /* prettier-ignore */
251
- --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
252
-
253
- /* Font sizes */
254
- --lumo-font-size-xxs: 0.75rem;
255
- --lumo-font-size-xs: 0.8125rem;
256
- --lumo-font-size-s: 0.875rem;
257
- --lumo-font-size-m: 1rem;
258
- --lumo-font-size-l: 1.125rem;
259
- --lumo-font-size-xl: 1.375rem;
260
- --lumo-font-size-xxl: 1.75rem;
261
- --lumo-font-size-xxxl: 2.5rem;
262
-
263
- /* Line heights */
264
- --lumo-line-height-xs: 1.25;
265
- --lumo-line-height-s: 1.375;
266
- --lumo-line-height-m: 1.625;
267
- }
268
- `,i=s.iv`
269
- body,
270
- :host {
271
- font-family: var(--lumo-font-family);
272
- font-size: var(--lumo-font-size-m);
273
- line-height: var(--lumo-line-height-m);
274
- -webkit-text-size-adjust: 100%;
275
- -webkit-font-smoothing: antialiased;
276
- -moz-osx-font-smoothing: grayscale;
277
- }
278
-
279
- small,
280
- [theme~='font-size-s'] {
281
- font-size: var(--lumo-font-size-s);
282
- line-height: var(--lumo-line-height-s);
283
- }
284
-
285
- [theme~='font-size-xs'] {
286
- font-size: var(--lumo-font-size-xs);
287
- line-height: var(--lumo-line-height-xs);
288
- }
289
-
290
- :where(h1, h2, h3, h4, h5, h6) {
291
- font-weight: 600;
292
- line-height: var(--lumo-line-height-xs);
293
- margin-block: 0;
294
- }
295
-
296
- :where(h1) {
297
- font-size: var(--lumo-font-size-xxxl);
298
- }
299
-
300
- :where(h2) {
301
- font-size: var(--lumo-font-size-xxl);
302
- }
303
-
304
- :where(h3) {
305
- font-size: var(--lumo-font-size-xl);
306
- }
307
-
308
- :where(h4) {
309
- font-size: var(--lumo-font-size-l);
310
- }
311
-
312
- :where(h5) {
313
- font-size: var(--lumo-font-size-m);
314
- }
315
-
316
- :where(h6) {
317
- font-size: var(--lumo-font-size-xs);
318
- text-transform: uppercase;
319
- letter-spacing: 0.03em;
320
- }
321
-
322
- p,
323
- blockquote {
324
- margin-top: 0.5em;
325
- margin-bottom: 0.75em;
326
- }
327
-
328
- a {
329
- text-decoration: none;
330
- }
331
-
332
- a:where(:any-link):hover {
333
- text-decoration: underline;
334
- }
335
-
336
- hr {
337
- display: block;
338
- align-self: stretch;
339
- height: 1px;
340
- border: 0;
341
- padding: 0;
342
- margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
343
- background-color: var(--lumo-contrast-10pct);
344
- }
345
-
346
- blockquote {
347
- border-left: 2px solid var(--lumo-contrast-30pct);
348
- }
349
-
350
- b,
351
- strong {
352
- font-weight: 600;
353
- }
354
-
355
- /* RTL specific styles */
356
- blockquote[dir='rtl'] {
357
- border-left: none;
358
- border-right: 2px solid var(--lumo-contrast-30pct);
359
- }
360
- `;(0,s.hC)("",i,{moduleId:"lumo-typography"}),(0,l.K)("typography-props",r)},4407:(t,e,o)=>{var s=o(2807);class l extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.5"}}(0,s.M)(l)},6570:(t,e,o)=>{o.d(e,{Tb:()=>d,hC:()=>n,iv:()=>s.iv});var s=o(9392),l=o(1462);const r=[];function i(t){return t&&Object.prototype.hasOwnProperty.call(t,"__themes")}function n(t,e,o={}){var l;t&&(l=t,i(customElements.get(l))&&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,o):r.push({themeFor:t,styles:e,include:o.include,moduleId:o.moduleId})}function a(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():r}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 o=a().find((e=>e.moduleId===t));o?e.push(...h(o),...o.styles):console.warn(`Included moduleId ${t} not found in style registry`)}),t.styles),e}function u(t){const e=`${t}-default-theme`,o=a().filter((o=>o.moduleId!==e&&function(t,e){return(t||"").split(" ").some((t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(e)))}(o.themeFor,t))).map((t=>({...t,styles:[...h(t),...t.styles],includePriority:c(t.moduleId)}))).sort(((t,e)=>e.includePriority-t.includePriority));return o.length>0?o:a().filter((t=>t.moduleId===e))}const d=t=>class extends((0,l.I)(t)){static finalize(){if(super.finalize(),this.elementStyles)return;const t=this.prototype._template;t&&!i(this)&&function(t,e){const o=document.createElement("style");o.innerHTML=t.map((t=>t.cssText)).join("\n"),e.content.appendChild(o)}(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,...u(this.is)];const o=this.__themes.flatMap((t=>t.styles));return o.filter(((t,e)=>e===o.lastIndexOf(t)))}}},1462:(t,e,o)=>{o.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,o){super.attributeChangedCallback(t,e,o),"theme"===t&&this._set_theme(o)}}},3692:(t,e,o)=>{var s;o.d(e,{Jb:()=>S,_$LH:()=>j,sY:()=>B});const l=window,r=l.trustedTypes,i=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,n="$lit$",a=`lit$${(Math.random()+"").slice(9)}$`,c="?"+a,h=`<${c}>`,u=document,d=()=>u.createComment(""),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,v=t=>m(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),f="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,y=/>/g,_=RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),x=/'/g,b=/"/g,A=/^(?:script|style|textarea|title)$/i,w=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),S=(w(1),w(2),Symbol.for("lit-noChange")),E=Symbol.for("lit-nothing"),C=new WeakMap,k=u.createTreeWalker(u,129,null,!1),z=(t,e)=>{const o=t.length-1,s=[];let l,r=2===e?"<svg>":"",c=$;for(let e=0;e<o;e++){const o=t[e];let i,u,d=-1,p=0;for(;p<o.length&&(c.lastIndex=p,u=c.exec(o),null!==u);)p=c.lastIndex,c===$?"!--"===u[1]?c=g:void 0!==u[1]?c=y:void 0!==u[2]?(A.test(u[2])&&(l=RegExp("</"+u[2],"g")),c=_):void 0!==u[3]&&(c=_):c===_?">"===u[0]?(c=null!=l?l:$,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,i=u[1],c=void 0===u[3]?_:'"'===u[3]?b:x):c===b||c===x?c=_:c===g||c===y?c=$:(c=_,l=void 0);const m=c===_&&t[e+1].startsWith("/>")?" ":"";r+=c===$?o+h:d>=0?(s.push(i),o.slice(0,d)+n+o.slice(d)+a+m):o+a+(-2===d?(s.push(void 0),e):m)}const u=r+(t[o]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==i?i.createHTML(u):u,s]};class P{constructor({strings:t,_$litType$:e},o){let s;this.parts=[];let l=0,i=0;const h=t.length-1,u=this.parts,[p,m]=z(t,e);if(this.el=P.createElement(p,o),k.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=k.nextNode())&&u.length<h;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith(n)||e.startsWith(a)){const o=m[i++];if(t.push(e),void 0!==o){const t=s.getAttribute(o.toLowerCase()+n).split(a),e=/([.?@])?(.*)/.exec(o);u.push({type:1,index:l,name:e[2],strings:t,ctor:"."===e[1]?O:"?"===e[1]?N:"@"===e[1]?I:M})}else u.push({type:6,index:l})}for(const e of t)s.removeAttribute(e)}if(A.test(s.tagName)){const t=s.textContent.split(a),e=t.length-1;if(e>0){s.textContent=r?r.emptyScript:"";for(let o=0;o<e;o++)s.append(t[o],d()),k.nextNode(),u.push({type:2,index:++l});s.append(t[e],d())}}}else if(8===s.nodeType)if(s.data===c)u.push({type:2,index:l});else{let t=-1;for(;-1!==(t=s.data.indexOf(a,t+1));)u.push({type:7,index:l}),t+=a.length-1}l++}}static createElement(t,e){const o=u.createElement("template");return o.innerHTML=t,o}}function U(t,e,o=t,s){var l,r,i,n;if(e===S)return e;let a=void 0!==s?null===(l=o._$Co)||void 0===l?void 0:l[s]:o._$Cl;const c=p(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==c&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===c?a=void 0:(a=new c(t),a._$AT(t,o,s)),void 0!==s?(null!==(i=(n=o)._$Co)&&void 0!==i?i:n._$Co=[])[s]=a:o._$Cl=a),void 0!==a&&(e=U(t,a._$AS(t,e.values),a,s)),e}class T{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:o},parts:s}=this._$AD,l=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:u).importNode(o,!0);k.currentNode=l;let r=k.nextNode(),i=0,n=0,a=s[0];for(;void 0!==a;){if(i===a.index){let e;2===a.type?e=new H(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new V(r,this,t)),this._$AV.push(e),a=s[++n]}i!==(null==a?void 0:a.index)&&(r=k.nextNode(),i++)}return l}v(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class H{constructor(t,e,o,s){var l;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=s,this._$Cp=null===(l=null==s?void 0:s.isConnected)||void 0===l||l}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=U(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):v(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.$(u.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:s}=t,l="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=P.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===l)this._$AH.v(o);else{const t=new T(l,this),e=t.u(this.options);t.v(o),this.$(e),this._$AH=t}}_$AC(t){let e=C.get(t.strings);return void 0===e&&C.set(t.strings,e=new P(t)),e}T(t){m(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,s=0;for(const l of t)s===e.length?e.push(o=new H(this.k(d()),this.k(d()),this,this.options)):o=e[s],o._$AI(l),s++;s<e.length&&(this._$AR(o&&o._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var o;for(null===(o=this._$AP)||void 0===o||o.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 M{constructor(t,e,o,s,l){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=l,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,s){const l=this.strings;let r=!1;if(void 0===l)t=U(this,t,e,0),r=!p(t)||t!==this._$AH&&t!==S,r&&(this._$AH=t);else{const s=t;let i,n;for(t=l[0],i=0;i<l.length-1;i++)n=U(this,s[o+i],e,i),n===S&&(n=this._$AH[i]),r||(r=!p(n)||n!==this._$AH[i]),n===E?t=E:t!==E&&(t+=(null!=n?n:"")+l[i+1]),this._$AH[i]=n}r&&!s&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class O extends M{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}}const R=r?r.emptyScript:"";class N extends M{constructor(){super(...arguments),this.type=4}j(t){t&&t!==E?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class I extends M{constructor(t,e,o,s,l){super(t,e,o,s,l),this.type=5}_$AI(t,e=this){var o;if((t=null!==(o=U(this,t,e,0))&&void 0!==o?o:E)===S)return;const s=this._$AH,l=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==E&&(s===E||l);l&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}}class V{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}}const j={O:n,P:a,A:c,C:1,M:z,L:T,D:v,R:U,I:H,V:M,H:N,N:I,U:O,F:V},L=l.litHtmlPolyfillSupport;null==L||L(P,H),(null!==(s=l.litHtmlVersions)&&void 0!==s?s:l.litHtmlVersions=[]).push("2.7.2");const B=(t,e,o)=>{var s,l;const r=null!==(s=null==o?void 0:o.renderBefore)&&void 0!==s?s:e;let i=r._$litPart$;if(void 0===i){const t=null!==(l=null==o?void 0:o.renderBefore)&&void 0!==l?l:null;r._$litPart$=i=new H(e.insertBefore(d(),t),t,void 0,null!=o?o:{})}return i._$AI(t),i}},9392:(t,e,o)=>{o.d(e,{c3:()=>n,iv:()=>a,sY:()=>x.sY});const s=window,l=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)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(l&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=i.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&i.set(e,t))}return t}toString(){return this.cssText}}const a=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,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.")})(o)+t[s+1]),t[0]);return new n(o,t,r)},c=l?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return(t=>new n("string"==typeof t?t:t+"",void 0,r))(e)})(t):t;var h;const u=window,d=u.trustedTypes,p=d?d.emptyScript:"",m=u.reactiveElementPolyfillSupport,v={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 o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},f=(t,e)=>e!==t&&(e==e||t==t),$={attribute:!0,type:String,converter:v,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,o)=>{const s=this._$Ep(o,e);void 0!==s&&(this._$Ev.set(s,o),t.push(s))})),t}static createProperty(t,e=$){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const o="symbol"==typeof t?Symbol():"__"+t,s=this.getPropertyDescriptor(t,o,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,o){return{get(){return this[e]},set(s){const l=this[t];this[e]=s,this.requestUpdate(t,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||$}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 o of e)this.createProperty(o,t[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Ep(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,o;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(o=t.hostConnected)||void 0===o||o.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)=>{l?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),l=s.litNonce;void 0!==l&&o.setAttribute("nonce",l),o.textContent=e.cssText,t.appendChild(o)}))})(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,o){this._$AK(t,o)}_$EO(t,e,o=$){var s;const l=this.constructor._$Ep(t,o);if(void 0!==l&&!0===o.reflect){const r=(void 0!==(null===(s=o.converter)||void 0===s?void 0:s.toAttribute)?o.converter:v).toAttribute(e,o.type);this._$El=t,null==r?this.removeAttribute(l):this.setAttribute(l,r),this._$El=null}}_$AK(t,e){var o;const s=this.constructor,l=s._$Ev.get(t);if(void 0!==l&&this._$El!==l){const t=s.getPropertyOptions(l),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(o=t.converter)||void 0===o?void 0:o.fromAttribute)?t.converter:v;this._$El=l,this[l]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,o){let s=!0;void 0!==t&&(((o=o||this.constructor.getPropertyOptions(t)).hasChanged||f)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,o))):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 o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),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(o)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(o)}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==m||m({ReactiveElement:g}),(null!==(h=u.reactiveElementVersions)&&void 0!==h?h:u.reactiveElementVersions=[]).push("1.6.1");var y,_,x=o(3692);class b extends g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,x.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 x.Jb}}b.finalized=!0,b._$litElement$=!0,null===(y=globalThis.litElementHydrateSupport)||void 0===y||y.call(globalThis,{LitElement:b});const A=globalThis.litElementPolyfillSupport;null==A||A({LitElement:b}),(null!==(_=globalThis.litElementVersions)&&void 0!==_?_:globalThis.litElementVersions=[]).push("3.3.1")}}]);
package/dist/umd/4222.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 4222.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[4222],{7221:(t,e,r)=>{r.d(e,{e:()=>a}),r(7894);var i=r(1014),n=r(2224),s=r(1342);const o=n.YA,a=(0,i.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 i=this.__data[t],n=this._shouldPropertyChange(t,e,i);return n&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=i),this.__data[t]=e,this.__dataPending[t]=e),n}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,o.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,i){e!==r&&this._attributeToProperty(t,r),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,r,i)}_attributeToProperty(t,e,r){if(!this.__serializing){const i=this.__dataAttributes,n=i&&i[t]||t;this[n]=this._deserializeValue(e,r||this.constructor.typeForProperty(n))}}_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 i=this._serializeValue(e);"class"!==r&&"name"!==r&&"slot"!==r||(t=(0,s.r)(t)),void 0===i?t.removeAttribute(r):t.setAttribute(r,""===i&&window.trustedTypes?window.trustedTypes.emptyScript:i)}_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 i=r(1342),n=r(1014),s=r(1446);const o={},a=/-[a-z]/g,l=/([A-Z])/g;function d(t){return o[t]||(o[t]=t.indexOf("-")<0?t:t.replace(a,(t=>t[1].toUpperCase())))}function c(t){return o[t]||(o[t]=t.replace(l,"-$1").toLowerCase())}var h=r(7221);const p={};let _=HTMLElement.prototype;for(;_;){let t=Object.getOwnPropertyNames(_);for(let e=0;e<t.length;e++)p[t[e]]=!0;_=Object.getPrototypeOf(_)}const u=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1,f=(0,n.o)((t=>{const e=(0,h.e)(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(d(t[e]))}static attributeNameForProperty(t){return c(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(u(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(!p[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)}}})),m={"dom-if":!0,"dom-repeat":!0};let y=!1,P=!1;const g=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,r,i)=>{const n=r.getAttribute(i);t&&i.startsWith("on-")?e.setAttribute(i,t.createScript(n,i)):e.setAttribute(i,n)}})();function b(t){let e=t.getAttribute("is");if(e&&m[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];g(t,r,e),r.removeAttribute(e)}}return t}function w(t,e){let r=e.parentInfo&&w(t,e.parentInfo);if(!r)return t;for(let t=r.firstChild,i=0;t;t=t.nextSibling)if(e.parentIndex===i++)return t}function C(t,e,r,i){i.id&&(e[i.id]=r)}function v(t,e,r){if(r.events&&r.events.length)for(let i,n=0,s=r.events;n<s.length&&(i=s[n]);n++)t._addMethodEventListenerToNode(e,i.name,i.value,t)}function T(t,e,r,i){r.templateInfo&&(e._templateInfo=r.templateInfo,e._parentTemplateInfo=i)}const O=(0,n.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 i=!1,n=t;return"template"!=n.localName||n.hasAttribute("preserve-content")?"slot"===n.localName&&(e.hasInsertionPoint=!0):i=this._parseTemplateNestedTemplate(n,e,r)||i,function(t){(function(){if(!y){y=!0;const t=document.createElement("textarea");t.placeholder="a",P=t.placeholder===t.textContent}return P})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}(n),n.firstChild&&this._parseTemplateChildNodes(n,e,r),n.hasAttributes&&n.hasAttributes()&&(i=this._parseTemplateNodeAttributes(n,e,r)||i),i||r.noted}static _parseTemplateChildNodes(t,e,r){if("script"!==t.localName&&"style"!==t.localName)for(let i,n=t.firstChild,s=0;n;n=i){if("template"==n.localName&&(n=b(n)),i=n.nextSibling,n.nodeType===Node.TEXT_NODE){let r=i;for(;r&&r.nodeType===Node.TEXT_NODE;)n.textContent+=r.textContent,i=r.nextSibling,t.removeChild(r),r=i;if(e.stripWhiteSpace&&!n.textContent.trim()){t.removeChild(n);continue}}let o={parentIndex:s,parentInfo:r};this._parseTemplateNode(n,e,o)&&(o.infoIndex=e.nodeInfoList.push(o)-1),n.parentNode&&s++}}static _parseTemplateNestedTemplate(t,e,r){let i=t,n=this._parseTemplate(i,e);return(n.content=i.content.ownerDocument.createDocumentFragment()).appendChild(i.content),r.templateInfo=n,!0}static _parseTemplateNodeAttributes(t,e,r){let i=!1,n=Array.from(t.attributes);for(let s,o=n.length-1;s=n[o];o--)i=this._parseTemplateNodeAttribute(t,e,r,s.name,s.value)||i;return i}static _parseTemplateNodeAttribute(t,e,r,i,n){return"on-"===i.slice(0,3)?(t.removeAttribute(i),r.events=r.events||[],r.events.push({name:i.slice(3),value:n}),!0):"id"===i&&(r.id=n,!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,i=e.content||t.content,n=document.importNode(i,!0);n.__noInsertionPoint=!e.hasInsertionPoint;let s=n.nodeList=new Array(r.length);n.$={};for(let t,i=0,o=r.length;i<o&&(t=r[i]);i++){let r=s[i]=w(n,t);C(0,n.$,r,t),T(0,r,t,e),v(this,r,t)}return n}_addMethodEventListenerToNode(t,e,r,i){let n=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")}}(i=i||t,0,r);return this._addEventListenerToNode(t,e,n),n}_addEventListenerToNode(t,e,r){t.addEventListener(e,r)}_removeEventListenerFromNode(t,e,r){t.removeEventListener(e,r)}}));var S=r(9387);let A=0;const E=[],N={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},I="__computeInfo",x=/[A-Z]/;function R(t,e,r){let i=t[e];if(i){if(!t.hasOwnProperty(e)&&(i=t[e]=Object.create(t[e]),r))for(let t in i){let e=i[t],r=i[t]=Array(e.length);for(let t=0;t<e.length;t++)r[t]=e[t]}}else i=t[e]={};return i}function L(t,e,r,i,n,o){if(e){let a=!1;const l=A++;for(let d in r){let c=e[n?(0,s.Jz)(d):d];if(c)for(let e,s=0,h=c.length;s<h&&(e=c[s]);s++)e.info&&e.info.lastRun===l||n&&!M(d,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,d,r,i,e.info,n,o),a=!0)}return a}return!1}function k(t,e,r,i,n,o,a,l){let d=!1,c=e[a?(0,s.Jz)(i):i];if(c)for(let e,s=0,h=c.length;s<h&&(e=c[s]);s++)e.info&&e.info.lastRun===r||a&&!M(i,e.trigger)||(e.info&&(e.info.lastRun=r),e.fn(t,i,n,o,e.info,a,l),d=!0);return d}function M(t,e){if(e){let r=e.name;return r==t||!(!e.structured||!(0,s.jg)(r,t))||!(!e.wildcard||!(0,s.SG)(r,t))}return!0}function z(t,e,r,i,n){let s="string"==typeof n.method?t[n.method]:n.method,o=n.property;s?s.call(t,t.__data[o],i[o]):n.dynamicFn||console.warn("observer method `"+n.method+"` not defined")}function F(t,e,r){let i=(0,s.Jz)(e);return i!==e&&(D(t,c(i)+"-changed",r[e],e),!0)}function D(t,e,r,n){let s={value:r,queueProperty:!0};n&&(s.path=n),(0,i.r)(t).dispatchEvent(new CustomEvent(e,{detail:s}))}function H(t,e,r,i,n,o){let a=(o?(0,s.Jz)(e):e)!=e?e:null,l=a?(0,s.U2)(t,a):t.__data[e];a&&void 0===l&&(l=r[e]),D(t,n.eventName,l,a)}function U(t,e,r,i,n){let s=t.__data[e];S.v1&&(s=(0,S.v1)(s,n.attrName,"attribute",t)),t._propertyToAttribute(e,n.attrName,s)}const j=(t,e,r)=>{let i=0,n=e.length-1,s=-1;for(;i<=n;){const o=i+n>>1,a=r.get(e[o].methodInfo)-r.get(t.methodInfo);if(a<0)i=o+1;else{if(!(a>0)){s=o;break}n=o-1}}s<0&&(s=n+1),e.splice(s,0,t)},B=(t,e,r,i,n)=>{const o=e[n?(0,s.Jz)(t):t];if(o)for(let e=0;e<o.length;e++){const s=o[e];s.info.lastRun===A||n&&!M(t,s.trigger)||(s.info.lastRun=A,j(s.info,r,i))}};function Y(t,e,r,i,n){let s=Z(t,e,r,0,n);if(s===E)return!1;let o=n.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[o]?t._setPendingProperty(o,s,!0):(t[o]=s,!1)}function J(t,e,r,i,n,s,o){r.bindings=r.bindings||[];let a={kind:i,target:n,parts:s,literal:o,isCompound:1!==s.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||c(n)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let r=0;r<a.parts.length;r++){let i=a.parts[r];i.compoundIndex=r,$(t,e,a,i,l)}}function $(t,e,r,i,n){if(!i.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 s=i.dependencies,o={index:n,binding:r,part:i,evaluator:t};for(let r=0;r<s.length;r++){let i=s[r];"string"==typeof i&&(i=it(i),i.wildcard=!0),t._addTemplatePropertyEffect(e,i.rootProperty,{fn:q,info:o,trigger:i})}}}function q(t,e,r,i,n,o,a){let l=a[n.index],d=n.binding,c=n.part;if(o&&c.source&&e.length>c.source.length&&"property"==d.kind&&!d.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[d.target]){let i=r[e];e=(0,s.Iu)(c.source,d.target,e),l._setPendingPropertyOrPath(e,i,!1,!0)&&t._enqueueClient(l)}else{let s=n.evaluator._evaluateBinding(t,c,e,r,i,o);s!==E&&function(t,e,r,i,n){if(n=function(t,e,r,i){if(r.isCompound){let n=t.__dataCompoundStorage[r.target];n[i.compoundIndex]=e,e=n.join("")}return"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e)),e}(e,n,r,i),S.v1&&(n=(0,S.v1)(n,r.target,r.kind,e)),"attribute"==r.kind)t._valueToNodeAttribute(e,n,r.target);else{let i=r.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[i]?e[N.READ_ONLY]&&e[N.READ_ONLY][i]||e._setPendingProperty(i,n)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,i,n)}}(t,l,d,c,s)}}function V(t,e){if(e.isCompound){let r=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),n=e.parts,s=new Array(n.length);for(let t=0;t<n.length;t++)s[t]=n[t].literal;let o=e.target;r[o]=s,e.literal&&"property"==e.kind&&("className"===o&&(t=(0,i.r)(t)),t[o]=e.literal)}}function W(t,e,r){if(r.listenerEvent){let i=r.parts[0];t.addEventListener(r.listenerEvent,(function(t){!function(t,e,r,i,n){let o,a=t.detail,l=a&&a.path;l?(i=(0,s.Iu)(r,i,l),o=a&&a.value):o=t.currentTarget[r],o=n?!o:o,e[N.READ_ONLY]&&e[N.READ_ONLY][i]||!e._setPendingPropertyOrPath(i,o,!0,Boolean(l))||a&&a.queueProperty||e._invalidateProperties()}(t,e,r.target,i.source,i.negate)}))}}function G(t,e,r,i,n,s){s=e.static||s&&("object"!=typeof s||s[e.methodName]);let o={methodName:e.methodName,args:e.args,methodInfo:n,dynamicFn:s};for(let n,s=0;s<e.args.length&&(n=e.args[s]);s++)n.literal||t._addPropertyEffect(n.rootProperty,r,{fn:i,info:o,trigger:n});return s&&t._addPropertyEffect(e.methodName,r,{fn:i,info:o}),o}function Z(t,e,r,i,n){let s=t._methodHost||t,o=s[n.methodName];if(o){let i=t._marshalArgs(n.args,e,r);return i===E?E:o.apply(s,i)}n.dynamicFn||console.warn("method `"+n.methodName+"` not defined")}const X=[],K="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Q="(?:("+K+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",tt=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+K+"\\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:X};return e[2].trim()?function(t,e){return e.args=t.map((function(t){let r=it(t);return r.literal||(e.static=!1),r}),this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t):t}return null}function it(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),r={name:e,value:"",literal:!1},i=e[0];switch("-"===i&&(i=e[1]),i>="0"&&i<="9"&&(i="#"),i){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,s.Jz)(e),r.structured=(0,s.AZ)(e),r.structured&&(r.wildcard=".*"==e.slice(-2),r.wildcard&&(r.name=e.slice(0,-2)))),r}function nt(t,e,r){let i=(0,s.U2)(t,r);return void 0===i&&(i=e[r]),i}function st(t,e,r,i){const n={indexSplices:i};S.HY&&!t._overrideLegacyUndefined&&(e.splices=n),t.notifyPath(r+".splices",n),t.notifyPath(r+".length",e.length),S.HY&&!t._overrideLegacyUndefined&&(n.indexSplices=[])}function ot(t,e,r,i,n,s){st(t,e,r,[{index:i,addedCount:n,removed:s,object:e,type:"splice"}])}const at=(0,n.o)((t=>{const e=O(f(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 N}_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[N.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==N.READ_ONLY);let i=R(this,e,!0)[t];i||(i=this[e][t]=[]),i.push(r)}_removePropertyEffect(t,e,r){let i=R(this,e,!0)[t],n=i.indexOf(r);n>=0&&i.splice(n,1)}_hasPropertyEffect(t,e){let r=this[e];return Boolean(r&&r[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,N.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,N.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,N.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,N.COMPUTE)}_setPendingPropertyOrPath(t,e,r,i){if(i||(0,s.Jz)(Array.isArray(t)?t[0]:t)!==t){if(!i){let r=(0,s.U2)(this,t);if(!(t=(0,s.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 i=t.__dataLinkedPaths;if(i){let n;for(let o in i){let a=i[o];(0,s.SG)(o,e)?(n=(0,s.Iu)(o,a,e),t._setPendingPropertyOrPath(n,r,!0,!0)):(0,s.SG)(a,e)&&(n=(0,s.Iu)(a,o,e),t._setPendingPropertyOrPath(n,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,i.r)(t)),t[e]=r)}_setPendingProperty(t,e,r){let i=this.__dataHasPaths&&(0,s.AZ)(t),n=i?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,n[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),i?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(i||this[N.NOTIFY]&&this[N.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[N.READ_ONLY]&&this[N.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 i,n=this.__dataHasPaths;this.__dataHasPaths=!1,function(t,e,r,i){let n=t[N.COMPUTE];if(n)if(S.ls){A++;const s=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const r=t[N.COMPUTE];let i,{counts:n,ready:s,total:o}=function(t){const e=t[I],r={},i=t[N.COMPUTE],n=[];let s=0;for(let t in e){const i=e[t];s+=r[t]=i.args.filter((t=>!t.literal)).length+(i.dynamicFn?1:0)}for(let t in i)e[t]||n.push(t);return{counts:r,ready:n,total:s}}(t);for(;i=s.shift();){e.set(i,e.size);const t=r[i];t&&t.forEach((t=>{const e=t.info.methodInfo;--o,0==--n[e]&&s.push(e)}))}if(0!==o){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),o=[];for(let t in e)B(t,n,o,s,i);let a;for(;a=o.shift();)Y(t,"",e,0,a)&&B(a.methodInfo,n,o,s,i);Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let s=e;for(;L(t,n,s,r,i);)Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),s=t.__dataPending,t.__dataPending=null}}(this,e,r,n),i=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,r,n),this._flushClients(),L(this,this[N.REFLECT],e,r,n),L(this,this[N.OBSERVE],e,r,n),i&&function(t,e,r,i,n){let s,o,a=t[N.NOTIFY],l=A++;for(let o in e)e[o]&&(a&&k(t,a,l,o,r,i,n)||n&&F(t,o,r))&&(s=!0);s&&(o=t.__dataHost)&&o._invalidateProperties&&o._invalidateProperties()}(this,i,e,r,n),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,r){this[N.PROPAGATE]&&L(this,this[N.PROPAGATE],t,e,r),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,r)}_runEffectsForTemplate(t,e,r,i){const n=(e,i)=>{L(this,t.propertyEffects,e,r,i,t.nodeList);for(let n=t.firstChild;n;n=n.nextSibling)this._runEffectsForTemplate(n,e,r,i)};t.runEffects?t.runEffects(n,e,i):n(e,i)}linkPaths(t,e){t=(0,s.Fv)(t),e=(0,s.Fv)(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=(0,s.Fv)(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let r={path:""};st(this,(0,s.U2)(this,t,r),r.path,e)}get(t,e){return(0,s.U2)(e||this,t)}set(t,e,r){r?(0,s.t8)(r,t,e):this[N.READ_ONLY]&&this[N.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let r={path:""},i=(0,s.U2)(this,t,r),n=i.length,o=i.push(...e);return e.length&&ot(this,i,r.path,n,e.length,[]),o}pop(t){let e={path:""},r=(0,s.U2)(this,t,e),i=Boolean(r.length),n=r.pop();return i&&ot(this,r,e.path,r.length,0,[n]),n}splice(t,e,r,...i){let n,o={path:""},a=(0,s.U2)(this,t,o);return e<0?e=a.length-Math.floor(-e):e&&(e=Math.floor(e)),n=2===arguments.length?a.splice(e):a.splice(e,r,...i),(i.length||n.length)&&ot(this,a,o.path,e,i.length,n),n}shift(t){let e={path:""},r=(0,s.U2)(this,t,e),i=Boolean(r.length),n=r.shift();return i&&ot(this,r,e.path,0,0,[n]),n}unshift(t,...e){let r={path:""},i=(0,s.U2)(this,t,r),n=i.unshift(...e);return e.length&&ot(this,i,r.path,0,e.length,[]),n}notifyPath(t,e){let r;if(1==arguments.length){let i={path:""};e=(0,s.U2)(this,t,i),r=i.path}else r=Array.isArray(t)?(0,s.Fv)(t):t;this._setPendingPropertyOrPath(r,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var r;this._addPropertyEffect(t,N.READ_ONLY),e&&(this["_set"+(r=t,r[0].toUpperCase()+r.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,r){let i={property:t,method:e,dynamicFn:Boolean(r)};this._addPropertyEffect(t,N.OBSERVE,{fn:z,info:i,trigger:{name:t}}),r&&this._addPropertyEffect(e,N.OBSERVE,{fn:z,info:i,trigger:{name:e}})}_createMethodObserver(t,e){let r=rt(t);if(!r)throw new Error("Malformed observer expression '"+t+"'");G(this,r,N.OBSERVE,Z,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,N.NOTIFY,{fn:H,info:{eventName:c(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,N.REFLECT,{fn:U,info:{attrName:e}})}_createComputedProperty(t,e,r){let i=rt(e);if(!i)throw new Error("Malformed computed expression '"+e+"'");const n=G(this,i,N.COMPUTE,Y,t,r);R(this,I)[t]=n}_marshalArgs(t,e,r){const i=this.__data,n=[];for(let o=0,a=t.length;o<a;o++){let{name:a,structured:l,wildcard:d,value:c,literal:h}=t[o];if(!h)if(d){const t=(0,s.SG)(a,e),n=nt(i,r,t?e:a);c={path:t?e:a,value:n,base:t?(0,s.U2)(i,a):n}}else c=l?nt(i,r,a):i[a];if(S.HY&&!this._overrideLegacyUndefined&&void 0===c&&t.length>1)return E;n[o]=c}return n}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),i=this.__preBoundTemplateInfo==r;if(!i)for(let t in r.propertyEffects)this._createPropertyAccessor(t);if(e)if(r=Object.create(r),r.wasPreBound=i,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,i=e.lastChild;r.parent=e,e.lastChild=r,r.previousSibling=i,i?i.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 i=t.propertyEffects=t.propertyEffects||{};(i[e]=i[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:i}=e;if(i.length)for(let e=0;e<i.length;e++){let n=i[e],s=r[e],o=n.bindings;if(o)for(let e=0;e<o.length;e++){let r=o[e];V(s,r),W(s,t,r)}s.__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:n,parent:s}=e;r?r.nextSibling=n:s&&(s.firstChild=n),n?n.previousSibling=r:s&&(s.lastChild=r),e.nextSibling=e.previousSibling=null;let o=e.childNodes;for(let t=0;t<o.length;t++){let e=o[t];(0,i.r)((0,i.r)(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,r,i){let n=e._parseTemplateNode.call(this,t,r,i);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,r);e&&(t.textContent=et(e)||" ",J(this,r,i,"text","textContent",e),n=!0)}return n}static _parseTemplateNodeAttribute(t,r,i,n,s){let o=this._parseBindings(s,r);if(o){let e=n,s="property";x.test(n)?s="attribute":"$"==n[n.length-1]&&(n=n.slice(0,-1),s="attribute");let a=et(o);return a&&"attribute"==s&&("class"==n&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(n)),t.setAttribute(n,a)),"attribute"==s&&"disable-upgrade$"==e&&t.setAttribute(n,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===s&&(n=d(n)),J(this,r,i,s,n,o,a),!0}return e._parseTemplateNodeAttribute.call(this,t,r,i,n,s)}static _parseTemplateNestedTemplate(t,r,i){let n=e._parseTemplateNestedTemplate.call(this,t,r,i);const s=t.parentNode,o=i.templateInfo,a="dom-if"===s.localName,l="dom-repeat"===s.localName;S.gx&&(a||l)&&(s.removeChild(t),(i=i.parentInfo).templateInfo=o,i.noted=!0,n=!1);let d=o.hostProps;if(S.ew&&a)d&&(r.hostProps=Object.assign(r.hostProps||{},d),S.gx||(i.parentInfo.noted=!0));else{let t="{";for(let e in d)J(this,r,i,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}return n}static _parseBindings(t,e){let r,i=[],n=0;for(;null!==(r=tt.exec(t));){r.index>n&&i.push({literal:t.slice(n,r.index)});let s=r[1][0],o=Boolean(r[2]),a=r[3].trim(),l=!1,d="",c=-1;"{"==s&&(c=a.indexOf("::"))>0&&(d=a.substring(c+2),a=a.substring(0,c),l=!0);let h=rt(a),p=[];if(h){let{args:t,methodName:r}=h;for(let e=0;e<t.length;e++){let r=t[e];r.literal||p.push(r)}let i=e.dynamicFns;(i&&i[r]||h.static)&&(p.push(r),h.dynamicFn=!0)}else p.push(a);i.push({source:a,mode:s,negate:o,customEvent:l,signature:h,dependencies:p,event:d}),n=tt.lastIndex}if(n&&n<t.length){let e=t.substring(n);e&&i.push({literal:e})}return i.length?i:null}static _evaluateBinding(t,e,r,i,n,o){let a;return a=e.signature?Z(t,r,i,0,e.signature):r!=e.source?(0,s.U2)(t,e.source):o&&(0,s.AZ)(r)?(0,s.U2)(t,r):t.__data[r],e.negate&&(a=!a),a}}})),lt=[]},2224:(t,e,r)=>{r.d(e,{Wc:()=>d,YA:()=>c}),r(7894);let i=0,n=0,s=[],o=0,a=!1,l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const t=s.length;for(let e=0;e<t;e++){let t=s[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}s.splice(0,t),n+=t})).observe(l,{characterData:!0});const d={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)}},c={run:t=>(a||(a=!0,l.textContent=o++),s.push(t),i++),cancel(t){const e=t-n;if(e>=0){if(!s[e])throw new Error("invalid async handle: "+t);s[e]=null}}}},7894:()=>{window.JSCompiler_renameProperty=function(t,e){return t}},1121:(t,e,r)=>{r.d(e,{d:()=>o}),r(7894);const i=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class n{constructor(t,e){a(t,e);const r=e.reduce(((e,r,i)=>e+s(r)+t[i+1]),t[0]);this.value=r.toString()}toString(){return this.value}}function s(t){if(t instanceof n)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const o=function(t,...e){a(t,e);const r=document.createElement("template");let o=e.reduce(((e,r,i)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof n)return s(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(r)+t[i+1]),t[0]);return i&&(o=i.createHTML(o)),r.innerHTML=o,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:()=>s}),r(7894);let i=0;function n(){}n.prototype.__mixinApplications,n.prototype.__mixinSet;const s=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let r=i++;return function(i){let n=i.__mixinSet;if(n&&n[r])return i;let s=e,o=s.get(i);if(!o){o=t(i),s.set(i,o);let e=Object.create(o.__mixinSet||n||null);e[r]=!0,o.__mixinSet=e}return o}}},1446:(t,e,r)=>{function i(t){return t.indexOf(".")>=0}function n(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function s(t,e){return 0===t.indexOf(e+".")}function o(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||s(t,e)||o(t,e)}function d(t){if(Array.isArray(t)){let e=[];for(let r=0;r<t.length;r++){let i=t[r].toString().split(".");for(let t=0;t<i.length;t++)e.push(i[t])}return e.join(".")}return t}function c(t){return Array.isArray(t)?d(t).split("."):t.toString().split(".")}function h(t,e,r){let i=t,n=c(e);for(let t=0;t<n.length;t++){if(!i)return;i=i[n[t]]}return r&&(r.path=n.join(".")),i}function p(t,e,r){let i=t,n=c(e),s=n[n.length-1];if(n.length>1){for(let t=0;t<n.length-1;t++)if(i=i[n[t]],!i)return;i[s]=r}else i[e]=r;return n.join(".")}r.d(e,{AZ:()=>i,Fv:()=>d,Iu:()=>a,Jz:()=>n,SG:()=>o,U2:()=>h,jg:()=>s,t8:()=>p,wB:()=>l}),r(7894)},9967:(t,e,r)=>{r.d(e,{Kk:()=>a,Rq:()=>l,iY:()=>d}),r(7894);let i,n,s=/(url\()([^)]*)(\))/g,o=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(t,e){if(t&&o.test(t))return t;if("//"===t)return t;if(void 0===i){i=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",i="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),i)try{return new URL(t,e).href}catch(e){return t}return n||(n=document.implementation.createHTMLDocument("temp"),n.base=n.createElement("base"),n.head.appendChild(n.base),n.anchor=n.createElement("a"),n.body.appendChild(n.anchor)),n.base.href=e,n.anchor.href=t,n.anchor.href||t}function l(t,e){return t.replace(s,(function(t,r,i,n){return r+"'"+a(i.replace(/["']/g,""),e)+"'"+n}))}function d(t){return t.substring(0,t.lastIndexOf("/")+1)}},9387:(t,e,r)=>{r.d(e,{FV:()=>s,HY:()=>_,Hr:()=>p,XN:()=>l,ZN:()=>d,a2:()=>h,dJ:()=>g,ew:()=>P,gx:()=>y,ls:()=>u,md:()=>b,my:()=>n,nL:()=>c,sM:()=>o,v1:()=>a,xj:()=>m}),r(7894);var i=r(9967);const n=!window.ShadyDOM||!window.ShadyDOM.inUse,s=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,n&&"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 o=window.Polymer&&window.Polymer.rootPath||(0,i.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,d=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,c=window.Polymer&&window.Polymer.legacyOptimizations||!1,h=window.Polymer&&window.Polymer.legacyWarnings||!1,p=window.Polymer&&window.Polymer.syncInitialRender||!1,_=window.Polymer&&window.Polymer.legacyUndefined||!1,u=window.Polymer&&window.Polymer.orderedComputed||!1,f=!0;const m=function(t){f=t};let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1,P=window.Polymer&&window.Polymer.fastDomIf||!1,g=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let b=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},1342:(t,e,r)=>{r.d(e,{r:()=>i});const i=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:()=>E,dy:()=>A.d}),r(7894);var i=r(9387),n=r(1014),s=r(9967);let o={},a={};function l(t,e){o[t]=a[t.toLowerCase()]=e}function d(t){return o[t]||a[t.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let r=d(t);return r&&e?r.querySelector(e):r}return null}attributeChangedCallback(t,e,r,i){e!==r&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,s.Kk)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,s.iY)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(i.XN&&void 0!==d(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}}c.prototype.modules=o,customElements.define("dom-module",c);const h="link[rel=import][type~=css]",p="include",_="shady-unscoped";function u(t){return c.import(t)}function f(t){let e=t.body?t.body:t;const r=(0,s.Rq)(e.textContent,t.baseURI),i=document.createElement("style");return i.textContent=r,i}function m(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=u(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...g(e));const r=e.querySelector("template");r&&t.push(...P(r,e.assetpath)),e._styles=t}return e._styles}function P(t,e){if(!t._styles){const r=[],i=t.content.querySelectorAll("style");for(let t=0;t<i.length;t++){let n=i[t],o=n.getAttribute(p);o&&r.push(...m(o).filter((function(t,e,r){return r.indexOf(t)===e}))),e&&(n.textContent=(0,s.Rq)(n.textContent,e)),r.push(n)}t._styles=r}return t._styles}function g(t){const e=[],r=t.querySelectorAll(h);for(let t=0;t<r.length;t++){let i=r[t];if(i.import){const t=i.import,r=i.hasAttribute(_);if(r&&!t._unscopedStyle){const e=f(t);e.setAttribute(_,""),t._unscopedStyle=e}else t._style||(t._style=f(t));e.push(r?t._unscopedStyle:t._style)}}return e}var b=r(4933);const w=[];var C=r(7221);const v=(0,n.o)((t=>{const e=(0,C.e)(t);function r(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof n?e:null}function i(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 i=t[r];e[r]="function"==typeof i?{type:i}:i}return e}(r))}t.__ownProperties=e}return t.__ownProperties}class n extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){t=this.prototype,w.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=i(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,i(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 n}));var T=r(1342);const O=window.ShadyCSS&&window.ShadyCSS.cssBuild,S=(0,n.o)((t=>{const e=v((0,b.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):i.nL||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let s in t)e=this.prototype,r=s,n=t,(i=t[s]).computed&&(i.readOnly=!0),i.computed&&(e._hasReadOnlyEffect(r)?console.warn(`Cannot redefine computed property '${r}'.`):e._createComputedProperty(r,i.computed,n)),i.readOnly&&!e._hasReadOnlyEffect(r)?e._createReadOnlyProperty(r,!i.computed):!1===i.readOnly&&e._hasReadOnlyEffect(r)&&console.warn(`Cannot make readOnly property '${r}' non-readOnly.`),i.reflectToAttribute&&!e._hasReflectEffect(r)?e._createReflectedProperty(r):!1===i.reflectToAttribute&&e._hasReflectEffect(r)&&console.warn(`Cannot make reflected property '${r}' non-reflected.`),i.notify&&!e._hasNotifyEffect(r)?e._createNotifyingProperty(r):!1===i.notify&&e._hasNotifyEffect(r)&&console.warn(`Cannot make notify property '${r}' non-notify.`),i.observer&&e._createPropertyObserver(r,i.observer,n[i.observer]),e._addPropertyToAttributeMap(r);var e,r,i,n}static createObservers(t,e){const r=this.prototype;for(let i=0;i<t.length;i++)r._createMethodObserver(t[i],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&&(!i.XN||i.ZN)&&(e=c.import(t,"template"),i.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,s.iY)(t.url);else{const t=c.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=i.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 i=e[r];"value"in i&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[r]=i)}}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,s.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,n){if(!O){const i=e.content.querySelectorAll("style"),s=P(e),o=function(t){let e=u(t);return e?g(e):[]}(r),a=e.content.firstElementChild;for(let r=0;r<o.length;r++){let i=o[r];i.textContent=t._processStyleText(i.textContent,n),e.content.insertBefore(i,a)}let l=0;for(let e=0;e<s.length;e++){let r=s[e],o=i[l];o!==r?(r=r.cloneNode(!0),o.parentNode.insertBefore(r,o)):l++,r.textContent=t._processStyleText(r.textContent,n)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,r),i.md&&O&&i.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,s.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,T.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])),i.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,s.Kk)(this.importPath)),(0,s.Kk)(t,e)}static _parseTemplateContent(t,r,i){return r.dynamicFns=r.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,r,i)}static _addTemplatePropertyEffect(t,r,n){return!i.a2||r in this._properties||n.info.part.signature&&n.info.part.signature.static||n.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,n)}}}));var A=r(1121);const E=S(HTMLElement)},7913:(t,e,r)=>{r.d(e,{Wc:()=>a,YA:()=>c,rs:()=>l,t$:()=>d});let i=0,n=0;const s=[];let o=!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)}},d={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},c={run(t){o||(o=!0,queueMicrotask((()=>function(){o=!1;const t=s.length;for(let e=0;e<t;e++){const t=s[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}s.splice(0,t),n+=t}()))),s.push(t);const e=i;return i+=1,e},cancel(t){const e=t-n;if(e>=0){if(!s[e])throw new Error(`invalid async handle: ${t}`);s[e]=null}}}},6139:(t,e,r)=>{r.d(e,{Ex:()=>s,dx:()=>n,yl:()=>a});const i=new Set;class n{static debounce(t,e,r){return t instanceof n?t._cancelAsync():t=new n,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,i.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),i.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 s(t){i.add(t)}function o(){const t=Boolean(i.size);return i.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t}const a=()=>{let t;do{t=o()}while(t)}},2807:(t,e,r)=>{function i(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:()=>i})},1914:(t,e,r)=>{r.d(e,{U:()=>o});const i=[];function n(t,e,r=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=r&&t.removeAttribute("dir")}function s(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=s();i.forEach((e=>{n(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const o=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(),n(this,s(),null))}attributeChangedCallback(t,e,r){if(super.attributeChangedCallback(t,e,r),"dir"!==t)return;const o=s(),a=r===o&&-1===i.indexOf(this),l=!r&&e&&-1===i.indexOf(this),d=r!==o&&e===o;a||l?(this.__subscribe(),n(this,o,r)):d&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=i.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(){i.includes(this)||i.push(this)}__unsubscribe(){i.includes(this)&&i.splice(i.indexOf(this),1)}}}}]);
package/dist/umd/6551.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[6551],{6551:(e,s,c)=>{c.d(s,{C:()=>p.C});var p=c(4089)}}]);