@florid-kit/components 0.9.22 → 0.9.24
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/components/arch-image.d.ts +15 -0
- package/index.js +152 -105
- package/index.mjs +594 -515
- package/package.json +1 -1
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
|
|
7
|
-
let
|
|
6
|
+
const kt = globalThis, Ut = kt.ShadowRoot && (kt.ShadyCSS === void 0 || kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Nt = Symbol(), ie = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let fe = class {
|
|
8
8
|
constructor(t, e, r) {
|
|
9
|
-
if (this._$cssResult$ = !0, r !==
|
|
9
|
+
if (this._$cssResult$ = !0, r !== Nt) 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 (Ut && t === void 0) {
|
|
16
16
|
const r = e !== void 0 && e.length === 1;
|
|
17
|
-
r && (t =
|
|
17
|
+
r && (t = ie.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && ie.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let ue = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const _e = (o) => new fe(typeof o == "string" ? o : o + "", void 0, Nt), v = (o, ...t) => {
|
|
26
26
|
const e = o.length === 1 ? o[0] : t.reduce((r, i, n) => r + ((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) + o[n + 1], o[0]);
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (
|
|
31
|
+
return new fe(e, o, Nt);
|
|
32
|
+
}, Ce = (o, t) => {
|
|
33
|
+
if (Ut) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
34
34
|
else for (const e of t) {
|
|
35
|
-
const r = document.createElement("style"), i =
|
|
35
|
+
const r = document.createElement("style"), i = kt.litNonce;
|
|
36
36
|
i !== void 0 && r.setAttribute("nonce", i), r.textContent = e.cssText, o.appendChild(r);
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, re = Ut ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
39
39
|
let e = "";
|
|
40
40
|
for (const r of t.cssRules) e += r.cssText;
|
|
41
|
-
return
|
|
41
|
+
return _e(e);
|
|
42
42
|
})(o) : o;
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is:
|
|
48
|
+
const { is: ke, defineProperty: Se, getOwnPropertyDescriptor: Ae, getOwnPropertyNames: Ee, getOwnPropertySymbols: Le, getPrototypeOf: Pe } = Object, W = globalThis, ne = W.trustedTypes, Oe = ne ? ne.emptyScript : "", It = W.reactiveElementPolyfillSupport, ht = (o, t) => o, St = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
o = o ?
|
|
51
|
+
o = o ? Oe : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,44 +73,44 @@ const { is: Ce, defineProperty: _e, getOwnPropertyDescriptor: ke, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
76
|
+
} }, Ft = (o, t) => !ke(o, t), se = { attribute: !0, type: String, converter: St, reflect: !1, useDefault: !1, hasChanged: Ft };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), W.litPropertyMetadata ?? (W.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
|
-
let
|
|
78
|
+
let nt = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
81
81
|
}
|
|
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 = se) {
|
|
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 r = Symbol(), i = this.getPropertyDescriptor(t, r, e);
|
|
88
|
-
i !== void 0 &&
|
|
88
|
+
i !== void 0 && Se(this.prototype, t, i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(t, e, r) {
|
|
92
|
-
const { get: i, set: n } =
|
|
92
|
+
const { get: i, set: n } = Ae(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[e];
|
|
94
94
|
}, set(s) {
|
|
95
95
|
this[e] = s;
|
|
96
96
|
} };
|
|
97
97
|
return { get: i, set(s) {
|
|
98
|
-
const
|
|
99
|
-
n == null || n.call(this, s), this.requestUpdate(t,
|
|
98
|
+
const c = i == null ? void 0 : i.call(this);
|
|
99
|
+
n == null || n.call(this, s), this.requestUpdate(t, c, r);
|
|
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) ?? se;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
|
-
if (this.hasOwnProperty(
|
|
107
|
-
const t =
|
|
106
|
+
if (this.hasOwnProperty(ht("elementProperties"))) return;
|
|
107
|
+
const t = Pe(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
|
-
if (this.hasOwnProperty(
|
|
112
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
113
|
-
const e = this.properties, r = [...
|
|
111
|
+
if (this.hasOwnProperty(ht("finalized"))) return;
|
|
112
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ht("properties"))) {
|
|
113
|
+
const e = this.properties, r = [...Ee(e), ...Le(e)];
|
|
114
114
|
for (const i of r) this.createProperty(i, e[i]);
|
|
115
115
|
}
|
|
116
116
|
const t = this[Symbol.metadata];
|
|
@@ -129,8 +129,8 @@ let rt = class extends HTMLElement {
|
|
|
129
129
|
const e = [];
|
|
130
130
|
if (Array.isArray(t)) {
|
|
131
131
|
const r = new Set(t.flat(1 / 0).reverse());
|
|
132
|
-
for (const i of r) e.unshift(
|
|
133
|
-
} else t !== void 0 && e.push(
|
|
132
|
+
for (const i of r) e.unshift(re(i));
|
|
133
|
+
} else t !== void 0 && e.push(re(t));
|
|
134
134
|
return e;
|
|
135
135
|
}
|
|
136
136
|
static _$Eu(t, e) {
|
|
@@ -159,7 +159,7 @@ let rt = class extends HTMLElement {
|
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return Ce(t, this.constructor.elementStyles), t;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var t;
|
|
@@ -184,7 +184,7 @@ let rt = class extends HTMLElement {
|
|
|
184
184
|
var n;
|
|
185
185
|
const r = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, r);
|
|
186
186
|
if (i !== void 0 && r.reflect === !0) {
|
|
187
|
-
const s = (((n = r.converter) == null ? void 0 : n.toAttribute) !== void 0 ? r.converter :
|
|
187
|
+
const s = (((n = r.converter) == null ? void 0 : n.toAttribute) !== void 0 ? r.converter : St).toAttribute(e, r.type);
|
|
188
188
|
this._$Em = t, s == null ? this.removeAttribute(i) : this.setAttribute(i, s), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -192,15 +192,15 @@ let rt = class extends HTMLElement {
|
|
|
192
192
|
var n, s;
|
|
193
193
|
const r = this.constructor, i = r._$Eh.get(t);
|
|
194
194
|
if (i !== void 0 && this._$Em !== i) {
|
|
195
|
-
const
|
|
196
|
-
this._$Em = i, this[i] =
|
|
195
|
+
const c = r.getPropertyOptions(i), h = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((n = c.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? c.converter : St;
|
|
196
|
+
this._$Em = i, this[i] = h.fromAttribute(e, c.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(i)) ?? null, this._$Em = null;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
requestUpdate(t, e, r) {
|
|
200
200
|
var i;
|
|
201
201
|
if (t !== void 0) {
|
|
202
202
|
const n = this.constructor, s = this[t];
|
|
203
|
-
if (r ?? (r = n.getPropertyOptions(t)), !((r.hasChanged ??
|
|
203
|
+
if (r ?? (r = n.getPropertyOptions(t)), !((r.hasChanged ?? Ft)(s, e) || r.useDefault && r.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(n._$Eu(t, r)))) return;
|
|
204
204
|
this.C(t, e, r);
|
|
205
205
|
}
|
|
206
206
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -231,8 +231,8 @@ let rt = class extends HTMLElement {
|
|
|
231
231
|
}
|
|
232
232
|
const i = this.constructor.elementProperties;
|
|
233
233
|
if (i.size > 0) for (const [n, s] of i) {
|
|
234
|
-
const { wrapped:
|
|
235
|
-
|
|
234
|
+
const { wrapped: c } = s, h = this[n];
|
|
235
|
+
c !== !0 || this._$AL.has(n) || h === void 0 || this.C(n, void 0, s, h);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
let t = !1;
|
|
@@ -276,59 +276,59 @@ let rt = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
|
|
279
|
+
nt.elementStyles = [], nt.shadowRootOptions = { mode: "open" }, nt[ht("elementProperties")] = /* @__PURE__ */ new Map(), nt[ht("finalized")] = /* @__PURE__ */ new Map(), It == null || It({ ReactiveElement: nt }), (W.reactiveElementVersions ?? (W.reactiveElementVersions = [])).push("2.1.0");
|
|
280
280
|
/**
|
|
281
281
|
* @license
|
|
282
282
|
* Copyright 2017 Google LLC
|
|
283
283
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
284
|
*/
|
|
285
|
-
const
|
|
286
|
-
\f\r]`,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
288
|
-
function
|
|
289
|
-
if (!
|
|
290
|
-
return
|
|
285
|
+
const dt = globalThis, At = dt.trustedTypes, ae = At ? At.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, be = "$lit$", K = `lit$${Math.random().toFixed(9).slice(2)}$`, ge = "?" + K, Ie = `<${ge}>`, tt = document, ut = () => tt.createComment(""), vt = (o) => o === null || typeof o != "object" && typeof o != "function", Vt = Array.isArray, ze = (o) => Vt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", zt = `[
|
|
286
|
+
\f\r]`, ct = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, le = /-->/g, ce = />/g, J = RegExp(`>|${zt}(?:([^\\s"'>=/]+)(${zt}*=${zt}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), he = /'/g, de = /"/g, ye = /^(?:script|style|textarea|title)$/i, Be = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Be(1), G = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), pe = /* @__PURE__ */ new WeakMap(), Q = tt.createTreeWalker(tt, 129);
|
|
288
|
+
function me(o, t) {
|
|
289
|
+
if (!Vt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return ae !== void 0 ? ae.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
|
-
const
|
|
292
|
+
const De = (o, t) => {
|
|
293
293
|
const e = o.length - 1, r = [];
|
|
294
|
-
let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s =
|
|
295
|
-
for (let
|
|
296
|
-
const
|
|
297
|
-
let m, w, f = -1,
|
|
298
|
-
for (;
|
|
299
|
-
const Z = s === J && o[
|
|
300
|
-
n += s ===
|
|
301
|
-
}
|
|
302
|
-
return [
|
|
294
|
+
let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = ct;
|
|
295
|
+
for (let c = 0; c < e; c++) {
|
|
296
|
+
const h = o[c];
|
|
297
|
+
let m, w, f = -1, U = 0;
|
|
298
|
+
for (; U < h.length && (s.lastIndex = U, w = s.exec(h), w !== null); ) U = s.lastIndex, s === ct ? w[1] === "!--" ? s = le : w[1] !== void 0 ? s = ce : w[2] !== void 0 ? (ye.test(w[2]) && (i = RegExp("</" + w[2], "g")), s = J) : w[3] !== void 0 && (s = J) : s === J ? w[0] === ">" ? (s = i ?? ct, f = -1) : w[1] === void 0 ? f = -2 : (f = s.lastIndex - w[2].length, m = w[1], s = w[3] === void 0 ? J : w[3] === '"' ? de : he) : s === de || s === he ? s = J : s === le || s === ce ? s = ct : (s = J, i = void 0);
|
|
299
|
+
const Z = s === J && o[c + 1].startsWith("/>") ? " " : "";
|
|
300
|
+
n += s === ct ? h + Ie : f >= 0 ? (r.push(m), h.slice(0, f) + be + h.slice(f) + K + Z) : h + K + (f === -2 ? c : Z);
|
|
301
|
+
}
|
|
302
|
+
return [me(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
|
|
303
303
|
};
|
|
304
|
-
class
|
|
304
|
+
class ft {
|
|
305
305
|
constructor({ strings: t, _$litType$: e }, r) {
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let n = 0, s = 0;
|
|
309
|
-
const
|
|
310
|
-
if (this.el =
|
|
309
|
+
const c = t.length - 1, h = this.parts, [m, w] = De(t, e);
|
|
310
|
+
if (this.el = ft.createElement(m, r), Q.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
311
|
const f = this.el.content.firstChild;
|
|
312
312
|
f.replaceWith(...f.childNodes);
|
|
313
313
|
}
|
|
314
|
-
for (; (i = Q.nextNode()) !== null &&
|
|
314
|
+
for (; (i = Q.nextNode()) !== null && h.length < c; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
|
-
if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(
|
|
317
|
-
const
|
|
318
|
-
|
|
319
|
-
} else f.startsWith(K) && (
|
|
320
|
-
if (
|
|
321
|
-
const f = i.textContent.split(K),
|
|
322
|
-
if (
|
|
323
|
-
i.textContent =
|
|
324
|
-
for (let Z = 0; Z <
|
|
325
|
-
i.append(f[
|
|
316
|
+
if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(be)) {
|
|
317
|
+
const U = w[s++], Z = i.getAttribute(f).split(K), Ct = /([.?@])?(.*)/.exec(U);
|
|
318
|
+
h.push({ type: 1, index: n, name: Ct[2], strings: Z, ctor: Ct[1] === "." ? Te : Ct[1] === "?" ? Me : Ct[1] === "@" ? je : Lt }), i.removeAttribute(f);
|
|
319
|
+
} else f.startsWith(K) && (h.push({ type: 6, index: n }), i.removeAttribute(f));
|
|
320
|
+
if (ye.test(i.tagName)) {
|
|
321
|
+
const f = i.textContent.split(K), U = f.length - 1;
|
|
322
|
+
if (U > 0) {
|
|
323
|
+
i.textContent = At ? At.emptyScript : "";
|
|
324
|
+
for (let Z = 0; Z < U; Z++) i.append(f[Z], ut()), Q.nextNode(), h.push({ type: 2, index: ++n });
|
|
325
|
+
i.append(f[U], ut());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === ge) h.push({ type: 2, index: n });
|
|
329
329
|
else {
|
|
330
330
|
let f = -1;
|
|
331
|
-
for (; (f = i.data.indexOf(K, f + 1)) !== -1; )
|
|
331
|
+
for (; (f = i.data.indexOf(K, f + 1)) !== -1; ) h.push({ type: 7, index: n }), f += K.length - 1;
|
|
332
332
|
}
|
|
333
333
|
n++;
|
|
334
334
|
}
|
|
@@ -338,14 +338,14 @@ class vt {
|
|
|
338
338
|
return r.innerHTML = t, r;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
var s,
|
|
341
|
+
function st(o, t, e = o, r) {
|
|
342
|
+
var s, c;
|
|
343
343
|
if (t === G) return t;
|
|
344
344
|
let i = r !== void 0 ? (s = e._$Co) == null ? void 0 : s[r] : e._$Cl;
|
|
345
|
-
const n =
|
|
346
|
-
return (i == null ? void 0 : i.constructor) !== n && ((
|
|
345
|
+
const n = vt(t) ? void 0 : t._$litDirective$;
|
|
346
|
+
return (i == null ? void 0 : i.constructor) !== n && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), n === void 0 ? i = void 0 : (i = new n(o), i._$AT(o, e, r)), r !== void 0 ? (e._$Co ?? (e._$Co = []))[r] = i : e._$Cl = i), i !== void 0 && (t = st(o, i._$AS(o, t.values), i, r)), t;
|
|
347
347
|
}
|
|
348
|
-
class
|
|
348
|
+
class He {
|
|
349
349
|
constructor(t, e) {
|
|
350
350
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
351
351
|
}
|
|
@@ -358,13 +358,13 @@ class Be {
|
|
|
358
358
|
u(t) {
|
|
359
359
|
const { el: { content: e }, parts: r } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? tt).importNode(e, !0);
|
|
360
360
|
Q.currentNode = i;
|
|
361
|
-
let n = Q.nextNode(), s = 0,
|
|
362
|
-
for (;
|
|
363
|
-
if (s ===
|
|
361
|
+
let n = Q.nextNode(), s = 0, c = 0, h = r[0];
|
|
362
|
+
for (; h !== void 0; ) {
|
|
363
|
+
if (s === h.index) {
|
|
364
364
|
let m;
|
|
365
|
-
|
|
365
|
+
h.type === 2 ? m = new $t(n, n.nextSibling, this, t) : h.type === 1 ? m = new h.ctor(n, h.name, h.strings, this, t) : h.type === 6 && (m = new Re(n, this, t)), this._$AV.push(m), h = r[++c];
|
|
366
366
|
}
|
|
367
|
-
s !== (
|
|
367
|
+
s !== (h == null ? void 0 : h.index) && (n = Q.nextNode(), s++);
|
|
368
368
|
}
|
|
369
369
|
return Q.currentNode = tt, i;
|
|
370
370
|
}
|
|
@@ -373,7 +373,7 @@ class Be {
|
|
|
373
373
|
for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(t, r, e), e += r.strings.length - 2) : r._$AI(t[e])), e++;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
class
|
|
376
|
+
class $t {
|
|
377
377
|
get _$AU() {
|
|
378
378
|
var t;
|
|
379
379
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -393,7 +393,7 @@ class wt {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t =
|
|
396
|
+
t = st(this, t, e), vt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== G && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ze(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -402,26 +402,26 @@ class wt {
|
|
|
402
402
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
403
403
|
}
|
|
404
404
|
_(t) {
|
|
405
|
-
this._$AH !== d &&
|
|
405
|
+
this._$AH !== d && vt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(tt.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var n;
|
|
409
|
-
const { values: e, _$litType$: r } = t, i = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el =
|
|
409
|
+
const { values: e, _$litType$: r } = t, i = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = ft.createElement(me(r.h, r.h[0]), this.options)), r);
|
|
410
410
|
if (((n = this._$AH) == null ? void 0 : n._$AD) === i) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
|
-
const s = new
|
|
413
|
-
s.p(e), this.T(
|
|
412
|
+
const s = new He(i, this), c = s.u(this.options);
|
|
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 = pe.get(t.strings);
|
|
418
|
+
return e === void 0 && pe.set(t.strings, e = new ft(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
Vt(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const e = this._$AH;
|
|
423
423
|
let r, i = 0;
|
|
424
|
-
for (const n of t) i === e.length ? e.push(r = new
|
|
424
|
+
for (const n of t) i === e.length ? e.push(r = new $t(this.O(ut()), this.O(ut()), this, this.options)) : r = e[i], r._$AI(n), i++;
|
|
425
425
|
i < e.length && (this._$AR(r && r._$AB.nextSibling, i), e.length = i);
|
|
426
426
|
}
|
|
427
427
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -436,7 +436,7 @@ class wt {
|
|
|
436
436
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
class
|
|
439
|
+
class Lt {
|
|
440
440
|
get tagName() {
|
|
441
441
|
return this.element.tagName;
|
|
442
442
|
}
|
|
@@ -449,11 +449,11 @@ class At {
|
|
|
449
449
|
_$AI(t, e = this, r, i) {
|
|
450
450
|
const n = this.strings;
|
|
451
451
|
let s = !1;
|
|
452
|
-
if (n === void 0) t =
|
|
452
|
+
if (n === void 0) t = st(this, t, e, 0), s = !vt(t) || t !== this._$AH && t !== G, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
|
-
const
|
|
455
|
-
let
|
|
456
|
-
for (t = n[0],
|
|
454
|
+
const c = t;
|
|
455
|
+
let h, m;
|
|
456
|
+
for (t = n[0], h = 0; h < n.length - 1; h++) m = st(this, c[r + h], e, h), m === G && (m = this._$AH[h]), s || (s = !vt(m) || m !== this._$AH[h]), m === d ? t = d : t !== d && (t += (m ?? "") + n[h + 1]), this._$AH[h] = m;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class At {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class Te extends Lt {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class De extends At {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class Me extends Lt {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,12 +477,12 @@ class He extends At {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class
|
|
480
|
+
class je extends Lt {
|
|
481
481
|
constructor(t, e, r, i, n) {
|
|
482
482
|
super(t, e, r, i, n), this.type = 5;
|
|
483
483
|
}
|
|
484
484
|
_$AI(t, e = this) {
|
|
485
|
-
if ((t =
|
|
485
|
+
if ((t = st(this, t, e, 0) ?? d) === G) return;
|
|
486
486
|
const r = this._$AH, i = t === d && r !== d || t.capture !== r.capture || t.once !== r.once || t.passive !== r.passive, n = t !== d && (r === d || i);
|
|
487
487
|
i && this.element.removeEventListener(this.name, this, r), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
488
488
|
}
|
|
@@ -491,7 +491,7 @@ class Te extends At {
|
|
|
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 Re {
|
|
495
495
|
constructor(t, e, r) {
|
|
496
496
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = r;
|
|
497
497
|
}
|
|
@@ -499,17 +499,17 @@ class Me {
|
|
|
499
499
|
return this._$AM._$AU;
|
|
500
500
|
}
|
|
501
501
|
_$AI(t) {
|
|
502
|
-
|
|
502
|
+
st(this, t);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const
|
|
506
|
-
|
|
507
|
-
const
|
|
505
|
+
const Bt = dt.litHtmlPolyfillSupport;
|
|
506
|
+
Bt == null || Bt(ft, $t), (dt.litHtmlVersions ?? (dt.litHtmlVersions = [])).push("3.3.0");
|
|
507
|
+
const Ue = (o, t, e) => {
|
|
508
508
|
const r = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
509
509
|
let i = r._$litPart$;
|
|
510
510
|
if (i === void 0) {
|
|
511
511
|
const n = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
512
|
-
r._$litPart$ = i = new
|
|
512
|
+
r._$litPart$ = i = new $t(t.insertBefore(ut(), n), n, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -519,7 +519,7 @@ const je = (o, t, e) => {
|
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
521
|
const Y = globalThis;
|
|
522
|
-
let u = class extends
|
|
522
|
+
let u = class extends nt {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -530,7 +530,7 @@ let u = class extends rt {
|
|
|
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 = Ue(e, this.renderRoot, this.renderOptions);
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
536
|
var t;
|
|
@@ -544,17 +544,17 @@ let u = class extends rt {
|
|
|
544
544
|
return G;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
u._$litElement$ = !0, u.finalized = !0, (
|
|
549
|
-
const
|
|
550
|
-
|
|
547
|
+
var ve;
|
|
548
|
+
u._$litElement$ = !0, u.finalized = !0, (ve = Y.litElementHydrateSupport) == null || ve.call(Y, { LitElement: u });
|
|
549
|
+
const Dt = Y.litElementPolyfillSupport;
|
|
550
|
+
Dt == null || Dt({ LitElement: u });
|
|
551
551
|
(Y.litElementVersions ?? (Y.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 b = (o) => (t, e) => {
|
|
558
558
|
e !== void 0 ? e.addInitializer(() => {
|
|
559
559
|
customElements.define(o, t);
|
|
560
560
|
}) : customElements.define(o, t);
|
|
@@ -564,29 +564,29 @@ const g = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const
|
|
567
|
+
const Ne = { attribute: !0, type: String, converter: St, reflect: !1, hasChanged: Ft }, Fe = (o = Ne, t, e) => {
|
|
568
568
|
const { kind: r, metadata: i } = e;
|
|
569
569
|
let n = globalThis.litPropertyMetadata.get(i);
|
|
570
570
|
if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), r === "setter" && ((o = Object.create(o)).wrapped = !0), n.set(e.name, o), r === "accessor") {
|
|
571
571
|
const { name: s } = e;
|
|
572
|
-
return { set(
|
|
573
|
-
const
|
|
574
|
-
t.set.call(this,
|
|
575
|
-
}, init(
|
|
576
|
-
return
|
|
572
|
+
return { set(c) {
|
|
573
|
+
const h = t.get.call(this);
|
|
574
|
+
t.set.call(this, c), this.requestUpdate(s, h, o);
|
|
575
|
+
}, init(c) {
|
|
576
|
+
return c !== void 0 && this.C(s, void 0, o, c), c;
|
|
577
577
|
} };
|
|
578
578
|
}
|
|
579
579
|
if (r === "setter") {
|
|
580
580
|
const { name: s } = e;
|
|
581
|
-
return function(
|
|
582
|
-
const
|
|
583
|
-
t.call(this,
|
|
581
|
+
return function(c) {
|
|
582
|
+
const h = this[s];
|
|
583
|
+
t.call(this, c), this.requestUpdate(s, h, o);
|
|
584
584
|
};
|
|
585
585
|
}
|
|
586
586
|
throw Error("Unsupported decorator location: " + r);
|
|
587
587
|
};
|
|
588
588
|
function a(o) {
|
|
589
|
-
return (t, e) => typeof e == "object" ?
|
|
589
|
+
return (t, e) => typeof e == "object" ? Fe(o, t, e) : ((r, i, n) => {
|
|
590
590
|
const s = i.hasOwnProperty(n);
|
|
591
591
|
return i.constructor.createProperty(n, r), s ? Object.getOwnPropertyDescriptor(i, n) : void 0;
|
|
592
592
|
})(o, t, e);
|
|
@@ -596,7 +596,7 @@ function a(o) {
|
|
|
596
596
|
* Copyright 2017 Google LLC
|
|
597
597
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
598
598
|
*/
|
|
599
|
-
function
|
|
599
|
+
function ot(o) {
|
|
600
600
|
return a({ ...o, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
602
|
/**
|
|
@@ -604,24 +604,24 @@ function et(o) {
|
|
|
604
604
|
* Copyright 2017 Google LLC
|
|
605
605
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
606
606
|
*/
|
|
607
|
-
const
|
|
607
|
+
const Ve = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(o, t, e), e);
|
|
608
608
|
/**
|
|
609
609
|
* @license
|
|
610
610
|
* Copyright 2017 Google LLC
|
|
611
611
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
612
612
|
*/
|
|
613
|
-
function
|
|
613
|
+
function xe(o, t) {
|
|
614
614
|
return (e, r, i) => {
|
|
615
615
|
const n = (s) => {
|
|
616
|
-
var
|
|
617
|
-
return ((
|
|
616
|
+
var c;
|
|
617
|
+
return ((c = s.renderRoot) == null ? void 0 : c.querySelector(o)) ?? null;
|
|
618
618
|
};
|
|
619
|
-
return
|
|
619
|
+
return Ve(e, r, { get() {
|
|
620
620
|
return n(this);
|
|
621
621
|
} });
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
const
|
|
624
|
+
const it = v`
|
|
625
625
|
outline: 1px dashed var(--color-border-primary);
|
|
626
626
|
outline-offset: 2px;
|
|
627
627
|
`;
|
|
@@ -635,12 +635,12 @@ v`
|
|
|
635
635
|
* Copyright 2023 Google LLC
|
|
636
636
|
* SPDX-License-Identifier: Apache-2.0
|
|
637
637
|
*/
|
|
638
|
-
const
|
|
639
|
-
function
|
|
638
|
+
const qt = Symbol("internals"), Ht = Symbol("privateInternals");
|
|
639
|
+
function Zt(o) {
|
|
640
640
|
var t;
|
|
641
641
|
class e extends o {
|
|
642
|
-
get [(t =
|
|
643
|
-
return this[
|
|
642
|
+
get [(t = qt, t)]() {
|
|
643
|
+
return this[Ht] || (this[Ht] = this.attachInternals()), this[Ht];
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
646
|
return e;
|
|
@@ -650,13 +650,13 @@ function Vt(o) {
|
|
|
650
650
|
* Copyright 2023 Google LLC
|
|
651
651
|
* SPDX-License-Identifier: Apache-2.0
|
|
652
652
|
*/
|
|
653
|
-
function
|
|
653
|
+
function qe(o) {
|
|
654
654
|
o.addInitializer((t) => {
|
|
655
655
|
const e = t;
|
|
656
656
|
e.addEventListener("click", async (r) => {
|
|
657
|
-
const { type: i, [
|
|
658
|
-
if (!(!s || i === "button") && (await new Promise((
|
|
659
|
-
setTimeout(
|
|
657
|
+
const { type: i, [qt]: n } = e, { form: s } = n;
|
|
658
|
+
if (!(!s || i === "button") && (await new Promise((c) => {
|
|
659
|
+
setTimeout(c);
|
|
660
660
|
}), !r.defaultPrevented)) {
|
|
661
661
|
if (i === "reset") {
|
|
662
662
|
s.reset();
|
|
@@ -664,8 +664,8 @@ function Ue(o) {
|
|
|
664
664
|
}
|
|
665
665
|
s.addEventListener(
|
|
666
666
|
"submit",
|
|
667
|
-
(
|
|
668
|
-
Object.defineProperty(
|
|
667
|
+
(c) => {
|
|
668
|
+
Object.defineProperty(c, "submitter", {
|
|
669
669
|
configurable: !0,
|
|
670
670
|
enumerable: !0,
|
|
671
671
|
get: () => e
|
|
@@ -677,141 +677,141 @@ function Ue(o) {
|
|
|
677
677
|
});
|
|
678
678
|
});
|
|
679
679
|
}
|
|
680
|
-
const
|
|
680
|
+
const Ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
681
681
|
<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"/>
|
|
682
682
|
</svg>
|
|
683
|
-
`,
|
|
683
|
+
`, Ke = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
684
684
|
<path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
|
|
685
685
|
</svg>
|
|
686
|
-
`,
|
|
686
|
+
`, We = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
687
687
|
<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"/>
|
|
688
688
|
</svg>
|
|
689
|
-
`,
|
|
689
|
+
`, Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
690
690
|
<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"/>
|
|
691
691
|
</svg>
|
|
692
|
-
`,
|
|
692
|
+
`, Xe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
693
693
|
<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"/>
|
|
694
694
|
</svg>
|
|
695
|
-
`,
|
|
695
|
+
`, Je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
696
696
|
<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"/>
|
|
697
697
|
</svg>
|
|
698
|
-
`,
|
|
698
|
+
`, Qe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
699
699
|
<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"/>
|
|
700
700
|
</svg>
|
|
701
|
-
`,
|
|
701
|
+
`, Ye = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
702
702
|
<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"/>
|
|
703
703
|
</svg>
|
|
704
|
-
`,
|
|
704
|
+
`, to = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
705
705
|
<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"/>
|
|
706
706
|
</svg>
|
|
707
|
-
`,
|
|
707
|
+
`, eo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
708
708
|
<path d="M2 2L14 14" stroke="#3F2B2E"/>
|
|
709
709
|
<path d="M14 2L2 14" stroke="#3F2B2E"/>
|
|
710
710
|
</svg>
|
|
711
|
-
`,
|
|
711
|
+
`, oo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
712
712
|
<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"/>
|
|
713
713
|
</svg>
|
|
714
|
-
`,
|
|
714
|
+
`, io = `<?xml version="1.0" encoding="utf-8"?>
|
|
715
715
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
716
716
|
<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"
|
|
717
717
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
718
718
|
<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
|
|
719
719
|
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"/>
|
|
720
720
|
</svg>
|
|
721
|
-
`,
|
|
721
|
+
`, ro = `<?xml version="1.0" encoding="utf-8"?>
|
|
722
722
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
723
723
|
<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"
|
|
724
724
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
725
725
|
<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"/>
|
|
726
726
|
</svg>
|
|
727
|
-
`,
|
|
727
|
+
`, no = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
728
728
|
<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"/>
|
|
729
729
|
</svg>
|
|
730
|
-
`,
|
|
730
|
+
`, so = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
731
731
|
<path d="M14.1218 7.43502C13.9504 7.60543 13.6735 7.60543 13.5021 7.43502L8.55961 2.49408V14.5625C8.55961 14.8041 8.36365 15 8.12192 15C7.88018 15 7.68422 14.8041 7.68422 14.5625V2.49408L2.74177 7.43502C2.57002 7.60082 2.29703 7.59845 2.1282 7.4297C1.95936 7.26094 1.95699 6.98808 2.12287 6.81642L7.81203 1.13C7.89368 1.04685 8.00535 1 8.12192 1C8.23848 1 8.35015 1.04685 8.4318 1.13L14.121 6.81642C14.2921 6.98702 14.2925 7.26395 14.1218 7.43502Z" fill="#3F2B2E"/>
|
|
732
732
|
</svg>
|
|
733
|
-
`,
|
|
733
|
+
`, ao = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
734
734
|
<path d="M6.33317 8.00033C6.33317 3.95024 7.52708 0.666992 8.99984 0.666992C10.4726 0.666992 11.6665 3.95024 11.6665 8.00033M5.33317 15.3337H12.6665L16.3332 6.20033C14.9582 5.76699 12.2998 5.33366 8.99984 5.33366C5.69984 5.33366 3.49984 5.76699 1.6665 6.20033L5.33317 15.3337Z" stroke="#3F2B2E"/>
|
|
735
735
|
</svg>
|
|
736
|
-
`,
|
|
736
|
+
`, lo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
737
737
|
<path d="M7.99376 14.4486C7.46684 14.4486 6.93991 14.251 6.54472 13.8558C6.14953 13.4606 5.8202 12.9995 5.68847 12.4067H3.77837C2.98798 12.4067 2.59279 12.4067 2.32933 12.1433C2.13173 12.0116 2 11.7481 2 11.5505C2 11.2212 2.13173 10.826 2.52692 10.1673L2.92212 9.4428C3.31731 8.78415 3.51491 8.05963 3.64664 7.3351L3.84423 5.68847C3.97596 4.63462 4.43702 3.7125 5.22741 3.05385C6.01779 2.39519 7.00578 2 7.99376 2C8.98174 2 10.0356 2.39519 10.7601 3.05385C11.5505 3.7125 12.0116 4.70049 12.1433 5.68847L12.3409 7.26924C12.4067 8.05963 12.6702 8.78415 13.0654 9.37693L13.4606 10.1015C13.8558 10.7601 14.0534 11.0894 13.9875 11.4846C13.9875 11.7481 13.8558 11.9457 13.6582 12.0774C13.3947 12.3409 12.9995 12.3409 12.2092 12.3409H10.2991C10.1673 12.9337 9.83799 13.4606 9.4428 13.7899C9.04761 14.1851 8.52068 14.3827 7.99376 14.3827V14.4486ZM6.28126 12.4067C6.41299 12.8019 6.61058 13.1971 6.93991 13.4606C7.5327 13.9875 8.45482 13.9875 9.11347 13.4606C9.4428 13.1971 9.6404 12.8019 9.77213 12.4067H6.28126ZM7.99376 2.65865C7.13751 2.65865 6.28126 2.98798 5.6226 3.58077C4.96395 4.17356 4.56875 4.96395 4.43702 5.88606L4.23943 7.46684C4.1077 8.32309 3.84423 9.11347 3.44904 9.83799L3.05385 10.5625C2.72452 11.0894 2.59279 11.3529 2.59279 11.5505C2.59279 11.6164 2.59279 11.7481 2.72452 11.814C2.85625 11.8798 3.25144 11.8798 3.77837 11.8798H12.2092C12.7361 11.8798 13.1971 11.8798 13.263 11.814C13.3289 11.814 13.3947 11.6822 13.3947 11.5505C13.3947 11.4188 13.1971 11.0894 12.9337 10.5625L12.5385 9.83799C12.0774 9.11347 11.814 8.32309 11.7481 7.5327L11.5505 5.88606C11.4846 5.02981 11.0236 4.17356 10.3649 3.58077C9.70626 2.98798 8.85001 2.65865 7.99376 2.65865Z" fill="#3F2B2E"/>
|
|
738
738
|
</svg>
|
|
739
|
-
`,
|
|
739
|
+
`, co = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
740
740
|
<path d="M12 17.4585L4 6.4585L20 6.4585L12 17.4585Z" fill="#3F2B2E"/>
|
|
741
741
|
</svg>
|
|
742
|
-
`,
|
|
742
|
+
`, ho = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
743
743
|
<path d="M12 6.4585L20 17.4585H4L12 6.4585Z" fill="#3F2B2E"/>
|
|
744
744
|
</svg>
|
|
745
|
-
`,
|
|
745
|
+
`, po = `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
746
746
|
<path d="M5.24611 10.4659C5.04705 10.4654 4.85616 10.3867 4.71465 10.2467L0.210718 5.74273C-0.0737595 5.44819 -0.0696911 4.98 0.219862 4.69045C0.509415 4.4009 0.977603 4.39683 1.27214 4.6813L5.18306 8.59071L10.6628 1.74024C10.9219 1.41646 11.3945 1.36403 11.7183 1.62314C12.042 1.88225 12.0945 2.35477 11.8354 2.67856L5.83012 10.1851C5.69763 10.3521 5.49956 10.4539 5.28665 10.4643L5.24611 10.4659Z" fill="#3F2B2E"/>
|
|
747
747
|
</svg>
|
|
748
|
-
`,
|
|
748
|
+
`, uo = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
749
749
|
<rect x="1" width="2" height="8" fill="#3F2B2E"/>
|
|
750
750
|
<rect x="5" width="2" height="8" fill="#3F2B2E"/>
|
|
751
751
|
</svg>
|
|
752
|
-
`,
|
|
752
|
+
`, vo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
753
753
|
<path d="M10.5037 5.99925C10.7795 5.99925 11.0037 6.22311 11.0037 6.49925V14.2922L13.1462 12.1448C13.3411 11.9498 13.6573 11.95 13.8523 12.1448H13.8533C14.0482 12.34 14.0481 12.6565 13.8533 12.8518L10.8572 15.8518C10.6618 16.0471 10.3455 16.0471 10.1501 15.8518L7.15406 12.8518C6.96522 12.6557 6.96774 12.3444 7.15992 12.1516C7.35242 11.9588 7.66416 11.9556 7.86011 12.1448L10.0046 14.2922V6.49925C10.0046 6.22319 10.228 5.99938 10.5037 5.99925ZM5.15699 0.145737C5.35218 -0.0485278 5.66791 -0.0486304 5.86304 0.145737L8.85913 3.14574C9.04829 3.34183 9.04562 3.65402 8.85327 3.84691C8.66066 4.03978 8.34902 4.04225 8.15308 3.85277L6.00952 1.70628V9.49925C6.0095 9.77533 5.78621 9.99918 5.5105 9.99925C5.23473 9.99925 5.0115 9.77538 5.01148 9.49925V1.70628L2.86695 3.85179C2.74288 3.98695 2.55447 4.04321 2.37671 3.99828C2.1991 3.95328 2.06051 3.81475 2.01538 3.63695C1.97026 3.45902 2.02608 3.27015 2.16089 3.14574L5.15699 0.145737Z" fill="#001022"/>
|
|
754
754
|
</svg>
|
|
755
|
-
`,
|
|
755
|
+
`, fo = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
756
756
|
<line x1="0" y1="0" x2="200" y2="200" />
|
|
757
|
-
</svg>`,
|
|
757
|
+
</svg>`, bo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
758
758
|
<path d="M2.31202e-08 7.85218C0.974855 6.83983 3.01741 4.44477 6.12766 0.666992L6.54545 0.926252C5.54739 3.04971 4.35203 5.40773 2.95938 8.00033C4.35203 10.5929 5.54739 12.9509 6.54545 15.0744L6.12766 15.3337C3.01741 11.5559 0.974855 9.16082 0 8.14847L2.31202e-08 7.85218Z" fill="#3F2B2E"/>
|
|
759
759
|
<path d="M16 8.14847C15.0251 9.16082 12.9826 11.5559 9.87234 15.3337L9.45455 15.0744C10.4526 12.9509 11.648 10.5929 13.0406 8.00033C11.648 5.40773 10.4526 3.04971 9.45455 0.92625L9.87234 0.666992C12.9826 4.44477 15.0251 6.83983 16 7.85218V8.14847Z" fill="#3F2B2E"/>
|
|
760
760
|
</svg>
|
|
761
|
-
`,
|
|
761
|
+
`, go = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
762
762
|
<path d="M8 0.458496C12.4183 0.458496 16 4.04022 16 8.4585C16 12.8768 12.4183 16.4585 8 16.4585C3.58172 16.4585 0 12.8768 0 8.4585C0 4.04022 3.58172 0.458496 8 0.458496ZM11.8115 5.56787C11.5953 5.39556 11.2797 5.43075 11.1074 5.64697L7.45801 10.2104L4.85254 7.60596C4.65647 7.41684 4.34516 7.41943 4.15234 7.61182C3.95956 7.8046 3.95626 8.11678 4.14551 8.31299L7.14551 11.313C7.23977 11.4062 7.36741 11.4592 7.5 11.4595L7.52832 11.4585C7.67017 11.4503 7.80168 11.3818 7.89062 11.271L11.8906 6.271C12.0629 6.05485 12.0275 5.74022 11.8115 5.56787Z" fill="#3B7902"/>
|
|
763
763
|
</svg>
|
|
764
|
-
`,
|
|
764
|
+
`, yo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
765
765
|
<path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM8 10C7.44772 10 7 10.4477 7 11C7 11.5523 7.44772 12 8 12C8.55229 12 9 11.5523 9 11C9 10.4477 8.55229 10 8 10ZM7.5 4C7.22386 4 7 4.22386 7 4.5V8.5C7 8.77614 7.22386 9 7.5 9H8.5C8.77614 9 9 8.77614 9 8.5V4.5C9 4.22386 8.77614 4 8.5 4H7.5Z" fill="#BB0218"/>
|
|
766
766
|
</svg>
|
|
767
|
-
`,
|
|
767
|
+
`, mo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
768
768
|
<path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM7.16602 6.1084V12H8.84668V6.1084H7.16602ZM8.00684 2.64062C7.45497 2.64062 7.01096 3.09591 7.01074 3.63574C7.01074 4.18774 7.45484 4.63184 8.00684 4.63184C8.55862 4.63159 9.00195 4.18759 9.00195 3.63574C9.00174 3.09606 8.55849 2.64088 8.00684 2.64062Z" fill="#4572A6"/>
|
|
769
769
|
</svg>
|
|
770
|
-
`,
|
|
770
|
+
`, xo = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
771
771
|
<path d="M16.0003 10.1648C16.0003 13.2904 13.4583 15.8332 10.3336 15.8332H7.00026C6.81617 15.8332 6.66693 15.6839 6.66693 15.4997C6.66693 15.3156 6.81617 15.1663 7.00026 15.1663H10.3336C13.0909 15.1663 15.3336 12.923 15.3336 10.1648C15.3336 7.40663 13.0909 5.16328 10.3336 5.16328H1.13826L3.90226 7.92812C4.0326 8.05831 4.03275 8.26955 3.9026 8.39993C3.77244 8.5303 3.56127 8.53045 3.43093 8.40026L0.0975955 5.06592C-0.0325318 4.93571 -0.0325318 4.72465 0.0975955 4.59444L3.43093 1.2601C3.56172 1.13374 3.76962 1.13555 3.8982 1.26416C4.02678 1.39278 4.02859 1.60075 3.90226 1.73158L1.13826 4.49641H10.3336C13.4583 4.49641 16.0003 7.03918 16.0003 10.1648Z" fill="#001022"/>
|
|
772
772
|
</svg>
|
|
773
|
-
`,
|
|
773
|
+
`, wo = `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
|
|
774
774
|
<path d="M1 4.5415L3 6.5415L9 0.541504" stroke="#FBF9F6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
775
|
-
</svg>`,
|
|
776
|
-
wishlist:
|
|
777
|
-
playerv:
|
|
778
|
-
chevronRight:
|
|
779
|
-
chevronLeft:
|
|
780
|
-
icoPlus:
|
|
781
|
-
icoMinus:
|
|
782
|
-
"star-0":
|
|
783
|
-
"star-25":
|
|
784
|
-
"star-50":
|
|
785
|
-
"star-75":
|
|
786
|
-
"star-100":
|
|
787
|
-
cross:
|
|
788
|
-
search:
|
|
789
|
-
arrowLeft:
|
|
790
|
-
arrowTop:
|
|
791
|
-
cart:
|
|
792
|
-
notifyme:
|
|
793
|
-
triangledown:
|
|
794
|
-
triangleup:
|
|
795
|
-
checkstroke:
|
|
796
|
-
pause:
|
|
797
|
-
mapDualArrow:
|
|
798
|
-
swipeDualArrow:
|
|
799
|
-
backToBag:
|
|
800
|
-
checkbox:
|
|
801
|
-
},
|
|
802
|
-
strikeDiagonal:
|
|
803
|
-
},
|
|
804
|
-
success:
|
|
805
|
-
error:
|
|
806
|
-
info:
|
|
775
|
+
</svg>`, N = {
|
|
776
|
+
wishlist: Ze,
|
|
777
|
+
playerv: Ke,
|
|
778
|
+
chevronRight: We,
|
|
779
|
+
chevronLeft: Ge,
|
|
780
|
+
icoPlus: io,
|
|
781
|
+
icoMinus: ro,
|
|
782
|
+
"star-0": Xe,
|
|
783
|
+
"star-25": Je,
|
|
784
|
+
"star-50": Qe,
|
|
785
|
+
"star-75": Ye,
|
|
786
|
+
"star-100": to,
|
|
787
|
+
cross: eo,
|
|
788
|
+
search: oo,
|
|
789
|
+
arrowLeft: no,
|
|
790
|
+
arrowTop: so,
|
|
791
|
+
cart: ao,
|
|
792
|
+
notifyme: lo,
|
|
793
|
+
triangledown: co,
|
|
794
|
+
triangleup: ho,
|
|
795
|
+
checkstroke: po,
|
|
796
|
+
pause: uo,
|
|
797
|
+
mapDualArrow: vo,
|
|
798
|
+
swipeDualArrow: bo,
|
|
799
|
+
backToBag: xo,
|
|
800
|
+
checkbox: wo
|
|
801
|
+
}, $o = {
|
|
802
|
+
strikeDiagonal: fo
|
|
803
|
+
}, _o = {
|
|
804
|
+
success: go,
|
|
805
|
+
error: yo,
|
|
806
|
+
info: mo
|
|
807
807
|
};
|
|
808
808
|
/**
|
|
809
809
|
* @license
|
|
810
810
|
* Copyright 2017 Google LLC
|
|
811
811
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
812
812
|
*/
|
|
813
|
-
const
|
|
814
|
-
let
|
|
813
|
+
const Kt = { ATTRIBUTE: 1, CHILD: 2 }, Wt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
814
|
+
let Gt = class {
|
|
815
815
|
constructor(t) {
|
|
816
816
|
}
|
|
817
817
|
get _$AU() {
|
|
@@ -832,9 +832,9 @@ let Kt = class {
|
|
|
832
832
|
* Copyright 2017 Google LLC
|
|
833
833
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
834
834
|
*/
|
|
835
|
-
class
|
|
835
|
+
class Tt extends Gt {
|
|
836
836
|
constructor(t) {
|
|
837
|
-
if (super(t), this.it = d, t.type !==
|
|
837
|
+
if (super(t), this.it = d, t.type !== Kt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
838
838
|
}
|
|
839
839
|
render(t) {
|
|
840
840
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
@@ -846,72 +846,72 @@ class Dt extends Kt {
|
|
|
846
846
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
|
|
849
|
+
Tt.directiveName = "unsafeHTML", Tt.resultType = 1;
|
|
850
850
|
/**
|
|
851
851
|
* @license
|
|
852
852
|
* Copyright 2017 Google LLC
|
|
853
853
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
854
854
|
*/
|
|
855
|
-
class
|
|
855
|
+
class Mt extends Tt {
|
|
856
856
|
}
|
|
857
|
-
|
|
858
|
-
const
|
|
857
|
+
Mt.directiveName = "unsafeSVG", Mt.resultType = 2;
|
|
858
|
+
const _ = Wt(Mt);
|
|
859
859
|
/**
|
|
860
860
|
* @license
|
|
861
861
|
* Copyright 2020 Google LLC
|
|
862
862
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
863
863
|
*/
|
|
864
|
-
const
|
|
864
|
+
const Co = (o) => o.strings === void 0;
|
|
865
865
|
/**
|
|
866
866
|
* @license
|
|
867
867
|
* Copyright 2017 Google LLC
|
|
868
868
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
869
869
|
*/
|
|
870
|
-
const
|
|
870
|
+
const pt = (o, t) => {
|
|
871
871
|
var r;
|
|
872
872
|
const e = o._$AN;
|
|
873
873
|
if (e === void 0) return !1;
|
|
874
|
-
for (const i of e) (r = i._$AO) == null || r.call(i, t, !1),
|
|
874
|
+
for (const i of e) (r = i._$AO) == null || r.call(i, t, !1), pt(i, t);
|
|
875
875
|
return !0;
|
|
876
|
-
},
|
|
876
|
+
}, Et = (o) => {
|
|
877
877
|
let t, e;
|
|
878
878
|
do {
|
|
879
879
|
if ((t = o._$AM) === void 0) break;
|
|
880
880
|
e = t._$AN, e.delete(o), o = t;
|
|
881
881
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
882
|
-
},
|
|
882
|
+
}, we = (o) => {
|
|
883
883
|
for (let t; t = o._$AM; o = t) {
|
|
884
884
|
let e = t._$AN;
|
|
885
885
|
if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
|
|
886
886
|
else if (e.has(o)) break;
|
|
887
|
-
e.add(o),
|
|
887
|
+
e.add(o), Ao(t);
|
|
888
888
|
}
|
|
889
889
|
};
|
|
890
|
-
function
|
|
891
|
-
this._$AN !== void 0 ? (
|
|
890
|
+
function ko(o) {
|
|
891
|
+
this._$AN !== void 0 ? (Et(this), this._$AM = o, we(this)) : this._$AM = o;
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function So(o, t = !1, e = 0) {
|
|
894
894
|
const r = this._$AH, i = this._$AN;
|
|
895
|
-
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let n = e; n < r.length; n++)
|
|
896
|
-
else r != null && (
|
|
897
|
-
else
|
|
895
|
+
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let n = e; n < r.length; n++) pt(r[n], !1), Et(r[n]);
|
|
896
|
+
else r != null && (pt(r, !1), Et(r));
|
|
897
|
+
else pt(this, o);
|
|
898
898
|
}
|
|
899
|
-
const
|
|
900
|
-
o.type ==
|
|
899
|
+
const Ao = (o) => {
|
|
900
|
+
o.type == Kt.CHILD && (o._$AP ?? (o._$AP = So), o._$AQ ?? (o._$AQ = ko));
|
|
901
901
|
};
|
|
902
|
-
class
|
|
902
|
+
class Eo extends Gt {
|
|
903
903
|
constructor() {
|
|
904
904
|
super(...arguments), this._$AN = void 0;
|
|
905
905
|
}
|
|
906
906
|
_$AT(t, e, r) {
|
|
907
|
-
super._$AT(t, e, r),
|
|
907
|
+
super._$AT(t, e, r), we(this), this.isConnected = t._$AU;
|
|
908
908
|
}
|
|
909
909
|
_$AO(t, e = !0) {
|
|
910
910
|
var r, i;
|
|
911
|
-
t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), e && (
|
|
911
|
+
t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), e && (pt(this, t), Et(this));
|
|
912
912
|
}
|
|
913
913
|
setValue(t) {
|
|
914
|
-
if (
|
|
914
|
+
if (Co(this._$Ct)) this._$Ct._$AI(t, this);
|
|
915
915
|
else {
|
|
916
916
|
const e = [...this._$Ct._$AH];
|
|
917
917
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -922,7 +922,7 @@ class So extends Kt {
|
|
|
922
922
|
reconnected() {
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
|
-
class
|
|
925
|
+
class Lo extends Eo {
|
|
926
926
|
constructor() {
|
|
927
927
|
super(...arguments), this.prevData = {};
|
|
928
928
|
}
|
|
@@ -949,7 +949,7 @@ class Ao extends So {
|
|
|
949
949
|
(!t || !(i in t) && r[i] === e[i]) && (r[i] = void 0);
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
|
-
class
|
|
952
|
+
class Po extends Lo {
|
|
953
953
|
constructor() {
|
|
954
954
|
super(...arguments), this.eventData = {};
|
|
955
955
|
}
|
|
@@ -993,7 +993,7 @@ class Eo extends Ao {
|
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
|
-
class
|
|
996
|
+
class Oo extends Po {
|
|
997
997
|
apply(t) {
|
|
998
998
|
if (!t)
|
|
999
999
|
return;
|
|
@@ -1042,17 +1042,17 @@ class Lo extends Eo {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
|
-
const
|
|
1045
|
+
const ue = Wt(Oo);
|
|
1046
1046
|
/**
|
|
1047
1047
|
* @license
|
|
1048
1048
|
* Copyright 2018 Google LLC
|
|
1049
1049
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1050
1050
|
*/
|
|
1051
1051
|
const S = (o) => o ?? d;
|
|
1052
|
-
var
|
|
1053
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1052
|
+
var Io = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, H = (o, t, e, r) => {
|
|
1053
|
+
for (var i = r > 1 ? void 0 : r ? zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1054
1054
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1055
|
-
return r && i &&
|
|
1055
|
+
return r && i && Io(t, e, i), i;
|
|
1056
1056
|
};
|
|
1057
1057
|
let A = class extends u {
|
|
1058
1058
|
constructor() {
|
|
@@ -1062,11 +1062,11 @@ let A = class extends u {
|
|
|
1062
1062
|
super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
|
|
1063
1063
|
}
|
|
1064
1064
|
render() {
|
|
1065
|
-
const o =
|
|
1065
|
+
const o = N[this.icon] ?? "", t = `icon-${this.icon}`, e = o.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g, '<path part="icon-path"').replace(/<g\b/g, '<g part="icon-group"').replace(/<circle\b/g, '<circle part="icon-circle"'), r = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
|
|
1066
1066
|
return l`
|
|
1067
1067
|
${this.type === "span" ? l`
|
|
1068
1068
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
1069
|
-
${
|
|
1069
|
+
${_(e)}
|
|
1070
1070
|
</span>
|
|
1071
1071
|
` : l`
|
|
1072
1072
|
<button
|
|
@@ -1075,7 +1075,7 @@ let A = class extends u {
|
|
|
1075
1075
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
|
|
1076
1076
|
?disabled="${this.disabled}"
|
|
1077
1077
|
>
|
|
1078
|
-
${
|
|
1078
|
+
${_(e)}
|
|
1079
1079
|
${r}
|
|
1080
1080
|
</button>
|
|
1081
1081
|
`}
|
|
@@ -1287,7 +1287,7 @@ A.styles = v`
|
|
|
1287
1287
|
}
|
|
1288
1288
|
|
|
1289
1289
|
.icon-button:focus-visible {
|
|
1290
|
-
${
|
|
1290
|
+
${it}
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
.sr-only {
|
|
@@ -1322,12 +1322,12 @@ H([
|
|
|
1322
1322
|
a({ type: String })
|
|
1323
1323
|
], A.prototype, "srLabel", 2);
|
|
1324
1324
|
A = H([
|
|
1325
|
-
|
|
1325
|
+
b("o-icon-button")
|
|
1326
1326
|
], A);
|
|
1327
|
-
var
|
|
1328
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1327
|
+
var Bo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, g = (o, t, e, r) => {
|
|
1328
|
+
for (var i = r > 1 ? void 0 : r ? Do(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1329
1329
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1330
|
-
return r && i &&
|
|
1330
|
+
return r && i && Bo(t, e, i), i;
|
|
1331
1331
|
};
|
|
1332
1332
|
let p = class extends u {
|
|
1333
1333
|
constructor() {
|
|
@@ -1376,7 +1376,7 @@ let p = class extends u {
|
|
|
1376
1376
|
document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
|
|
1377
1377
|
}
|
|
1378
1378
|
async focusDetailReturnBtn() {
|
|
1379
|
-
var i, n, s,
|
|
1379
|
+
var i, n, s, c, h;
|
|
1380
1380
|
await this.updateComplete;
|
|
1381
1381
|
const o = this.getDeepActiveElement(document);
|
|
1382
1382
|
if (o && o !== document.body)
|
|
@@ -1387,8 +1387,8 @@ let p = class extends u {
|
|
|
1387
1387
|
await new Promise(requestAnimationFrame);
|
|
1388
1388
|
const t = (i = this.shadowRoot) == null ? void 0 : i.querySelector(".detail-view .return-btn");
|
|
1389
1389
|
if (!t) return;
|
|
1390
|
-
t.updateComplete && await t.updateComplete, (
|
|
1391
|
-
const r = (
|
|
1390
|
+
t.updateComplete && await t.updateComplete, (c = (s = ((n = t.shadowRoot) == null ? void 0 : n.querySelector("button")) ?? t) == null ? void 0 : s.focus) == null || c.call(s, { preventScroll: !0 });
|
|
1391
|
+
const r = (h = this.shadowRoot) == null ? void 0 : h.querySelector('.panel[role="dialog"]');
|
|
1392
1392
|
r && r.setAttribute("aria-label", this.headerTitle);
|
|
1393
1393
|
}
|
|
1394
1394
|
_setPriceTabindex() {
|
|
@@ -1436,12 +1436,12 @@ let p = class extends u {
|
|
|
1436
1436
|
var s;
|
|
1437
1437
|
const n = [i.matches(p.focusablesSelector) ? i : []];
|
|
1438
1438
|
if (!["o-icon-button", "o-button"].includes(i.tagName.toLowerCase())) {
|
|
1439
|
-
const
|
|
1439
|
+
const c = Array.from(
|
|
1440
1440
|
i instanceof HTMLSlotElement ? i.assignedElements({ flatten: !0 }) : []
|
|
1441
|
-
).filter(t).flatMap(e),
|
|
1441
|
+
).filter(t).flatMap(e), h = Array.from(
|
|
1442
1442
|
((s = i.shadowRoot) == null ? void 0 : s.querySelectorAll("*")) || []
|
|
1443
1443
|
).filter(t).flatMap(e);
|
|
1444
|
-
n.push(...
|
|
1444
|
+
n.push(...c, ...h);
|
|
1445
1445
|
}
|
|
1446
1446
|
return n.flat();
|
|
1447
1447
|
}
|
|
@@ -1566,7 +1566,7 @@ let p = class extends u {
|
|
|
1566
1566
|
variant="${this.firstButtonVariant}"
|
|
1567
1567
|
@click=${this.handleFirstClick}
|
|
1568
1568
|
@keydown=${this.handleFirstClick}
|
|
1569
|
-
${
|
|
1569
|
+
${ue(this.firstButtonProps)}
|
|
1570
1570
|
>
|
|
1571
1571
|
${this.firstButtonLabel}
|
|
1572
1572
|
</o-button>
|
|
@@ -1577,7 +1577,7 @@ let p = class extends u {
|
|
|
1577
1577
|
variant="${this.secondButtonVariant}"
|
|
1578
1578
|
@click=${this.handleSecondClick}
|
|
1579
1579
|
@keydown=${this.handleSecondClick}
|
|
1580
|
-
${
|
|
1580
|
+
${ue(this.secondButtonProps)}
|
|
1581
1581
|
>
|
|
1582
1582
|
${this.secondButtonLabel}
|
|
1583
1583
|
</o-button>
|
|
@@ -1703,7 +1703,7 @@ p.styles = v`
|
|
|
1703
1703
|
|
|
1704
1704
|
.panel:focus-visible,
|
|
1705
1705
|
.close-btn:focus-visible {
|
|
1706
|
-
${
|
|
1706
|
+
${it}
|
|
1707
1707
|
}
|
|
1708
1708
|
|
|
1709
1709
|
[role="document"] {
|
|
@@ -1793,82 +1793,82 @@ p.styles = v`
|
|
|
1793
1793
|
`;
|
|
1794
1794
|
p.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
|
|
1795
1795
|
p.focusablesCustomElementsSelector = "o-icon-button, o-button";
|
|
1796
|
-
|
|
1796
|
+
g([
|
|
1797
1797
|
a({ type: Boolean, reflect: !0 })
|
|
1798
1798
|
], p.prototype, "open", 2);
|
|
1799
|
-
|
|
1799
|
+
g([
|
|
1800
1800
|
a({ type: Boolean, reflect: !0 })
|
|
1801
1801
|
], p.prototype, "showHeader", 2);
|
|
1802
|
-
|
|
1802
|
+
g([
|
|
1803
1803
|
a({ type: Boolean, reflect: !0 })
|
|
1804
1804
|
], p.prototype, "showFooter", 2);
|
|
1805
|
-
|
|
1805
|
+
g([
|
|
1806
1806
|
a({ type: Boolean, reflect: !0 })
|
|
1807
1807
|
], p.prototype, "showHeaderStartIcon", 2);
|
|
1808
|
-
|
|
1808
|
+
g([
|
|
1809
1809
|
a({ type: String, reflect: !0 })
|
|
1810
1810
|
], p.prototype, "headerTitle", 2);
|
|
1811
|
-
|
|
1811
|
+
g([
|
|
1812
1812
|
a({ type: String, reflect: !0 })
|
|
1813
1813
|
], p.prototype, "headerTitleClassName", 2);
|
|
1814
|
-
|
|
1814
|
+
g([
|
|
1815
1815
|
a({ type: String, reflect: !0 })
|
|
1816
1816
|
], p.prototype, "labelDialog", 2);
|
|
1817
|
-
|
|
1817
|
+
g([
|
|
1818
1818
|
a({ type: String, reflect: !0 })
|
|
1819
1819
|
], p.prototype, "closeButtonLabel", 2);
|
|
1820
|
-
|
|
1820
|
+
g([
|
|
1821
1821
|
a({ type: String, reflect: !0 })
|
|
1822
1822
|
], p.prototype, "goBackButtonLabel", 2);
|
|
1823
|
-
|
|
1823
|
+
g([
|
|
1824
1824
|
a({ type: String, reflect: !0 })
|
|
1825
1825
|
], p.prototype, "firstButtonLabel", 2);
|
|
1826
|
-
|
|
1826
|
+
g([
|
|
1827
1827
|
a({ type: String, reflect: !0 })
|
|
1828
1828
|
], p.prototype, "firstButtonVariant", 2);
|
|
1829
|
-
|
|
1829
|
+
g([
|
|
1830
1830
|
a({ type: Object, reflect: !0 })
|
|
1831
1831
|
], p.prototype, "firstButtonProps", 2);
|
|
1832
|
-
|
|
1832
|
+
g([
|
|
1833
1833
|
a({ type: Boolean, reflect: !0 })
|
|
1834
1834
|
], p.prototype, "onFirstButtonClickClose", 2);
|
|
1835
|
-
|
|
1835
|
+
g([
|
|
1836
1836
|
a({ type: String, reflect: !0 })
|
|
1837
1837
|
], p.prototype, "secondButtonLabel", 2);
|
|
1838
|
-
|
|
1838
|
+
g([
|
|
1839
1839
|
a({ type: String, reflect: !0 })
|
|
1840
1840
|
], p.prototype, "secondButtonVariant", 2);
|
|
1841
|
-
|
|
1841
|
+
g([
|
|
1842
1842
|
a({ type: Object, reflect: !0 })
|
|
1843
1843
|
], p.prototype, "secondButtonProps", 2);
|
|
1844
|
-
|
|
1844
|
+
g([
|
|
1845
1845
|
a({ type: Boolean, reflect: !0 })
|
|
1846
1846
|
], p.prototype, "onSecondButtonClickClose", 2);
|
|
1847
|
-
|
|
1847
|
+
g([
|
|
1848
1848
|
a({ type: Boolean, reflect: !0 })
|
|
1849
1849
|
], p.prototype, "disablePortal", 2);
|
|
1850
|
-
|
|
1850
|
+
g([
|
|
1851
1851
|
a({ type: Number, reflect: !0 })
|
|
1852
1852
|
], p.prototype, "zIndex", 2);
|
|
1853
|
-
|
|
1853
|
+
g([
|
|
1854
1854
|
a({ type: Boolean, reflect: !0 })
|
|
1855
1855
|
], p.prototype, "initialized", 2);
|
|
1856
|
-
|
|
1856
|
+
g([
|
|
1857
1857
|
a({ type: Boolean })
|
|
1858
1858
|
], p.prototype, "showDetail", 2);
|
|
1859
|
-
|
|
1859
|
+
g([
|
|
1860
1860
|
a({ type: Boolean })
|
|
1861
1861
|
], p.prototype, "isHidingDetail", 2);
|
|
1862
|
-
p =
|
|
1863
|
-
|
|
1862
|
+
p = g([
|
|
1863
|
+
b("o-side-panel")
|
|
1864
1864
|
], p);
|
|
1865
|
-
var
|
|
1866
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1865
|
+
var Ho = Object.defineProperty, To = Object.getOwnPropertyDescriptor, x = (o, t, e, r) => {
|
|
1866
|
+
for (var i = r > 1 ? void 0 : r ? To(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1867
1867
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1868
|
-
return r && i &&
|
|
1868
|
+
return r && i && Ho(t, e, i), i;
|
|
1869
1869
|
};
|
|
1870
|
-
const
|
|
1871
|
-
let y = class extends
|
|
1870
|
+
const Mo = Zt(u);
|
|
1871
|
+
let y = class extends Mo {
|
|
1872
1872
|
constructor() {
|
|
1873
1873
|
super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "", this.endIconModel = "", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "", this.underlined = !1, this.withbadge = !1;
|
|
1874
1874
|
}
|
|
@@ -1879,7 +1879,7 @@ let y = class extends Ho {
|
|
|
1879
1879
|
this.setAttribute("name", o);
|
|
1880
1880
|
}
|
|
1881
1881
|
get form() {
|
|
1882
|
-
return this[
|
|
1882
|
+
return this[qt].form;
|
|
1883
1883
|
}
|
|
1884
1884
|
handleClick(o) {
|
|
1885
1885
|
if (!(o instanceof KeyboardEvent && !["Enter", " "].includes(o.key)) && this.panelTarget) {
|
|
@@ -1893,11 +1893,11 @@ let y = class extends Ho {
|
|
|
1893
1893
|
renderIcon(o) {
|
|
1894
1894
|
const t = o === "start" ? this.startIconModel : this.endIconModel;
|
|
1895
1895
|
if (!t) return d;
|
|
1896
|
-
const e =
|
|
1896
|
+
const e = N[t].replace(
|
|
1897
1897
|
"<svg",
|
|
1898
1898
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1899
1899
|
);
|
|
1900
|
-
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${
|
|
1900
|
+
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${_(e)}</span>`;
|
|
1901
1901
|
}
|
|
1902
1902
|
renderButton() {
|
|
1903
1903
|
const o = this.text || this.textsecond;
|
|
@@ -1936,7 +1936,7 @@ let y = class extends Ho {
|
|
|
1936
1936
|
`;
|
|
1937
1937
|
}
|
|
1938
1938
|
};
|
|
1939
|
-
|
|
1939
|
+
qe(y);
|
|
1940
1940
|
y.formAssociated = !0;
|
|
1941
1941
|
y.styles = v`
|
|
1942
1942
|
:host {
|
|
@@ -2055,7 +2055,7 @@ y.styles = v`
|
|
|
2055
2055
|
}
|
|
2056
2056
|
|
|
2057
2057
|
.button:focus-visible {
|
|
2058
|
-
${
|
|
2058
|
+
${it};
|
|
2059
2059
|
}
|
|
2060
2060
|
|
|
2061
2061
|
span.text + span.text::before {
|
|
@@ -2189,14 +2189,14 @@ x([
|
|
|
2189
2189
|
a({ type: Boolean, reflect: !0 })
|
|
2190
2190
|
], y.prototype, "withbadge", 2);
|
|
2191
2191
|
y = x([
|
|
2192
|
-
|
|
2192
|
+
b("o-button")
|
|
2193
2193
|
], y);
|
|
2194
|
-
var
|
|
2195
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
2194
|
+
var jo = Object.defineProperty, Ro = Object.getOwnPropertyDescriptor, Pt = (o, t, e, r) => {
|
|
2195
|
+
for (var i = r > 1 ? void 0 : r ? Ro(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2196
2196
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2197
|
-
return r && i &&
|
|
2197
|
+
return r && i && jo(t, e, i), i;
|
|
2198
2198
|
};
|
|
2199
|
-
let
|
|
2199
|
+
let at = class extends u {
|
|
2200
2200
|
constructor() {
|
|
2201
2201
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
2202
2202
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -2216,14 +2216,14 @@ let st = class extends u {
|
|
|
2216
2216
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.toggleStatus());
|
|
2217
2217
|
}
|
|
2218
2218
|
render() {
|
|
2219
|
-
const o =
|
|
2219
|
+
const o = N.wishlist.replace(
|
|
2220
2220
|
"<svg",
|
|
2221
2221
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
2222
2222
|
);
|
|
2223
2223
|
return l`
|
|
2224
2224
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
2225
2225
|
<span class="sr-only">${this.label}</span>
|
|
2226
|
-
${
|
|
2226
|
+
${_(o)}
|
|
2227
2227
|
</button>
|
|
2228
2228
|
`;
|
|
2229
2229
|
}
|
|
@@ -2237,7 +2237,7 @@ let st = class extends u {
|
|
|
2237
2237
|
this.label = o, this.requestUpdate();
|
|
2238
2238
|
}
|
|
2239
2239
|
};
|
|
2240
|
-
|
|
2240
|
+
at.styles = v`
|
|
2241
2241
|
:host {
|
|
2242
2242
|
display: inline-flex;
|
|
2243
2243
|
justify-content: center;
|
|
@@ -2267,7 +2267,7 @@ st.styles = v`
|
|
|
2267
2267
|
}
|
|
2268
2268
|
|
|
2269
2269
|
.wishlist-button:focus-visible {
|
|
2270
|
-
${
|
|
2270
|
+
${it};
|
|
2271
2271
|
}
|
|
2272
2272
|
|
|
2273
2273
|
.wishlist-button:hover svg path {
|
|
@@ -2302,24 +2302,24 @@ st.styles = v`
|
|
|
2302
2302
|
white-space: nowrap !important;
|
|
2303
2303
|
}
|
|
2304
2304
|
`;
|
|
2305
|
-
|
|
2305
|
+
Pt([
|
|
2306
2306
|
a({ type: String, reflect: !0 })
|
|
2307
|
-
],
|
|
2308
|
-
|
|
2307
|
+
], at.prototype, "status", 2);
|
|
2308
|
+
Pt([
|
|
2309
2309
|
a({ type: String, reflect: !0 })
|
|
2310
|
-
],
|
|
2311
|
-
|
|
2310
|
+
], at.prototype, "ariaDescribedBy", 2);
|
|
2311
|
+
Pt([
|
|
2312
2312
|
a({ type: String, reflect: !0 })
|
|
2313
|
-
],
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
],
|
|
2317
|
-
var
|
|
2318
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
2313
|
+
], at.prototype, "label", 2);
|
|
2314
|
+
at = Pt([
|
|
2315
|
+
b("o-wishlist-button")
|
|
2316
|
+
], at);
|
|
2317
|
+
var Uo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, rt = (o, t, e, r) => {
|
|
2318
|
+
for (var i = r > 1 ? void 0 : r ? No(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2319
2319
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2320
|
-
return r && i &&
|
|
2320
|
+
return r && i && Uo(t, e, i), i;
|
|
2321
2321
|
};
|
|
2322
|
-
let
|
|
2322
|
+
let F = class extends u {
|
|
2323
2323
|
constructor() {
|
|
2324
2324
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
2325
2325
|
}
|
|
@@ -2361,7 +2361,7 @@ let U = class extends u {
|
|
|
2361
2361
|
`;
|
|
2362
2362
|
}
|
|
2363
2363
|
};
|
|
2364
|
-
|
|
2364
|
+
F.styles = v`
|
|
2365
2365
|
:host([template="standard"]) a {
|
|
2366
2366
|
color: var(--color-content-action-secondary);
|
|
2367
2367
|
font-size: var(--font-size-200);
|
|
@@ -2449,33 +2449,33 @@ U.styles = v`
|
|
|
2449
2449
|
}
|
|
2450
2450
|
/* End of underline effect */
|
|
2451
2451
|
`;
|
|
2452
|
-
|
|
2452
|
+
rt([
|
|
2453
2453
|
a({ type: String })
|
|
2454
|
-
],
|
|
2455
|
-
|
|
2454
|
+
], F.prototype, "href", 2);
|
|
2455
|
+
rt([
|
|
2456
2456
|
a({ type: String })
|
|
2457
|
-
],
|
|
2458
|
-
|
|
2457
|
+
], F.prototype, "target", 2);
|
|
2458
|
+
rt([
|
|
2459
2459
|
a({ type: String, reflect: !0 })
|
|
2460
|
-
],
|
|
2461
|
-
|
|
2460
|
+
], F.prototype, "template", 2);
|
|
2461
|
+
rt([
|
|
2462
2462
|
a({ type: Boolean, reflect: !0 })
|
|
2463
|
-
],
|
|
2464
|
-
|
|
2463
|
+
], F.prototype, "inverse", 2);
|
|
2464
|
+
rt([
|
|
2465
2465
|
a({ type: Boolean, reflect: !0 })
|
|
2466
|
-
],
|
|
2467
|
-
|
|
2466
|
+
], F.prototype, "endIcon", 2);
|
|
2467
|
+
rt([
|
|
2468
2468
|
a({ type: Boolean, reflect: !0 })
|
|
2469
|
-
],
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
],
|
|
2473
|
-
var
|
|
2474
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
2469
|
+
], F.prototype, "reverseEndIcon", 2);
|
|
2470
|
+
F = rt([
|
|
2471
|
+
b("o-link")
|
|
2472
|
+
], F);
|
|
2473
|
+
var Fo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, Ot = (o, t, e, r) => {
|
|
2474
|
+
for (var i = r > 1 ? void 0 : r ? Vo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2475
2475
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2476
|
-
return r && i &&
|
|
2476
|
+
return r && i && Fo(t, e, i), i;
|
|
2477
2477
|
};
|
|
2478
|
-
let
|
|
2478
|
+
let lt = class extends u {
|
|
2479
2479
|
constructor() {
|
|
2480
2480
|
super(...arguments), this.rating = 0;
|
|
2481
2481
|
}
|
|
@@ -2494,7 +2494,7 @@ let at = class extends u {
|
|
|
2494
2494
|
<div class="rating">
|
|
2495
2495
|
<div class="stars">
|
|
2496
2496
|
${o.map(
|
|
2497
|
-
(t) => l`<span class="star">${
|
|
2497
|
+
(t) => l`<span class="star">${_(N[t] ?? "")}</span>`
|
|
2498
2498
|
)}
|
|
2499
2499
|
</div>
|
|
2500
2500
|
${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -2502,7 +2502,7 @@ let at = class extends u {
|
|
|
2502
2502
|
`;
|
|
2503
2503
|
}
|
|
2504
2504
|
};
|
|
2505
|
-
|
|
2505
|
+
lt.styles = v`
|
|
2506
2506
|
svg {
|
|
2507
2507
|
width: 12px;
|
|
2508
2508
|
height: 12px;
|
|
@@ -2536,22 +2536,22 @@ at.styles = v`
|
|
|
2536
2536
|
cursor: pointer;
|
|
2537
2537
|
}
|
|
2538
2538
|
`;
|
|
2539
|
-
|
|
2539
|
+
Ot([
|
|
2540
2540
|
a({ type: Number })
|
|
2541
|
-
],
|
|
2542
|
-
|
|
2541
|
+
], lt.prototype, "rating", 2);
|
|
2542
|
+
Ot([
|
|
2543
2543
|
a({ type: String })
|
|
2544
|
-
],
|
|
2545
|
-
|
|
2544
|
+
], lt.prototype, "reviewCount", 2);
|
|
2545
|
+
Ot([
|
|
2546
2546
|
a({ type: String })
|
|
2547
|
-
],
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
],
|
|
2551
|
-
var
|
|
2552
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
2547
|
+
], lt.prototype, "href", 2);
|
|
2548
|
+
lt = Ot([
|
|
2549
|
+
b("o-rating")
|
|
2550
|
+
], lt);
|
|
2551
|
+
var qo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, X = (o, t, e, r) => {
|
|
2552
|
+
for (var i = r > 1 ? void 0 : r ? Zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2553
2553
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2554
|
-
return r && i &&
|
|
2554
|
+
return r && i && qo(t, e, i), i;
|
|
2555
2555
|
};
|
|
2556
2556
|
let D = class extends u {
|
|
2557
2557
|
constructor() {
|
|
@@ -2769,17 +2769,17 @@ X([
|
|
|
2769
2769
|
a({ type: Object })
|
|
2770
2770
|
], D.prototype, "swiperInstance", 2);
|
|
2771
2771
|
X([
|
|
2772
|
-
|
|
2772
|
+
ot()
|
|
2773
2773
|
], D.prototype, "focusedIndex", 2);
|
|
2774
2774
|
D = X([
|
|
2775
|
-
|
|
2775
|
+
b("thumbnail-navigation")
|
|
2776
2776
|
], D);
|
|
2777
|
-
var
|
|
2778
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
2777
|
+
var Ko = Object.defineProperty, Wo = Object.getOwnPropertyDescriptor, Xt = (o, t, e, r) => {
|
|
2778
|
+
for (var i = r > 1 ? void 0 : r ? Wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2779
2779
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2780
|
-
return r && i &&
|
|
2780
|
+
return r && i && Ko(t, e, i), i;
|
|
2781
2781
|
};
|
|
2782
|
-
let
|
|
2782
|
+
let bt = class extends u {
|
|
2783
2783
|
constructor() {
|
|
2784
2784
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2785
2785
|
}
|
|
@@ -2789,7 +2789,7 @@ let ft = class extends u {
|
|
|
2789
2789
|
`;
|
|
2790
2790
|
}
|
|
2791
2791
|
};
|
|
2792
|
-
|
|
2792
|
+
bt.styles = v`
|
|
2793
2793
|
.tag {
|
|
2794
2794
|
display: inline-block;
|
|
2795
2795
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2847,21 +2847,21 @@ ft.styles = v`
|
|
|
2847
2847
|
}
|
|
2848
2848
|
|
|
2849
2849
|
`;
|
|
2850
|
-
|
|
2850
|
+
Xt([
|
|
2851
2851
|
a({ type: String, reflect: !0 })
|
|
2852
|
-
],
|
|
2853
|
-
|
|
2852
|
+
], bt.prototype, "type", 2);
|
|
2853
|
+
Xt([
|
|
2854
2854
|
a({ type: String, reflect: !0 })
|
|
2855
|
-
],
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
],
|
|
2859
|
-
var
|
|
2860
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
2855
|
+
], bt.prototype, "bgstyle", 2);
|
|
2856
|
+
bt = Xt([
|
|
2857
|
+
b("o-tag")
|
|
2858
|
+
], bt);
|
|
2859
|
+
var Go = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, Jt = (o, t, e, r) => {
|
|
2860
|
+
for (var i = r > 1 ? void 0 : r ? Xo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2861
2861
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2862
|
-
return r && i &&
|
|
2862
|
+
return r && i && Go(t, e, i), i;
|
|
2863
2863
|
};
|
|
2864
|
-
let
|
|
2864
|
+
let gt = class extends u {
|
|
2865
2865
|
constructor() {
|
|
2866
2866
|
super(...arguments), this.type = "top", this.text = "";
|
|
2867
2867
|
}
|
|
@@ -2874,7 +2874,7 @@ let bt = class extends u {
|
|
|
2874
2874
|
`;
|
|
2875
2875
|
}
|
|
2876
2876
|
};
|
|
2877
|
-
|
|
2877
|
+
gt.styles = v`
|
|
2878
2878
|
.tooltip {
|
|
2879
2879
|
position: relative;
|
|
2880
2880
|
display: inline-block;
|
|
@@ -2967,19 +2967,19 @@ bt.styles = v`
|
|
|
2967
2967
|
}
|
|
2968
2968
|
|
|
2969
2969
|
`;
|
|
2970
|
-
|
|
2970
|
+
Jt([
|
|
2971
2971
|
a({ type: String, reflect: !0 })
|
|
2972
|
-
],
|
|
2973
|
-
|
|
2972
|
+
], gt.prototype, "type", 2);
|
|
2973
|
+
Jt([
|
|
2974
2974
|
a({ type: String, reflect: !0 })
|
|
2975
|
-
],
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
],
|
|
2979
|
-
var
|
|
2980
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
2975
|
+
], gt.prototype, "text", 2);
|
|
2976
|
+
gt = Jt([
|
|
2977
|
+
b("o-tooltip")
|
|
2978
|
+
], gt);
|
|
2979
|
+
var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, V = (o, t, e, r) => {
|
|
2980
|
+
for (var i = r > 1 ? void 0 : r ? Qo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2981
2981
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2982
|
-
return r && i &&
|
|
2982
|
+
return r && i && Jo(t, e, i), i;
|
|
2983
2983
|
};
|
|
2984
2984
|
let z = class extends u {
|
|
2985
2985
|
constructor() {
|
|
@@ -3047,7 +3047,7 @@ let z = class extends u {
|
|
|
3047
3047
|
this.options.length > 0 && (this.options.some((e) => e.value === this.value) || (this.value = this.options[0].value));
|
|
3048
3048
|
}
|
|
3049
3049
|
render() {
|
|
3050
|
-
const o =
|
|
3050
|
+
const o = N.checkstroke.replace(
|
|
3051
3051
|
"<svg",
|
|
3052
3052
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3053
3053
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -3092,10 +3092,10 @@ let z = class extends u {
|
|
|
3092
3092
|
${e.url ? l`
|
|
3093
3093
|
<a href="${e.url}">
|
|
3094
3094
|
<span>${e.label}</span>
|
|
3095
|
-
${e.value === this.value ? l`<span class="check">${
|
|
3095
|
+
${e.value === this.value ? l`<span class="check">${_(o)}</span>` : null}
|
|
3096
3096
|
</a>` : l`
|
|
3097
3097
|
<span>${e.label}</span>
|
|
3098
|
-
${e.value === this.value ? l`<span class="check">${
|
|
3098
|
+
${e.value === this.value ? l`<span class="check">${_(o)}</span>` : null}`}
|
|
3099
3099
|
</li>`
|
|
3100
3100
|
)}
|
|
3101
3101
|
</ul>` : null}
|
|
@@ -3260,28 +3260,28 @@ V([
|
|
|
3260
3260
|
a({ type: String, reflect: !0 })
|
|
3261
3261
|
], z.prototype, "width", 2);
|
|
3262
3262
|
V([
|
|
3263
|
-
|
|
3263
|
+
ot()
|
|
3264
3264
|
], z.prototype, "open", 2);
|
|
3265
3265
|
V([
|
|
3266
|
-
|
|
3266
|
+
ot()
|
|
3267
3267
|
], z.prototype, "activeIndex", 2);
|
|
3268
3268
|
V([
|
|
3269
|
-
|
|
3269
|
+
ot()
|
|
3270
3270
|
], z.prototype, "menuWidth", 2);
|
|
3271
3271
|
z = V([
|
|
3272
|
-
|
|
3272
|
+
b("o-dropdown")
|
|
3273
3273
|
], z);
|
|
3274
|
-
var
|
|
3275
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
3274
|
+
var Yo = Object.getOwnPropertyDescriptor, ti = (o, t, e, r) => {
|
|
3275
|
+
for (var i = r > 1 ? void 0 : r ? Yo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3276
3276
|
(s = o[n]) && (i = s(i) || i);
|
|
3277
3277
|
return i;
|
|
3278
3278
|
};
|
|
3279
|
-
let
|
|
3279
|
+
let jt = class extends u {
|
|
3280
3280
|
render() {
|
|
3281
3281
|
return l` <span class="dots"></span> `;
|
|
3282
3282
|
}
|
|
3283
3283
|
};
|
|
3284
|
-
|
|
3284
|
+
jt.styles = v`
|
|
3285
3285
|
:host {
|
|
3286
3286
|
display: flex;
|
|
3287
3287
|
align-items: center;
|
|
@@ -3333,13 +3333,13 @@ Tt.styles = v`
|
|
|
3333
3333
|
}
|
|
3334
3334
|
}
|
|
3335
3335
|
`;
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
],
|
|
3339
|
-
var
|
|
3340
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
3336
|
+
jt = ti([
|
|
3337
|
+
b("o-dots")
|
|
3338
|
+
], jt);
|
|
3339
|
+
var ei = Object.defineProperty, oi = Object.getOwnPropertyDescriptor, T = (o, t, e, r) => {
|
|
3340
|
+
for (var i = r > 1 ? void 0 : r ? oi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3341
3341
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3342
|
-
return r && i &&
|
|
3342
|
+
return r && i && ei(t, e, i), i;
|
|
3343
3343
|
};
|
|
3344
3344
|
let E = class extends u {
|
|
3345
3345
|
constructor() {
|
|
@@ -3407,7 +3407,7 @@ let E = class extends u {
|
|
|
3407
3407
|
this.options.length > 0 && (this.options.some((t) => t.value === this.value) || (this.value = this.options[0].value));
|
|
3408
3408
|
}
|
|
3409
3409
|
render() {
|
|
3410
|
-
const o =
|
|
3410
|
+
const o = N.checkstroke.replace(
|
|
3411
3411
|
"<svg",
|
|
3412
3412
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3413
3413
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -3466,7 +3466,7 @@ let E = class extends u {
|
|
|
3466
3466
|
<div class="right">
|
|
3467
3467
|
<span class="additional-text">${S(e.additionaltext)}</span>
|
|
3468
3468
|
${e.value === this.value && !e.additionaltext ? l`
|
|
3469
|
-
<span class="check">${
|
|
3469
|
+
<span class="check">${_(o)}</span>` : null}
|
|
3470
3470
|
</div>
|
|
3471
3471
|
</a>
|
|
3472
3472
|
</li>
|
|
@@ -3673,26 +3673,26 @@ T([
|
|
|
3673
3673
|
a({ type: String, reflect: !0 })
|
|
3674
3674
|
], E.prototype, "width", 2);
|
|
3675
3675
|
T([
|
|
3676
|
-
|
|
3676
|
+
ot()
|
|
3677
3677
|
], E.prototype, "open", 2);
|
|
3678
3678
|
T([
|
|
3679
|
-
|
|
3679
|
+
ot()
|
|
3680
3680
|
], E.prototype, "activeIndex", 2);
|
|
3681
3681
|
T([
|
|
3682
|
-
|
|
3682
|
+
ot()
|
|
3683
3683
|
], E.prototype, "menuWidth", 2);
|
|
3684
3684
|
E = T([
|
|
3685
|
-
|
|
3685
|
+
b("o-dropdown-variant")
|
|
3686
3686
|
], E);
|
|
3687
3687
|
/**
|
|
3688
3688
|
* @license
|
|
3689
3689
|
* Copyright 2018 Google LLC
|
|
3690
3690
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3691
3691
|
*/
|
|
3692
|
-
const
|
|
3692
|
+
const $e = "important", ii = " !" + $e, ri = Wt(class extends Gt {
|
|
3693
3693
|
constructor(o) {
|
|
3694
3694
|
var t;
|
|
3695
|
-
if (super(o), o.type !==
|
|
3695
|
+
if (super(o), o.type !== Kt.ATTRIBUTE || o.name !== "style" || ((t = o.strings) == null ? 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.");
|
|
3696
3696
|
}
|
|
3697
3697
|
render(o) {
|
|
3698
3698
|
return Object.keys(o).reduce((t, e) => {
|
|
@@ -3708,37 +3708,40 @@ const xe = "important", ei = " !" + xe, oi = Zt(class extends Kt {
|
|
|
3708
3708
|
const i = t[r];
|
|
3709
3709
|
if (i != null) {
|
|
3710
3710
|
this.ft.add(r);
|
|
3711
|
-
const n = typeof i == "string" && i.endsWith(
|
|
3712
|
-
r.includes("-") || n ? e.setProperty(r, n ? i.slice(0, -11) : i, n ?
|
|
3711
|
+
const n = typeof i == "string" && i.endsWith(ii);
|
|
3712
|
+
r.includes("-") || n ? e.setProperty(r, n ? i.slice(0, -11) : i, n ? $e : "") : e[r] = i;
|
|
3713
3713
|
}
|
|
3714
3714
|
}
|
|
3715
3715
|
return G;
|
|
3716
3716
|
}
|
|
3717
3717
|
});
|
|
3718
|
-
var
|
|
3719
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
3718
|
+
var ni = Object.defineProperty, si = Object.getOwnPropertyDescriptor, Qt = (o, t, e, r) => {
|
|
3719
|
+
for (var i = r > 1 ? void 0 : r ? si(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3720
3720
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3721
|
-
return r && i &&
|
|
3721
|
+
return r && i && ni(t, e, i), i;
|
|
3722
3722
|
};
|
|
3723
|
-
let
|
|
3723
|
+
let yt = class extends u {
|
|
3724
3724
|
constructor() {
|
|
3725
3725
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3726
3726
|
}
|
|
3727
3727
|
render() {
|
|
3728
|
-
const o =
|
|
3728
|
+
const o = (s) => {
|
|
3729
|
+
const c = document.createElement("textarea");
|
|
3730
|
+
return c.innerHTML = s, c.value;
|
|
3731
|
+
}, t = this.option && this.option.clickable, e = {
|
|
3729
3732
|
width: `${this.imageSize}px`,
|
|
3730
3733
|
height: `${this.imageSize}px`
|
|
3731
|
-
},
|
|
3732
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${S(
|
|
3734
|
+
}, r = this.option && this.option.title ? o(this.option.title) : "", i = this.option && this.option.description ? o(this.option.description) : "", n = l`
|
|
3735
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${S(r)}" aria-hidden="true" style=${ri(e)} />` : ""}
|
|
3733
3736
|
<div class="m-reassurance-content">
|
|
3734
|
-
<h3 class="a-reassurance-text">${S(
|
|
3735
|
-
<p class="a-reassurance-description">${S(
|
|
3737
|
+
<h3 class="a-reassurance-text">${S(r)}</h3>
|
|
3738
|
+
<p class="a-reassurance-description">${S(i)}</p>
|
|
3736
3739
|
</div>
|
|
3737
3740
|
`;
|
|
3738
|
-
return
|
|
3741
|
+
return t ? l`<a href="${S(this.option.url)}" class="reassurance-item clickable">${n}</a>` : l`<div class="reassurance-item">${n}</div>`;
|
|
3739
3742
|
}
|
|
3740
3743
|
};
|
|
3741
|
-
|
|
3744
|
+
yt.styles = v`
|
|
3742
3745
|
:host {
|
|
3743
3746
|
display: inline-block;
|
|
3744
3747
|
position: relative;
|
|
@@ -3798,7 +3801,7 @@ gt.styles = v`
|
|
|
3798
3801
|
letter-spacing: var(--letter-spacing-400);
|
|
3799
3802
|
text-transform: uppercase;
|
|
3800
3803
|
margin: var(--spacing-4-xs);
|
|
3801
|
-
|
|
3804
|
+
display: -webkit-box;
|
|
3802
3805
|
-webkit-line-clamp: 1;
|
|
3803
3806
|
line-clamp: 1;
|
|
3804
3807
|
-webkit-box-orient: vertical;
|
|
@@ -3820,22 +3823,22 @@ gt.styles = v`
|
|
|
3820
3823
|
}
|
|
3821
3824
|
}
|
|
3822
3825
|
`;
|
|
3823
|
-
|
|
3826
|
+
Qt([
|
|
3824
3827
|
a({ type: Object, reflect: !0 })
|
|
3825
|
-
],
|
|
3826
|
-
|
|
3828
|
+
], yt.prototype, "option", 2);
|
|
3829
|
+
Qt([
|
|
3827
3830
|
a({ type: Number, reflect: !0 })
|
|
3828
|
-
],
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
],
|
|
3832
|
-
var
|
|
3833
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
3831
|
+
], yt.prototype, "imageSize", 2);
|
|
3832
|
+
yt = Qt([
|
|
3833
|
+
b("o-reassurance")
|
|
3834
|
+
], yt);
|
|
3835
|
+
var ai = Object.defineProperty, li = Object.getOwnPropertyDescriptor, q = (o, t, e, r) => {
|
|
3836
|
+
for (var i = r > 1 ? void 0 : r ? li(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3834
3837
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3835
|
-
return r && i &&
|
|
3838
|
+
return r && i && ai(t, e, i), i;
|
|
3836
3839
|
};
|
|
3837
|
-
const
|
|
3838
|
-
let L = class extends
|
|
3840
|
+
const ci = Zt(u);
|
|
3841
|
+
let L = class extends ci {
|
|
3839
3842
|
constructor() {
|
|
3840
3843
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3841
3844
|
}
|
|
@@ -3934,7 +3937,7 @@ L.styles = v`
|
|
|
3934
3937
|
}
|
|
3935
3938
|
|
|
3936
3939
|
&:focus-visible {
|
|
3937
|
-
${
|
|
3940
|
+
${it};
|
|
3938
3941
|
}
|
|
3939
3942
|
}
|
|
3940
3943
|
|
|
@@ -3973,14 +3976,14 @@ q([
|
|
|
3973
3976
|
a({ type: Boolean, reflect: !0 })
|
|
3974
3977
|
], L.prototype, "inactive", 2);
|
|
3975
3978
|
L = q([
|
|
3976
|
-
|
|
3979
|
+
b("o-chip")
|
|
3977
3980
|
], L);
|
|
3978
|
-
var
|
|
3979
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
3981
|
+
var hi = Object.defineProperty, di = Object.getOwnPropertyDescriptor, Yt = (o, t, e, r) => {
|
|
3982
|
+
for (var i = r > 1 ? void 0 : r ? di(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3980
3983
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3981
|
-
return r && i &&
|
|
3984
|
+
return r && i && hi(t, e, i), i;
|
|
3982
3985
|
};
|
|
3983
|
-
let
|
|
3986
|
+
let mt = class extends u {
|
|
3984
3987
|
constructor() {
|
|
3985
3988
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
3986
3989
|
}
|
|
@@ -3996,7 +3999,7 @@ let yt = class extends u {
|
|
|
3996
3999
|
`;
|
|
3997
4000
|
}
|
|
3998
4001
|
};
|
|
3999
|
-
|
|
4002
|
+
mt.styles = v`
|
|
4000
4003
|
:host {
|
|
4001
4004
|
display: flex;
|
|
4002
4005
|
flex-direction: row;
|
|
@@ -4004,22 +4007,22 @@ yt.styles = v`
|
|
|
4004
4007
|
gap: var(--spacing-s);
|
|
4005
4008
|
}
|
|
4006
4009
|
`;
|
|
4007
|
-
|
|
4010
|
+
Yt([
|
|
4008
4011
|
a({ reflect: !0 })
|
|
4009
|
-
],
|
|
4010
|
-
|
|
4012
|
+
], mt.prototype, "name", 2);
|
|
4013
|
+
Yt([
|
|
4011
4014
|
a({ reflect: !0 })
|
|
4012
|
-
],
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
],
|
|
4016
|
-
var
|
|
4017
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
4015
|
+
], mt.prototype, "value", 2);
|
|
4016
|
+
mt = Yt([
|
|
4017
|
+
b("o-chipset")
|
|
4018
|
+
], mt);
|
|
4019
|
+
var pi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, M = (o, t, e, r) => {
|
|
4020
|
+
for (var i = r > 1 ? void 0 : r ? ui(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4018
4021
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4019
|
-
return r && i &&
|
|
4022
|
+
return r && i && pi(t, e, i), i;
|
|
4020
4023
|
};
|
|
4021
|
-
const
|
|
4022
|
-
let P = class extends
|
|
4024
|
+
const vi = Zt(u);
|
|
4025
|
+
let P = class extends vi {
|
|
4023
4026
|
constructor() {
|
|
4024
4027
|
super(...arguments), this.name = "", this.value = "", this.type = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
|
|
4025
4028
|
}
|
|
@@ -4031,18 +4034,18 @@ let P = class extends pi {
|
|
|
4031
4034
|
this.dispatchEvent(e), e.defaultPrevented && o.preventDefault(), this.selected = t.selected;
|
|
4032
4035
|
}
|
|
4033
4036
|
crossIcon() {
|
|
4034
|
-
const o =
|
|
4037
|
+
const o = N[this.crossIconName].replace(
|
|
4035
4038
|
"<svg",
|
|
4036
4039
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
4037
4040
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
4038
|
-
return l`<span class="cross-icon">${
|
|
4041
|
+
return l`<span class="cross-icon">${_(o)}</span>`;
|
|
4039
4042
|
}
|
|
4040
4043
|
strikeThroughImg() {
|
|
4041
|
-
const o =
|
|
4044
|
+
const o = $o[this.strikethroughImgName].replace(
|
|
4042
4045
|
"<svg",
|
|
4043
4046
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
4044
4047
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
4045
|
-
return
|
|
4048
|
+
return _(o);
|
|
4046
4049
|
}
|
|
4047
4050
|
render() {
|
|
4048
4051
|
const o = this.text;
|
|
@@ -4149,7 +4152,7 @@ P.styles = v`
|
|
|
4149
4152
|
}
|
|
4150
4153
|
|
|
4151
4154
|
.button:focus-visible {
|
|
4152
|
-
${
|
|
4155
|
+
${it};
|
|
4153
4156
|
}
|
|
4154
4157
|
|
|
4155
4158
|
span.text + span.text::before {
|
|
@@ -4223,14 +4226,14 @@ M([
|
|
|
4223
4226
|
a({ type: Boolean, reflect: !0 })
|
|
4224
4227
|
], P.prototype, "fullwidth", 2);
|
|
4225
4228
|
P = M([
|
|
4226
|
-
|
|
4229
|
+
b("o-filter-chip")
|
|
4227
4230
|
], P);
|
|
4228
|
-
var
|
|
4231
|
+
var fi = Object.defineProperty, j = (o, t, e, r) => {
|
|
4229
4232
|
for (var i = void 0, n = o.length - 1, s; n >= 0; n--)
|
|
4230
4233
|
(s = o[n]) && (i = s(t, e, i) || i);
|
|
4231
|
-
return i &&
|
|
4234
|
+
return i && fi(t, e, i), i;
|
|
4232
4235
|
};
|
|
4233
|
-
const
|
|
4236
|
+
const oe = class oe extends u {
|
|
4234
4237
|
constructor() {
|
|
4235
4238
|
super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "", this.fullwidth = !1, this.tagText = "";
|
|
4236
4239
|
}
|
|
@@ -4280,7 +4283,7 @@ const te = class te extends u {
|
|
|
4280
4283
|
`;
|
|
4281
4284
|
}
|
|
4282
4285
|
};
|
|
4283
|
-
|
|
4286
|
+
oe.styles = v`
|
|
4284
4287
|
:host {
|
|
4285
4288
|
display: block;
|
|
4286
4289
|
max-width: 100%;
|
|
@@ -4377,44 +4380,44 @@ te.styles = v`
|
|
|
4377
4380
|
cursor: pointer;
|
|
4378
4381
|
}
|
|
4379
4382
|
`;
|
|
4380
|
-
let
|
|
4383
|
+
let C = oe;
|
|
4381
4384
|
j([
|
|
4382
4385
|
a({ type: String })
|
|
4383
|
-
],
|
|
4386
|
+
], C.prototype, "type");
|
|
4384
4387
|
j([
|
|
4385
4388
|
a({ type: String })
|
|
4386
|
-
],
|
|
4389
|
+
], C.prototype, "titleProduct");
|
|
4387
4390
|
j([
|
|
4388
4391
|
a({ type: String })
|
|
4389
|
-
],
|
|
4392
|
+
], C.prototype, "volume");
|
|
4390
4393
|
j([
|
|
4391
4394
|
a({ type: String })
|
|
4392
|
-
],
|
|
4395
|
+
], C.prototype, "perLiter");
|
|
4393
4396
|
j([
|
|
4394
4397
|
a({ type: String })
|
|
4395
|
-
],
|
|
4398
|
+
], C.prototype, "mainPrice");
|
|
4396
4399
|
j([
|
|
4397
4400
|
a({ type: String })
|
|
4398
|
-
],
|
|
4401
|
+
], C.prototype, "imageUrl");
|
|
4399
4402
|
j([
|
|
4400
4403
|
a({ type: String })
|
|
4401
|
-
],
|
|
4404
|
+
], C.prototype, "altImage");
|
|
4402
4405
|
j([
|
|
4403
4406
|
a({ type: Boolean })
|
|
4404
|
-
],
|
|
4407
|
+
], C.prototype, "fullwidth");
|
|
4405
4408
|
j([
|
|
4406
4409
|
a({ type: String })
|
|
4407
|
-
],
|
|
4410
|
+
], C.prototype, "tagText");
|
|
4408
4411
|
j([
|
|
4409
4412
|
a({ type: Function })
|
|
4410
|
-
],
|
|
4411
|
-
customElements.define("mini-tile",
|
|
4412
|
-
var
|
|
4413
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
4413
|
+
], C.prototype, "onClickTile");
|
|
4414
|
+
customElements.define("mini-tile", C);
|
|
4415
|
+
var bi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, te = (o, t, e, r) => {
|
|
4416
|
+
for (var i = r > 1 ? void 0 : r ? gi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4414
4417
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4415
|
-
return r && i &&
|
|
4418
|
+
return r && i && bi(t, e, i), i;
|
|
4416
4419
|
};
|
|
4417
|
-
let
|
|
4420
|
+
let xt = class extends u {
|
|
4418
4421
|
constructor() {
|
|
4419
4422
|
super(...arguments), this.variant = "cart", this.text = "";
|
|
4420
4423
|
}
|
|
@@ -4426,7 +4429,7 @@ let mt = class extends u {
|
|
|
4426
4429
|
`;
|
|
4427
4430
|
}
|
|
4428
4431
|
};
|
|
4429
|
-
|
|
4432
|
+
xt.styles = v`
|
|
4430
4433
|
:host([variant]) {
|
|
4431
4434
|
--badge-width: 19px;
|
|
4432
4435
|
display: inline-block;
|
|
@@ -4461,19 +4464,19 @@ mt.styles = v`
|
|
|
4461
4464
|
}
|
|
4462
4465
|
|
|
4463
4466
|
`;
|
|
4464
|
-
|
|
4467
|
+
te([
|
|
4465
4468
|
a({ type: String, reflect: !0 })
|
|
4466
|
-
],
|
|
4467
|
-
|
|
4469
|
+
], xt.prototype, "variant", 2);
|
|
4470
|
+
te([
|
|
4468
4471
|
a({ type: String })
|
|
4469
|
-
],
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
],
|
|
4473
|
-
var
|
|
4474
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
4472
|
+
], xt.prototype, "text", 2);
|
|
4473
|
+
xt = te([
|
|
4474
|
+
b("o-badge")
|
|
4475
|
+
], xt);
|
|
4476
|
+
var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, I = (o, t, e, r) => {
|
|
4477
|
+
for (var i = r > 1 ? void 0 : r ? mi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4475
4478
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4476
|
-
return r && i &&
|
|
4479
|
+
return r && i && yi(t, e, i), i;
|
|
4477
4480
|
};
|
|
4478
4481
|
let $ = class extends u {
|
|
4479
4482
|
constructor() {
|
|
@@ -4511,19 +4514,19 @@ let $ = class extends u {
|
|
|
4511
4514
|
var o = this;
|
|
4512
4515
|
const t = (r = this.renderRoot) == null ? void 0 : r.querySelector("o-icon-button"), e = (i = this.renderRoot) == null ? void 0 : i.querySelector(".o-toast-text");
|
|
4513
4516
|
if (e != null) {
|
|
4514
|
-
const n = window.getComputedStyle(e), s = parseInt(n.getPropertyValue("line-height").replace("px", "")),
|
|
4515
|
-
!isNaN(s) && !isNaN(
|
|
4517
|
+
const n = window.getComputedStyle(e), s = parseInt(n.getPropertyValue("line-height").replace("px", "")), c = parseInt(n.getPropertyValue("height").replace("px", ""));
|
|
4518
|
+
!isNaN(s) && !isNaN(c) && c > s && (this.multiline = !0);
|
|
4516
4519
|
}
|
|
4517
4520
|
t != null && t.addEventListener("click", function() {
|
|
4518
4521
|
o.remove();
|
|
4519
4522
|
});
|
|
4520
4523
|
}
|
|
4521
4524
|
render() {
|
|
4522
|
-
const t =
|
|
4525
|
+
const t = _o[this.icon].replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g, '<path part="icon-path"').replace(/<g\b/g, '<g part="icon-group"').replace(/<circle\b/g, '<circle part="icon-circle"');
|
|
4523
4526
|
return l`
|
|
4524
4527
|
<div class="o-toast">
|
|
4525
4528
|
<div class="o-toast-icon">
|
|
4526
|
-
${
|
|
4529
|
+
${_(t)}
|
|
4527
4530
|
</div>
|
|
4528
4531
|
<div class="o-toast-text">
|
|
4529
4532
|
${this.text}
|
|
@@ -4651,16 +4654,16 @@ I([
|
|
|
4651
4654
|
a({ type: Boolean, reflect: !0 })
|
|
4652
4655
|
], $.prototype, "multiline", 2);
|
|
4653
4656
|
$ = I([
|
|
4654
|
-
|
|
4657
|
+
b("o-toast")
|
|
4655
4658
|
], $);
|
|
4656
|
-
var
|
|
4657
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
4659
|
+
var xi = Object.defineProperty, wi = Object.getOwnPropertyDescriptor, B = (o, t, e, r) => {
|
|
4660
|
+
for (var i = r > 1 ? void 0 : r ? wi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4658
4661
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4659
|
-
return r && i &&
|
|
4662
|
+
return r && i && xi(t, e, i), i;
|
|
4660
4663
|
};
|
|
4661
|
-
let
|
|
4664
|
+
let $i = 0, k = class extends u {
|
|
4662
4665
|
constructor() {
|
|
4663
|
-
super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${
|
|
4666
|
+
super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++$i}`);
|
|
4664
4667
|
}
|
|
4665
4668
|
toggle() {
|
|
4666
4669
|
this.disabled || (this.indeterminate ? (this.indeterminate = !1, this.checked = !0) : this.checked = !this.checked, this.syncInput(), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
@@ -4675,7 +4678,7 @@ let xi = 0, k = class extends u {
|
|
|
4675
4678
|
this.disabled || (o.key === " " || o.key === "Enter") && (o.preventDefault(), this.toggle());
|
|
4676
4679
|
}
|
|
4677
4680
|
render() {
|
|
4678
|
-
const o =
|
|
4681
|
+
const o = _(N.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = _(N.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
|
|
4679
4682
|
return l`
|
|
4680
4683
|
<input
|
|
4681
4684
|
type="checkbox"
|
|
@@ -4830,19 +4833,19 @@ B([
|
|
|
4830
4833
|
a({ type: String, reflect: !0 })
|
|
4831
4834
|
], k.prototype, "inputId", 2);
|
|
4832
4835
|
B([
|
|
4833
|
-
|
|
4836
|
+
xe("input")
|
|
4834
4837
|
], k.prototype, "inputEl", 2);
|
|
4835
4838
|
k = B([
|
|
4836
|
-
|
|
4839
|
+
b("o-checkbox")
|
|
4837
4840
|
], k);
|
|
4838
|
-
var
|
|
4839
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
4841
|
+
var _i = Object.defineProperty, Ci = Object.getOwnPropertyDescriptor, R = (o, t, e, r) => {
|
|
4842
|
+
for (var i = r > 1 ? void 0 : r ? Ci(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4840
4843
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4841
|
-
return r && i &&
|
|
4844
|
+
return r && i && _i(t, e, i), i;
|
|
4842
4845
|
};
|
|
4843
|
-
let
|
|
4846
|
+
let ki = 0, O = class extends u {
|
|
4844
4847
|
constructor() {
|
|
4845
|
-
super(), this.checked = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Radio button", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-radio-${++
|
|
4848
|
+
super(), this.checked = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Radio button", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-radio-${++ki}`);
|
|
4846
4849
|
}
|
|
4847
4850
|
handleClick() {
|
|
4848
4851
|
this.disabled || this.checked || (this.checked = !0, this.syncInput(), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
@@ -4989,17 +4992,17 @@ R([
|
|
|
4989
4992
|
a({ type: String, reflect: !0 })
|
|
4990
4993
|
], O.prototype, "inputId", 2);
|
|
4991
4994
|
R([
|
|
4992
|
-
|
|
4995
|
+
xe("input")
|
|
4993
4996
|
], O.prototype, "inputEl", 2);
|
|
4994
4997
|
O = R([
|
|
4995
|
-
|
|
4998
|
+
b("o-radio")
|
|
4996
4999
|
], O);
|
|
4997
|
-
var
|
|
4998
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
5000
|
+
var Si = Object.getOwnPropertyDescriptor, Ai = (o, t, e, r) => {
|
|
5001
|
+
for (var i = r > 1 ? void 0 : r ? Si(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4999
5002
|
(s = o[n]) && (i = s(i) || i);
|
|
5000
5003
|
return i;
|
|
5001
5004
|
};
|
|
5002
|
-
let
|
|
5005
|
+
let Rt = class extends u {
|
|
5003
5006
|
render() {
|
|
5004
5007
|
return l`
|
|
5005
5008
|
<nav aria-label="Breadcrumbs">
|
|
@@ -5010,7 +5013,7 @@ let Mt = class extends u {
|
|
|
5010
5013
|
`;
|
|
5011
5014
|
}
|
|
5012
5015
|
};
|
|
5013
|
-
|
|
5016
|
+
Rt.styles = v`
|
|
5014
5017
|
nav {
|
|
5015
5018
|
max-width: 144rem;
|
|
5016
5019
|
margin: auto;
|
|
@@ -5022,15 +5025,15 @@ Mt.styles = v`
|
|
|
5022
5025
|
padding: var(--spacing-4-xs);
|
|
5023
5026
|
}
|
|
5024
5027
|
`;
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
],
|
|
5028
|
-
var
|
|
5029
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
5028
|
+
Rt = Ai([
|
|
5029
|
+
b("o-breadcrumbs")
|
|
5030
|
+
], Rt);
|
|
5031
|
+
var Ei = Object.defineProperty, Li = Object.getOwnPropertyDescriptor, ee = (o, t, e, r) => {
|
|
5032
|
+
for (var i = r > 1 ? void 0 : r ? Li(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
5030
5033
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
5031
|
-
return r && i &&
|
|
5034
|
+
return r && i && Ei(t, e, i), i;
|
|
5032
5035
|
};
|
|
5033
|
-
let
|
|
5036
|
+
let wt = class extends u {
|
|
5034
5037
|
constructor() {
|
|
5035
5038
|
super(...arguments), this.href = "", this.active = !1;
|
|
5036
5039
|
}
|
|
@@ -5051,7 +5054,7 @@ let xt = class extends u {
|
|
|
5051
5054
|
`;
|
|
5052
5055
|
}
|
|
5053
5056
|
};
|
|
5054
|
-
|
|
5057
|
+
wt.styles = v`
|
|
5055
5058
|
li {
|
|
5056
5059
|
display: inline-block;
|
|
5057
5060
|
}
|
|
@@ -5078,7 +5081,7 @@ xt.styles = v`
|
|
|
5078
5081
|
}
|
|
5079
5082
|
|
|
5080
5083
|
a:focus-visible {
|
|
5081
|
-
${
|
|
5084
|
+
${it};
|
|
5082
5085
|
}
|
|
5083
5086
|
|
|
5084
5087
|
:host(.a--tabfocus) {
|
|
@@ -5095,12 +5098,88 @@ xt.styles = v`
|
|
|
5095
5098
|
}
|
|
5096
5099
|
}
|
|
5097
5100
|
`;
|
|
5098
|
-
|
|
5101
|
+
ee([
|
|
5099
5102
|
a({ type: String })
|
|
5100
|
-
],
|
|
5101
|
-
|
|
5103
|
+
], wt.prototype, "href", 2);
|
|
5104
|
+
ee([
|
|
5102
5105
|
a({ type: Boolean, reflect: !0 })
|
|
5103
|
-
],
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
],
|
|
5106
|
+
], wt.prototype, "active", 2);
|
|
5107
|
+
wt = ee([
|
|
5108
|
+
b("o-breadcrumb")
|
|
5109
|
+
], wt);
|
|
5110
|
+
var Pi = Object.defineProperty, Oi = Object.getOwnPropertyDescriptor, _t = (o, t, e, r) => {
|
|
5111
|
+
for (var i = r > 1 ? void 0 : r ? Oi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
5112
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
5113
|
+
return r && i && Pi(t, e, i), i;
|
|
5114
|
+
};
|
|
5115
|
+
let et = class extends u {
|
|
5116
|
+
constructor() {
|
|
5117
|
+
super(...arguments), this.imageUrl = "", this.imageAlt = "", this.hoverUrl = "", this.hoverAlt = "";
|
|
5118
|
+
}
|
|
5119
|
+
render() {
|
|
5120
|
+
return l`<div class="card">
|
|
5121
|
+
<svg aria-hidden="true">
|
|
5122
|
+
<defs>
|
|
5123
|
+
<clipPath id="arch-gift-finder" clipPathUnits="objectBoundingBox">
|
|
5124
|
+
<path d="M 0.0022883 0.1515313 A 0.6791312 0.4712110 0 0 1 0.9931350 0.1531985 L 0.9931350 0.9969136 L 0.0022883 0.9969136 Z" />
|
|
5125
|
+
</clipPath>
|
|
5126
|
+
</defs>
|
|
5127
|
+
</svg>
|
|
5128
|
+
<img src="${this.imageUrl}" alt="${this.imageAlt}" class="card-img base" loading="lazy" />
|
|
5129
|
+
${this.hoverUrl ? l`<img src="${this.hoverUrl}" alt="${this.hoverAlt || this.imageAlt}" class="card-img hover" loading="lazy" />` : ""}
|
|
5130
|
+
</div>`;
|
|
5131
|
+
}
|
|
5132
|
+
};
|
|
5133
|
+
et.styles = v`
|
|
5134
|
+
:host {
|
|
5135
|
+
.card {
|
|
5136
|
+
position: relative;
|
|
5137
|
+
width: 175px;
|
|
5138
|
+
height: 260px;
|
|
5139
|
+
overflow: hidden;
|
|
5140
|
+
background-color: var(--colors-noir-des-terres-500);
|
|
5141
|
+
clip-path: url(#arch-gift-finder);
|
|
5142
|
+
-webkit-clip-path: url(#arch-gift-finder);
|
|
5143
|
+
|
|
5144
|
+
@media (max-width: 1024px) {
|
|
5145
|
+
width: 100px;
|
|
5146
|
+
height: 153px;
|
|
5147
|
+
}
|
|
5148
|
+
}
|
|
5149
|
+
|
|
5150
|
+
.card-img {
|
|
5151
|
+
position: absolute;
|
|
5152
|
+
top: 0;
|
|
5153
|
+
left: 0;
|
|
5154
|
+
width: 100%;
|
|
5155
|
+
height: 100%;
|
|
5156
|
+
object-fit: cover;
|
|
5157
|
+
transition: opacity 0.3s ease-in-out;
|
|
5158
|
+
background: linear-gradient(180deg, #f9f4ed 0%, #f3f0eb 81.41%, #edeae5 100%);
|
|
5159
|
+
|
|
5160
|
+
&.hover {
|
|
5161
|
+
opacity: 0;
|
|
5162
|
+
z-index: 2;
|
|
5163
|
+
}
|
|
5164
|
+
}
|
|
5165
|
+
|
|
5166
|
+
.card:hover .card-img.hover {
|
|
5167
|
+
opacity: 1;
|
|
5168
|
+
}
|
|
5169
|
+
}
|
|
5170
|
+
`;
|
|
5171
|
+
_t([
|
|
5172
|
+
a({ type: String })
|
|
5173
|
+
], et.prototype, "imageUrl", 2);
|
|
5174
|
+
_t([
|
|
5175
|
+
a({ type: String })
|
|
5176
|
+
], et.prototype, "imageAlt", 2);
|
|
5177
|
+
_t([
|
|
5178
|
+
a({ type: String })
|
|
5179
|
+
], et.prototype, "hoverUrl", 2);
|
|
5180
|
+
_t([
|
|
5181
|
+
a({ type: String })
|
|
5182
|
+
], et.prototype, "hoverAlt", 2);
|
|
5183
|
+
et = _t([
|
|
5184
|
+
b("o-arch-image")
|
|
5185
|
+
], et);
|