@florid-kit/components 0.4.18 → 0.4.20
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/index.js +60 -45
- package/index.mjs +226 -197
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const X = globalThis,
|
|
7
|
-
let
|
|
6
|
+
const X = globalThis, dt = X.ShadowRoot && (X.ShadyCSS === void 0 || X.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, pt = Symbol(), ft = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let Ct = class {
|
|
8
8
|
constructor(t, e, o) {
|
|
9
|
-
if (this._$cssResult$ = !0, o !==
|
|
9
|
+
if (this._$cssResult$ = !0, o !== pt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
10
10
|
this.cssText = t, this.t = e;
|
|
11
11
|
}
|
|
12
12
|
get styleSheet() {
|
|
13
13
|
let t = this.o;
|
|
14
14
|
const e = this.t;
|
|
15
|
-
if (
|
|
15
|
+
if (dt && t === void 0) {
|
|
16
16
|
const o = e !== void 0 && e.length === 1;
|
|
17
|
-
o && (t =
|
|
17
|
+
o && (t = ft.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), o && ft.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let Et = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const Bt = (n) => new Ct(typeof n == "string" ? n : n + "", void 0, pt), $ = (n, ...t) => {
|
|
26
26
|
const e = n.length === 1 ? n[0] : t.reduce((o, i, r) => o + ((s) => {
|
|
27
27
|
if (s._$cssResult$ === !0) return s.cssText;
|
|
28
28
|
if (typeof s == "number") return s;
|
|
29
29
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
30
|
})(i) + n[r + 1], n[0]);
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (
|
|
31
|
+
return new Ct(e, n, pt);
|
|
32
|
+
}, Ot = (n, t) => {
|
|
33
|
+
if (dt) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
34
34
|
else for (const e of t) {
|
|
35
35
|
const o = document.createElement("style"), i = X.litNonce;
|
|
36
36
|
i !== void 0 && o.setAttribute("nonce", i), o.textContent = e.cssText, n.appendChild(o);
|
|
37
37
|
}
|
|
38
|
-
}, bt =
|
|
38
|
+
}, bt = dt ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
|
|
39
39
|
let e = "";
|
|
40
40
|
for (const o of t.cssRules) e += o.cssText;
|
|
41
|
-
return
|
|
41
|
+
return Bt(e);
|
|
42
42
|
})(n) : n;
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: zt, defineProperty:
|
|
48
|
+
const { is: zt, defineProperty: Ht, getOwnPropertyDescriptor: Mt, getOwnPropertyNames: Tt, getOwnPropertySymbols: Dt, getPrototypeOf: Ut } = Object, C = globalThis, yt = C.trustedTypes, Nt = yt ? yt.emptyScript : "", ot = C.reactiveElementPolyfillSupport, R = (n, t) => n, J = { toAttribute(n, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
n = n ?
|
|
51
|
+
n = n ? Nt : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,7 +73,7 @@ const { is: zt, defineProperty: Ot, getOwnPropertyDescriptor: Ht, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
76
|
+
} }, ut = (n, t) => !zt(n, t), mt = { attribute: !0, type: String, converter: J, reflect: !1, useDefault: !1, hasChanged: ut };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), C.litPropertyMetadata ?? (C.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let T = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
@@ -82,14 +82,14 @@ let T = class extends HTMLElement {
|
|
|
82
82
|
static get observedAttributes() {
|
|
83
83
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
84
84
|
}
|
|
85
|
-
static createProperty(t, e =
|
|
85
|
+
static createProperty(t, e = mt) {
|
|
86
86
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
87
87
|
const o = Symbol(), i = this.getPropertyDescriptor(t, o, e);
|
|
88
|
-
i !== void 0 &&
|
|
88
|
+
i !== void 0 && Ht(this.prototype, t, i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(t, e, o) {
|
|
92
|
-
const { get: i, set: r } =
|
|
92
|
+
const { get: i, set: r } = Mt(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[e];
|
|
94
94
|
}, set(s) {
|
|
95
95
|
this[e] = s;
|
|
@@ -100,17 +100,17 @@ let T = class extends HTMLElement {
|
|
|
100
100
|
}, configurable: !0, enumerable: !0 };
|
|
101
101
|
}
|
|
102
102
|
static getPropertyOptions(t) {
|
|
103
|
-
return this.elementProperties.get(t) ??
|
|
103
|
+
return this.elementProperties.get(t) ?? mt;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
106
|
if (this.hasOwnProperty(R("elementProperties"))) return;
|
|
107
|
-
const t =
|
|
107
|
+
const t = Ut(this);
|
|
108
108
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
109
109
|
}
|
|
110
110
|
static finalize() {
|
|
111
111
|
if (this.hasOwnProperty(R("finalized"))) return;
|
|
112
112
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(R("properties"))) {
|
|
113
|
-
const e = this.properties, o = [...
|
|
113
|
+
const e = this.properties, o = [...Tt(e), ...Dt(e)];
|
|
114
114
|
for (const i of o) this.createProperty(i, e[i]);
|
|
115
115
|
}
|
|
116
116
|
const t = this[Symbol.metadata];
|
|
@@ -159,7 +159,7 @@ let T = class extends HTMLElement {
|
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return Ot(t, this.constructor.elementStyles), t;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var t;
|
|
@@ -200,7 +200,7 @@ let T = class extends HTMLElement {
|
|
|
200
200
|
var i;
|
|
201
201
|
if (t !== void 0) {
|
|
202
202
|
const r = this.constructor, s = this[t];
|
|
203
|
-
if (o ?? (o = r.getPropertyOptions(t)), !((o.hasChanged ??
|
|
203
|
+
if (o ?? (o = r.getPropertyOptions(t)), !((o.hasChanged ?? ut)(s, e) || o.useDefault && o.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(r._$Eu(t, o)))) return;
|
|
204
204
|
this.C(t, e, o);
|
|
205
205
|
}
|
|
206
206
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -282,50 +282,50 @@ T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[R("elementProper
|
|
|
282
282
|
* Copyright 2017 Google LLC
|
|
283
283
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
284
|
*/
|
|
285
|
-
const V = globalThis, Q = V.trustedTypes,
|
|
286
|
-
\f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
288
|
-
function
|
|
289
|
-
if (!
|
|
290
|
-
return
|
|
285
|
+
const V = globalThis, Q = V.trustedTypes, wt = Q ? Q.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Lt = "$lit$", E = `lit$${Math.random().toFixed(9).slice(2)}$`, Pt = "?" + E, jt = `<${Pt}>`, O = document, F = () => O.createComment(""), Z = (n) => n === null || typeof n != "object" && typeof n != "function", gt = Array.isArray, Rt = (n) => gt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", it = `[
|
|
286
|
+
\f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $t = /-->/g, xt = />/g, k = RegExp(`>|${it}(?:([^\\s"'>=/]+)(${it}*=${it}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), _t = /'/g, At = /"/g, kt = /^(?:script|style|textarea|title)$/i, Vt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), h = Vt(1), z = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), St = /* @__PURE__ */ new WeakMap(), I = O.createTreeWalker(O, 129);
|
|
288
|
+
function It(n, t) {
|
|
289
|
+
if (!gt(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return wt !== void 0 ? wt.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
|
-
const
|
|
292
|
+
const Ft = (n, t) => {
|
|
293
293
|
const e = n.length - 1, o = [];
|
|
294
294
|
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = j;
|
|
295
295
|
for (let c = 0; c < e; c++) {
|
|
296
296
|
const l = n[c];
|
|
297
|
-
let
|
|
298
|
-
for (;
|
|
297
|
+
let g, f, p = -1, x = 0;
|
|
298
|
+
for (; x < l.length && (s.lastIndex = x, f = s.exec(l), f !== null); ) x = s.lastIndex, s === j ? f[1] === "!--" ? s = $t : f[1] !== void 0 ? s = xt : f[2] !== void 0 ? (kt.test(f[2]) && (i = RegExp("</" + f[2], "g")), s = k) : f[3] !== void 0 && (s = k) : s === k ? f[0] === ">" ? (s = i ?? j, p = -1) : f[1] === void 0 ? p = -2 : (p = s.lastIndex - f[2].length, g = f[1], s = f[3] === void 0 ? k : f[3] === '"' ? At : _t) : s === At || s === _t ? s = k : s === $t || s === xt ? s = j : (s = k, i = void 0);
|
|
299
299
|
const S = s === k && n[c + 1].startsWith("/>") ? " " : "";
|
|
300
|
-
r += s === j ? l +
|
|
300
|
+
r += s === j ? l + jt : p >= 0 ? (o.push(g), l.slice(0, p) + Lt + l.slice(p) + E + S) : l + E + (p === -2 ? c : S);
|
|
301
301
|
}
|
|
302
|
-
return [
|
|
302
|
+
return [It(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), o];
|
|
303
303
|
};
|
|
304
304
|
class q {
|
|
305
305
|
constructor({ strings: t, _$litType$: e }, o) {
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let r = 0, s = 0;
|
|
309
|
-
const c = t.length - 1, l = this.parts, [
|
|
310
|
-
if (this.el = q.createElement(
|
|
309
|
+
const c = t.length - 1, l = this.parts, [g, f] = Ft(t, e);
|
|
310
|
+
if (this.el = q.createElement(g, o), I.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
311
|
const p = this.el.content.firstChild;
|
|
312
312
|
p.replaceWith(...p.childNodes);
|
|
313
313
|
}
|
|
314
|
-
for (; (i =
|
|
314
|
+
for (; (i = I.nextNode()) !== null && l.length < c; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
|
-
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(
|
|
317
|
-
const
|
|
318
|
-
l.push({ type: 1, index: r, name: K[2], strings: S, ctor: K[1] === "." ?
|
|
316
|
+
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(Lt)) {
|
|
317
|
+
const x = f[s++], S = i.getAttribute(p).split(E), K = /([.?@])?(.*)/.exec(x);
|
|
318
|
+
l.push({ type: 1, index: r, name: K[2], strings: S, ctor: K[1] === "." ? qt : K[1] === "?" ? Wt : K[1] === "@" ? Gt : Y }), i.removeAttribute(p);
|
|
319
319
|
} else p.startsWith(E) && (l.push({ type: 6, index: r }), i.removeAttribute(p));
|
|
320
320
|
if (kt.test(i.tagName)) {
|
|
321
|
-
const p = i.textContent.split(E),
|
|
322
|
-
if (
|
|
321
|
+
const p = i.textContent.split(E), x = p.length - 1;
|
|
322
|
+
if (x > 0) {
|
|
323
323
|
i.textContent = Q ? Q.emptyScript : "";
|
|
324
|
-
for (let S = 0; S <
|
|
325
|
-
i.append(p[
|
|
324
|
+
for (let S = 0; S < x; S++) i.append(p[S], F()), I.nextNode(), l.push({ type: 2, index: ++r });
|
|
325
|
+
i.append(p[x], F());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === Pt) l.push({ type: 2, index: r });
|
|
329
329
|
else {
|
|
330
330
|
let p = -1;
|
|
331
331
|
for (; (p = i.data.indexOf(E, p + 1)) !== -1; ) l.push({ type: 7, index: r }), p += E.length - 1;
|
|
@@ -334,7 +334,7 @@ class q {
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
static createElement(t, e) {
|
|
337
|
-
const o =
|
|
337
|
+
const o = O.createElement("template");
|
|
338
338
|
return o.innerHTML = t, o;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
@@ -345,7 +345,7 @@ function D(n, t, e = n, o) {
|
|
|
345
345
|
const r = Z(t) ? void 0 : t._$litDirective$;
|
|
346
346
|
return (i == null ? void 0 : i.constructor) !== r && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), r === void 0 ? i = void 0 : (i = new r(n), i._$AT(n, e, o)), o !== void 0 ? (e._$Co ?? (e._$Co = []))[o] = i : e._$Cl = i), i !== void 0 && (t = D(n, i._$AS(n, t.values), i, o)), t;
|
|
347
347
|
}
|
|
348
|
-
class
|
|
348
|
+
class Zt {
|
|
349
349
|
constructor(t, e) {
|
|
350
350
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
351
351
|
}
|
|
@@ -356,17 +356,17 @@ class Ft {
|
|
|
356
356
|
return this._$AM._$AU;
|
|
357
357
|
}
|
|
358
358
|
u(t) {
|
|
359
|
-
const { el: { content: e }, parts: o } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ??
|
|
360
|
-
|
|
361
|
-
let r =
|
|
359
|
+
const { el: { content: e }, parts: o } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? O).importNode(e, !0);
|
|
360
|
+
I.currentNode = i;
|
|
361
|
+
let r = I.nextNode(), s = 0, c = 0, l = o[0];
|
|
362
362
|
for (; l !== void 0; ) {
|
|
363
363
|
if (s === l.index) {
|
|
364
|
-
let
|
|
365
|
-
l.type === 2 ?
|
|
364
|
+
let g;
|
|
365
|
+
l.type === 2 ? g = new G(r, r.nextSibling, this, t) : l.type === 1 ? g = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (g = new Kt(r, this, t)), this._$AV.push(g), l = o[++c];
|
|
366
366
|
}
|
|
367
|
-
s !== (l == null ? void 0 : l.index) && (r =
|
|
367
|
+
s !== (l == null ? void 0 : l.index) && (r = I.nextNode(), s++);
|
|
368
368
|
}
|
|
369
|
-
return
|
|
369
|
+
return I.currentNode = O, i;
|
|
370
370
|
}
|
|
371
371
|
p(t) {
|
|
372
372
|
let e = 0;
|
|
@@ -393,7 +393,7 @@ class G {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = D(this, t, e), Z(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== z && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
396
|
+
t = D(this, t, e), Z(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== z && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Rt(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -402,23 +402,23 @@ class G {
|
|
|
402
402
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
403
403
|
}
|
|
404
404
|
_(t) {
|
|
405
|
-
this._$AH !== d && Z(this._$AH) ? this._$AA.nextSibling.data = t : this.T(
|
|
405
|
+
this._$AH !== d && Z(this._$AH) ? this._$AA.nextSibling.data = t : this.T(O.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var r;
|
|
409
|
-
const { values: e, _$litType$: o } = t, i = typeof o == "number" ? this._$AC(t) : (o.el === void 0 && (o.el = q.createElement(
|
|
409
|
+
const { values: e, _$litType$: o } = t, i = typeof o == "number" ? this._$AC(t) : (o.el === void 0 && (o.el = q.createElement(It(o.h, o.h[0]), this.options)), o);
|
|
410
410
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
|
-
const s = new
|
|
412
|
+
const s = new Zt(i, this), c = s.u(this.options);
|
|
413
413
|
s.p(e), this.T(c), this._$AH = s;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
_$AC(t) {
|
|
417
|
-
let e =
|
|
418
|
-
return e === void 0 &&
|
|
417
|
+
let e = St.get(t.strings);
|
|
418
|
+
return e === void 0 && St.set(t.strings, e = new q(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
gt(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const e = this._$AH;
|
|
423
423
|
let o, i = 0;
|
|
424
424
|
for (const r of t) i === e.length ? e.push(o = new G(this.O(F()), this.O(F()), this, this.options)) : o = e[i], o._$AI(r), i++;
|
|
@@ -452,8 +452,8 @@ class Y {
|
|
|
452
452
|
if (r === void 0) t = D(this, t, e, 0), s = !Z(t) || t !== this._$AH && t !== z, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const c = t;
|
|
455
|
-
let l,
|
|
456
|
-
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
455
|
+
let l, g;
|
|
456
|
+
for (t = r[0], l = 0; l < r.length - 1; l++) g = D(this, c[o + l], e, l), g === z && (g = this._$AH[l]), s || (s = !Z(g) || g !== this._$AH[l]), g === d ? t = d : t !== d && (t += (g ?? "") + r[l + 1]), this._$AH[l] = g;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class Y {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class qt extends Y {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class Zt extends Y {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class Wt extends Y {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,7 +477,7 @@ class qt extends Y {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class
|
|
480
|
+
class Gt extends Y {
|
|
481
481
|
constructor(t, e, o, i, r) {
|
|
482
482
|
super(t, e, o, i, r), this.type = 5;
|
|
483
483
|
}
|
|
@@ -491,7 +491,7 @@ class Wt extends Y {
|
|
|
491
491
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
class
|
|
494
|
+
class Kt {
|
|
495
495
|
constructor(t, e, o) {
|
|
496
496
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = o;
|
|
497
497
|
}
|
|
@@ -504,7 +504,7 @@ class Gt {
|
|
|
504
504
|
}
|
|
505
505
|
const st = V.litHtmlPolyfillSupport;
|
|
506
506
|
st == null || st(q, G), (V.litHtmlVersions ?? (V.litHtmlVersions = [])).push("3.3.0");
|
|
507
|
-
const
|
|
507
|
+
const Xt = (n, t, e) => {
|
|
508
508
|
const o = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
509
509
|
let i = o._$litPart$;
|
|
510
510
|
if (i === void 0) {
|
|
@@ -518,7 +518,7 @@ const Kt = (n, t, e) => {
|
|
|
518
518
|
* Copyright 2017 Google LLC
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
|
-
const
|
|
521
|
+
const B = globalThis;
|
|
522
522
|
let m = class extends T {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -530,7 +530,7 @@ let m = class extends T {
|
|
|
530
530
|
}
|
|
531
531
|
update(t) {
|
|
532
532
|
const e = this.render();
|
|
533
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
533
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Xt(e, this.renderRoot, this.renderOptions);
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
536
|
var t;
|
|
@@ -544,17 +544,17 @@ let m = class extends T {
|
|
|
544
544
|
return z;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
m._$litElement$ = !0, m.finalized = !0, (
|
|
549
|
-
const rt =
|
|
547
|
+
var Et;
|
|
548
|
+
m._$litElement$ = !0, m.finalized = !0, (Et = B.litElementHydrateSupport) == null || Et.call(B, { LitElement: m });
|
|
549
|
+
const rt = B.litElementPolyfillSupport;
|
|
550
550
|
rt == null || rt({ LitElement: m });
|
|
551
|
-
(
|
|
551
|
+
(B.litElementVersions ?? (B.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
555
555
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
556
556
|
*/
|
|
557
|
-
const
|
|
557
|
+
const L = (n) => (t, e) => {
|
|
558
558
|
e !== void 0 ? e.addInitializer(() => {
|
|
559
559
|
customElements.define(n, t);
|
|
560
560
|
}) : customElements.define(n, t);
|
|
@@ -564,7 +564,7 @@ const O = (n) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const
|
|
567
|
+
const Jt = { attribute: !0, type: String, converter: J, reflect: !1, hasChanged: ut }, Qt = (n = Jt, t, e) => {
|
|
568
568
|
const { kind: o, metadata: i } = e;
|
|
569
569
|
let r = globalThis.litPropertyMetadata.get(i);
|
|
570
570
|
if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), o === "setter" && ((n = Object.create(n)).wrapped = !0), r.set(e.name, n), o === "accessor") {
|
|
@@ -586,7 +586,7 @@ const Xt = { attribute: !0, type: String, converter: J, reflect: !1, hasChanged:
|
|
|
586
586
|
throw Error("Unsupported decorator location: " + o);
|
|
587
587
|
};
|
|
588
588
|
function a(n) {
|
|
589
|
-
return (t, e) => typeof e == "object" ?
|
|
589
|
+
return (t, e) => typeof e == "object" ? Qt(n, t, e) : ((o, i, r) => {
|
|
590
590
|
const s = i.hasOwnProperty(r);
|
|
591
591
|
return i.constructor.createProperty(r, o), s ? Object.getOwnPropertyDescriptor(i, r) : void 0;
|
|
592
592
|
})(n, t, e);
|
|
@@ -596,15 +596,15 @@ function a(n) {
|
|
|
596
596
|
* Copyright 2017 Google LLC
|
|
597
597
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
598
598
|
*/
|
|
599
|
-
function
|
|
599
|
+
function Yt(n) {
|
|
600
600
|
return a({ ...n, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const te = $`
|
|
603
603
|
outline: 1px dashed var(--button-border-color);
|
|
604
604
|
outline-offset: 2px;
|
|
605
605
|
outline: dashed black;
|
|
606
606
|
`;
|
|
607
|
-
|
|
607
|
+
$`
|
|
608
608
|
:host * {
|
|
609
609
|
box-sizing: border-box;
|
|
610
610
|
}
|
|
@@ -614,11 +614,11 @@ A`
|
|
|
614
614
|
* Copyright 2023 Google LLC
|
|
615
615
|
* SPDX-License-Identifier: Apache-2.0
|
|
616
616
|
*/
|
|
617
|
-
const
|
|
618
|
-
function
|
|
617
|
+
const vt = Symbol("internals"), at = Symbol("privateInternals");
|
|
618
|
+
function ee(n) {
|
|
619
619
|
var t;
|
|
620
620
|
class e extends n {
|
|
621
|
-
get [(t =
|
|
621
|
+
get [(t = vt, t)]() {
|
|
622
622
|
return this[at] || (this[at] = this.attachInternals()), this[at];
|
|
623
623
|
}
|
|
624
624
|
}
|
|
@@ -629,11 +629,11 @@ function te(n) {
|
|
|
629
629
|
* Copyright 2023 Google LLC
|
|
630
630
|
* SPDX-License-Identifier: Apache-2.0
|
|
631
631
|
*/
|
|
632
|
-
function
|
|
632
|
+
function ne(n) {
|
|
633
633
|
n.addInitializer((t) => {
|
|
634
634
|
const e = t;
|
|
635
635
|
e.addEventListener("click", async (o) => {
|
|
636
|
-
const { type: i, [
|
|
636
|
+
const { type: i, [vt]: r } = e, { form: s } = r;
|
|
637
637
|
if (!(!s || i === "button") && (await new Promise((c) => {
|
|
638
638
|
setTimeout(c);
|
|
639
639
|
}), !o.defaultPrevented)) {
|
|
@@ -656,41 +656,41 @@ function ee(n) {
|
|
|
656
656
|
});
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
|
-
const
|
|
659
|
+
const oe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
660
660
|
<path d="M8 3.6275C7.06799 0.971489 3.25399 -0.0226278 1.67414 2.30983C0.0877404 4.65197 1.67414 6.99412 2.62598 8.33249C3.0147 8.87905 8 14 8 14C8 14 12.9853 8.87905 13.374 8.33249C14.3259 6.99412 15.9123 4.65197 14.3259 2.30983C12.746 -0.0226277 8.97167 0.971489 8 3.6275Z" stroke="#3F2B2E" stroke-linecap="round"/>
|
|
661
661
|
</svg>
|
|
662
|
-
`,
|
|
662
|
+
`, ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
663
663
|
<path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
|
|
664
664
|
</svg>
|
|
665
|
-
`,
|
|
665
|
+
`, se = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
666
666
|
<path d="M12.2266 8.16162C11.0953 9.26599 8.72489 11.8788 5.11546 16L4.63062 15.7172C5.78886 13.4007 7.17607 10.8283 8.79223 8C7.17607 5.17172 5.78886 2.59933 4.63062 0.282827L5.11546 0C8.72489 4.12121 11.0953 6.73401 12.2266 7.83838V8.16162Z" fill="#3F2B2E"/>
|
|
667
667
|
</svg>
|
|
668
|
-
`,
|
|
668
|
+
`, re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
669
669
|
<path d="M5 7.83838C6.02128 6.73401 8.16109 4.12121 11.4195 0L11.8571 0.282829C10.8116 2.59933 9.55927 5.17172 8.1003 8C9.55927 10.8283 10.8115 13.4007 11.8571 15.7172L11.4195 16C8.16109 11.8788 6.02128 9.266 5 8.16162L5 7.83838Z" fill="#3F2B2E"/>
|
|
670
670
|
</svg>
|
|
671
|
-
`,
|
|
671
|
+
`, ae = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
672
672
|
<path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834ZM7.98873 10.328L10.6602 12.2353L9.64573 9.15787L12.2721 7.28568H9.02576L8 4.17317L6.97424 7.28568H3.72786L6.35427 9.15787L5.33977 12.2353L8.01127 10.328H7.98873Z" fill="#3F2B2E"/>
|
|
673
673
|
</svg>
|
|
674
|
-
`,
|
|
674
|
+
`, le = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
675
675
|
<path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM6.36554 11.5396V7.32718H6.97424L8 4.21467L9.02576 7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L8 10.3812L6.36554 11.5513V11.5396Z" fill="#3F2B2E"/>
|
|
676
676
|
</svg>
|
|
677
|
-
`,
|
|
677
|
+
`, ce = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
678
678
|
<path d="M15 6.39639H9.63446L8 1.4585L6.36554 6.39639H1L5.33977 9.4972L3.69404 14.4585L7.98873 11.3928L12.2834 14.4585L10.6377 9.4972L14.9775 6.39639H15ZM10.6715 12.2353L8.05636 10.3631V4.32528L9.03704 7.27398H12.2834L9.65701 9.14616L10.6715 12.2236V12.2353Z" fill="#3F2B2E"/>
|
|
679
679
|
</svg>
|
|
680
|
-
`,
|
|
680
|
+
`, he = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
681
681
|
<path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L9.46538 12.4874L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM9.46538 11.4226V7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L9.46538 11.4226Z" fill="#3F2B2E"/>
|
|
682
682
|
</svg>
|
|
683
|
-
`,
|
|
683
|
+
`, de = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
684
684
|
<path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834Z" fill="#3F2B2E"/>
|
|
685
685
|
</svg>
|
|
686
|
-
`,
|
|
686
|
+
`, pe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
687
687
|
<path d="M2 2L14 14" stroke="#3F2B2E"/>
|
|
688
688
|
<path d="M14 2L2 14" stroke="#3F2B2E"/>
|
|
689
689
|
</svg>
|
|
690
|
-
`,
|
|
690
|
+
`, ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
691
691
|
<path d="M7.12506 1C10.5018 1 13.2509 3.74834 13.251 7.125C13.2511 8.59738 12.7172 10.0206 11.7491 11.1299L14.8731 14.2539C15.0433 14.4253 15.0435 14.7018 14.8731 14.873C14.7913 14.9555 14.6797 15.002 14.5635 15.002C14.4475 15.0019 14.3357 14.9554 14.254 14.873L11.1309 11.749C10.0555 12.6818 8.6564 13.251 7.12506 13.251C3.7484 13.2508 1.00006 10.5017 1.00006 7.125C1.00025 3.74846 3.74852 1.00019 7.12506 1ZM7.12506 1.875C4.22971 1.87522 1.87506 4.23058 1.87506 7.12598C1.87532 10.0212 4.22987 12.3758 7.12506 12.376C10.0204 12.376 12.3758 10.0213 12.376 7.12598C12.376 4.23044 10.0206 1.875 7.12506 1.875Z" fill="#3F2B2E"/>
|
|
692
692
|
</svg>
|
|
693
|
-
`,
|
|
693
|
+
`, ge = `<?xml version="1.0" encoding="utf-8"?>
|
|
694
694
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
695
695
|
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
696
696
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -700,7 +700,7 @@ const ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
700
700
|
<path class="st0" d="M40,20c0,0.7-0.6,1.2-1.2,1.2H21.2v17.5c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2V21.2H1.2C0.6,21.2,0,20.7,0,20
|
|
701
701
|
s0.6-1.2,1.2-1.2h17.5V1.2C18.8,0.6,19.3,0,20,0s1.2,0.6,1.2,1.2v17.5h17.5C39.4,18.8,40,19.3,40,20z"/>
|
|
702
702
|
</svg>
|
|
703
|
-
`,
|
|
703
|
+
`, ve = `<?xml version="1.0" encoding="utf-8"?>
|
|
704
704
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
705
705
|
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
706
706
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -709,32 +709,32 @@ const ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
709
709
|
</style>
|
|
710
710
|
<path class="st0" d="M38.8,20.5H1.2c-0.7,0-1.2-0.6-1.2-1.2S0.6,18,1.2,18h37.5c0.7,0,1.2,0.6,1.2,1.2S39.4,20.5,38.8,20.5z"/>
|
|
711
711
|
</svg>
|
|
712
|
-
`,
|
|
712
|
+
`, fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
713
713
|
<path d="M15.0009 8.12175C15.0009 8.36347 14.805 8.55943 14.5634 8.55943H2.49495L7.43502 13.5017C7.60609 13.6726 7.60628 13.9499 7.43546 14.1211C7.26464 14.2922 6.98749 14.2924 6.81642 14.1215L1.13 8.43163C1.04685 8.34998 1 8.23831 1 8.12175C1 8.00518 1.04685 7.89351 1.13 7.81187L6.81642 2.12286C6.98808 1.95699 7.26094 1.95937 7.4297 2.12819C7.59845 2.29702 7.60082 2.57001 7.43502 2.74175L2.49495 7.68406H14.5634C14.805 7.68406 15.0009 7.88002 15.0009 8.12175Z" fill="#3F2B2E"/>
|
|
714
714
|
</svg>
|
|
715
715
|
`, tt = {
|
|
716
|
-
wishlist:
|
|
717
|
-
playerv:
|
|
718
|
-
chevronRight:
|
|
719
|
-
chevronLeft:
|
|
720
|
-
icoPlus:
|
|
721
|
-
icoMinus:
|
|
722
|
-
"star-0":
|
|
723
|
-
"star-25":
|
|
724
|
-
"star-50":
|
|
725
|
-
"star-75":
|
|
726
|
-
"star-100":
|
|
727
|
-
cross:
|
|
728
|
-
search:
|
|
729
|
-
arrowLeft:
|
|
716
|
+
wishlist: oe,
|
|
717
|
+
playerv: ie,
|
|
718
|
+
chevronRight: se,
|
|
719
|
+
chevronLeft: re,
|
|
720
|
+
icoPlus: ge,
|
|
721
|
+
icoMinus: ve,
|
|
722
|
+
"star-0": ae,
|
|
723
|
+
"star-25": le,
|
|
724
|
+
"star-50": ce,
|
|
725
|
+
"star-75": he,
|
|
726
|
+
"star-100": de,
|
|
727
|
+
cross: pe,
|
|
728
|
+
search: ue,
|
|
729
|
+
arrowLeft: fe
|
|
730
730
|
};
|
|
731
731
|
/**
|
|
732
732
|
* @license
|
|
733
733
|
* Copyright 2017 Google LLC
|
|
734
734
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
735
735
|
*/
|
|
736
|
-
const be = { CHILD: 2 },
|
|
737
|
-
class
|
|
736
|
+
const be = { CHILD: 2 }, ye = (n) => (...t) => ({ _$litDirective$: n, values: t });
|
|
737
|
+
class me {
|
|
738
738
|
constructor(t) {
|
|
739
739
|
}
|
|
740
740
|
get _$AU() {
|
|
@@ -755,7 +755,7 @@ class ye {
|
|
|
755
755
|
* Copyright 2017 Google LLC
|
|
756
756
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
757
757
|
*/
|
|
758
|
-
class lt extends
|
|
758
|
+
class lt extends me {
|
|
759
759
|
constructor(t) {
|
|
760
760
|
if (super(t), this.it = d, t.type !== be.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
761
761
|
}
|
|
@@ -778,14 +778,14 @@ lt.directiveName = "unsafeHTML", lt.resultType = 1;
|
|
|
778
778
|
class ct extends lt {
|
|
779
779
|
}
|
|
780
780
|
ct.directiveName = "unsafeSVG", ct.resultType = 2;
|
|
781
|
-
const W =
|
|
782
|
-
var
|
|
783
|
-
for (var i = o > 1 ? void 0 : o ?
|
|
781
|
+
const W = ye(ct);
|
|
782
|
+
var we = Object.defineProperty, $e = Object.getOwnPropertyDescriptor, y = (n, t, e, o) => {
|
|
783
|
+
for (var i = o > 1 ? void 0 : o ? $e(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
784
784
|
(s = n[r]) && (i = (o ? s(t, e, i) : s(i)) || i);
|
|
785
|
-
return o && i &&
|
|
785
|
+
return o && i && we(t, e, i), i;
|
|
786
786
|
};
|
|
787
|
-
const
|
|
788
|
-
let u = class extends
|
|
787
|
+
const xe = ee(m);
|
|
788
|
+
let u = class extends xe {
|
|
789
789
|
constructor() {
|
|
790
790
|
super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "search", this.endIconModel = "chevronRight", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "";
|
|
791
791
|
}
|
|
@@ -796,7 +796,7 @@ let u = class extends $e {
|
|
|
796
796
|
this.setAttribute("name", n);
|
|
797
797
|
}
|
|
798
798
|
get form() {
|
|
799
|
-
return this[
|
|
799
|
+
return this[vt].form;
|
|
800
800
|
}
|
|
801
801
|
handleClick() {
|
|
802
802
|
if (this.panelTarget) {
|
|
@@ -848,9 +848,9 @@ let u = class extends $e {
|
|
|
848
848
|
`;
|
|
849
849
|
}
|
|
850
850
|
};
|
|
851
|
-
|
|
851
|
+
ne(u);
|
|
852
852
|
u.formAssociated = !0;
|
|
853
|
-
u.styles =
|
|
853
|
+
u.styles = $`
|
|
854
854
|
:host {
|
|
855
855
|
--button-border: transparent;
|
|
856
856
|
cursor: pointer;
|
|
@@ -962,7 +962,7 @@ u.styles = A`
|
|
|
962
962
|
}
|
|
963
963
|
|
|
964
964
|
.button:focus-visible {
|
|
965
|
-
${
|
|
965
|
+
${te};
|
|
966
966
|
}
|
|
967
967
|
|
|
968
968
|
span.text + span.text::before {
|
|
@@ -1051,12 +1051,12 @@ y([
|
|
|
1051
1051
|
a({ type: String })
|
|
1052
1052
|
], u.prototype, "target", 2);
|
|
1053
1053
|
u = y([
|
|
1054
|
-
|
|
1054
|
+
L("o-button")
|
|
1055
1055
|
], u);
|
|
1056
|
-
var
|
|
1057
|
-
for (var i = o > 1 ? void 0 : o ?
|
|
1056
|
+
var _e = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, et = (n, t, e, o) => {
|
|
1057
|
+
for (var i = o > 1 ? void 0 : o ? Ae(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1058
1058
|
(s = n[r]) && (i = (o ? s(t, e, i) : s(i)) || i);
|
|
1059
|
-
return o && i &&
|
|
1059
|
+
return o && i && _e(t, e, i), i;
|
|
1060
1060
|
};
|
|
1061
1061
|
let U = class extends m {
|
|
1062
1062
|
constructor() {
|
|
@@ -1099,7 +1099,7 @@ let U = class extends m {
|
|
|
1099
1099
|
this.label = n, this.requestUpdate();
|
|
1100
1100
|
}
|
|
1101
1101
|
};
|
|
1102
|
-
U.styles =
|
|
1102
|
+
U.styles = $`
|
|
1103
1103
|
:host {
|
|
1104
1104
|
display: inline-flex;
|
|
1105
1105
|
justify-content: center;
|
|
@@ -1169,12 +1169,12 @@ et([
|
|
|
1169
1169
|
a({ type: String, reflect: !0 })
|
|
1170
1170
|
], U.prototype, "label", 2);
|
|
1171
1171
|
U = et([
|
|
1172
|
-
|
|
1172
|
+
L("o-wishlist-button")
|
|
1173
1173
|
], U);
|
|
1174
|
-
var
|
|
1175
|
-
for (var i = o > 1 ? void 0 : o ?
|
|
1174
|
+
var Se = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, P = (n, t, e, o) => {
|
|
1175
|
+
for (var i = o > 1 ? void 0 : o ? Ee(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1176
1176
|
(s = n[r]) && (i = (o ? s(t, e, i) : s(i)) || i);
|
|
1177
|
-
return o && i &&
|
|
1177
|
+
return o && i && Se(t, e, i), i;
|
|
1178
1178
|
};
|
|
1179
1179
|
let w = class extends m {
|
|
1180
1180
|
constructor() {
|
|
@@ -1206,7 +1206,7 @@ let w = class extends m {
|
|
|
1206
1206
|
`;
|
|
1207
1207
|
}
|
|
1208
1208
|
};
|
|
1209
|
-
w.styles =
|
|
1209
|
+
w.styles = $`
|
|
1210
1210
|
:host {
|
|
1211
1211
|
display: inline-flex;
|
|
1212
1212
|
justify-content: center;
|
|
@@ -1406,36 +1406,36 @@ w.styles = A`
|
|
|
1406
1406
|
|
|
1407
1407
|
}
|
|
1408
1408
|
`;
|
|
1409
|
-
|
|
1409
|
+
P([
|
|
1410
1410
|
a({ type: String, reflect: !0 })
|
|
1411
1411
|
], w.prototype, "bgstyle", 2);
|
|
1412
|
-
|
|
1412
|
+
P([
|
|
1413
1413
|
a({ type: String, reflect: !0 })
|
|
1414
1414
|
], w.prototype, "size", 2);
|
|
1415
|
-
|
|
1415
|
+
P([
|
|
1416
1416
|
a({ type: String, reflect: !0 })
|
|
1417
1417
|
], w.prototype, "status", 2);
|
|
1418
|
-
|
|
1418
|
+
P([
|
|
1419
1419
|
a({ type: String, reflect: !0 })
|
|
1420
1420
|
], w.prototype, "type", 2);
|
|
1421
|
-
|
|
1421
|
+
P([
|
|
1422
1422
|
a({ type: String })
|
|
1423
1423
|
], w.prototype, "strokewidth", 2);
|
|
1424
|
-
|
|
1424
|
+
P([
|
|
1425
1425
|
a({ type: String })
|
|
1426
1426
|
], w.prototype, "icon", 2);
|
|
1427
|
-
|
|
1427
|
+
P([
|
|
1428
1428
|
a({ type: Boolean, reflect: !0 })
|
|
1429
1429
|
], w.prototype, "disabled", 2);
|
|
1430
|
-
w =
|
|
1431
|
-
|
|
1430
|
+
w = P([
|
|
1431
|
+
L("o-icon-button")
|
|
1432
1432
|
], w);
|
|
1433
|
-
var
|
|
1434
|
-
for (var i = o > 1 ? void 0 : o ?
|
|
1433
|
+
var Ce = Object.defineProperty, Le = Object.getOwnPropertyDescriptor, H = (n, t, e, o) => {
|
|
1434
|
+
for (var i = o > 1 ? void 0 : o ? Le(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1435
1435
|
(s = n[r]) && (i = (o ? s(t, e, i) : s(i)) || i);
|
|
1436
|
-
return o && i &&
|
|
1436
|
+
return o && i && Ce(t, e, i), i;
|
|
1437
1437
|
};
|
|
1438
|
-
let
|
|
1438
|
+
let _ = class extends m {
|
|
1439
1439
|
constructor() {
|
|
1440
1440
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
1441
1441
|
}
|
|
@@ -1465,7 +1465,7 @@ let x = class extends m {
|
|
|
1465
1465
|
`;
|
|
1466
1466
|
}
|
|
1467
1467
|
};
|
|
1468
|
-
|
|
1468
|
+
_.styles = $`
|
|
1469
1469
|
:host([template="standard"]) a {
|
|
1470
1470
|
color: var(--color-content-action-secondary);
|
|
1471
1471
|
font-size: var(--font-size-200);
|
|
@@ -1555,29 +1555,29 @@ x.styles = A`
|
|
|
1555
1555
|
`;
|
|
1556
1556
|
H([
|
|
1557
1557
|
a({ type: String })
|
|
1558
|
-
],
|
|
1558
|
+
], _.prototype, "href", 2);
|
|
1559
1559
|
H([
|
|
1560
1560
|
a({ type: String })
|
|
1561
|
-
],
|
|
1561
|
+
], _.prototype, "target", 2);
|
|
1562
1562
|
H([
|
|
1563
1563
|
a({ type: String, reflect: !0 })
|
|
1564
|
-
],
|
|
1564
|
+
], _.prototype, "template", 2);
|
|
1565
1565
|
H([
|
|
1566
1566
|
a({ type: Boolean, reflect: !0 })
|
|
1567
|
-
],
|
|
1567
|
+
], _.prototype, "inverse", 2);
|
|
1568
1568
|
H([
|
|
1569
1569
|
a({ type: Boolean, reflect: !0 })
|
|
1570
|
-
],
|
|
1570
|
+
], _.prototype, "endIcon", 2);
|
|
1571
1571
|
H([
|
|
1572
1572
|
a({ type: Boolean, reflect: !0 })
|
|
1573
|
-
],
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
],
|
|
1577
|
-
var
|
|
1573
|
+
], _.prototype, "reverseEndIcon", 2);
|
|
1574
|
+
_ = H([
|
|
1575
|
+
L("o-link")
|
|
1576
|
+
], _);
|
|
1577
|
+
var Pe = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, nt = (n, t, e, o) => {
|
|
1578
1578
|
for (var i = o > 1 ? void 0 : o ? ke(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1579
1579
|
(s = n[r]) && (i = (o ? s(t, e, i) : s(i)) || i);
|
|
1580
|
-
return o && i &&
|
|
1580
|
+
return o && i && Pe(t, e, i), i;
|
|
1581
1581
|
};
|
|
1582
1582
|
let N = class extends m {
|
|
1583
1583
|
constructor() {
|
|
@@ -1606,7 +1606,7 @@ let N = class extends m {
|
|
|
1606
1606
|
`;
|
|
1607
1607
|
}
|
|
1608
1608
|
};
|
|
1609
|
-
N.styles =
|
|
1609
|
+
N.styles = $`
|
|
1610
1610
|
svg {
|
|
1611
1611
|
width: 12px;
|
|
1612
1612
|
height: 12px;
|
|
@@ -1650,12 +1650,12 @@ nt([
|
|
|
1650
1650
|
a({ type: String })
|
|
1651
1651
|
], N.prototype, "href", 2);
|
|
1652
1652
|
N = nt([
|
|
1653
|
-
|
|
1653
|
+
L("o-rating")
|
|
1654
1654
|
], N);
|
|
1655
|
-
var
|
|
1656
|
-
for (var i = o > 1 ? void 0 : o ?
|
|
1655
|
+
var Ie = Object.defineProperty, Be = Object.getOwnPropertyDescriptor, b = (n, t, e, o) => {
|
|
1656
|
+
for (var i = o > 1 ? void 0 : o ? Be(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1657
1657
|
(s = n[r]) && (i = (o ? s(t, e, i) : s(i)) || i);
|
|
1658
|
-
return o && i &&
|
|
1658
|
+
return o && i && Ie(t, e, i), i;
|
|
1659
1659
|
};
|
|
1660
1660
|
let v = class extends m {
|
|
1661
1661
|
constructor() {
|
|
@@ -1756,7 +1756,7 @@ let v = class extends m {
|
|
|
1756
1756
|
`;
|
|
1757
1757
|
}
|
|
1758
1758
|
};
|
|
1759
|
-
v.styles =
|
|
1759
|
+
v.styles = $`
|
|
1760
1760
|
:host {
|
|
1761
1761
|
--z-overlay: 99;
|
|
1762
1762
|
--z-panel: 100;
|
|
@@ -1896,60 +1896,60 @@ v.styles = A`
|
|
|
1896
1896
|
justify-content: flex-start;
|
|
1897
1897
|
}
|
|
1898
1898
|
`;
|
|
1899
|
-
|
|
1899
|
+
b([
|
|
1900
1900
|
a({ type: Boolean, reflect: !0 })
|
|
1901
1901
|
], v.prototype, "open", 2);
|
|
1902
|
-
|
|
1902
|
+
b([
|
|
1903
1903
|
a({ type: Boolean, reflect: !0 })
|
|
1904
1904
|
], v.prototype, "showHeader", 2);
|
|
1905
|
-
|
|
1905
|
+
b([
|
|
1906
1906
|
a({ type: Boolean, reflect: !0 })
|
|
1907
1907
|
], v.prototype, "showFooter", 2);
|
|
1908
|
-
|
|
1908
|
+
b([
|
|
1909
1909
|
a({ type: Boolean, reflect: !0 })
|
|
1910
1910
|
], v.prototype, "showHeaderStartIcon", 2);
|
|
1911
|
-
|
|
1911
|
+
b([
|
|
1912
1912
|
a({ type: String, reflect: !0 })
|
|
1913
1913
|
], v.prototype, "headerTitle", 2);
|
|
1914
|
-
|
|
1914
|
+
b([
|
|
1915
1915
|
a({ type: String, reflect: !0 })
|
|
1916
1916
|
], v.prototype, "closeButtonLabel", 2);
|
|
1917
|
-
|
|
1917
|
+
b([
|
|
1918
1918
|
a({ type: String, reflect: !0 })
|
|
1919
1919
|
], v.prototype, "firstButtonLabel", 2);
|
|
1920
|
-
|
|
1920
|
+
b([
|
|
1921
1921
|
a({ type: String, reflect: !0 })
|
|
1922
1922
|
], v.prototype, "firstButtonVariant", 2);
|
|
1923
|
-
|
|
1923
|
+
b([
|
|
1924
1924
|
a({ type: Function })
|
|
1925
1925
|
], v.prototype, "onFirstButtonClick", 2);
|
|
1926
|
-
|
|
1926
|
+
b([
|
|
1927
1927
|
a({ type: String, reflect: !0 })
|
|
1928
1928
|
], v.prototype, "secondaryButtonLabel", 2);
|
|
1929
|
-
|
|
1929
|
+
b([
|
|
1930
1930
|
a({ type: String, reflect: !0 })
|
|
1931
1931
|
], v.prototype, "secondaryButtonVariant", 2);
|
|
1932
|
-
|
|
1932
|
+
b([
|
|
1933
1933
|
a({ type: Function })
|
|
1934
1934
|
], v.prototype, "onSecondaryButtonClick", 2);
|
|
1935
|
-
|
|
1935
|
+
b([
|
|
1936
1936
|
a({ type: Boolean, reflect: !0 })
|
|
1937
1937
|
], v.prototype, "disablePortal", 2);
|
|
1938
|
-
|
|
1938
|
+
b([
|
|
1939
1939
|
a({ type: Number, reflect: !0 })
|
|
1940
1940
|
], v.prototype, "zIndex", 2);
|
|
1941
|
-
|
|
1941
|
+
b([
|
|
1942
1942
|
a({ type: Boolean, reflect: !0 })
|
|
1943
1943
|
], v.prototype, "initialized", 2);
|
|
1944
|
-
v =
|
|
1945
|
-
|
|
1944
|
+
v = b([
|
|
1945
|
+
L("o-side-panel")
|
|
1946
1946
|
], v);
|
|
1947
|
-
var
|
|
1947
|
+
var Oe = Object.defineProperty, ze = Object.getOwnPropertyDescriptor, M = (n, t, e, o) => {
|
|
1948
1948
|
for (var i = o > 1 ? void 0 : o ? ze(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1949
1949
|
(s = n[r]) && (i = (o ? s(t, e, i) : s(i)) || i);
|
|
1950
|
-
return o && i &&
|
|
1950
|
+
return o && i && Oe(t, e, i), i;
|
|
1951
1951
|
};
|
|
1952
|
-
let
|
|
1952
|
+
let A = class extends m {
|
|
1953
1953
|
constructor() {
|
|
1954
1954
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.focusedIndex = 0, this.playerIconTemplate = h`
|
|
1955
1955
|
<o-icon-button
|
|
@@ -2010,7 +2010,7 @@ let _ = class extends m {
|
|
|
2010
2010
|
`;
|
|
2011
2011
|
}
|
|
2012
2012
|
};
|
|
2013
|
-
|
|
2013
|
+
A.styles = $`
|
|
2014
2014
|
:host {
|
|
2015
2015
|
display: flex;
|
|
2016
2016
|
gap: 5px;
|
|
@@ -2116,22 +2116,51 @@ _.styles = A`
|
|
|
2116
2116
|
`;
|
|
2117
2117
|
M([
|
|
2118
2118
|
a({ type: Array })
|
|
2119
|
-
],
|
|
2119
|
+
], A.prototype, "thumbnails", 2);
|
|
2120
2120
|
M([
|
|
2121
2121
|
a({ type: Number })
|
|
2122
|
-
],
|
|
2122
|
+
], A.prototype, "activeIndex", 2);
|
|
2123
2123
|
M([
|
|
2124
2124
|
a({ type: Array })
|
|
2125
|
-
],
|
|
2125
|
+
], A.prototype, "disabledIndexes", 2);
|
|
2126
2126
|
M([
|
|
2127
2127
|
a({ type: String })
|
|
2128
|
-
],
|
|
2128
|
+
], A.prototype, "maxWidth", 2);
|
|
2129
2129
|
M([
|
|
2130
2130
|
a({ type: Object })
|
|
2131
|
-
],
|
|
2131
|
+
], A.prototype, "swiperInstance", 2);
|
|
2132
2132
|
M([
|
|
2133
|
-
|
|
2134
|
-
],
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
],
|
|
2133
|
+
Yt()
|
|
2134
|
+
], A.prototype, "focusedIndex", 2);
|
|
2135
|
+
A = M([
|
|
2136
|
+
L("thumbnail-navigation")
|
|
2137
|
+
], A);
|
|
2138
|
+
var He = Object.getOwnPropertyDescriptor, Me = (n, t, e, o) => {
|
|
2139
|
+
for (var i = o > 1 ? void 0 : o ? He(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
2140
|
+
(s = n[r]) && (i = s(i) || i);
|
|
2141
|
+
return i;
|
|
2142
|
+
};
|
|
2143
|
+
let ht = class extends m {
|
|
2144
|
+
render() {
|
|
2145
|
+
return h`
|
|
2146
|
+
<span class="tag"><slot></slot></span>
|
|
2147
|
+
`;
|
|
2148
|
+
}
|
|
2149
|
+
};
|
|
2150
|
+
ht.styles = $`
|
|
2151
|
+
.tag {
|
|
2152
|
+
display: inline-block;
|
|
2153
|
+
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
2154
|
+
background-color: var(--color-container-white);
|
|
2155
|
+
color: var(--color-content-body);
|
|
2156
|
+
font-size: var(--font-size-100);
|
|
2157
|
+
font-weight: var(--font-weight-400);
|
|
2158
|
+
line-height: var(--line-height-160);
|
|
2159
|
+
border-radius: var(--radius-s);
|
|
2160
|
+
font-family: var(--font-family-loccitane-sans);
|
|
2161
|
+
letter-spacing: var(--letter-spacing-400);
|
|
2162
|
+
}
|
|
2163
|
+
`;
|
|
2164
|
+
ht = Me([
|
|
2165
|
+
L("o-product-tag")
|
|
2166
|
+
], ht);
|