@covalent/components 9.0.0 → 9.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_commonjsHelpers-DjF3Plf2.mjs → _commonjsHelpers-HP5nalso.mjs} +2 -2
- package/action-ribbon.js +2 -2
- package/action-ribbon.mjs +24 -24
- package/alert.js +3 -3
- package/alert.mjs +4 -4
- package/app-shell.js +1 -1
- package/app-shell.mjs +6 -6
- package/async-directive-2AOdKBUW.mjs +66 -0
- package/async-directive-DZ3MjSIj.js +5 -0
- package/badge.js +1 -1
- package/badge.mjs +6 -6
- package/{base-element-aUDWLn36.js → base-element-5ZU-p99q.js} +1 -1
- package/{base-element-C-U4OfWx.mjs → base-element-CzNmpVoz.mjs} +1 -1
- package/button.js +1 -1
- package/button.mjs +24 -24
- package/card.js +1 -1
- package/card.mjs +12 -12
- package/check-list-item.js +7 -7
- package/check-list-item.mjs +31 -31
- package/checkbox.js +1 -1
- package/checkbox.mjs +9 -9
- package/{chip-C8L37ovG.mjs → chip-5QP7xPTY.mjs} +6 -6
- package/{chip-BsDYOEFW.js → chip-CitHXhY7.js} +1 -1
- package/chip-set.js +1 -1
- package/chip-set.mjs +114 -114
- package/chip.js +1 -1
- package/chip.mjs +2 -2
- package/circular-progress.js +4 -4
- package/circular-progress.mjs +10 -10
- package/class-map-BHl5MHd7.mjs +36 -0
- package/class-map-PsUYVqvf.js +5 -0
- package/{code-editor-CSH3MdBF.js → code-editor-CCUZsYkN.js} +135 -137
- package/{code-editor-Bshyfjyn.mjs → code-editor-JaW-06cH.mjs} +8151 -8113
- package/code-editor.js +1 -1
- package/code-editor.mjs +2 -2
- package/code-snippet.js +1 -1
- package/code-snippet.mjs +7 -7
- package/{dialog-BoNH4r3n.mjs → dialog-BVmWYLqR.mjs} +194 -194
- package/{dialog-LUOzoMeO.js → dialog-DzaPP3Vt.js} +9 -9
- package/dialog.js +1 -1
- package/dialog.mjs +2 -2
- package/{directive-oAbCiebi.mjs → directive-B76A7YXI.mjs} +4 -4
- package/directive-C_VV3qwo.js +5 -0
- package/directive-helpers-6HCt_-zj.mjs +11 -0
- package/directive-helpers-BnUMbYHh.js +5 -0
- package/drawer.js +1 -1
- package/drawer.mjs +2 -2
- package/empty-state.js +1 -1
- package/empty-state.mjs +7 -7
- package/{event-options-CNykeE2u.mjs → event-options-D44mpm5S.mjs} +1 -1
- package/{event-options-BH8ks-kz.js → event-options-IG-2g8HU.js} +1 -1
- package/expansion-panel-item.js +1 -1
- package/expansion-panel-item.mjs +4 -4
- package/expansion-panel.js +1 -1
- package/expansion-panel.mjs +1 -1
- package/focused-page.js +1 -1
- package/focused-page.mjs +8 -8
- package/form-element--PS8uSRI.js +5 -0
- package/form-element-Dn0Lerng.mjs +50 -0
- package/formfield.js +4 -4
- package/formfield.mjs +13 -13
- package/{foundation-qQ4jzaAu.mjs → foundation-BYhAXCW_.mjs} +17 -15
- package/{foundation-PL3XY-m_.mjs → foundation-D6JHa7Lg.mjs} +4 -4
- package/{foundation-pgmPu2iJ.js → foundation-aT_gy6X8.js} +1 -1
- package/{foundation-CySCCTUE.js → foundation-sIsx2I_x.js} +2 -2
- package/full-screen-dialog.js +2 -2
- package/full-screen-dialog.mjs +12 -12
- package/{html-DrhRpsz9.mjs → html-DhKW0KfF.mjs} +1 -1
- package/{html-DUGRoHaj.js → html-S7zzCKH0.js} +1 -1
- package/icon/_icon-list.d.ts +4 -0
- package/icon/_icon-list.d.ts.map +1 -0
- package/icon/icon-demo.d.ts +14 -0
- package/icon/icon-demo.d.ts.map +1 -0
- package/icon-button-toggle.js +5 -5
- package/icon-button-toggle.mjs +35 -35
- package/icon-button.js +2 -2
- package/icon-button.mjs +28 -28
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +6 -6
- package/icon-lockup.js +5 -5
- package/icon-lockup.mjs +6 -6
- package/icon-radio-toggle.js +4 -4
- package/icon-radio-toggle.mjs +8 -8
- package/icon.js +1 -1
- package/icon.mjs +14 -14
- package/{if-defined-D8C6ewRn.js → if-defined-B7G84qob.js} +1 -1
- package/{if-defined-BsNkRMMG.mjs → if-defined-DN7whKwy.mjs} +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +10 -1
- package/index.mjs +450 -112
- package/{javascript-DKtDcqDi.mjs → javascript-BtkevR81.mjs} +1 -1
- package/{javascript-54eqLOAw.js → javascript-fH54qAGk.js} +1 -1
- package/linear-progress.js +7 -7
- package/linear-progress.mjs +17 -17
- package/{list-item-BZVW1fmJ.js → list-item-BQ6SDTvW.js} +1 -1
- package/{list-item-DCzzLVZh.mjs → list-item-DuBDCnZ-.mjs} +1 -1
- package/list-item.js +2 -2
- package/list-item.mjs +16 -16
- package/list.js +1 -1
- package/list.mjs +16 -16
- package/menu.js +2 -2
- package/menu.mjs +11 -11
- package/{mwc-checkbox.css-Cd0yCOHu.js → mwc-checkbox.css-BV3dyB4C.js} +1 -1
- package/{mwc-checkbox.css-MBOzkrQg.mjs → mwc-checkbox.css-CNoj0V14.mjs} +31 -31
- package/{mwc-drawer-base-Dgs9327G.mjs → mwc-drawer-base-A-4s_ZnE.mjs} +10 -10
- package/{mwc-drawer-base-D-48lqfn.js → mwc-drawer-base-DWczEPvb.js} +3 -3
- package/{mwc-icon-BZRds8SY.mjs → mwc-icon-DTCUplqR.mjs} +2 -2
- package/{mwc-icon-BumH81hp.js → mwc-icon-Xgr698ax.js} +1 -1
- package/{mwc-icon-button.css-DJMY7U7e.mjs → mwc-icon-button.css-DJiDOS0_.mjs} +1 -1
- package/{mwc-icon-button.css-BtgKBOl3.js → mwc-icon-button.css-DOVWWyjA.js} +1 -1
- package/{mwc-line-ripple-directive-zhm5Zc8i.mjs → mwc-line-ripple-directive-TO37-41n.mjs} +34 -34
- package/{mwc-line-ripple-directive-DvPWr3ER.js → mwc-line-ripple-directive-r80jluoU.js} +4 -4
- package/{mwc-list-item.css-CtRq5wSu.js → mwc-list-item.css-CO1JlA8e.js} +10 -10
- package/{mwc-list-item.css-g34xqhLC.mjs → mwc-list-item.css-Cg9onxQ-.mjs} +11 -11
- package/{mwc-list.css-DFOdJyFB.mjs → mwc-list.css-C_-DVEme.mjs} +102 -102
- package/{mwc-list.css-CaMJWsDp.js → mwc-list.css-Deg9oBaO.js} +1 -1
- package/{mwc-menu.css-pxcxlTrh.js → mwc-menu.css-Dvr-f3_T.js} +18 -18
- package/{mwc-menu.css-BEiPghgR.mjs → mwc-menu.css-qpZxKN-g.mjs} +306 -306
- package/{mwc-radio.css-XRx0vL1k.mjs → mwc-radio.css-BiHC1R8I.mjs} +11 -11
- package/{mwc-radio.css-CVMtIq-L.js → mwc-radio.css-DjO4Rn44.js} +1 -1
- package/{mwc-slider.css-WrkrmqkL.js → mwc-slider.css-DFOaS04S.js} +13 -13
- package/{mwc-slider.css-2Bqk43z7.mjs → mwc-slider.css-Deh1__Ar.mjs} +290 -279
- package/{mwc-tab.css-B9yQpkYf.mjs → mwc-tab.css-2UrPKkNg.mjs} +34 -34
- package/{mwc-tab.css-CgdXMZBB.js → mwc-tab.css-sq5suZKe.js} +11 -11
- package/{mwc-top-app-bar-base-B0EW9eNk.mjs → mwc-top-app-bar-base-BIZGhVtM.mjs} +40 -40
- package/{mwc-top-app-bar-base-CSXRBOiX.js → mwc-top-app-bar-base-DUdOcIjS.js} +7 -7
- package/nav-list-item.js +3 -3
- package/nav-list-item.mjs +18 -18
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +25 -25
- package/package.json +6 -1
- package/{property-DYTC_2-m.js → property-BRKnMYJe.js} +1 -1
- package/{python-CEXbOLXn.mjs → python-BkZeja0y.mjs} +1 -1
- package/{python-CzGtlN7c.js → python-C2_KOh3o.js} +1 -1
- package/query-BvlE-gMJ.js +5 -0
- package/query-DSO61t36.mjs +15 -0
- package/query-assigned-elements-BQszEgac.js +31 -0
- package/query-assigned-elements-DhyCP_2z.mjs +591 -0
- package/query-assigned-nodes-9DFnkxV8.js +5 -0
- package/query-assigned-nodes-B-jCihdA.mjs +17 -0
- package/radio-list-item.js +5 -5
- package/radio-list-item.mjs +24 -24
- package/radio.js +1 -1
- package/radio.mjs +9 -9
- package/{ripple-handlers-i3WPEBiO.mjs → ripple-handlers-BAdg-fJB.mjs} +72 -72
- package/{ripple-handlers-CzfSBjWo.js → ripple-handlers-BDmOLx8c.js} +5 -5
- package/select.js +12 -12
- package/select.mjs +119 -118
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +8 -8
- package/slider-range.js +7 -7
- package/slider-range.mjs +39 -39
- package/slider.js +1 -1
- package/slider.mjs +18 -18
- package/snackbar.js +8 -8
- package/snackbar.mjs +21 -21
- package/{state-DaD9o2aK.mjs → state-B_tK3mBm.mjs} +2 -2
- package/{state-C3HoXfoa.js → state-Csv4sdJA.js} +1 -1
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +7 -7
- package/status-header-item.js +1 -1
- package/status-header-item.mjs +18 -18
- package/status-header.js +1 -1
- package/status-header.mjs +2 -2
- package/style-map-3QfsA_1O.js +5 -0
- package/style-map-QxIETvrs.mjs +42 -0
- package/switch.js +6 -6
- package/switch.mjs +40 -40
- package/tab-bar.js +5 -5
- package/tab-bar.mjs +93 -93
- package/tab.js +1 -1
- package/tab.mjs +5 -5
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +11 -11
- package/textarea.js +6 -6
- package/textarea.mjs +22 -22
- package/{textfield-BwmiygD8.js → textfield-CO6CFCCn.js} +30 -30
- package/{textfield-C6sUZIeA.mjs → textfield-WSgoABZn.mjs} +103 -103
- package/textfield.js +2 -2
- package/textfield.mjs +9 -9
- package/toolbar.js +1 -1
- package/toolbar.mjs +2 -2
- package/tooltip.js +3 -3
- package/tooltip.mjs +56 -55
- package/{top-app-bar-4SA3DjLX.mjs → top-app-bar-BvXNELe9.mjs} +1 -1
- package/{top-app-bar-CGjBuyiD.js → top-app-bar-Cvp1aN42.js} +1 -1
- package/top-app-bar-fixed.js +8 -8
- package/top-app-bar-fixed.mjs +35 -35
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +12 -12
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +5 -5
- package/tree-list.js +1 -1
- package/tree-list.mjs +5 -5
- package/tslib.es6-CISSdiiH.mjs +75 -0
- package/{typescript-DotYReBq.mjs → typescript-BUN0g4m9.mjs} +1 -1
- package/{typescript-D_zVB3gH.js → typescript-DzngJr4U.js} +1 -1
- package/typography.js +1 -1
- package/typography.mjs +10 -10
- package/async-directive-Cx1B9M5C.mjs +0 -66
- package/async-directive-y3fBDDSk.js +0 -5
- package/class-map-C1SJpero.mjs +0 -36
- package/class-map-C8G1ALWK.js +0 -5
- package/directive-C7oCP5Bh.js +0 -5
- package/directive-helpers-CllkNDrI.mjs +0 -11
- package/directive-helpers-Duf3sfLn.js +0 -5
- package/form-element-CxSqbssX.mjs +0 -50
- package/form-element-DwqUbs65.js +0 -5
- package/query-BBDQWsft.mjs +0 -15
- package/query-BxDs8ftQ.js +0 -5
- package/query-assigned-elements-4CafVNR8.js +0 -31
- package/query-assigned-elements-DCt2xozt.mjs +0 -591
- package/query-assigned-nodes-B9zBfkh6.mjs +0 -17
- package/query-assigned-nodes-CckKHm2z.js +0 -5
- package/style-map-BJBXlSqn.js +0 -5
- package/style-map-CCsABR5m.mjs +0 -42
- package/tslib.es6-pPsSiLLK.mjs +0 -75
@@ -1,591 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2019 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/
|
6
|
-
const U = window, W = U.ShadowRoot && (U.ShadyCSS === void 0 || U.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, q = Symbol(), K = /* @__PURE__ */ new WeakMap();
|
7
|
-
let nt = class {
|
8
|
-
constructor(t, e, s) {
|
9
|
-
if (this._$cssResult$ = !0, s !== q) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
10
|
-
this.cssText = t, this.t = e;
|
11
|
-
}
|
12
|
-
get styleSheet() {
|
13
|
-
let t = this.o;
|
14
|
-
const e = this.t;
|
15
|
-
if (W && t === void 0) {
|
16
|
-
const s = e !== void 0 && e.length === 1;
|
17
|
-
s && (t = K.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && K.set(e, t));
|
18
|
-
}
|
19
|
-
return t;
|
20
|
-
}
|
21
|
-
toString() {
|
22
|
-
return this.cssText;
|
23
|
-
}
|
24
|
-
};
|
25
|
-
const ct = (n) => new nt(typeof n == "string" ? n : n + "", void 0, q), Pt = (n, ...t) => {
|
26
|
-
const e = n.length === 1 ? n[0] : t.reduce((s, i, r) => s + ((o) => {
|
27
|
-
if (o._$cssResult$ === !0) return o.cssText;
|
28
|
-
if (typeof o == "number") return o;
|
29
|
-
throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
30
|
-
})(i) + n[r + 1], n[0]);
|
31
|
-
return new nt(e, n, q);
|
32
|
-
}, ut = (n, t) => {
|
33
|
-
W ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
|
34
|
-
const s = document.createElement("style"), i = U.litNonce;
|
35
|
-
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
|
36
|
-
});
|
37
|
-
}, Z = W ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
|
38
|
-
let e = "";
|
39
|
-
for (const s of t.cssRules) e += s.cssText;
|
40
|
-
return ct(e);
|
41
|
-
})(n) : n;
|
42
|
-
/**
|
43
|
-
* @license
|
44
|
-
* Copyright 2017 Google LLC
|
45
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
46
|
-
*/
|
47
|
-
var k;
|
48
|
-
const N = window, J = N.trustedTypes, pt = J ? J.emptyScript : "", F = N.reactiveElementPolyfillSupport, z = { toAttribute(n, t) {
|
49
|
-
switch (t) {
|
50
|
-
case Boolean:
|
51
|
-
n = n ? pt : null;
|
52
|
-
break;
|
53
|
-
case Object:
|
54
|
-
case Array:
|
55
|
-
n = n == null ? n : JSON.stringify(n);
|
56
|
-
}
|
57
|
-
return n;
|
58
|
-
}, fromAttribute(n, t) {
|
59
|
-
let e = n;
|
60
|
-
switch (t) {
|
61
|
-
case Boolean:
|
62
|
-
e = n !== null;
|
63
|
-
break;
|
64
|
-
case Number:
|
65
|
-
e = n === null ? null : Number(n);
|
66
|
-
break;
|
67
|
-
case Object:
|
68
|
-
case Array:
|
69
|
-
try {
|
70
|
-
e = JSON.parse(n);
|
71
|
-
} catch {
|
72
|
-
e = null;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
return e;
|
76
|
-
} }, ot = (n, t) => t !== n && (t == t || n == n), R = { attribute: !0, type: String, converter: z, reflect: !1, hasChanged: ot }, I = "finalized";
|
77
|
-
let m = class extends HTMLElement {
|
78
|
-
constructor() {
|
79
|
-
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
|
80
|
-
}
|
81
|
-
static addInitializer(t) {
|
82
|
-
var e;
|
83
|
-
this.finalize(), ((e = this.h) !== null && e !== void 0 ? e : this.h = []).push(t);
|
84
|
-
}
|
85
|
-
static get observedAttributes() {
|
86
|
-
this.finalize();
|
87
|
-
const t = [];
|
88
|
-
return this.elementProperties.forEach((e, s) => {
|
89
|
-
const i = this._$Ep(s, e);
|
90
|
-
i !== void 0 && (this._$Ev.set(i, s), t.push(i));
|
91
|
-
}), t;
|
92
|
-
}
|
93
|
-
static createProperty(t, e = R) {
|
94
|
-
if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
|
95
|
-
const s = typeof t == "symbol" ? Symbol() : "__" + t, i = this.getPropertyDescriptor(t, s, e);
|
96
|
-
i !== void 0 && Object.defineProperty(this.prototype, t, i);
|
97
|
-
}
|
98
|
-
}
|
99
|
-
static getPropertyDescriptor(t, e, s) {
|
100
|
-
return { get() {
|
101
|
-
return this[e];
|
102
|
-
}, set(i) {
|
103
|
-
const r = this[t];
|
104
|
-
this[e] = i, this.requestUpdate(t, r, s);
|
105
|
-
}, configurable: !0, enumerable: !0 };
|
106
|
-
}
|
107
|
-
static getPropertyOptions(t) {
|
108
|
-
return this.elementProperties.get(t) || R;
|
109
|
-
}
|
110
|
-
static finalize() {
|
111
|
-
if (this.hasOwnProperty(I)) return !1;
|
112
|
-
this[I] = !0;
|
113
|
-
const t = Object.getPrototypeOf(this);
|
114
|
-
if (t.finalize(), t.h !== void 0 && (this.h = [...t.h]), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
|
115
|
-
const e = this.properties, s = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
|
116
|
-
for (const i of s) this.createProperty(i, e[i]);
|
117
|
-
}
|
118
|
-
return this.elementStyles = this.finalizeStyles(this.styles), !0;
|
119
|
-
}
|
120
|
-
static finalizeStyles(t) {
|
121
|
-
const e = [];
|
122
|
-
if (Array.isArray(t)) {
|
123
|
-
const s = new Set(t.flat(1 / 0).reverse());
|
124
|
-
for (const i of s) e.unshift(Z(i));
|
125
|
-
} else t !== void 0 && e.push(Z(t));
|
126
|
-
return e;
|
127
|
-
}
|
128
|
-
static _$Ep(t, e) {
|
129
|
-
const s = e.attribute;
|
130
|
-
return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
|
131
|
-
}
|
132
|
-
_$Eu() {
|
133
|
-
var t;
|
134
|
-
this._$E_ = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (t = this.constructor.h) === null || t === void 0 || t.forEach((e) => e(this));
|
135
|
-
}
|
136
|
-
addController(t) {
|
137
|
-
var e, s;
|
138
|
-
((e = this._$ES) !== null && e !== void 0 ? e : this._$ES = []).push(t), this.renderRoot !== void 0 && this.isConnected && ((s = t.hostConnected) === null || s === void 0 || s.call(t));
|
139
|
-
}
|
140
|
-
removeController(t) {
|
141
|
-
var e;
|
142
|
-
(e = this._$ES) === null || e === void 0 || e.splice(this._$ES.indexOf(t) >>> 0, 1);
|
143
|
-
}
|
144
|
-
_$Eg() {
|
145
|
-
this.constructor.elementProperties.forEach((t, e) => {
|
146
|
-
this.hasOwnProperty(e) && (this._$Ei.set(e, this[e]), delete this[e]);
|
147
|
-
});
|
148
|
-
}
|
149
|
-
createRenderRoot() {
|
150
|
-
var t;
|
151
|
-
const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
|
152
|
-
return ut(e, this.constructor.elementStyles), e;
|
153
|
-
}
|
154
|
-
connectedCallback() {
|
155
|
-
var t;
|
156
|
-
this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
|
157
|
-
var s;
|
158
|
-
return (s = e.hostConnected) === null || s === void 0 ? void 0 : s.call(e);
|
159
|
-
});
|
160
|
-
}
|
161
|
-
enableUpdating(t) {
|
162
|
-
}
|
163
|
-
disconnectedCallback() {
|
164
|
-
var t;
|
165
|
-
(t = this._$ES) === null || t === void 0 || t.forEach((e) => {
|
166
|
-
var s;
|
167
|
-
return (s = e.hostDisconnected) === null || s === void 0 ? void 0 : s.call(e);
|
168
|
-
});
|
169
|
-
}
|
170
|
-
attributeChangedCallback(t, e, s) {
|
171
|
-
this._$AK(t, s);
|
172
|
-
}
|
173
|
-
_$EO(t, e, s = R) {
|
174
|
-
var i;
|
175
|
-
const r = this.constructor._$Ep(t, s);
|
176
|
-
if (r !== void 0 && s.reflect === !0) {
|
177
|
-
const o = (((i = s.converter) === null || i === void 0 ? void 0 : i.toAttribute) !== void 0 ? s.converter : z).toAttribute(e, s.type);
|
178
|
-
this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
|
179
|
-
}
|
180
|
-
}
|
181
|
-
_$AK(t, e) {
|
182
|
-
var s;
|
183
|
-
const i = this.constructor, r = i._$Ev.get(t);
|
184
|
-
if (r !== void 0 && this._$El !== r) {
|
185
|
-
const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) === null || s === void 0 ? void 0 : s.fromAttribute) !== void 0 ? o.converter : z;
|
186
|
-
this._$El = r, this[r] = a.fromAttribute(e, o.type), this._$El = null;
|
187
|
-
}
|
188
|
-
}
|
189
|
-
requestUpdate(t, e, s) {
|
190
|
-
let i = !0;
|
191
|
-
t !== void 0 && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || ot)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, s))) : i = !1), !this.isUpdatePending && i && (this._$E_ = this._$Ej());
|
192
|
-
}
|
193
|
-
async _$Ej() {
|
194
|
-
this.isUpdatePending = !0;
|
195
|
-
try {
|
196
|
-
await this._$E_;
|
197
|
-
} catch (e) {
|
198
|
-
Promise.reject(e);
|
199
|
-
}
|
200
|
-
const t = this.scheduleUpdate();
|
201
|
-
return t != null && await t, !this.isUpdatePending;
|
202
|
-
}
|
203
|
-
scheduleUpdate() {
|
204
|
-
return this.performUpdate();
|
205
|
-
}
|
206
|
-
performUpdate() {
|
207
|
-
var t;
|
208
|
-
if (!this.isUpdatePending) return;
|
209
|
-
this.hasUpdated, this._$Ei && (this._$Ei.forEach((i, r) => this[r] = i), this._$Ei = void 0);
|
210
|
-
let e = !1;
|
211
|
-
const s = this._$AL;
|
212
|
-
try {
|
213
|
-
e = this.shouldUpdate(s), e ? (this.willUpdate(s), (t = this._$ES) === null || t === void 0 || t.forEach((i) => {
|
214
|
-
var r;
|
215
|
-
return (r = i.hostUpdate) === null || r === void 0 ? void 0 : r.call(i);
|
216
|
-
}), this.update(s)) : this._$Ek();
|
217
|
-
} catch (i) {
|
218
|
-
throw e = !1, this._$Ek(), i;
|
219
|
-
}
|
220
|
-
e && this._$AE(s);
|
221
|
-
}
|
222
|
-
willUpdate(t) {
|
223
|
-
}
|
224
|
-
_$AE(t) {
|
225
|
-
var e;
|
226
|
-
(e = this._$ES) === null || e === void 0 || e.forEach((s) => {
|
227
|
-
var i;
|
228
|
-
return (i = s.hostUpdated) === null || i === void 0 ? void 0 : i.call(s);
|
229
|
-
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
230
|
-
}
|
231
|
-
_$Ek() {
|
232
|
-
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
233
|
-
}
|
234
|
-
get updateComplete() {
|
235
|
-
return this.getUpdateComplete();
|
236
|
-
}
|
237
|
-
getUpdateComplete() {
|
238
|
-
return this._$E_;
|
239
|
-
}
|
240
|
-
shouldUpdate(t) {
|
241
|
-
return !0;
|
242
|
-
}
|
243
|
-
update(t) {
|
244
|
-
this._$EC !== void 0 && (this._$EC.forEach((e, s) => this._$EO(s, this[s], e)), this._$EC = void 0), this._$Ek();
|
245
|
-
}
|
246
|
-
updated(t) {
|
247
|
-
}
|
248
|
-
firstUpdated(t) {
|
249
|
-
}
|
250
|
-
};
|
251
|
-
m[I] = !0, m.elementProperties = /* @__PURE__ */ new Map(), m.elementStyles = [], m.shadowRootOptions = { mode: "open" }, F == null || F({ ReactiveElement: m }), ((k = N.reactiveElementVersions) !== null && k !== void 0 ? k : N.reactiveElementVersions = []).push("1.6.3");
|
252
|
-
/**
|
253
|
-
* @license
|
254
|
-
* Copyright 2017 Google LLC
|
255
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
256
|
-
*/
|
257
|
-
var M;
|
258
|
-
const T = window, y = T.trustedTypes, G = y ? y.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, V = "$lit$", v = `lit$${(Math.random() + "").slice(9)}$`, rt = "?" + v, $t = `<${rt}>`, A = document, b = () => A.createComment(""), C = (n) => n === null || typeof n != "object" && typeof n != "function", lt = Array.isArray, vt = (n) => lt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", L = `[
|
259
|
-
\f\r]`, S = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Q = /-->/g, X = />/g, _ = RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^
|
260
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Y = /'/g, tt = /"/g, ht = /^(?:script|style|textarea|title)$/i, _t = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Ht = _t(1), g = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), et = /* @__PURE__ */ new WeakMap(), f = A.createTreeWalker(A, 129, null, !1);
|
261
|
-
function at(n, t) {
|
262
|
-
if (!Array.isArray(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
263
|
-
return G !== void 0 ? G.createHTML(t) : t;
|
264
|
-
}
|
265
|
-
const ft = (n, t) => {
|
266
|
-
const e = n.length - 1, s = [];
|
267
|
-
let i, r = t === 2 ? "<svg>" : "", o = S;
|
268
|
-
for (let a = 0; a < e; a++) {
|
269
|
-
const l = n[a];
|
270
|
-
let h, d, c = -1, p = 0;
|
271
|
-
for (; p < l.length && (o.lastIndex = p, d = o.exec(l), d !== null); ) p = o.lastIndex, o === S ? d[1] === "!--" ? o = Q : d[1] !== void 0 ? o = X : d[2] !== void 0 ? (ht.test(d[2]) && (i = RegExp("</" + d[2], "g")), o = _) : d[3] !== void 0 && (o = _) : o === _ ? d[0] === ">" ? (o = i ?? S, c = -1) : d[1] === void 0 ? c = -2 : (c = o.lastIndex - d[2].length, h = d[1], o = d[3] === void 0 ? _ : d[3] === '"' ? tt : Y) : o === tt || o === Y ? o = _ : o === Q || o === X ? o = S : (o = _, i = void 0);
|
272
|
-
const $ = o === _ && n[a + 1].startsWith("/>") ? " " : "";
|
273
|
-
r += o === S ? l + $t : c >= 0 ? (s.push(h), l.slice(0, c) + V + l.slice(c) + v + $) : l + v + (c === -2 ? (s.push(void 0), a) : $);
|
274
|
-
}
|
275
|
-
return [at(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
|
276
|
-
};
|
277
|
-
class w {
|
278
|
-
constructor({ strings: t, _$litType$: e }, s) {
|
279
|
-
let i;
|
280
|
-
this.parts = [];
|
281
|
-
let r = 0, o = 0;
|
282
|
-
const a = t.length - 1, l = this.parts, [h, d] = ft(t, e);
|
283
|
-
if (this.el = w.createElement(h, s), f.currentNode = this.el.content, e === 2) {
|
284
|
-
const c = this.el.content, p = c.firstChild;
|
285
|
-
p.remove(), c.append(...p.childNodes);
|
286
|
-
}
|
287
|
-
for (; (i = f.nextNode()) !== null && l.length < a; ) {
|
288
|
-
if (i.nodeType === 1) {
|
289
|
-
if (i.hasAttributes()) {
|
290
|
-
const c = [];
|
291
|
-
for (const p of i.getAttributeNames()) if (p.endsWith(V) || p.startsWith(v)) {
|
292
|
-
const $ = d[o++];
|
293
|
-
if (c.push(p), $ !== void 0) {
|
294
|
-
const dt = i.getAttribute($.toLowerCase() + V).split(v), P = /([.?@])?(.*)/.exec($);
|
295
|
-
l.push({ type: 1, index: r, name: P[2], strings: dt, ctor: P[1] === "." ? mt : P[1] === "?" ? gt : P[1] === "@" ? Et : O });
|
296
|
-
} else l.push({ type: 6, index: r });
|
297
|
-
}
|
298
|
-
for (const p of c) i.removeAttribute(p);
|
299
|
-
}
|
300
|
-
if (ht.test(i.tagName)) {
|
301
|
-
const c = i.textContent.split(v), p = c.length - 1;
|
302
|
-
if (p > 0) {
|
303
|
-
i.textContent = y ? y.emptyScript : "";
|
304
|
-
for (let $ = 0; $ < p; $++) i.append(c[$], b()), f.nextNode(), l.push({ type: 2, index: ++r });
|
305
|
-
i.append(c[p], b());
|
306
|
-
}
|
307
|
-
}
|
308
|
-
} else if (i.nodeType === 8) if (i.data === rt) l.push({ type: 2, index: r });
|
309
|
-
else {
|
310
|
-
let c = -1;
|
311
|
-
for (; (c = i.data.indexOf(v, c + 1)) !== -1; ) l.push({ type: 7, index: r }), c += v.length - 1;
|
312
|
-
}
|
313
|
-
r++;
|
314
|
-
}
|
315
|
-
}
|
316
|
-
static createElement(t, e) {
|
317
|
-
const s = A.createElement("template");
|
318
|
-
return s.innerHTML = t, s;
|
319
|
-
}
|
320
|
-
}
|
321
|
-
function E(n, t, e = n, s) {
|
322
|
-
var i, r, o, a;
|
323
|
-
if (t === g) return t;
|
324
|
-
let l = s !== void 0 ? (i = e._$Co) === null || i === void 0 ? void 0 : i[s] : e._$Cl;
|
325
|
-
const h = C(t) ? void 0 : t._$litDirective$;
|
326
|
-
return (l == null ? void 0 : l.constructor) !== h && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), h === void 0 ? l = void 0 : (l = new h(n), l._$AT(n, e, s)), s !== void 0 ? ((o = (a = e)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[s] = l : e._$Cl = l), l !== void 0 && (t = E(n, l._$AS(n, t.values), l, s)), t;
|
327
|
-
}
|
328
|
-
class At {
|
329
|
-
constructor(t, e) {
|
330
|
-
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
331
|
-
}
|
332
|
-
get parentNode() {
|
333
|
-
return this._$AM.parentNode;
|
334
|
-
}
|
335
|
-
get _$AU() {
|
336
|
-
return this._$AM._$AU;
|
337
|
-
}
|
338
|
-
u(t) {
|
339
|
-
var e;
|
340
|
-
const { el: { content: s }, parts: i } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : A).importNode(s, !0);
|
341
|
-
f.currentNode = r;
|
342
|
-
let o = f.nextNode(), a = 0, l = 0, h = i[0];
|
343
|
-
for (; h !== void 0; ) {
|
344
|
-
if (a === h.index) {
|
345
|
-
let d;
|
346
|
-
h.type === 2 ? d = new x(o, o.nextSibling, this, t) : h.type === 1 ? d = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (d = new St(o, this, t)), this._$AV.push(d), h = i[++l];
|
347
|
-
}
|
348
|
-
a !== (h == null ? void 0 : h.index) && (o = f.nextNode(), a++);
|
349
|
-
}
|
350
|
-
return f.currentNode = A, r;
|
351
|
-
}
|
352
|
-
v(t) {
|
353
|
-
let e = 0;
|
354
|
-
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
355
|
-
}
|
356
|
-
}
|
357
|
-
class x {
|
358
|
-
constructor(t, e, s, i) {
|
359
|
-
var r;
|
360
|
-
this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cp = (r = i == null ? void 0 : i.isConnected) === null || r === void 0 || r;
|
361
|
-
}
|
362
|
-
get _$AU() {
|
363
|
-
var t, e;
|
364
|
-
return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$Cp;
|
365
|
-
}
|
366
|
-
get parentNode() {
|
367
|
-
let t = this._$AA.parentNode;
|
368
|
-
const e = this._$AM;
|
369
|
-
return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
|
370
|
-
}
|
371
|
-
get startNode() {
|
372
|
-
return this._$AA;
|
373
|
-
}
|
374
|
-
get endNode() {
|
375
|
-
return this._$AB;
|
376
|
-
}
|
377
|
-
_$AI(t, e = this) {
|
378
|
-
t = E(this, t, e), C(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== g && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : vt(t) ? this.T(t) : this._(t);
|
379
|
-
}
|
380
|
-
k(t) {
|
381
|
-
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
382
|
-
}
|
383
|
-
$(t) {
|
384
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
|
385
|
-
}
|
386
|
-
_(t) {
|
387
|
-
this._$AH !== u && C(this._$AH) ? this._$AA.nextSibling.data = t : this.$(A.createTextNode(t)), this._$AH = t;
|
388
|
-
}
|
389
|
-
g(t) {
|
390
|
-
var e;
|
391
|
-
const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = w.createElement(at(i.h, i.h[0]), this.options)), i);
|
392
|
-
if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r) this._$AH.v(s);
|
393
|
-
else {
|
394
|
-
const o = new At(r, this), a = o.u(this.options);
|
395
|
-
o.v(s), this.$(a), this._$AH = o;
|
396
|
-
}
|
397
|
-
}
|
398
|
-
_$AC(t) {
|
399
|
-
let e = et.get(t.strings);
|
400
|
-
return e === void 0 && et.set(t.strings, e = new w(t)), e;
|
401
|
-
}
|
402
|
-
T(t) {
|
403
|
-
lt(this._$AH) || (this._$AH = [], this._$AR());
|
404
|
-
const e = this._$AH;
|
405
|
-
let s, i = 0;
|
406
|
-
for (const r of t) i === e.length ? e.push(s = new x(this.k(b()), this.k(b()), this, this.options)) : s = e[i], s._$AI(r), i++;
|
407
|
-
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
408
|
-
}
|
409
|
-
_$AR(t = this._$AA.nextSibling, e) {
|
410
|
-
var s;
|
411
|
-
for ((s = this._$AP) === null || s === void 0 || s.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
412
|
-
const i = t.nextSibling;
|
413
|
-
t.remove(), t = i;
|
414
|
-
}
|
415
|
-
}
|
416
|
-
setConnected(t) {
|
417
|
-
var e;
|
418
|
-
this._$AM === void 0 && (this._$Cp = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
|
419
|
-
}
|
420
|
-
}
|
421
|
-
class O {
|
422
|
-
constructor(t, e, s, i, r) {
|
423
|
-
this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = u;
|
424
|
-
}
|
425
|
-
get tagName() {
|
426
|
-
return this.element.tagName;
|
427
|
-
}
|
428
|
-
get _$AU() {
|
429
|
-
return this._$AM._$AU;
|
430
|
-
}
|
431
|
-
_$AI(t, e = this, s, i) {
|
432
|
-
const r = this.strings;
|
433
|
-
let o = !1;
|
434
|
-
if (r === void 0) t = E(this, t, e, 0), o = !C(t) || t !== this._$AH && t !== g, o && (this._$AH = t);
|
435
|
-
else {
|
436
|
-
const a = t;
|
437
|
-
let l, h;
|
438
|
-
for (t = r[0], l = 0; l < r.length - 1; l++) h = E(this, a[s + l], e, l), h === g && (h = this._$AH[l]), o || (o = !C(h) || h !== this._$AH[l]), h === u ? t = u : t !== u && (t += (h ?? "") + r[l + 1]), this._$AH[l] = h;
|
439
|
-
}
|
440
|
-
o && !i && this.j(t);
|
441
|
-
}
|
442
|
-
j(t) {
|
443
|
-
t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
444
|
-
}
|
445
|
-
}
|
446
|
-
class mt extends O {
|
447
|
-
constructor() {
|
448
|
-
super(...arguments), this.type = 3;
|
449
|
-
}
|
450
|
-
j(t) {
|
451
|
-
this.element[this.name] = t === u ? void 0 : t;
|
452
|
-
}
|
453
|
-
}
|
454
|
-
const yt = y ? y.emptyScript : "";
|
455
|
-
class gt extends O {
|
456
|
-
constructor() {
|
457
|
-
super(...arguments), this.type = 4;
|
458
|
-
}
|
459
|
-
j(t) {
|
460
|
-
t && t !== u ? this.element.setAttribute(this.name, yt) : this.element.removeAttribute(this.name);
|
461
|
-
}
|
462
|
-
}
|
463
|
-
class Et extends O {
|
464
|
-
constructor(t, e, s, i, r) {
|
465
|
-
super(t, e, s, i, r), this.type = 5;
|
466
|
-
}
|
467
|
-
_$AI(t, e = this) {
|
468
|
-
var s;
|
469
|
-
if ((t = (s = E(this, t, e, 0)) !== null && s !== void 0 ? s : u) === g) return;
|
470
|
-
const i = this._$AH, r = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== u && (i === u || r);
|
471
|
-
r && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
472
|
-
}
|
473
|
-
handleEvent(t) {
|
474
|
-
var e, s;
|
475
|
-
typeof this._$AH == "function" ? this._$AH.call((s = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && s !== void 0 ? s : this.element, t) : this._$AH.handleEvent(t);
|
476
|
-
}
|
477
|
-
}
|
478
|
-
class St {
|
479
|
-
constructor(t, e, s) {
|
480
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
481
|
-
}
|
482
|
-
get _$AU() {
|
483
|
-
return this._$AM._$AU;
|
484
|
-
}
|
485
|
-
_$AI(t) {
|
486
|
-
E(this, t);
|
487
|
-
}
|
488
|
-
}
|
489
|
-
const st = T.litHtmlPolyfillSupport;
|
490
|
-
st == null || st(w, x), ((M = T.litHtmlVersions) !== null && M !== void 0 ? M : T.litHtmlVersions = []).push("2.8.0");
|
491
|
-
const bt = (n, t, e) => {
|
492
|
-
var s, i;
|
493
|
-
const r = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : t;
|
494
|
-
let o = r._$litPart$;
|
495
|
-
if (o === void 0) {
|
496
|
-
const a = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : null;
|
497
|
-
r._$litPart$ = o = new x(t.insertBefore(b(), a), a, void 0, e ?? {});
|
498
|
-
}
|
499
|
-
return o._$AI(n), o;
|
500
|
-
};
|
501
|
-
/**
|
502
|
-
* @license
|
503
|
-
* Copyright 2017 Google LLC
|
504
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
505
|
-
*/
|
506
|
-
var j, B;
|
507
|
-
class H extends m {
|
508
|
-
constructor() {
|
509
|
-
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
510
|
-
}
|
511
|
-
createRenderRoot() {
|
512
|
-
var t, e;
|
513
|
-
const s = super.createRenderRoot();
|
514
|
-
return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore = s.firstChild), s;
|
515
|
-
}
|
516
|
-
update(t) {
|
517
|
-
const e = this.render();
|
518
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = bt(e, this.renderRoot, this.renderOptions);
|
519
|
-
}
|
520
|
-
connectedCallback() {
|
521
|
-
var t;
|
522
|
-
super.connectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!0);
|
523
|
-
}
|
524
|
-
disconnectedCallback() {
|
525
|
-
var t;
|
526
|
-
super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
|
527
|
-
}
|
528
|
-
render() {
|
529
|
-
return g;
|
530
|
-
}
|
531
|
-
}
|
532
|
-
H.finalized = !0, H._$litElement$ = !0, (j = globalThis.litElementHydrateSupport) === null || j === void 0 || j.call(globalThis, { LitElement: H });
|
533
|
-
const it = globalThis.litElementPolyfillSupport;
|
534
|
-
it == null || it({ LitElement: H });
|
535
|
-
((B = globalThis.litElementVersions) !== null && B !== void 0 ? B : globalThis.litElementVersions = []).push("3.3.3");
|
536
|
-
/**
|
537
|
-
* @license
|
538
|
-
* Copyright 2017 Google LLC
|
539
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
540
|
-
*/
|
541
|
-
const Nt = (n) => (t) => typeof t == "function" ? ((e, s) => (customElements.define(e, s), s))(n, t) : ((e, s) => {
|
542
|
-
const { kind: i, elements: r } = s;
|
543
|
-
return { kind: i, elements: r, finisher(o) {
|
544
|
-
customElements.define(e, o);
|
545
|
-
} };
|
546
|
-
})(n, t);
|
547
|
-
/**
|
548
|
-
* @license
|
549
|
-
* Copyright 2017 Google LLC
|
550
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
551
|
-
*/
|
552
|
-
const Ct = ({ finisher: n, descriptor: t }) => (e, s) => {
|
553
|
-
var i;
|
554
|
-
if (s === void 0) {
|
555
|
-
const r = (i = e.originalKey) !== null && i !== void 0 ? i : e.key, o = t != null ? { kind: "method", placement: "prototype", key: r, descriptor: t(e.key) } : { ...e, key: r };
|
556
|
-
return n != null && (o.finisher = function(a) {
|
557
|
-
n(a, r);
|
558
|
-
}), o;
|
559
|
-
}
|
560
|
-
{
|
561
|
-
const r = e.constructor;
|
562
|
-
t !== void 0 && Object.defineProperty(e, s, t(s)), n == null || n(r, s);
|
563
|
-
}
|
564
|
-
};
|
565
|
-
/**
|
566
|
-
* @license
|
567
|
-
* Copyright 2021 Google LLC
|
568
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
569
|
-
*/
|
570
|
-
var D;
|
571
|
-
const wt = ((D = window.HTMLSlotElement) === null || D === void 0 ? void 0 : D.prototype.assignedElements) != null ? (n, t) => n.assignedElements(t) : (n, t) => n.assignedNodes(t).filter((e) => e.nodeType === Node.ELEMENT_NODE);
|
572
|
-
function Tt(n) {
|
573
|
-
const { slot: t, selector: e } = n ?? {};
|
574
|
-
return Ct({ descriptor: (s) => ({ get() {
|
575
|
-
var i;
|
576
|
-
const r = "slot" + (t ? `[name=${t}]` : ":not([name])"), o = (i = this.renderRoot) === null || i === void 0 ? void 0 : i.querySelector(r), a = o != null ? wt(o, n) : [];
|
577
|
-
return e ? a.filter((l) => l.matches(e)) : a;
|
578
|
-
}, enumerable: !0, configurable: !0 }) });
|
579
|
-
}
|
580
|
-
export {
|
581
|
-
u as A,
|
582
|
-
bt as D,
|
583
|
-
g as T,
|
584
|
-
Nt as e,
|
585
|
-
Pt as i,
|
586
|
-
Tt as l,
|
587
|
-
Ct as o,
|
588
|
-
ct as r,
|
589
|
-
H as s,
|
590
|
-
Ht as x
|
591
|
-
};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { l as u, o as d } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
-
/**
|
3
|
-
* @license
|
4
|
-
* Copyright 2017 Google LLC
|
5
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
-
*/
|
7
|
-
function m(e, r, s) {
|
8
|
-
let o, t = e;
|
9
|
-
return typeof e == "object" ? (t = e.slot, o = e) : o = { flatten: r }, s ? u({ slot: t, flatten: r, selector: s }) : d({ descriptor: (c) => ({ get() {
|
10
|
-
var l, n;
|
11
|
-
const a = "slot" + (t ? `[name=${t}]` : ":not([name])"), i = (l = this.renderRoot) === null || l === void 0 ? void 0 : l.querySelector(a);
|
12
|
-
return (n = i == null ? void 0 : i.assignedNodes(o)) !== null && n !== void 0 ? n : [];
|
13
|
-
}, enumerable: !0, configurable: !0 }) });
|
14
|
-
}
|
15
|
-
export {
|
16
|
-
m as o
|
17
|
-
};
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";const u=require("./query-assigned-elements-4CafVNR8.js");/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2017 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/function d(e,r,s){let o,t=e;return typeof e=="object"?(t=e.slot,o=e):o={flatten:r},s?u.l({slot:t,flatten:r,selector:s}):u.o({descriptor:a=>({get(){var n,l;const c="slot"+(t?`[name=${t}]`:":not([name])"),i=(n=this.renderRoot)===null||n===void 0?void 0:n.querySelector(c);return(l=i==null?void 0:i.assignedNodes(o))!==null&&l!==void 0?l:[]},enumerable:!0,configurable:!0})})}exports.o=d;
|
package/style-map-BJBXlSqn.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";const c=require("./query-assigned-elements-4CafVNR8.js"),o=require("./directive-C7oCP5Bh.js");/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2018 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/const u="important",l=" !"+u,d=o.e(class extends o.i{constructor(n){var t;if(super(n),n.type!==o.t.ATTRIBUTE||n.name!=="style"||((t=n.strings)===null||t===void 0?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(n){return Object.keys(n).reduce((t,s)=>{const e=n[s];return e==null?t:t+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${e};`},"")}update(n,[t]){const{style:s}=n.element;if(this.ht===void 0){this.ht=new Set;for(const e in t)this.ht.add(e);return this.render(t)}this.ht.forEach(e=>{t[e]==null&&(this.ht.delete(e),e.includes("-")?s.removeProperty(e):s[e]="")});for(const e in t){const i=t[e];if(i!=null){this.ht.add(e);const r=typeof i=="string"&&i.endsWith(l);e.includes("-")||r?s.setProperty(e,r?i.slice(0,-11):i,r?u:""):s[e]=i}}return c.T}});exports.o=d;
|
package/style-map-CCsABR5m.mjs
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
import { T as l } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
-
import { e as h, i as d, t as u } from "./directive-oAbCiebi.mjs";
|
3
|
-
/**
|
4
|
-
* @license
|
5
|
-
* Copyright 2018 Google LLC
|
6
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
7
|
-
*/
|
8
|
-
const o = "important", c = " !" + o, m = h(class extends d {
|
9
|
-
constructor(n) {
|
10
|
-
var t;
|
11
|
-
if (super(n), n.type !== u.ATTRIBUTE || n.name !== "style" || ((t = n.strings) === null || t === void 0 ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
12
|
-
}
|
13
|
-
render(n) {
|
14
|
-
return Object.keys(n).reduce((t, s) => {
|
15
|
-
const e = n[s];
|
16
|
-
return e == null ? t : t + `${s = s.includes("-") ? s : s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${e};`;
|
17
|
-
}, "");
|
18
|
-
}
|
19
|
-
update(n, [t]) {
|
20
|
-
const { style: s } = n.element;
|
21
|
-
if (this.ht === void 0) {
|
22
|
-
this.ht = /* @__PURE__ */ new Set();
|
23
|
-
for (const e in t) this.ht.add(e);
|
24
|
-
return this.render(t);
|
25
|
-
}
|
26
|
-
this.ht.forEach((e) => {
|
27
|
-
t[e] == null && (this.ht.delete(e), e.includes("-") ? s.removeProperty(e) : s[e] = "");
|
28
|
-
});
|
29
|
-
for (const e in t) {
|
30
|
-
const r = t[e];
|
31
|
-
if (r != null) {
|
32
|
-
this.ht.add(e);
|
33
|
-
const i = typeof r == "string" && r.endsWith(c);
|
34
|
-
e.includes("-") || i ? s.setProperty(e, i ? r.slice(0, -11) : r, i ? o : "") : s[e] = r;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
return l;
|
38
|
-
}
|
39
|
-
});
|
40
|
-
export {
|
41
|
-
m as o
|
42
|
-
};
|