@florid-kit/components 0.8.50 → 0.8.52
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/badge.d.ts +16 -0
- package/index.js +120 -83
- package/index.mjs +354 -294
- 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 bt = globalThis, It = bt.ShadowRoot && (bt.ShadyCSS === void 0 || bt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ot = Symbol(), Zt = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let ne = class {
|
|
8
8
|
constructor(t, e, n) {
|
|
9
|
-
if (this._$cssResult$ = !0, n !==
|
|
9
|
+
if (this._$cssResult$ = !0, n !== Ot) 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 (It && t === void 0) {
|
|
16
16
|
const n = e !== void 0 && e.length === 1;
|
|
17
|
-
n && (t =
|
|
17
|
+
n && (t = Zt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && Zt.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let oe = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const de = (o) => new ne(typeof o == "string" ? o : o + "", void 0, Ot), y = (o, ...t) => {
|
|
26
26
|
const e = o.length === 1 ? o[0] : t.reduce((n, i, r) => n + ((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[r + 1], o[0]);
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (
|
|
31
|
+
return new ne(e, o, Ot);
|
|
32
|
+
}, pe = (o, t) => {
|
|
33
|
+
if (It) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
34
34
|
else for (const e of t) {
|
|
35
|
-
const n = document.createElement("style"), i =
|
|
35
|
+
const n = document.createElement("style"), i = bt.litNonce;
|
|
36
36
|
i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, Wt = It ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
39
39
|
let e = "";
|
|
40
40
|
for (const n of t.cssRules) e += n.cssText;
|
|
41
|
-
return
|
|
41
|
+
return de(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: ue, defineProperty: ve, getOwnPropertyDescriptor: fe, getOwnPropertyNames: be, getOwnPropertySymbols: ge, getPrototypeOf: ye } = Object, R = globalThis, Kt = R.trustedTypes, me = Kt ? Kt.emptyScript : "", _t = R.reactiveElementPolyfillSupport, ot = (o, t) => o, gt = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
o = o ?
|
|
51
|
+
o = o ? me : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,8 +73,8 @@ const { is: de, defineProperty: pe, getOwnPropertyDescriptor: ue, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
77
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
76
|
+
} }, Bt = (o, t) => !ue(o, t), Gt = { attribute: !0, type: String, converter: gt, reflect: !1, useDefault: !1, hasChanged: Bt };
|
|
77
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), R.litPropertyMetadata ?? (R.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let J = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
@@ -82,14 +82,14 @@ let J = class extends HTMLElement {
|
|
|
82
82
|
static get observedAttributes() {
|
|
83
83
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
84
84
|
}
|
|
85
|
-
static createProperty(t, e =
|
|
85
|
+
static createProperty(t, e = Gt) {
|
|
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 n = Symbol(), i = this.getPropertyDescriptor(t, n, e);
|
|
88
|
-
i !== void 0 &&
|
|
88
|
+
i !== void 0 && ve(this.prototype, t, i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(t, e, n) {
|
|
92
|
-
const { get: i, set: r } =
|
|
92
|
+
const { get: i, set: r } = fe(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[e];
|
|
94
94
|
}, set(s) {
|
|
95
95
|
this[e] = s;
|
|
@@ -100,17 +100,17 @@ let J = class extends HTMLElement {
|
|
|
100
100
|
}, configurable: !0, enumerable: !0 };
|
|
101
101
|
}
|
|
102
102
|
static getPropertyOptions(t) {
|
|
103
|
-
return this.elementProperties.get(t) ??
|
|
103
|
+
return this.elementProperties.get(t) ?? Gt;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
106
|
if (this.hasOwnProperty(ot("elementProperties"))) return;
|
|
107
|
-
const t =
|
|
107
|
+
const t = ye(this);
|
|
108
108
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
109
109
|
}
|
|
110
110
|
static finalize() {
|
|
111
111
|
if (this.hasOwnProperty(ot("finalized"))) return;
|
|
112
112
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ot("properties"))) {
|
|
113
|
-
const e = this.properties, n = [...
|
|
113
|
+
const e = this.properties, n = [...be(e), ...ge(e)];
|
|
114
114
|
for (const i of n) this.createProperty(i, e[i]);
|
|
115
115
|
}
|
|
116
116
|
const t = this[Symbol.metadata];
|
|
@@ -129,8 +129,8 @@ let J = class extends HTMLElement {
|
|
|
129
129
|
const e = [];
|
|
130
130
|
if (Array.isArray(t)) {
|
|
131
131
|
const n = new Set(t.flat(1 / 0).reverse());
|
|
132
|
-
for (const i of n) e.unshift(
|
|
133
|
-
} else t !== void 0 && e.push(
|
|
132
|
+
for (const i of n) e.unshift(Wt(i));
|
|
133
|
+
} else t !== void 0 && e.push(Wt(t));
|
|
134
134
|
return e;
|
|
135
135
|
}
|
|
136
136
|
static _$Eu(t, e) {
|
|
@@ -159,7 +159,7 @@ let J = class extends HTMLElement {
|
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return pe(t, this.constructor.elementStyles), t;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var t;
|
|
@@ -184,7 +184,7 @@ let J = class extends HTMLElement {
|
|
|
184
184
|
var r;
|
|
185
185
|
const n = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, n);
|
|
186
186
|
if (i !== void 0 && n.reflect === !0) {
|
|
187
|
-
const s = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter :
|
|
187
|
+
const s = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter : gt).toAttribute(e, n.type);
|
|
188
188
|
this._$Em = t, s == null ? this.removeAttribute(i) : this.setAttribute(i, s), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -192,7 +192,7 @@ let J = class extends HTMLElement {
|
|
|
192
192
|
var r, s;
|
|
193
193
|
const n = this.constructor, i = n._$Eh.get(t);
|
|
194
194
|
if (i !== void 0 && this._$Em !== i) {
|
|
195
|
-
const h = n.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((r = h.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? h.converter :
|
|
195
|
+
const h = n.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((r = h.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? h.converter : gt;
|
|
196
196
|
this._$Em = i, this[i] = c.fromAttribute(e, h.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(i)) ?? null, this._$Em = null;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -200,7 +200,7 @@ let J = class extends HTMLElement {
|
|
|
200
200
|
var i;
|
|
201
201
|
if (t !== void 0) {
|
|
202
202
|
const r = this.constructor, s = this[t];
|
|
203
|
-
if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ??
|
|
203
|
+
if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ?? Bt)(s, e) || n.useDefault && n.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(r._$Eu(t, n)))) return;
|
|
204
204
|
this.C(t, e, n);
|
|
205
205
|
}
|
|
206
206
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -276,59 +276,59 @@ let J = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
J.elementStyles = [], J.shadowRootOptions = { mode: "open" }, J[ot("elementProperties")] = /* @__PURE__ */ new Map(), J[ot("finalized")] = /* @__PURE__ */ new Map(),
|
|
279
|
+
J.elementStyles = [], J.shadowRootOptions = { mode: "open" }, J[ot("elementProperties")] = /* @__PURE__ */ new Map(), J[ot("finalized")] = /* @__PURE__ */ new Map(), _t == null || _t({ ReactiveElement: J }), (R.reactiveElementVersions ?? (R.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 it = globalThis,
|
|
286
|
-
\f\r]`, et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
288
|
-
function
|
|
289
|
-
if (!
|
|
290
|
-
return
|
|
285
|
+
const it = globalThis, yt = it.trustedTypes, Xt = yt ? yt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, re = "$lit$", F = `lit$${Math.random().toFixed(9).slice(2)}$`, se = "?" + F, we = `<${se}>`, W = document, rt = () => W.createComment(""), st = (o) => o === null || typeof o != "object" && typeof o != "function", zt = Array.isArray, xe = (o) => zt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Ct = `[
|
|
286
|
+
\f\r]`, et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Jt = /-->/g, Qt = />/g, V = RegExp(`>|${Ct}(?:([^\\s"'>=/]+)(${Ct}*=${Ct}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Yt = /'/g, te = /"/g, ae = /^(?:script|style|textarea|title)$/i, $e = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = $e(1), U = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), ee = /* @__PURE__ */ new WeakMap(), q = W.createTreeWalker(W, 129);
|
|
288
|
+
function le(o, t) {
|
|
289
|
+
if (!zt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return Xt !== void 0 ? Xt.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
|
-
const
|
|
292
|
+
const _e = (o, t) => {
|
|
293
293
|
const e = o.length - 1, n = [];
|
|
294
294
|
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = et;
|
|
295
295
|
for (let h = 0; h < e; h++) {
|
|
296
296
|
const c = o[h];
|
|
297
|
-
let
|
|
298
|
-
for (; $ < c.length && (s.lastIndex = $,
|
|
297
|
+
let f, m, p = -1, $ = 0;
|
|
298
|
+
for (; $ < c.length && (s.lastIndex = $, m = s.exec(c), m !== null); ) $ = s.lastIndex, s === et ? m[1] === "!--" ? s = Jt : m[1] !== void 0 ? s = Qt : m[2] !== void 0 ? (ae.test(m[2]) && (i = RegExp("</" + m[2], "g")), s = V) : m[3] !== void 0 && (s = V) : s === V ? m[0] === ">" ? (s = i ?? et, p = -1) : m[1] === void 0 ? p = -2 : (p = s.lastIndex - m[2].length, f = m[1], s = m[3] === void 0 ? V : m[3] === '"' ? te : Yt) : s === te || s === Yt ? s = V : s === Jt || s === Qt ? s = et : (s = V, i = void 0);
|
|
299
299
|
const S = s === V && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
-
r += s === et ? c +
|
|
300
|
+
r += s === et ? c + we : p >= 0 ? (n.push(f), c.slice(0, p) + re + c.slice(p) + F + S) : c + F + (p === -2 ? h : S);
|
|
301
301
|
}
|
|
302
|
-
return [
|
|
302
|
+
return [le(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
304
304
|
class at {
|
|
305
305
|
constructor({ strings: t, _$litType$: e }, n) {
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let r = 0, s = 0;
|
|
309
|
-
const h = t.length - 1, c = this.parts, [
|
|
310
|
-
if (this.el = at.createElement(
|
|
309
|
+
const h = t.length - 1, c = this.parts, [f, m] = _e(t, e);
|
|
310
|
+
if (this.el = at.createElement(f, n), q.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
311
|
const p = this.el.content.firstChild;
|
|
312
312
|
p.replaceWith(...p.childNodes);
|
|
313
313
|
}
|
|
314
314
|
for (; (i = q.nextNode()) !== null && c.length < h; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
|
-
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(
|
|
317
|
-
const $ =
|
|
318
|
-
c.push({ type: 1, index: r, name:
|
|
319
|
-
} else p.startsWith(
|
|
320
|
-
if (
|
|
321
|
-
const p = i.textContent.split(
|
|
316
|
+
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(re)) {
|
|
317
|
+
const $ = m[s++], S = i.getAttribute(p).split(F), ft = /([.?@])?(.*)/.exec($);
|
|
318
|
+
c.push({ type: 1, index: r, name: ft[2], strings: S, ctor: ft[1] === "." ? ke : ft[1] === "?" ? Ae : ft[1] === "@" ? Ee : wt }), i.removeAttribute(p);
|
|
319
|
+
} else p.startsWith(F) && (c.push({ type: 6, index: r }), i.removeAttribute(p));
|
|
320
|
+
if (ae.test(i.tagName)) {
|
|
321
|
+
const p = i.textContent.split(F), $ = p.length - 1;
|
|
322
322
|
if ($ > 0) {
|
|
323
|
-
i.textContent =
|
|
323
|
+
i.textContent = yt ? yt.emptyScript : "";
|
|
324
324
|
for (let S = 0; S < $; S++) i.append(p[S], rt()), q.nextNode(), c.push({ type: 2, index: ++r });
|
|
325
325
|
i.append(p[$], rt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === se) c.push({ type: 2, index: r });
|
|
329
329
|
else {
|
|
330
330
|
let p = -1;
|
|
331
|
-
for (; (p = i.data.indexOf(
|
|
331
|
+
for (; (p = i.data.indexOf(F, p + 1)) !== -1; ) c.push({ type: 7, index: r }), p += F.length - 1;
|
|
332
332
|
}
|
|
333
333
|
r++;
|
|
334
334
|
}
|
|
@@ -340,12 +340,12 @@ class at {
|
|
|
340
340
|
}
|
|
341
341
|
function Q(o, t, e = o, n) {
|
|
342
342
|
var s, h;
|
|
343
|
-
if (t ===
|
|
343
|
+
if (t === U) return t;
|
|
344
344
|
let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
|
|
345
345
|
const r = st(t) ? void 0 : t._$litDirective$;
|
|
346
346
|
return (i == null ? void 0 : i.constructor) !== r && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (t = Q(o, i._$AS(o, t.values), i, n)), t;
|
|
347
347
|
}
|
|
348
|
-
class
|
|
348
|
+
class Ce {
|
|
349
349
|
constructor(t, e) {
|
|
350
350
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
351
351
|
}
|
|
@@ -361,8 +361,8 @@ class $e {
|
|
|
361
361
|
let r = q.nextNode(), s = 0, h = 0, c = n[0];
|
|
362
362
|
for (; c !== void 0; ) {
|
|
363
363
|
if (s === c.index) {
|
|
364
|
-
let
|
|
365
|
-
c.type === 2 ?
|
|
364
|
+
let f;
|
|
365
|
+
c.type === 2 ? f = new ut(r, r.nextSibling, this, t) : c.type === 1 ? f = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (f = new Se(r, this, t)), this._$AV.push(f), c = n[++h];
|
|
366
366
|
}
|
|
367
367
|
s !== (c == null ? void 0 : c.index) && (r = q.nextNode(), s++);
|
|
368
368
|
}
|
|
@@ -373,7 +373,7 @@ class $e {
|
|
|
373
373
|
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, e), e += n.strings.length - 2) : n._$AI(t[e])), e++;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
class
|
|
376
|
+
class ut {
|
|
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 pt {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = Q(this, t, e), st(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !==
|
|
396
|
+
t = Q(this, t, e), st(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : xe(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -406,22 +406,22 @@ class pt {
|
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var r;
|
|
409
|
-
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = at.createElement(
|
|
409
|
+
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = at.createElement(le(n.h, n.h[0]), this.options)), n);
|
|
410
410
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
|
-
const s = new
|
|
412
|
+
const s = new Ce(i, this), h = s.u(this.options);
|
|
413
413
|
s.p(e), this.T(h), this._$AH = s;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
_$AC(t) {
|
|
417
|
-
let e =
|
|
418
|
-
return e === void 0 &&
|
|
417
|
+
let e = ee.get(t.strings);
|
|
418
|
+
return e === void 0 && ee.set(t.strings, e = new at(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
zt(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const e = this._$AH;
|
|
423
423
|
let n, i = 0;
|
|
424
|
-
for (const r of t) i === e.length ? e.push(n = new
|
|
424
|
+
for (const r of t) i === e.length ? e.push(n = new ut(this.O(rt()), this.O(rt()), this, this.options)) : n = e[i], n._$AI(r), i++;
|
|
425
425
|
i < e.length && (this._$AR(n && n._$AB.nextSibling, i), e.length = i);
|
|
426
426
|
}
|
|
427
427
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -436,7 +436,7 @@ class pt {
|
|
|
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 wt {
|
|
440
440
|
get tagName() {
|
|
441
441
|
return this.element.tagName;
|
|
442
442
|
}
|
|
@@ -449,11 +449,11 @@ class mt {
|
|
|
449
449
|
_$AI(t, e = this, n, i) {
|
|
450
450
|
const r = this.strings;
|
|
451
451
|
let s = !1;
|
|
452
|
-
if (r === void 0) t = Q(this, t, e, 0), s = !st(t) || t !== this._$AH && t !==
|
|
452
|
+
if (r === void 0) t = Q(this, t, e, 0), s = !st(t) || t !== this._$AH && t !== U, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const h = t;
|
|
455
|
-
let c,
|
|
456
|
-
for (t = r[0], c = 0; c < r.length - 1; c++)
|
|
455
|
+
let c, f;
|
|
456
|
+
for (t = r[0], c = 0; c < r.length - 1; c++) f = Q(this, h[n + c], e, c), f === U && (f = this._$AH[c]), s || (s = !st(f) || f !== this._$AH[c]), f === d ? t = d : t !== d && (t += (f ?? "") + r[c + 1]), this._$AH[c] = f;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class mt {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class ke extends wt {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class _e extends mt {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class Ae extends wt {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,12 +477,12 @@ class Ce extends mt {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class
|
|
480
|
+
class Ee extends wt {
|
|
481
481
|
constructor(t, e, n, i, r) {
|
|
482
482
|
super(t, e, n, i, r), this.type = 5;
|
|
483
483
|
}
|
|
484
484
|
_$AI(t, e = this) {
|
|
485
|
-
if ((t = Q(this, t, e, 0) ?? d) ===
|
|
485
|
+
if ((t = Q(this, t, e, 0) ?? d) === U) return;
|
|
486
486
|
const n = this._$AH, i = t === d && n !== d || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, r = t !== d && (n === d || i);
|
|
487
487
|
i && this.element.removeEventListener(this.name, this, n), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
488
488
|
}
|
|
@@ -491,7 +491,7 @@ class ke extends mt {
|
|
|
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 Se {
|
|
495
495
|
constructor(t, e, n) {
|
|
496
496
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = n;
|
|
497
497
|
}
|
|
@@ -502,14 +502,14 @@ class Ae {
|
|
|
502
502
|
Q(this, t);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const
|
|
506
|
-
|
|
507
|
-
const
|
|
505
|
+
const kt = it.litHtmlPolyfillSupport;
|
|
506
|
+
kt == null || kt(at, ut), (it.litHtmlVersions ?? (it.litHtmlVersions = [])).push("3.3.0");
|
|
507
|
+
const Le = (o, t, e) => {
|
|
508
508
|
const n = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
509
509
|
let i = n._$litPart$;
|
|
510
510
|
if (i === void 0) {
|
|
511
511
|
const r = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
512
|
-
n._$litPart$ = i = new
|
|
512
|
+
n._$litPart$ = i = new ut(t.insertBefore(rt(), r), r, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -519,7 +519,7 @@ const Ee = (o, t, e) => {
|
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
521
|
const Z = globalThis;
|
|
522
|
-
let
|
|
522
|
+
let v = class extends J {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -530,7 +530,7 @@ let f = class extends J {
|
|
|
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 = Le(e, this.renderRoot, this.renderOptions);
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
536
|
var t;
|
|
@@ -541,13 +541,13 @@ let f = class extends J {
|
|
|
541
541
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
542
542
|
}
|
|
543
543
|
render() {
|
|
544
|
-
return
|
|
544
|
+
return U;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
|
|
549
|
-
const
|
|
550
|
-
|
|
547
|
+
var ie;
|
|
548
|
+
v._$litElement$ = !0, v.finalized = !0, (ie = Z.litElementHydrateSupport) == null || ie.call(Z, { LitElement: v });
|
|
549
|
+
const At = Z.litElementPolyfillSupport;
|
|
550
|
+
At == null || At({ LitElement: v });
|
|
551
551
|
(Z.litElementVersions ?? (Z.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
@@ -564,7 +564,7 @@ const w = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const
|
|
567
|
+
const Pe = { attribute: !0, type: String, converter: gt, reflect: !1, hasChanged: Bt }, Ie = (o = Pe, t, e) => {
|
|
568
568
|
const { kind: n, metadata: i } = e;
|
|
569
569
|
let r = globalThis.litPropertyMetadata.get(i);
|
|
570
570
|
if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), n === "setter" && ((o = Object.create(o)).wrapped = !0), r.set(e.name, o), n === "accessor") {
|
|
@@ -586,7 +586,7 @@ const Se = { attribute: !0, type: String, converter: bt, reflect: !1, hasChanged
|
|
|
586
586
|
throw Error("Unsupported decorator location: " + n);
|
|
587
587
|
};
|
|
588
588
|
function a(o) {
|
|
589
|
-
return (t, e) => typeof e == "object" ?
|
|
589
|
+
return (t, e) => typeof e == "object" ? Ie(o, t, e) : ((n, i, r) => {
|
|
590
590
|
const s = i.hasOwnProperty(r);
|
|
591
591
|
return i.constructor.createProperty(r, n), s ? Object.getOwnPropertyDescriptor(i, r) : void 0;
|
|
592
592
|
})(o, t, e);
|
|
@@ -599,11 +599,11 @@ function a(o) {
|
|
|
599
599
|
function K(o) {
|
|
600
600
|
return a({ ...o, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const vt = y`
|
|
603
603
|
outline: 1px dashed var(--color-border-primary);
|
|
604
604
|
outline-offset: 2px;
|
|
605
605
|
`;
|
|
606
|
-
|
|
606
|
+
y`
|
|
607
607
|
:host * {
|
|
608
608
|
box-sizing: border-box;
|
|
609
609
|
}
|
|
@@ -613,12 +613,12 @@ m`
|
|
|
613
613
|
* Copyright 2023 Google LLC
|
|
614
614
|
* SPDX-License-Identifier: Apache-2.0
|
|
615
615
|
*/
|
|
616
|
-
const
|
|
617
|
-
function
|
|
616
|
+
const Dt = Symbol("internals"), Et = Symbol("privateInternals");
|
|
617
|
+
function Ht(o) {
|
|
618
618
|
var t;
|
|
619
619
|
class e extends o {
|
|
620
|
-
get [(t =
|
|
621
|
-
return this[
|
|
620
|
+
get [(t = Dt, t)]() {
|
|
621
|
+
return this[Et] || (this[Et] = this.attachInternals()), this[Et];
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
624
|
return e;
|
|
@@ -628,11 +628,11 @@ function Dt(o) {
|
|
|
628
628
|
* Copyright 2023 Google LLC
|
|
629
629
|
* SPDX-License-Identifier: Apache-2.0
|
|
630
630
|
*/
|
|
631
|
-
function
|
|
631
|
+
function Oe(o) {
|
|
632
632
|
o.addInitializer((t) => {
|
|
633
633
|
const e = t;
|
|
634
634
|
e.addEventListener("click", async (n) => {
|
|
635
|
-
const { type: i, [
|
|
635
|
+
const { type: i, [Dt]: r } = e, { form: s } = r;
|
|
636
636
|
if (!(!s || i === "button") && (await new Promise((h) => {
|
|
637
637
|
setTimeout(h);
|
|
638
638
|
}), !n.defaultPrevented)) {
|
|
@@ -655,41 +655,41 @@ function Pe(o) {
|
|
|
655
655
|
});
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
|
-
const
|
|
658
|
+
const Be = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
659
659
|
<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"/>
|
|
660
660
|
</svg>
|
|
661
|
-
`,
|
|
661
|
+
`, ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
662
662
|
<path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
|
|
663
663
|
</svg>
|
|
664
|
-
`,
|
|
664
|
+
`, De = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
665
665
|
<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"/>
|
|
666
666
|
</svg>
|
|
667
|
-
`,
|
|
667
|
+
`, He = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
668
668
|
<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"/>
|
|
669
669
|
</svg>
|
|
670
|
-
`,
|
|
670
|
+
`, Me = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
671
671
|
<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"/>
|
|
672
672
|
</svg>
|
|
673
|
-
`,
|
|
673
|
+
`, Te = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
674
674
|
<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"/>
|
|
675
675
|
</svg>
|
|
676
|
-
`,
|
|
676
|
+
`, je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
677
677
|
<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"/>
|
|
678
678
|
</svg>
|
|
679
|
-
`,
|
|
679
|
+
`, Fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
680
680
|
<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"/>
|
|
681
681
|
</svg>
|
|
682
|
-
`,
|
|
682
|
+
`, Re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
683
683
|
<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"/>
|
|
684
684
|
</svg>
|
|
685
|
-
`,
|
|
685
|
+
`, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
686
686
|
<path d="M2 2L14 14" stroke="#3F2B2E"/>
|
|
687
687
|
<path d="M14 2L2 14" stroke="#3F2B2E"/>
|
|
688
688
|
</svg>
|
|
689
|
-
`,
|
|
689
|
+
`, Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
690
690
|
<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"/>
|
|
691
691
|
</svg>
|
|
692
|
-
`,
|
|
692
|
+
`, Ve = `<?xml version="1.0" encoding="utf-8"?>
|
|
693
693
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
694
694
|
<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"
|
|
695
695
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -699,7 +699,7 @@ const Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
699
699
|
<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
|
|
700
700
|
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"/>
|
|
701
701
|
</svg>
|
|
702
|
-
`,
|
|
702
|
+
`, qe = `<?xml version="1.0" encoding="utf-8"?>
|
|
703
703
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
704
704
|
<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"
|
|
705
705
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -708,74 +708,74 @@ const Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
708
708
|
</style>
|
|
709
709
|
<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"/>
|
|
710
710
|
</svg>
|
|
711
|
-
`,
|
|
711
|
+
`, Ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
712
712
|
<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"/>
|
|
713
713
|
</svg>
|
|
714
|
-
`,
|
|
714
|
+
`, We = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
715
715
|
<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"/>
|
|
716
716
|
</svg>
|
|
717
|
-
`,
|
|
717
|
+
`, Ke = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
718
718
|
<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"/>
|
|
719
719
|
</svg>
|
|
720
|
-
`,
|
|
720
|
+
`, Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
721
721
|
<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"/>
|
|
722
722
|
</svg>
|
|
723
|
-
`,
|
|
723
|
+
`, Xe = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
724
724
|
<path d="M12 17.4585L4 6.4585L20 6.4585L12 17.4585Z" fill="#3F2B2E"/>
|
|
725
725
|
</svg>
|
|
726
|
-
`,
|
|
726
|
+
`, Je = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
727
727
|
<path d="M12 6.4585L20 17.4585H4L12 6.4585Z" fill="#3F2B2E"/>
|
|
728
728
|
</svg>
|
|
729
|
-
`,
|
|
729
|
+
`, Qe = `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
730
730
|
<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"/>
|
|
731
731
|
</svg>
|
|
732
|
-
`,
|
|
732
|
+
`, Ye = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
733
733
|
<rect x="1" width="2" height="8" fill="#3F2B2E"/>
|
|
734
734
|
<rect x="5" width="2" height="8" fill="#3F2B2E"/>
|
|
735
735
|
</svg>
|
|
736
|
-
`,
|
|
736
|
+
`, to = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
737
737
|
<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"/>
|
|
738
738
|
</svg>
|
|
739
|
-
`,
|
|
739
|
+
`, eo = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
740
740
|
<line x1="0" y1="0" x2="200" y2="200" />
|
|
741
|
-
</svg>`,
|
|
741
|
+
</svg>`, oo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
742
742
|
<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"/>
|
|
743
743
|
<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"/>
|
|
744
744
|
</svg>
|
|
745
745
|
`, G = {
|
|
746
|
-
wishlist:
|
|
747
|
-
playerv:
|
|
748
|
-
chevronRight:
|
|
749
|
-
chevronLeft:
|
|
750
|
-
icoPlus:
|
|
751
|
-
icoMinus:
|
|
752
|
-
"star-0":
|
|
753
|
-
"star-25":
|
|
754
|
-
"star-50":
|
|
755
|
-
"star-75":
|
|
756
|
-
"star-100":
|
|
757
|
-
cross:
|
|
758
|
-
search:
|
|
759
|
-
arrowLeft:
|
|
760
|
-
arrowTop:
|
|
761
|
-
cart:
|
|
762
|
-
notifyme:
|
|
763
|
-
triangledown:
|
|
764
|
-
triangleup:
|
|
765
|
-
checkstroke:
|
|
766
|
-
pause:
|
|
767
|
-
mapDualArrow:
|
|
768
|
-
swipeDualArrow:
|
|
769
|
-
},
|
|
770
|
-
strikeDiagonal:
|
|
746
|
+
wishlist: Be,
|
|
747
|
+
playerv: ze,
|
|
748
|
+
chevronRight: De,
|
|
749
|
+
chevronLeft: He,
|
|
750
|
+
icoPlus: Ve,
|
|
751
|
+
icoMinus: qe,
|
|
752
|
+
"star-0": Me,
|
|
753
|
+
"star-25": Te,
|
|
754
|
+
"star-50": je,
|
|
755
|
+
"star-75": Fe,
|
|
756
|
+
"star-100": Re,
|
|
757
|
+
cross: Ue,
|
|
758
|
+
search: Ne,
|
|
759
|
+
arrowLeft: Ze,
|
|
760
|
+
arrowTop: We,
|
|
761
|
+
cart: Ke,
|
|
762
|
+
notifyme: Ge,
|
|
763
|
+
triangledown: Xe,
|
|
764
|
+
triangleup: Je,
|
|
765
|
+
checkstroke: Qe,
|
|
766
|
+
pause: Ye,
|
|
767
|
+
mapDualArrow: to,
|
|
768
|
+
swipeDualArrow: oo
|
|
769
|
+
}, io = {
|
|
770
|
+
strikeDiagonal: eo
|
|
771
771
|
};
|
|
772
772
|
/**
|
|
773
773
|
* @license
|
|
774
774
|
* Copyright 2017 Google LLC
|
|
775
775
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
776
776
|
*/
|
|
777
|
-
const
|
|
778
|
-
let
|
|
777
|
+
const Mt = { ATTRIBUTE: 1, CHILD: 2 }, Tt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
778
|
+
let jt = class {
|
|
779
779
|
constructor(t) {
|
|
780
780
|
}
|
|
781
781
|
get _$AU() {
|
|
@@ -796,13 +796,13 @@ let Tt = class {
|
|
|
796
796
|
* Copyright 2017 Google LLC
|
|
797
797
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
798
798
|
*/
|
|
799
|
-
class
|
|
799
|
+
class St extends jt {
|
|
800
800
|
constructor(t) {
|
|
801
|
-
if (super(t), this.it = d, t.type !==
|
|
801
|
+
if (super(t), this.it = d, t.type !== Mt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
802
802
|
}
|
|
803
803
|
render(t) {
|
|
804
804
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
805
|
-
if (t ===
|
|
805
|
+
if (t === U) return t;
|
|
806
806
|
if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
807
807
|
if (t === this.it) return this._t;
|
|
808
808
|
this.it = t;
|
|
@@ -810,23 +810,23 @@ class Et extends Tt {
|
|
|
810
810
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
811
811
|
}
|
|
812
812
|
}
|
|
813
|
-
|
|
813
|
+
St.directiveName = "unsafeHTML", St.resultType = 1;
|
|
814
814
|
/**
|
|
815
815
|
* @license
|
|
816
816
|
* Copyright 2017 Google LLC
|
|
817
817
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
818
818
|
*/
|
|
819
|
-
class
|
|
819
|
+
class Lt extends St {
|
|
820
820
|
}
|
|
821
|
-
|
|
822
|
-
const I =
|
|
823
|
-
var
|
|
824
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
821
|
+
Lt.directiveName = "unsafeSVG", Lt.resultType = 2;
|
|
822
|
+
const I = Tt(Lt);
|
|
823
|
+
var no = Object.defineProperty, ro = Object.getOwnPropertyDescriptor, x = (o, t, e, n) => {
|
|
824
|
+
for (var i = n > 1 ? void 0 : n ? ro(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
825
825
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
826
|
-
return n && i &&
|
|
826
|
+
return n && i && no(t, e, i), i;
|
|
827
827
|
};
|
|
828
|
-
const
|
|
829
|
-
let g = class extends
|
|
828
|
+
const so = Ht(v);
|
|
829
|
+
let g = class extends so {
|
|
830
830
|
constructor() {
|
|
831
831
|
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;
|
|
832
832
|
}
|
|
@@ -837,7 +837,7 @@ let g = class extends no {
|
|
|
837
837
|
this.setAttribute("name", o);
|
|
838
838
|
}
|
|
839
839
|
get form() {
|
|
840
|
-
return this[
|
|
840
|
+
return this[Dt].form;
|
|
841
841
|
}
|
|
842
842
|
handleClick() {
|
|
843
843
|
if (this.panelTarget) {
|
|
@@ -889,9 +889,9 @@ let g = class extends no {
|
|
|
889
889
|
`;
|
|
890
890
|
}
|
|
891
891
|
};
|
|
892
|
-
|
|
892
|
+
Oe(g);
|
|
893
893
|
g.formAssociated = !0;
|
|
894
|
-
g.styles =
|
|
894
|
+
g.styles = y`
|
|
895
895
|
:host {
|
|
896
896
|
--button-border: transparent;
|
|
897
897
|
cursor: pointer;
|
|
@@ -1007,7 +1007,7 @@ g.styles = m`
|
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
1009
|
.button:focus-visible {
|
|
1010
|
-
${
|
|
1010
|
+
${vt};
|
|
1011
1011
|
}
|
|
1012
1012
|
|
|
1013
1013
|
span.text + span.text::before {
|
|
@@ -1128,12 +1128,12 @@ x([
|
|
|
1128
1128
|
g = x([
|
|
1129
1129
|
w("o-button")
|
|
1130
1130
|
], g);
|
|
1131
|
-
var
|
|
1132
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1131
|
+
var ao = Object.defineProperty, lo = Object.getOwnPropertyDescriptor, xt = (o, t, e, n) => {
|
|
1132
|
+
for (var i = n > 1 ? void 0 : n ? lo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1133
1133
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1134
|
-
return n && i &&
|
|
1134
|
+
return n && i && ao(t, e, i), i;
|
|
1135
1135
|
};
|
|
1136
|
-
let Y = class extends
|
|
1136
|
+
let Y = class extends v {
|
|
1137
1137
|
constructor() {
|
|
1138
1138
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
1139
1139
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -1174,7 +1174,7 @@ let Y = class extends f {
|
|
|
1174
1174
|
this.label = o, this.requestUpdate();
|
|
1175
1175
|
}
|
|
1176
1176
|
};
|
|
1177
|
-
Y.styles =
|
|
1177
|
+
Y.styles = y`
|
|
1178
1178
|
:host {
|
|
1179
1179
|
display: inline-flex;
|
|
1180
1180
|
justify-content: center;
|
|
@@ -1240,16 +1240,16 @@ Y.styles = m`
|
|
|
1240
1240
|
white-space: nowrap !important;
|
|
1241
1241
|
}
|
|
1242
1242
|
`;
|
|
1243
|
-
|
|
1243
|
+
xt([
|
|
1244
1244
|
a({ type: String, reflect: !0 })
|
|
1245
1245
|
], Y.prototype, "status", 2);
|
|
1246
|
-
|
|
1246
|
+
xt([
|
|
1247
1247
|
a({ type: String, reflect: !0 })
|
|
1248
1248
|
], Y.prototype, "ariaDescribedBy", 2);
|
|
1249
|
-
|
|
1249
|
+
xt([
|
|
1250
1250
|
a({ type: String, reflect: !0 })
|
|
1251
1251
|
], Y.prototype, "label", 2);
|
|
1252
|
-
Y =
|
|
1252
|
+
Y = xt([
|
|
1253
1253
|
w("o-wishlist-button")
|
|
1254
1254
|
], Y);
|
|
1255
1255
|
/**
|
|
@@ -1258,12 +1258,12 @@ Y = wt([
|
|
|
1258
1258
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1259
1259
|
*/
|
|
1260
1260
|
const _ = (o) => o ?? d;
|
|
1261
|
-
var
|
|
1262
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1261
|
+
var co = Object.defineProperty, ho = Object.getOwnPropertyDescriptor, B = (o, t, e, n) => {
|
|
1262
|
+
for (var i = n > 1 ? void 0 : n ? ho(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1263
1263
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1264
|
-
return n && i &&
|
|
1264
|
+
return n && i && co(t, e, i), i;
|
|
1265
1265
|
};
|
|
1266
|
-
let C = class extends
|
|
1266
|
+
let C = class extends v {
|
|
1267
1267
|
constructor() {
|
|
1268
1268
|
super(...arguments), this.bgstyle = "background-light", this.size = "medium", this.status = "empty", this.type = "button", this.strokewidth = "1", this.icon = "wishlist", this.disabled = !1, this.showSrLabel = !1, this.srLabel = "";
|
|
1269
1269
|
}
|
|
@@ -1294,7 +1294,7 @@ let C = class extends f {
|
|
|
1294
1294
|
`;
|
|
1295
1295
|
}
|
|
1296
1296
|
};
|
|
1297
|
-
C.styles =
|
|
1297
|
+
C.styles = y`
|
|
1298
1298
|
:host {
|
|
1299
1299
|
display: inline-flex;
|
|
1300
1300
|
justify-content: center;
|
|
@@ -1499,7 +1499,7 @@ C.styles = m`
|
|
|
1499
1499
|
}
|
|
1500
1500
|
|
|
1501
1501
|
.icon-button:focus-visible {
|
|
1502
|
-
${
|
|
1502
|
+
${vt}
|
|
1503
1503
|
}
|
|
1504
1504
|
|
|
1505
1505
|
.sr-only {
|
|
@@ -1536,12 +1536,12 @@ B([
|
|
|
1536
1536
|
C = B([
|
|
1537
1537
|
w("o-icon-button")
|
|
1538
1538
|
], C);
|
|
1539
|
-
var
|
|
1540
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1539
|
+
var po = Object.defineProperty, uo = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
|
|
1540
|
+
for (var i = n > 1 ? void 0 : n ? uo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1541
1541
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1542
|
-
return n && i &&
|
|
1542
|
+
return n && i && po(t, e, i), i;
|
|
1543
1543
|
};
|
|
1544
|
-
let D = class extends
|
|
1544
|
+
let D = class extends v {
|
|
1545
1545
|
constructor() {
|
|
1546
1546
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
1547
1547
|
}
|
|
@@ -1579,7 +1579,7 @@ let D = class extends f {
|
|
|
1579
1579
|
`;
|
|
1580
1580
|
}
|
|
1581
1581
|
};
|
|
1582
|
-
D.styles =
|
|
1582
|
+
D.styles = y`
|
|
1583
1583
|
:host([template="standard"]) a {
|
|
1584
1584
|
color: var(--color-content-action-secondary);
|
|
1585
1585
|
font-size: var(--font-size-200);
|
|
@@ -1688,12 +1688,12 @@ X([
|
|
|
1688
1688
|
D = X([
|
|
1689
1689
|
w("o-link")
|
|
1690
1690
|
], D);
|
|
1691
|
-
var
|
|
1692
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1691
|
+
var vo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, $t = (o, t, e, n) => {
|
|
1692
|
+
for (var i = n > 1 ? void 0 : n ? fo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1693
1693
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1694
|
-
return n && i &&
|
|
1694
|
+
return n && i && vo(t, e, i), i;
|
|
1695
1695
|
};
|
|
1696
|
-
let tt = class extends
|
|
1696
|
+
let tt = class extends v {
|
|
1697
1697
|
constructor() {
|
|
1698
1698
|
super(...arguments), this.rating = 0;
|
|
1699
1699
|
}
|
|
@@ -1720,7 +1720,7 @@ let tt = class extends f {
|
|
|
1720
1720
|
`;
|
|
1721
1721
|
}
|
|
1722
1722
|
};
|
|
1723
|
-
tt.styles =
|
|
1723
|
+
tt.styles = y`
|
|
1724
1724
|
svg {
|
|
1725
1725
|
width: 12px;
|
|
1726
1726
|
height: 12px;
|
|
@@ -1754,16 +1754,16 @@ tt.styles = m`
|
|
|
1754
1754
|
cursor: pointer;
|
|
1755
1755
|
}
|
|
1756
1756
|
`;
|
|
1757
|
-
|
|
1757
|
+
$t([
|
|
1758
1758
|
a({ type: Number })
|
|
1759
1759
|
], tt.prototype, "rating", 2);
|
|
1760
|
-
|
|
1760
|
+
$t([
|
|
1761
1761
|
a({ type: String })
|
|
1762
1762
|
], tt.prototype, "reviewCount", 2);
|
|
1763
|
-
|
|
1763
|
+
$t([
|
|
1764
1764
|
a({ type: String })
|
|
1765
1765
|
], tt.prototype, "href", 2);
|
|
1766
|
-
tt =
|
|
1766
|
+
tt = $t([
|
|
1767
1767
|
w("o-rating")
|
|
1768
1768
|
], tt);
|
|
1769
1769
|
/**
|
|
@@ -1771,7 +1771,7 @@ tt = xt([
|
|
|
1771
1771
|
* Copyright 2020 Google LLC
|
|
1772
1772
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1773
1773
|
*/
|
|
1774
|
-
const
|
|
1774
|
+
const bo = (o) => o.strings === void 0;
|
|
1775
1775
|
/**
|
|
1776
1776
|
* @license
|
|
1777
1777
|
* Copyright 2017 Google LLC
|
|
@@ -1783,45 +1783,45 @@ const nt = (o, t) => {
|
|
|
1783
1783
|
if (e === void 0) return !1;
|
|
1784
1784
|
for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), nt(i, t);
|
|
1785
1785
|
return !0;
|
|
1786
|
-
},
|
|
1786
|
+
}, mt = (o) => {
|
|
1787
1787
|
let t, e;
|
|
1788
1788
|
do {
|
|
1789
1789
|
if ((t = o._$AM) === void 0) break;
|
|
1790
1790
|
e = t._$AN, e.delete(o), o = t;
|
|
1791
1791
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
1792
|
-
},
|
|
1792
|
+
}, ce = (o) => {
|
|
1793
1793
|
for (let t; t = o._$AM; o = t) {
|
|
1794
1794
|
let e = t._$AN;
|
|
1795
1795
|
if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
|
|
1796
1796
|
else if (e.has(o)) break;
|
|
1797
|
-
e.add(o),
|
|
1797
|
+
e.add(o), mo(t);
|
|
1798
1798
|
}
|
|
1799
1799
|
};
|
|
1800
|
-
function
|
|
1801
|
-
this._$AN !== void 0 ? (
|
|
1800
|
+
function go(o) {
|
|
1801
|
+
this._$AN !== void 0 ? (mt(this), this._$AM = o, ce(this)) : this._$AM = o;
|
|
1802
1802
|
}
|
|
1803
|
-
function
|
|
1803
|
+
function yo(o, t = !1, e = 0) {
|
|
1804
1804
|
const n = this._$AH, i = this._$AN;
|
|
1805
|
-
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) nt(n[r], !1),
|
|
1806
|
-
else n != null && (nt(n, !1),
|
|
1805
|
+
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) nt(n[r], !1), mt(n[r]);
|
|
1806
|
+
else n != null && (nt(n, !1), mt(n));
|
|
1807
1807
|
else nt(this, o);
|
|
1808
1808
|
}
|
|
1809
|
-
const
|
|
1810
|
-
o.type ==
|
|
1809
|
+
const mo = (o) => {
|
|
1810
|
+
o.type == Mt.CHILD && (o._$AP ?? (o._$AP = yo), o._$AQ ?? (o._$AQ = go));
|
|
1811
1811
|
};
|
|
1812
|
-
class
|
|
1812
|
+
class wo extends jt {
|
|
1813
1813
|
constructor() {
|
|
1814
1814
|
super(...arguments), this._$AN = void 0;
|
|
1815
1815
|
}
|
|
1816
1816
|
_$AT(t, e, n) {
|
|
1817
|
-
super._$AT(t, e, n),
|
|
1817
|
+
super._$AT(t, e, n), ce(this), this.isConnected = t._$AU;
|
|
1818
1818
|
}
|
|
1819
1819
|
_$AO(t, e = !0) {
|
|
1820
1820
|
var n, i;
|
|
1821
|
-
t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (nt(this, t),
|
|
1821
|
+
t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (nt(this, t), mt(this));
|
|
1822
1822
|
}
|
|
1823
1823
|
setValue(t) {
|
|
1824
|
-
if (
|
|
1824
|
+
if (bo(this._$Ct)) this._$Ct._$AI(t, this);
|
|
1825
1825
|
else {
|
|
1826
1826
|
const e = [...this._$Ct._$AH];
|
|
1827
1827
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -1832,7 +1832,7 @@ class yo extends Tt {
|
|
|
1832
1832
|
reconnected() {
|
|
1833
1833
|
}
|
|
1834
1834
|
}
|
|
1835
|
-
class
|
|
1835
|
+
class xo extends wo {
|
|
1836
1836
|
constructor() {
|
|
1837
1837
|
super(...arguments), this.prevData = {};
|
|
1838
1838
|
}
|
|
@@ -1859,7 +1859,7 @@ class mo extends yo {
|
|
|
1859
1859
|
(!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
|
|
1860
1860
|
}
|
|
1861
1861
|
}
|
|
1862
|
-
class
|
|
1862
|
+
class $o extends xo {
|
|
1863
1863
|
constructor() {
|
|
1864
1864
|
super(...arguments), this.eventData = {};
|
|
1865
1865
|
}
|
|
@@ -1903,7 +1903,7 @@ class wo extends mo {
|
|
|
1903
1903
|
}
|
|
1904
1904
|
}
|
|
1905
1905
|
}
|
|
1906
|
-
class
|
|
1906
|
+
class _o extends $o {
|
|
1907
1907
|
apply(t) {
|
|
1908
1908
|
if (!t)
|
|
1909
1909
|
return;
|
|
@@ -1952,13 +1952,13 @@ class xo extends wo {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
1954
|
}
|
|
1955
|
-
const
|
|
1956
|
-
var
|
|
1957
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1955
|
+
const oe = Tt(_o);
|
|
1956
|
+
var Co = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, b = (o, t, e, n) => {
|
|
1957
|
+
for (var i = n > 1 ? void 0 : n ? ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1958
1958
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1959
|
-
return n && i &&
|
|
1959
|
+
return n && i && Co(t, e, i), i;
|
|
1960
1960
|
};
|
|
1961
|
-
let u = class extends
|
|
1961
|
+
let u = class extends v {
|
|
1962
1962
|
constructor() {
|
|
1963
1963
|
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.showDetail = !1, this.isHidingDetail = !1, this.previousFocusedElement = null, this.innerFocusedElement = null, this._onOpenDetail = () => {
|
|
1964
1964
|
this.showDetail = !0, this.showHeaderStartIcon = !0;
|
|
@@ -1993,12 +1993,12 @@ let u = class extends f {
|
|
|
1993
1993
|
document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
|
|
1994
1994
|
}
|
|
1995
1995
|
trapFocus(o) {
|
|
1996
|
-
var i, r, s, h, c,
|
|
1996
|
+
var i, r, s, h, c, f, m, p, $, S;
|
|
1997
1997
|
this.innerFocusedElement = document.activeElement || null, this.innerFocusedElement = ((r = (i = this.innerFocusedElement) == null ? void 0 : i.shadowRoot) == null ? void 0 : r.activeElement) || this.innerFocusedElement;
|
|
1998
1998
|
const t = this.getFocusableElements();
|
|
1999
1999
|
if (t.length === 0) return;
|
|
2000
2000
|
const e = t[0], n = t[t.length - 1];
|
|
2001
|
-
o.shiftKey && this.innerFocusedElement === e ? (o.preventDefault(), n.shadowRoot ? (c = (h = (s = n.shadowRoot) == null ? void 0 : s.querySelector(u.focusablesSelector)) == null ? void 0 : h.focus) == null || c.call(h) : (
|
|
2001
|
+
o.shiftKey && this.innerFocusedElement === e ? (o.preventDefault(), n.shadowRoot ? (c = (h = (s = n.shadowRoot) == null ? void 0 : s.querySelector(u.focusablesSelector)) == null ? void 0 : h.focus) == null || c.call(h) : (f = n.focus) == null || f.call(n)) : !o.shiftKey && this.innerFocusedElement === n && (o.preventDefault(), e.shadowRoot ? ($ = (p = (m = e.shadowRoot) == null ? void 0 : m.querySelector(u.focusablesSelector)) == null ? void 0 : p.focus) == null || $.call(p) : (S = e.focus) == null || S.call(e));
|
|
2002
2002
|
}
|
|
2003
2003
|
getFocusableElements() {
|
|
2004
2004
|
const o = this.renderRoot.querySelector(".panel");
|
|
@@ -2036,8 +2036,8 @@ let u = class extends f {
|
|
|
2036
2036
|
);
|
|
2037
2037
|
}
|
|
2038
2038
|
closePanel() {
|
|
2039
|
-
var o;
|
|
2040
|
-
this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), (o = this.previousFocusedElement) == null
|
|
2039
|
+
var o, t, e, n, i;
|
|
2040
|
+
this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((o = this.previousFocusedElement) == null ? void 0 : o.tagName.toLowerCase()) === "o-button" ? (n = (e = (t = this.previousFocusedElement.shadowRoot) == null ? void 0 : t.querySelector(".button")) == null ? void 0 : e.focus) == null || n.call(e) : (i = this.previousFocusedElement) == null || i.focus(), this.dispatchEvent(
|
|
2041
2041
|
new CustomEvent("close", { bubbles: !0, composed: !0 })
|
|
2042
2042
|
);
|
|
2043
2043
|
}
|
|
@@ -2131,7 +2131,7 @@ let u = class extends f {
|
|
|
2131
2131
|
variant="${this.firstButtonVariant}"
|
|
2132
2132
|
@click=${this.handleFirstClick}
|
|
2133
2133
|
@keydown=${this.handleFirstClick}
|
|
2134
|
-
${
|
|
2134
|
+
${oe(this.firstButtonProps)}
|
|
2135
2135
|
>
|
|
2136
2136
|
${this.firstButtonLabel}
|
|
2137
2137
|
</o-button>
|
|
@@ -2142,7 +2142,7 @@ let u = class extends f {
|
|
|
2142
2142
|
variant="${this.secondButtonVariant}"
|
|
2143
2143
|
@click=${this.handleSecondClick}
|
|
2144
2144
|
@keydown=${this.handleSecondClick}
|
|
2145
|
-
${
|
|
2145
|
+
${oe(this.secondButtonProps)}
|
|
2146
2146
|
>
|
|
2147
2147
|
${this.secondButtonLabel}
|
|
2148
2148
|
</o-button>
|
|
@@ -2153,7 +2153,7 @@ let u = class extends f {
|
|
|
2153
2153
|
`;
|
|
2154
2154
|
}
|
|
2155
2155
|
};
|
|
2156
|
-
u.styles =
|
|
2156
|
+
u.styles = y`
|
|
2157
2157
|
:host {
|
|
2158
2158
|
--z-overlay: 99;
|
|
2159
2159
|
--z-panel: 100;
|
|
@@ -2257,7 +2257,7 @@ u.styles = m`
|
|
|
2257
2257
|
.panel:focus-visible,
|
|
2258
2258
|
.close-btn:focus,
|
|
2259
2259
|
.close-btn:focus-visible {
|
|
2260
|
-
${
|
|
2260
|
+
${vt}
|
|
2261
2261
|
}
|
|
2262
2262
|
|
|
2263
2263
|
.content {
|
|
@@ -2407,12 +2407,12 @@ b([
|
|
|
2407
2407
|
u = b([
|
|
2408
2408
|
w("o-side-panel")
|
|
2409
2409
|
], u);
|
|
2410
|
-
var
|
|
2411
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2410
|
+
var Ao = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, N = (o, t, e, n) => {
|
|
2411
|
+
for (var i = n > 1 ? void 0 : n ? Eo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2412
2412
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2413
|
-
return n && i &&
|
|
2413
|
+
return n && i && Ao(t, e, i), i;
|
|
2414
2414
|
};
|
|
2415
|
-
let O = class extends
|
|
2415
|
+
let O = class extends v {
|
|
2416
2416
|
constructor() {
|
|
2417
2417
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2418
2418
|
<o-icon-button
|
|
@@ -2489,7 +2489,7 @@ let O = class extends f {
|
|
|
2489
2489
|
`;
|
|
2490
2490
|
}
|
|
2491
2491
|
};
|
|
2492
|
-
O.styles =
|
|
2492
|
+
O.styles = y`
|
|
2493
2493
|
:host {
|
|
2494
2494
|
display: flex;
|
|
2495
2495
|
gap: 5px;
|
|
@@ -2619,12 +2619,12 @@ N([
|
|
|
2619
2619
|
O = N([
|
|
2620
2620
|
w("thumbnail-navigation")
|
|
2621
2621
|
], O);
|
|
2622
|
-
var
|
|
2623
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2622
|
+
var So = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, Ft = (o, t, e, n) => {
|
|
2623
|
+
for (var i = n > 1 ? void 0 : n ? Lo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2624
2624
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2625
|
-
return n && i &&
|
|
2625
|
+
return n && i && So(t, e, i), i;
|
|
2626
2626
|
};
|
|
2627
|
-
let lt = class extends
|
|
2627
|
+
let lt = class extends v {
|
|
2628
2628
|
constructor() {
|
|
2629
2629
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2630
2630
|
}
|
|
@@ -2634,7 +2634,7 @@ let lt = class extends f {
|
|
|
2634
2634
|
`;
|
|
2635
2635
|
}
|
|
2636
2636
|
};
|
|
2637
|
-
lt.styles =
|
|
2637
|
+
lt.styles = y`
|
|
2638
2638
|
.tag {
|
|
2639
2639
|
display: inline-block;
|
|
2640
2640
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2683,7 +2683,7 @@ lt.styles = m`
|
|
|
2683
2683
|
}
|
|
2684
2684
|
|
|
2685
2685
|
:host(:not([type$="percentage"])) .tag {
|
|
2686
|
-
@media (max-width:
|
|
2686
|
+
@media (max-width: 480px) {
|
|
2687
2687
|
overflow: hidden;
|
|
2688
2688
|
white-space: nowrap;
|
|
2689
2689
|
text-overflow: ellipsis;
|
|
@@ -2692,21 +2692,21 @@ lt.styles = m`
|
|
|
2692
2692
|
}
|
|
2693
2693
|
|
|
2694
2694
|
`;
|
|
2695
|
-
|
|
2695
|
+
Ft([
|
|
2696
2696
|
a({ type: String, reflect: !0 })
|
|
2697
2697
|
], lt.prototype, "type", 2);
|
|
2698
|
-
|
|
2698
|
+
Ft([
|
|
2699
2699
|
a({ type: String, reflect: !0 })
|
|
2700
2700
|
], lt.prototype, "bgstyle", 2);
|
|
2701
|
-
lt =
|
|
2701
|
+
lt = Ft([
|
|
2702
2702
|
w("o-tag")
|
|
2703
2703
|
], lt);
|
|
2704
|
-
var
|
|
2705
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2704
|
+
var Po = Object.defineProperty, Io = Object.getOwnPropertyDescriptor, Rt = (o, t, e, n) => {
|
|
2705
|
+
for (var i = n > 1 ? void 0 : n ? Io(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2706
2706
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2707
|
-
return n && i &&
|
|
2707
|
+
return n && i && Po(t, e, i), i;
|
|
2708
2708
|
};
|
|
2709
|
-
let ct = class extends
|
|
2709
|
+
let ct = class extends v {
|
|
2710
2710
|
constructor() {
|
|
2711
2711
|
super(...arguments), this.type = "top", this.text = "";
|
|
2712
2712
|
}
|
|
@@ -2719,7 +2719,7 @@ let ct = class extends f {
|
|
|
2719
2719
|
`;
|
|
2720
2720
|
}
|
|
2721
2721
|
};
|
|
2722
|
-
ct.styles =
|
|
2722
|
+
ct.styles = y`
|
|
2723
2723
|
.tooltip {
|
|
2724
2724
|
position: relative;
|
|
2725
2725
|
display: inline-block;
|
|
@@ -2821,12 +2821,12 @@ Rt([
|
|
|
2821
2821
|
ct = Rt([
|
|
2822
2822
|
w("o-tooltip")
|
|
2823
2823
|
], ct);
|
|
2824
|
-
var
|
|
2825
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2824
|
+
var Oo = Object.defineProperty, Bo = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
|
|
2825
|
+
for (var i = n > 1 ? void 0 : n ? Bo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2826
2826
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2827
|
-
return n && i &&
|
|
2827
|
+
return n && i && Oo(t, e, i), i;
|
|
2828
2828
|
};
|
|
2829
|
-
let L = class extends
|
|
2829
|
+
let L = class extends v {
|
|
2830
2830
|
constructor() {
|
|
2831
2831
|
super(...arguments), this.options = [], this.value = "", this.name = "", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
|
|
2832
2832
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2949,7 +2949,7 @@ let L = class extends f {
|
|
|
2949
2949
|
`;
|
|
2950
2950
|
}
|
|
2951
2951
|
};
|
|
2952
|
-
L.styles =
|
|
2952
|
+
L.styles = y`
|
|
2953
2953
|
:host {
|
|
2954
2954
|
display: inline-block;
|
|
2955
2955
|
position: relative;
|
|
@@ -3116,17 +3116,17 @@ H([
|
|
|
3116
3116
|
L = H([
|
|
3117
3117
|
w("o-dropdown")
|
|
3118
3118
|
], L);
|
|
3119
|
-
var
|
|
3120
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3119
|
+
var zo = Object.getOwnPropertyDescriptor, Do = (o, t, e, n) => {
|
|
3120
|
+
for (var i = n > 1 ? void 0 : n ? zo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3121
3121
|
(s = o[r]) && (i = s(i) || i);
|
|
3122
3122
|
return i;
|
|
3123
3123
|
};
|
|
3124
|
-
let
|
|
3124
|
+
let Pt = class extends v {
|
|
3125
3125
|
render() {
|
|
3126
3126
|
return l` <span class="dots"></span> `;
|
|
3127
3127
|
}
|
|
3128
3128
|
};
|
|
3129
|
-
|
|
3129
|
+
Pt.styles = y`
|
|
3130
3130
|
:host {
|
|
3131
3131
|
display: flex;
|
|
3132
3132
|
align-items: center;
|
|
@@ -3178,15 +3178,15 @@ Lt.styles = m`
|
|
|
3178
3178
|
}
|
|
3179
3179
|
}
|
|
3180
3180
|
`;
|
|
3181
|
-
|
|
3181
|
+
Pt = Do([
|
|
3182
3182
|
w("o-dots")
|
|
3183
|
-
],
|
|
3184
|
-
var
|
|
3185
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3183
|
+
], Pt);
|
|
3184
|
+
var Ho = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, z = (o, t, e, n) => {
|
|
3185
|
+
for (var i = n > 1 ? void 0 : n ? Mo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3186
3186
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3187
|
-
return n && i &&
|
|
3187
|
+
return n && i && Ho(t, e, i), i;
|
|
3188
3188
|
};
|
|
3189
|
-
let k = class extends
|
|
3189
|
+
let k = class extends v {
|
|
3190
3190
|
constructor() {
|
|
3191
3191
|
super(...arguments), this.options = [], this.value = "", this.name = "", this.additionaltext = "+X variant(s)", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
|
|
3192
3192
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3323,7 +3323,7 @@ let k = class extends f {
|
|
|
3323
3323
|
`;
|
|
3324
3324
|
}
|
|
3325
3325
|
};
|
|
3326
|
-
k.styles =
|
|
3326
|
+
k.styles = y`
|
|
3327
3327
|
:host {
|
|
3328
3328
|
display: inline-block;
|
|
3329
3329
|
position: relative;
|
|
@@ -3534,10 +3534,10 @@ k = z([
|
|
|
3534
3534
|
* Copyright 2018 Google LLC
|
|
3535
3535
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3536
3536
|
*/
|
|
3537
|
-
const
|
|
3537
|
+
const he = "important", To = " !" + he, jo = Tt(class extends jt {
|
|
3538
3538
|
constructor(o) {
|
|
3539
3539
|
var t;
|
|
3540
|
-
if (super(o), o.type !==
|
|
3540
|
+
if (super(o), o.type !== Mt.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.");
|
|
3541
3541
|
}
|
|
3542
3542
|
render(o) {
|
|
3543
3543
|
return Object.keys(o).reduce((t, e) => {
|
|
@@ -3553,19 +3553,19 @@ const le = "important", Ho = " !" + le, Mo = Mt(class extends Tt {
|
|
|
3553
3553
|
const i = t[n];
|
|
3554
3554
|
if (i != null) {
|
|
3555
3555
|
this.ft.add(n);
|
|
3556
|
-
const r = typeof i == "string" && i.endsWith(
|
|
3557
|
-
n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ?
|
|
3556
|
+
const r = typeof i == "string" && i.endsWith(To);
|
|
3557
|
+
n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? he : "") : e[n] = i;
|
|
3558
3558
|
}
|
|
3559
3559
|
}
|
|
3560
|
-
return
|
|
3560
|
+
return U;
|
|
3561
3561
|
}
|
|
3562
3562
|
});
|
|
3563
|
-
var
|
|
3564
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3563
|
+
var Fo = Object.defineProperty, Ro = Object.getOwnPropertyDescriptor, Ut = (o, t, e, n) => {
|
|
3564
|
+
for (var i = n > 1 ? void 0 : n ? Ro(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3565
3565
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3566
|
-
return n && i &&
|
|
3566
|
+
return n && i && Fo(t, e, i), i;
|
|
3567
3567
|
};
|
|
3568
|
-
let ht = class extends
|
|
3568
|
+
let ht = class extends v {
|
|
3569
3569
|
constructor() {
|
|
3570
3570
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3571
3571
|
}
|
|
@@ -3574,7 +3574,7 @@ let ht = class extends f {
|
|
|
3574
3574
|
width: `${this.imageSize}px`,
|
|
3575
3575
|
height: `${this.imageSize}px`
|
|
3576
3576
|
}, e = l`
|
|
3577
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${_(this.option.title)}" aria-hidden="true" style=${
|
|
3577
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${_(this.option.title)}" aria-hidden="true" style=${jo(t)} />` : ""}
|
|
3578
3578
|
<div class="m-reassurance-content">
|
|
3579
3579
|
<h3 class="a-reassurance-text">${_(this.option.title)}</h3>
|
|
3580
3580
|
<p class="a-reassurance-description">${_(this.option.description)}</p>
|
|
@@ -3583,7 +3583,7 @@ let ht = class extends f {
|
|
|
3583
3583
|
return o ? l`<a href="${_(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3584
3584
|
}
|
|
3585
3585
|
};
|
|
3586
|
-
ht.styles =
|
|
3586
|
+
ht.styles = y`
|
|
3587
3587
|
:host {
|
|
3588
3588
|
display: inline-block;
|
|
3589
3589
|
position: relative;
|
|
@@ -3674,13 +3674,13 @@ Ut([
|
|
|
3674
3674
|
ht = Ut([
|
|
3675
3675
|
w("o-reassurance")
|
|
3676
3676
|
], ht);
|
|
3677
|
-
var
|
|
3678
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3677
|
+
var Uo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
|
|
3678
|
+
for (var i = n > 1 ? void 0 : n ? No(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3679
3679
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3680
|
-
return n && i &&
|
|
3680
|
+
return n && i && Uo(t, e, i), i;
|
|
3681
3681
|
};
|
|
3682
|
-
const
|
|
3683
|
-
let A = class extends
|
|
3682
|
+
const Vo = Ht(v);
|
|
3683
|
+
let A = class extends Vo {
|
|
3684
3684
|
constructor() {
|
|
3685
3685
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3686
3686
|
}
|
|
@@ -3703,7 +3703,7 @@ let A = class extends Fo {
|
|
|
3703
3703
|
`;
|
|
3704
3704
|
}
|
|
3705
3705
|
};
|
|
3706
|
-
A.styles =
|
|
3706
|
+
A.styles = y`
|
|
3707
3707
|
:host {
|
|
3708
3708
|
cursor: pointer;
|
|
3709
3709
|
display: inline-flex;
|
|
@@ -3779,7 +3779,7 @@ A.styles = m`
|
|
|
3779
3779
|
}
|
|
3780
3780
|
|
|
3781
3781
|
&:focus-visible {
|
|
3782
|
-
${
|
|
3782
|
+
${vt};
|
|
3783
3783
|
}
|
|
3784
3784
|
}
|
|
3785
3785
|
|
|
@@ -3820,12 +3820,12 @@ M([
|
|
|
3820
3820
|
A = M([
|
|
3821
3821
|
w("o-chip")
|
|
3822
3822
|
], A);
|
|
3823
|
-
var
|
|
3824
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3823
|
+
var qo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, Nt = (o, t, e, n) => {
|
|
3824
|
+
for (var i = n > 1 ? void 0 : n ? Zo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3825
3825
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3826
|
-
return n && i &&
|
|
3826
|
+
return n && i && qo(t, e, i), i;
|
|
3827
3827
|
};
|
|
3828
|
-
let dt = class extends
|
|
3828
|
+
let dt = class extends v {
|
|
3829
3829
|
constructor() {
|
|
3830
3830
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
3831
3831
|
}
|
|
@@ -3841,7 +3841,7 @@ let dt = class extends f {
|
|
|
3841
3841
|
`;
|
|
3842
3842
|
}
|
|
3843
3843
|
};
|
|
3844
|
-
dt.styles =
|
|
3844
|
+
dt.styles = y`
|
|
3845
3845
|
:host {
|
|
3846
3846
|
display: flex;
|
|
3847
3847
|
flex-direction: row;
|
|
@@ -3849,22 +3849,22 @@ dt.styles = m`
|
|
|
3849
3849
|
gap: var(--spacing-s);
|
|
3850
3850
|
}
|
|
3851
3851
|
`;
|
|
3852
|
-
|
|
3852
|
+
Nt([
|
|
3853
3853
|
a({ reflect: !0 })
|
|
3854
3854
|
], dt.prototype, "name", 2);
|
|
3855
|
-
|
|
3855
|
+
Nt([
|
|
3856
3856
|
a({ reflect: !0 })
|
|
3857
3857
|
], dt.prototype, "value", 2);
|
|
3858
|
-
dt =
|
|
3858
|
+
dt = Nt([
|
|
3859
3859
|
w("o-chipset")
|
|
3860
3860
|
], dt);
|
|
3861
|
-
var
|
|
3862
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3861
|
+
var Wo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
|
|
3862
|
+
for (var i = n > 1 ? void 0 : n ? Ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3863
3863
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3864
|
-
return n && i &&
|
|
3864
|
+
return n && i && Wo(t, e, i), i;
|
|
3865
3865
|
};
|
|
3866
|
-
const
|
|
3867
|
-
let P = class extends
|
|
3866
|
+
const Go = Ht(v);
|
|
3867
|
+
let P = class extends Go {
|
|
3868
3868
|
constructor() {
|
|
3869
3869
|
super(...arguments), this.name = "", this.value = "", this.type = "", this.dataHref = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
|
|
3870
3870
|
}
|
|
@@ -3883,7 +3883,7 @@ let P = class extends Wo {
|
|
|
3883
3883
|
return l`<span class="cross-icon">${I(o)}</span>`;
|
|
3884
3884
|
}
|
|
3885
3885
|
strikeThroughImg() {
|
|
3886
|
-
const o =
|
|
3886
|
+
const o = io[this.strikethroughImgName].replace(
|
|
3887
3887
|
"<svg",
|
|
3888
3888
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
3889
3889
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
@@ -3914,7 +3914,7 @@ let P = class extends Wo {
|
|
|
3914
3914
|
`;
|
|
3915
3915
|
}
|
|
3916
3916
|
};
|
|
3917
|
-
P.styles =
|
|
3917
|
+
P.styles = y`
|
|
3918
3918
|
:host {
|
|
3919
3919
|
cursor: pointer;
|
|
3920
3920
|
display: inline-flex;
|
|
@@ -3994,7 +3994,7 @@ P.styles = m`
|
|
|
3994
3994
|
}
|
|
3995
3995
|
|
|
3996
3996
|
.button:focus-visible {
|
|
3997
|
-
${
|
|
3997
|
+
${vt};
|
|
3998
3998
|
}
|
|
3999
3999
|
|
|
4000
4000
|
span.text + span.text::before {
|
|
@@ -4067,12 +4067,12 @@ T([
|
|
|
4067
4067
|
P = T([
|
|
4068
4068
|
w("o-filter-chip")
|
|
4069
4069
|
], P);
|
|
4070
|
-
var
|
|
4070
|
+
var Xo = Object.defineProperty, j = (o, t, e, n) => {
|
|
4071
4071
|
for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
|
|
4072
4072
|
(s = o[r]) && (i = s(t, e, i) || i);
|
|
4073
|
-
return i &&
|
|
4073
|
+
return i && Xo(t, e, i), i;
|
|
4074
4074
|
};
|
|
4075
|
-
const
|
|
4075
|
+
const qt = class qt extends v {
|
|
4076
4076
|
constructor() {
|
|
4077
4077
|
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;
|
|
4078
4078
|
}
|
|
@@ -4118,7 +4118,7 @@ const Nt = class Nt extends f {
|
|
|
4118
4118
|
`;
|
|
4119
4119
|
}
|
|
4120
4120
|
};
|
|
4121
|
-
|
|
4121
|
+
qt.styles = y`
|
|
4122
4122
|
:host {
|
|
4123
4123
|
display: block;
|
|
4124
4124
|
max-width: 100%;
|
|
@@ -4202,7 +4202,7 @@ Nt.styles = m`
|
|
|
4202
4202
|
line-height: var(--line-height-160);
|
|
4203
4203
|
}
|
|
4204
4204
|
`;
|
|
4205
|
-
let E =
|
|
4205
|
+
let E = qt;
|
|
4206
4206
|
j([
|
|
4207
4207
|
a({ type: String })
|
|
4208
4208
|
], E.prototype, "type");
|
|
@@ -4231,3 +4231,63 @@ j([
|
|
|
4231
4231
|
a({ type: Function })
|
|
4232
4232
|
], E.prototype, "onClickTile");
|
|
4233
4233
|
customElements.define("mini-tile", E);
|
|
4234
|
+
var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, Vt = (o, t, e, n) => {
|
|
4235
|
+
for (var i = n > 1 ? void 0 : n ? Qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4236
|
+
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4237
|
+
return n && i && Jo(t, e, i), i;
|
|
4238
|
+
};
|
|
4239
|
+
let pt = class extends v {
|
|
4240
|
+
constructor() {
|
|
4241
|
+
super(...arguments), this.variant = "cart", this.text = "";
|
|
4242
|
+
}
|
|
4243
|
+
render() {
|
|
4244
|
+
return l`
|
|
4245
|
+
<span class="badge">
|
|
4246
|
+
${this.text ? this.text : l`<slot></slot>`}
|
|
4247
|
+
</span>
|
|
4248
|
+
`;
|
|
4249
|
+
}
|
|
4250
|
+
};
|
|
4251
|
+
pt.styles = y`
|
|
4252
|
+
:host([variant]) {
|
|
4253
|
+
display: inline-block;
|
|
4254
|
+
--background-color: var(--color-container-brand-accent);
|
|
4255
|
+
--border-color: var(--color-border-primary);
|
|
4256
|
+
--text-color: var(--color-content-body);
|
|
4257
|
+
}
|
|
4258
|
+
|
|
4259
|
+
:host([variant="filter"]) {
|
|
4260
|
+
--background-color: var(--color-container-filter-default);
|
|
4261
|
+
--border-color: var(--color-container-filter-default);
|
|
4262
|
+
--text-color: var(--color-content-filter);
|
|
4263
|
+
}
|
|
4264
|
+
|
|
4265
|
+
.badge {
|
|
4266
|
+
display: block;
|
|
4267
|
+
padding: 1px var(--spacing-4-xs) var(--spacing-4-xs) 1px;
|
|
4268
|
+
box-sizing: content-box;
|
|
4269
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4270
|
+
font-weight: var(--font-weight-400);
|
|
4271
|
+
height: var(--line-height-160);
|
|
4272
|
+
width: var(--line-height-160);
|
|
4273
|
+
text-align: center;
|
|
4274
|
+
overflow: hidden;
|
|
4275
|
+
background: var(--background-color);
|
|
4276
|
+
border: var(--border-s) solid var(--border-color);
|
|
4277
|
+
border-radius: 100%;
|
|
4278
|
+
font-size: var(--font-size-100);
|
|
4279
|
+
letter-spacing: var(--letter-spacing-400);
|
|
4280
|
+
line-height: var(--line-height-160);
|
|
4281
|
+
color: var(--text-color);
|
|
4282
|
+
}
|
|
4283
|
+
|
|
4284
|
+
`;
|
|
4285
|
+
Vt([
|
|
4286
|
+
a({ type: String, reflect: !0 })
|
|
4287
|
+
], pt.prototype, "variant", 2);
|
|
4288
|
+
Vt([
|
|
4289
|
+
a({ type: String })
|
|
4290
|
+
], pt.prototype, "text", 2);
|
|
4291
|
+
pt = Vt([
|
|
4292
|
+
w("o-badge")
|
|
4293
|
+
], pt);
|