@florid-kit/components 0.9.26 → 0.9.27
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/popin.d.ts +6 -0
- package/index.js +84 -68
- package/index.mjs +371 -343
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -45,7 +45,7 @@ const Ee = (o) => new ye(typeof o == "string" ? o : o + "", void 0, Vt), v = (o,
|
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: Ae, defineProperty: Le, getOwnPropertyDescriptor: Be, getOwnPropertyNames:
|
|
48
|
+
const { is: Ae, defineProperty: Le, getOwnPropertyDescriptor: Be, getOwnPropertyNames: Pe, getOwnPropertySymbols: Oe, getPrototypeOf: ze } = Object, X = globalThis, le = X.trustedTypes, Ie = le ? le.emptyScript : "", It = X.reactiveElementPolyfillSupport, pt = (o, t) => o, At = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
51
|
o = o ? Ie : null;
|
|
@@ -74,7 +74,7 @@ const { is: Ae, defineProperty: Le, getOwnPropertyDescriptor: Be, getOwnProperty
|
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
76
|
} }, qt = (o, t) => !Ae(o, t), ce = { attribute: !0, type: String, converter: At, reflect: !1, useDefault: !1, hasChanged: qt };
|
|
77
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
77
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), X.litPropertyMetadata ?? (X.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let at = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
@@ -104,13 +104,13 @@ let at = class extends HTMLElement {
|
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
106
|
if (this.hasOwnProperty(pt("elementProperties"))) return;
|
|
107
|
-
const t =
|
|
107
|
+
const t = ze(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(pt("finalized"))) return;
|
|
112
112
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(pt("properties"))) {
|
|
113
|
-
const e = this.properties, n = [...
|
|
113
|
+
const e = this.properties, n = [...Pe(e), ...Oe(e)];
|
|
114
114
|
for (const i of n) this.createProperty(i, e[i]);
|
|
115
115
|
}
|
|
116
116
|
const t = this[Symbol.metadata];
|
|
@@ -276,15 +276,15 @@ let at = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
at.elementStyles = [], at.shadowRootOptions = { mode: "open" }, at[pt("elementProperties")] = /* @__PURE__ */ new Map(), at[pt("finalized")] = /* @__PURE__ */ new Map(), It == null || It({ ReactiveElement: at }), (
|
|
279
|
+
at.elementStyles = [], at.shadowRootOptions = { mode: "open" }, at[pt("elementProperties")] = /* @__PURE__ */ new Map(), at[pt("finalized")] = /* @__PURE__ */ new Map(), It == null || It({ ReactiveElement: at }), (X.reactiveElementVersions ?? (X.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 ut = globalThis, Lt = ut.trustedTypes, he = Lt ? Lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, me = "$lit$",
|
|
285
|
+
const ut = globalThis, Lt = ut.trustedTypes, he = Lt ? Lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, me = "$lit$", G = `lit$${Math.random().toFixed(9).slice(2)}$`, xe = "?" + G, De = `<${xe}>`, it = document, ft = () => it.createComment(""), gt = (o) => o === null || typeof o != "object" && typeof o != "function", Zt = Array.isArray, He = (o) => Zt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Dt = `[
|
|
286
286
|
\f\r]`, dt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, de = /-->/g, pe = />/g, tt = RegExp(`>|${Dt}(?:([^\\s"'>=/]+)(${Dt}*=${Dt}*(?:[^
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), ue = /'/g, ve = /"/g, we = /^(?:script|style|textarea|title)$/i, Me = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Me(1),
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ue = /'/g, ve = /"/g, we = /^(?:script|style|textarea|title)$/i, Me = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Me(1), Y = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), fe = /* @__PURE__ */ new WeakMap(), et = it.createTreeWalker(it, 129);
|
|
288
288
|
function $e(o, t) {
|
|
289
289
|
if (!Zt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
290
|
return he !== void 0 ? he.createHTML(t) : t;
|
|
@@ -294,41 +294,41 @@ const Te = (o, t) => {
|
|
|
294
294
|
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = dt;
|
|
295
295
|
for (let c = 0; c < e; c++) {
|
|
296
296
|
const h = o[c];
|
|
297
|
-
let m, w, f = -1,
|
|
298
|
-
for (;
|
|
299
|
-
const
|
|
300
|
-
r += s === dt ? h + De : f >= 0 ? (n.push(m), h.slice(0, f) + me + h.slice(f) +
|
|
297
|
+
let m, w, f = -1, N = 0;
|
|
298
|
+
for (; N < h.length && (s.lastIndex = N, w = s.exec(h), w !== null); ) N = s.lastIndex, s === dt ? w[1] === "!--" ? s = de : w[1] !== void 0 ? s = pe : w[2] !== void 0 ? (we.test(w[2]) && (i = RegExp("</" + w[2], "g")), s = tt) : w[3] !== void 0 && (s = tt) : s === tt ? w[0] === ">" ? (s = i ?? dt, f = -1) : w[1] === void 0 ? f = -2 : (f = s.lastIndex - w[2].length, m = w[1], s = w[3] === void 0 ? tt : w[3] === '"' ? ve : ue) : s === ve || s === ue ? s = tt : s === de || s === pe ? s = dt : (s = tt, i = void 0);
|
|
299
|
+
const W = s === tt && o[c + 1].startsWith("/>") ? " " : "";
|
|
300
|
+
r += s === dt ? h + De : f >= 0 ? (n.push(m), h.slice(0, f) + me + h.slice(f) + G + W) : h + G + (f === -2 ? c : W);
|
|
301
301
|
}
|
|
302
302
|
return [$e(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
304
|
-
class
|
|
304
|
+
class bt {
|
|
305
305
|
constructor({ strings: t, _$litType$: e }, n) {
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let r = 0, s = 0;
|
|
309
309
|
const c = t.length - 1, h = this.parts, [m, w] = Te(t, e);
|
|
310
|
-
if (this.el =
|
|
310
|
+
if (this.el = bt.createElement(m, n), et.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
314
|
for (; (i = et.nextNode()) !== null && h.length < c; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
316
|
if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(me)) {
|
|
317
|
-
const
|
|
318
|
-
h.push({ type: 1, index: r, name: Et[2], strings:
|
|
319
|
-
} else f.startsWith(
|
|
317
|
+
const N = w[s++], W = i.getAttribute(f).split(G), Et = /([.?@])?(.*)/.exec(N);
|
|
318
|
+
h.push({ type: 1, index: r, name: Et[2], strings: W, ctor: Et[1] === "." ? Fe : Et[1] === "?" ? Re : Et[1] === "@" ? Ue : Pt }), i.removeAttribute(f);
|
|
319
|
+
} else f.startsWith(G) && (h.push({ type: 6, index: r }), i.removeAttribute(f));
|
|
320
320
|
if (we.test(i.tagName)) {
|
|
321
|
-
const f = i.textContent.split(
|
|
322
|
-
if (
|
|
321
|
+
const f = i.textContent.split(G), N = f.length - 1;
|
|
322
|
+
if (N > 0) {
|
|
323
323
|
i.textContent = Lt ? Lt.emptyScript : "";
|
|
324
|
-
for (let
|
|
325
|
-
i.append(f[
|
|
324
|
+
for (let W = 0; W < N; W++) i.append(f[W], ft()), et.nextNode(), h.push({ type: 2, index: ++r });
|
|
325
|
+
i.append(f[N], ft());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
} else if (i.nodeType === 8) if (i.data === xe) h.push({ type: 2, index: r });
|
|
329
329
|
else {
|
|
330
330
|
let f = -1;
|
|
331
|
-
for (; (f = i.data.indexOf(
|
|
331
|
+
for (; (f = i.data.indexOf(G, f + 1)) !== -1; ) h.push({ type: 7, index: r }), f += G.length - 1;
|
|
332
332
|
}
|
|
333
333
|
r++;
|
|
334
334
|
}
|
|
@@ -340,9 +340,9 @@ class gt {
|
|
|
340
340
|
}
|
|
341
341
|
function lt(o, t, e = o, n) {
|
|
342
342
|
var s, c;
|
|
343
|
-
if (t ===
|
|
343
|
+
if (t === Y) return t;
|
|
344
344
|
let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
|
|
345
|
-
const r =
|
|
345
|
+
const r = gt(t) ? void 0 : t._$litDirective$;
|
|
346
346
|
return (i == null ? void 0 : i.constructor) !== r && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (t = lt(o, i._$AS(o, t.values), i, n)), t;
|
|
347
347
|
}
|
|
348
348
|
class je {
|
|
@@ -362,7 +362,7 @@ class je {
|
|
|
362
362
|
for (; h !== void 0; ) {
|
|
363
363
|
if (s === h.index) {
|
|
364
364
|
let m;
|
|
365
|
-
h.type === 2 ? m = new
|
|
365
|
+
h.type === 2 ? m = new kt(r, r.nextSibling, this, t) : h.type === 1 ? m = new h.ctor(r, h.name, h.strings, this, t) : h.type === 6 && (m = new Ne(r, this, t)), this._$AV.push(m), h = n[++c];
|
|
366
366
|
}
|
|
367
367
|
s !== (h == null ? void 0 : h.index) && (r = et.nextNode(), s++);
|
|
368
368
|
}
|
|
@@ -373,7 +373,7 @@ class je {
|
|
|
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 kt {
|
|
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 _t {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = lt(this, t, e),
|
|
396
|
+
t = lt(this, t, e), gt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== Y && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : He(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -402,11 +402,11 @@ class _t {
|
|
|
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 && gt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(it.createTextNode(t)), this._$AH = t;
|
|
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 =
|
|
409
|
+
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = bt.createElement($e(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
412
|
const s = new je(i, this), c = s.u(this.options);
|
|
@@ -415,13 +415,13 @@ class _t {
|
|
|
415
415
|
}
|
|
416
416
|
_$AC(t) {
|
|
417
417
|
let e = fe.get(t.strings);
|
|
418
|
-
return e === void 0 && fe.set(t.strings, e = new
|
|
418
|
+
return e === void 0 && fe.set(t.strings, e = new bt(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 kt(this.O(ft()), this.O(ft()), 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 _t {
|
|
|
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 Pt {
|
|
440
440
|
get tagName() {
|
|
441
441
|
return this.element.tagName;
|
|
442
442
|
}
|
|
@@ -449,11 +449,11 @@ class zt {
|
|
|
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 = lt(this, t, e, 0), s = !
|
|
452
|
+
if (r === void 0) t = lt(this, t, e, 0), s = !gt(t) || t !== this._$AH && t !== Y, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const c = t;
|
|
455
455
|
let h, m;
|
|
456
|
-
for (t = r[0], h = 0; h < r.length - 1; h++) m = lt(this, c[n + h], e, h), m ===
|
|
456
|
+
for (t = r[0], h = 0; h < r.length - 1; h++) m = lt(this, c[n + h], e, h), m === Y && (m = this._$AH[h]), s || (s = !gt(m) || m !== this._$AH[h]), m === d ? t = d : t !== d && (t += (m ?? "") + r[h + 1]), this._$AH[h] = m;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class zt {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class Fe extends
|
|
464
|
+
class Fe extends Pt {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class Fe extends zt {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class Re extends
|
|
472
|
+
class Re extends Pt {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,12 +477,12 @@ class Re extends zt {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class Ue extends
|
|
480
|
+
class Ue extends Pt {
|
|
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 = lt(this, t, e, 0) ?? d) ===
|
|
485
|
+
if ((t = lt(this, t, e, 0) ?? d) === Y) 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
|
}
|
|
@@ -503,13 +503,13 @@ class Ne {
|
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
const Ht = ut.litHtmlPolyfillSupport;
|
|
506
|
-
Ht == null || Ht(
|
|
506
|
+
Ht == null || Ht(bt, kt), (ut.litHtmlVersions ?? (ut.litHtmlVersions = [])).push("3.3.0");
|
|
507
507
|
const Ve = (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 kt(t.insertBefore(ft(), r), r, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -541,11 +541,11 @@ let p = class extends at {
|
|
|
541
541
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
542
542
|
}
|
|
543
543
|
render() {
|
|
544
|
-
return
|
|
544
|
+
return Y;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
p._$litElement$ = !0, p.finalized = !0, (
|
|
547
|
+
var be;
|
|
548
|
+
p._$litElement$ = !0, p.finalized = !0, (be = ot.litElementHydrateSupport) == null || be.call(ot, { LitElement: p });
|
|
549
549
|
const Mt = ot.litElementPolyfillSupport;
|
|
550
550
|
Mt == null || Mt({ LitElement: p });
|
|
551
551
|
(ot.litElementVersions ?? (ot.litElementVersions = [])).push("4.2.0");
|
|
@@ -554,7 +554,7 @@ Mt == null || Mt({ LitElement: p });
|
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
555
555
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
556
556
|
*/
|
|
557
|
-
const
|
|
557
|
+
const g = (o) => (t, e) => {
|
|
558
558
|
e !== void 0 ? e.addInitializer(() => {
|
|
559
559
|
customElements.define(o, t);
|
|
560
560
|
}) : customElements.define(o, t);
|
|
@@ -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 J(o) {
|
|
600
600
|
return a({ ...o, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
602
|
/**
|
|
@@ -610,7 +610,7 @@ const Ke = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorat
|
|
|
610
610
|
* Copyright 2017 Google LLC
|
|
611
611
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
612
612
|
*/
|
|
613
|
-
function
|
|
613
|
+
function _e(o, t) {
|
|
614
614
|
return (e, n, i) => {
|
|
615
615
|
const r = (s) => {
|
|
616
616
|
var c;
|
|
@@ -745,11 +745,11 @@ const Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
745
745
|
`, fo = `<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
|
+
`, go = `<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
|
+
`, bo = `<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
|
`, yo = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -767,12 +767,12 @@ const Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
767
767
|
`, $o = `<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
|
+
`, _o = `<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
|
+
`, ko = `<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>`,
|
|
775
|
+
</svg>`, V = {
|
|
776
776
|
wishlist: Ge,
|
|
777
777
|
playerv: Xe,
|
|
778
778
|
chevronRight: Ye,
|
|
@@ -793,11 +793,11 @@ const Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
793
793
|
triangledown: uo,
|
|
794
794
|
triangleup: vo,
|
|
795
795
|
checkstroke: fo,
|
|
796
|
-
pause:
|
|
797
|
-
mapDualArrow:
|
|
796
|
+
pause: go,
|
|
797
|
+
mapDualArrow: bo,
|
|
798
798
|
swipeDualArrow: mo,
|
|
799
|
-
backToBag:
|
|
800
|
-
checkbox:
|
|
799
|
+
backToBag: _o,
|
|
800
|
+
checkbox: ko
|
|
801
801
|
}, Co = {
|
|
802
802
|
strikeDiagonal: yo
|
|
803
803
|
}, Eo = {
|
|
@@ -838,7 +838,7 @@ class jt extends Yt {
|
|
|
838
838
|
}
|
|
839
839
|
render(t) {
|
|
840
840
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
841
|
-
if (t ===
|
|
841
|
+
if (t === Y) return t;
|
|
842
842
|
if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
843
843
|
if (t === this.it) return this._t;
|
|
844
844
|
this.it = t;
|
|
@@ -879,7 +879,7 @@ const vt = (o, t) => {
|
|
|
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
|
+
}, ke = (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();
|
|
@@ -888,7 +888,7 @@ const vt = (o, t) => {
|
|
|
888
888
|
}
|
|
889
889
|
};
|
|
890
890
|
function Ao(o) {
|
|
891
|
-
this._$AN !== void 0 ? (Bt(this), this._$AM = o,
|
|
891
|
+
this._$AN !== void 0 ? (Bt(this), this._$AM = o, ke(this)) : this._$AM = o;
|
|
892
892
|
}
|
|
893
893
|
function Lo(o, t = !1, e = 0) {
|
|
894
894
|
const n = this._$AH, i = this._$AN;
|
|
@@ -899,12 +899,12 @@ function Lo(o, t = !1, e = 0) {
|
|
|
899
899
|
const Bo = (o) => {
|
|
900
900
|
o.type == Gt.CHILD && (o._$AP ?? (o._$AP = Lo), o._$AQ ?? (o._$AQ = Ao));
|
|
901
901
|
};
|
|
902
|
-
class
|
|
902
|
+
class Po extends Yt {
|
|
903
903
|
constructor() {
|
|
904
904
|
super(...arguments), this._$AN = void 0;
|
|
905
905
|
}
|
|
906
906
|
_$AT(t, e, n) {
|
|
907
|
-
super._$AT(t, e, n),
|
|
907
|
+
super._$AT(t, e, n), ke(this), this.isConnected = t._$AU;
|
|
908
908
|
}
|
|
909
909
|
_$AO(t, e = !0) {
|
|
910
910
|
var n, i;
|
|
@@ -922,7 +922,7 @@ class zo extends Yt {
|
|
|
922
922
|
reconnected() {
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
|
-
class Oo extends
|
|
925
|
+
class Oo extends Po {
|
|
926
926
|
constructor() {
|
|
927
927
|
super(...arguments), this.prevData = {};
|
|
928
928
|
}
|
|
@@ -949,7 +949,7 @@ class Oo extends zo {
|
|
|
949
949
|
(!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
|
-
class
|
|
952
|
+
class zo extends Oo {
|
|
953
953
|
constructor() {
|
|
954
954
|
super(...arguments), this.eventData = {};
|
|
955
955
|
}
|
|
@@ -993,7 +993,7 @@ class Po extends Oo {
|
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
|
-
class Io extends
|
|
996
|
+
class Io extends zo {
|
|
997
997
|
apply(t) {
|
|
998
998
|
if (!t)
|
|
999
999
|
return;
|
|
@@ -1042,19 +1042,19 @@ class Io extends Po {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
|
-
const
|
|
1045
|
+
const ge = Xt(Io);
|
|
1046
1046
|
/**
|
|
1047
1047
|
* @license
|
|
1048
1048
|
* Copyright 2018 Google LLC
|
|
1049
1049
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1050
1050
|
*/
|
|
1051
|
-
const
|
|
1051
|
+
const S = (o) => o ?? d;
|
|
1052
1052
|
var Do = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
|
|
1053
1053
|
for (var i = n > 1 ? void 0 : n ? Ho(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1054
1054
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1055
1055
|
return n && i && Do(t, e, i), i;
|
|
1056
1056
|
};
|
|
1057
|
-
let
|
|
1057
|
+
let A = class extends p {
|
|
1058
1058
|
constructor() {
|
|
1059
1059
|
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 = "";
|
|
1060
1060
|
}
|
|
@@ -1062,7 +1062,7 @@ let S = class extends p {
|
|
|
1062
1062
|
super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
|
|
1063
1063
|
}
|
|
1064
1064
|
render() {
|
|
1065
|
-
const o =
|
|
1065
|
+
const o = V[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"'), n = 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}">
|
|
@@ -1071,7 +1071,7 @@ let S = class extends p {
|
|
|
1071
1071
|
` : l`
|
|
1072
1072
|
<button
|
|
1073
1073
|
type="button"
|
|
1074
|
-
aria-label=${
|
|
1074
|
+
aria-label=${S(i)}
|
|
1075
1075
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
|
|
1076
1076
|
?disabled="${this.disabled}"
|
|
1077
1077
|
>
|
|
@@ -1082,7 +1082,7 @@ let S = class extends p {
|
|
|
1082
1082
|
`;
|
|
1083
1083
|
}
|
|
1084
1084
|
};
|
|
1085
|
-
|
|
1085
|
+
A.styles = v`
|
|
1086
1086
|
:host {
|
|
1087
1087
|
display: inline-flex;
|
|
1088
1088
|
justify-content: center;
|
|
@@ -1296,35 +1296,35 @@ S.styles = v`
|
|
|
1296
1296
|
`;
|
|
1297
1297
|
M([
|
|
1298
1298
|
a({ type: String, reflect: !0 })
|
|
1299
|
-
],
|
|
1299
|
+
], A.prototype, "bgstyle", 2);
|
|
1300
1300
|
M([
|
|
1301
1301
|
a({ type: String, reflect: !0 })
|
|
1302
|
-
],
|
|
1302
|
+
], A.prototype, "size", 2);
|
|
1303
1303
|
M([
|
|
1304
1304
|
a({ type: String, reflect: !0 })
|
|
1305
|
-
],
|
|
1305
|
+
], A.prototype, "status", 2);
|
|
1306
1306
|
M([
|
|
1307
1307
|
a({ type: String, reflect: !0 })
|
|
1308
|
-
],
|
|
1308
|
+
], A.prototype, "type", 2);
|
|
1309
1309
|
M([
|
|
1310
1310
|
a({ type: String })
|
|
1311
|
-
],
|
|
1311
|
+
], A.prototype, "strokewidth", 2);
|
|
1312
1312
|
M([
|
|
1313
1313
|
a({ type: String })
|
|
1314
|
-
],
|
|
1314
|
+
], A.prototype, "icon", 2);
|
|
1315
1315
|
M([
|
|
1316
1316
|
a({ type: Boolean, reflect: !0 })
|
|
1317
|
-
],
|
|
1317
|
+
], A.prototype, "disabled", 2);
|
|
1318
1318
|
M([
|
|
1319
1319
|
a({ type: Boolean })
|
|
1320
|
-
],
|
|
1320
|
+
], A.prototype, "showSrLabel", 2);
|
|
1321
1321
|
M([
|
|
1322
1322
|
a({ type: String })
|
|
1323
|
-
],
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
],
|
|
1327
|
-
var Mo = Object.defineProperty, To = Object.getOwnPropertyDescriptor,
|
|
1323
|
+
], A.prototype, "srLabel", 2);
|
|
1324
|
+
A = M([
|
|
1325
|
+
g("o-icon-button")
|
|
1326
|
+
], A);
|
|
1327
|
+
var Mo = Object.defineProperty, To = Object.getOwnPropertyDescriptor, b = (o, t, e, n) => {
|
|
1328
1328
|
for (var i = n > 1 ? void 0 : n ? To(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1329
1329
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1330
1330
|
return n && i && Mo(t, e, i), i;
|
|
@@ -1566,7 +1566,7 @@ let u = class extends p {
|
|
|
1566
1566
|
variant="${this.firstButtonVariant}"
|
|
1567
1567
|
@click=${this.handleFirstClick}
|
|
1568
1568
|
@keydown=${this.handleFirstClick}
|
|
1569
|
-
${
|
|
1569
|
+
${ge(this.firstButtonProps)}
|
|
1570
1570
|
>
|
|
1571
1571
|
${this.firstButtonLabel}
|
|
1572
1572
|
</o-button>
|
|
@@ -1577,7 +1577,7 @@ let u = class extends p {
|
|
|
1577
1577
|
variant="${this.secondButtonVariant}"
|
|
1578
1578
|
@click=${this.handleSecondClick}
|
|
1579
1579
|
@keydown=${this.handleSecondClick}
|
|
1580
|
-
${
|
|
1580
|
+
${ge(this.secondButtonProps)}
|
|
1581
1581
|
>
|
|
1582
1582
|
${this.secondButtonLabel}
|
|
1583
1583
|
</o-button>
|
|
@@ -1793,74 +1793,74 @@ u.styles = v`
|
|
|
1793
1793
|
`;
|
|
1794
1794
|
u.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
|
|
1795
1795
|
u.focusablesCustomElementsSelector = "o-icon-button, o-button";
|
|
1796
|
-
|
|
1796
|
+
b([
|
|
1797
1797
|
a({ type: Boolean, reflect: !0 })
|
|
1798
1798
|
], u.prototype, "open", 2);
|
|
1799
|
-
|
|
1799
|
+
b([
|
|
1800
1800
|
a({ type: Boolean, reflect: !0 })
|
|
1801
1801
|
], u.prototype, "showHeader", 2);
|
|
1802
|
-
|
|
1802
|
+
b([
|
|
1803
1803
|
a({ type: Boolean, reflect: !0 })
|
|
1804
1804
|
], u.prototype, "showFooter", 2);
|
|
1805
|
-
|
|
1805
|
+
b([
|
|
1806
1806
|
a({ type: Boolean, reflect: !0 })
|
|
1807
1807
|
], u.prototype, "showHeaderStartIcon", 2);
|
|
1808
|
-
|
|
1808
|
+
b([
|
|
1809
1809
|
a({ type: String, reflect: !0 })
|
|
1810
1810
|
], u.prototype, "headerTitle", 2);
|
|
1811
|
-
|
|
1811
|
+
b([
|
|
1812
1812
|
a({ type: String, reflect: !0 })
|
|
1813
1813
|
], u.prototype, "headerTitleClassName", 2);
|
|
1814
|
-
|
|
1814
|
+
b([
|
|
1815
1815
|
a({ type: String, reflect: !0 })
|
|
1816
1816
|
], u.prototype, "labelDialog", 2);
|
|
1817
|
-
|
|
1817
|
+
b([
|
|
1818
1818
|
a({ type: String, reflect: !0 })
|
|
1819
1819
|
], u.prototype, "closeButtonLabel", 2);
|
|
1820
|
-
|
|
1820
|
+
b([
|
|
1821
1821
|
a({ type: String, reflect: !0 })
|
|
1822
1822
|
], u.prototype, "goBackButtonLabel", 2);
|
|
1823
|
-
|
|
1823
|
+
b([
|
|
1824
1824
|
a({ type: String, reflect: !0 })
|
|
1825
1825
|
], u.prototype, "firstButtonLabel", 2);
|
|
1826
|
-
|
|
1826
|
+
b([
|
|
1827
1827
|
a({ type: String, reflect: !0 })
|
|
1828
1828
|
], u.prototype, "firstButtonVariant", 2);
|
|
1829
|
-
|
|
1829
|
+
b([
|
|
1830
1830
|
a({ type: Object, reflect: !0 })
|
|
1831
1831
|
], u.prototype, "firstButtonProps", 2);
|
|
1832
|
-
|
|
1832
|
+
b([
|
|
1833
1833
|
a({ type: Boolean, reflect: !0 })
|
|
1834
1834
|
], u.prototype, "onFirstButtonClickClose", 2);
|
|
1835
|
-
|
|
1835
|
+
b([
|
|
1836
1836
|
a({ type: String, reflect: !0 })
|
|
1837
1837
|
], u.prototype, "secondButtonLabel", 2);
|
|
1838
|
-
|
|
1838
|
+
b([
|
|
1839
1839
|
a({ type: String, reflect: !0 })
|
|
1840
1840
|
], u.prototype, "secondButtonVariant", 2);
|
|
1841
|
-
|
|
1841
|
+
b([
|
|
1842
1842
|
a({ type: Object, reflect: !0 })
|
|
1843
1843
|
], u.prototype, "secondButtonProps", 2);
|
|
1844
|
-
|
|
1844
|
+
b([
|
|
1845
1845
|
a({ type: Boolean, reflect: !0 })
|
|
1846
1846
|
], u.prototype, "onSecondButtonClickClose", 2);
|
|
1847
|
-
|
|
1847
|
+
b([
|
|
1848
1848
|
a({ type: Boolean, reflect: !0 })
|
|
1849
1849
|
], u.prototype, "disablePortal", 2);
|
|
1850
|
-
|
|
1850
|
+
b([
|
|
1851
1851
|
a({ type: Number, reflect: !0 })
|
|
1852
1852
|
], u.prototype, "zIndex", 2);
|
|
1853
|
-
|
|
1853
|
+
b([
|
|
1854
1854
|
a({ type: Boolean, reflect: !0 })
|
|
1855
1855
|
], u.prototype, "initialized", 2);
|
|
1856
|
-
|
|
1856
|
+
b([
|
|
1857
1857
|
a({ type: Boolean })
|
|
1858
1858
|
], u.prototype, "showDetail", 2);
|
|
1859
|
-
|
|
1859
|
+
b([
|
|
1860
1860
|
a({ type: Boolean })
|
|
1861
1861
|
], u.prototype, "isHidingDetail", 2);
|
|
1862
|
-
u =
|
|
1863
|
-
|
|
1862
|
+
u = b([
|
|
1863
|
+
g("o-side-panel")
|
|
1864
1864
|
], u);
|
|
1865
1865
|
var jo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, x = (o, t, e, n) => {
|
|
1866
1866
|
for (var i = n > 1 ? void 0 : n ? Fo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -1893,7 +1893,7 @@ let y = class extends Ro {
|
|
|
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 = V[t].replace(
|
|
1897
1897
|
"<svg",
|
|
1898
1898
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1899
1899
|
);
|
|
@@ -2189,7 +2189,7 @@ x([
|
|
|
2189
2189
|
a({ type: Boolean, reflect: !0 })
|
|
2190
2190
|
], y.prototype, "withbadge", 2);
|
|
2191
2191
|
y = x([
|
|
2192
|
-
|
|
2192
|
+
g("o-button")
|
|
2193
2193
|
], y);
|
|
2194
2194
|
var Uo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Ot = (o, t, e, n) => {
|
|
2195
2195
|
for (var i = n > 1 ? void 0 : n ? No(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2216,7 +2216,7 @@ let ct = class extends p {
|
|
|
2216
2216
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.toggleStatus());
|
|
2217
2217
|
}
|
|
2218
2218
|
render() {
|
|
2219
|
-
const o =
|
|
2219
|
+
const o = V.wishlist.replace(
|
|
2220
2220
|
"<svg",
|
|
2221
2221
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
2222
2222
|
);
|
|
@@ -2312,14 +2312,14 @@ Ot([
|
|
|
2312
2312
|
a({ type: String, reflect: !0 })
|
|
2313
2313
|
], ct.prototype, "label", 2);
|
|
2314
2314
|
ct = Ot([
|
|
2315
|
-
|
|
2315
|
+
g("o-wishlist-button")
|
|
2316
2316
|
], ct);
|
|
2317
2317
|
var Vo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, st = (o, t, e, n) => {
|
|
2318
2318
|
for (var i = n > 1 ? void 0 : n ? qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2319
2319
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2320
2320
|
return n && i && Vo(t, e, i), i;
|
|
2321
2321
|
};
|
|
2322
|
-
let
|
|
2322
|
+
let q = class extends p {
|
|
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
|
}
|
|
@@ -2335,7 +2335,7 @@ let V = class extends p {
|
|
|
2335
2335
|
return l`
|
|
2336
2336
|
<a
|
|
2337
2337
|
href="${o}"
|
|
2338
|
-
target="${
|
|
2338
|
+
target="${S(this.target || void 0)}"
|
|
2339
2339
|
@click="${this._handleClick}"
|
|
2340
2340
|
>
|
|
2341
2341
|
${this.endIcon && this.reverseEndIcon ? l`
|
|
@@ -2361,7 +2361,7 @@ let V = class extends p {
|
|
|
2361
2361
|
`;
|
|
2362
2362
|
}
|
|
2363
2363
|
};
|
|
2364
|
-
|
|
2364
|
+
q.styles = v`
|
|
2365
2365
|
:host([template="standard"]) a {
|
|
2366
2366
|
color: var(--color-content-action-secondary);
|
|
2367
2367
|
font-size: var(--font-size-200);
|
|
@@ -2451,26 +2451,26 @@ V.styles = v`
|
|
|
2451
2451
|
`;
|
|
2452
2452
|
st([
|
|
2453
2453
|
a({ type: String })
|
|
2454
|
-
],
|
|
2454
|
+
], q.prototype, "href", 2);
|
|
2455
2455
|
st([
|
|
2456
2456
|
a({ type: String })
|
|
2457
|
-
],
|
|
2457
|
+
], q.prototype, "target", 2);
|
|
2458
2458
|
st([
|
|
2459
2459
|
a({ type: String, reflect: !0 })
|
|
2460
|
-
],
|
|
2460
|
+
], q.prototype, "template", 2);
|
|
2461
2461
|
st([
|
|
2462
2462
|
a({ type: Boolean, reflect: !0 })
|
|
2463
|
-
],
|
|
2463
|
+
], q.prototype, "inverse", 2);
|
|
2464
2464
|
st([
|
|
2465
2465
|
a({ type: Boolean, reflect: !0 })
|
|
2466
|
-
],
|
|
2466
|
+
], q.prototype, "endIcon", 2);
|
|
2467
2467
|
st([
|
|
2468
2468
|
a({ type: Boolean, reflect: !0 })
|
|
2469
|
-
],
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
],
|
|
2473
|
-
var Zo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor,
|
|
2469
|
+
], q.prototype, "reverseEndIcon", 2);
|
|
2470
|
+
q = st([
|
|
2471
|
+
g("o-link")
|
|
2472
|
+
], q);
|
|
2473
|
+
var Zo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, zt = (o, t, e, n) => {
|
|
2474
2474
|
for (var i = n > 1 ? void 0 : n ? Ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2475
2475
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2476
2476
|
return n && i && Zo(t, e, i), i;
|
|
@@ -2494,7 +2494,7 @@ let ht = class extends p {
|
|
|
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">${$(V[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}
|
|
@@ -2536,19 +2536,19 @@ ht.styles = v`
|
|
|
2536
2536
|
cursor: pointer;
|
|
2537
2537
|
}
|
|
2538
2538
|
`;
|
|
2539
|
-
|
|
2539
|
+
zt([
|
|
2540
2540
|
a({ type: Number })
|
|
2541
2541
|
], ht.prototype, "rating", 2);
|
|
2542
|
-
|
|
2542
|
+
zt([
|
|
2543
2543
|
a({ type: String })
|
|
2544
2544
|
], ht.prototype, "reviewCount", 2);
|
|
2545
|
-
|
|
2545
|
+
zt([
|
|
2546
2546
|
a({ type: String })
|
|
2547
2547
|
], ht.prototype, "href", 2);
|
|
2548
|
-
ht =
|
|
2549
|
-
|
|
2548
|
+
ht = zt([
|
|
2549
|
+
g("o-rating")
|
|
2550
2550
|
], ht);
|
|
2551
|
-
var Wo = Object.defineProperty, Go = Object.getOwnPropertyDescriptor,
|
|
2551
|
+
var Wo = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, Q = (o, t, e, n) => {
|
|
2552
2552
|
for (var i = n > 1 ? void 0 : n ? Go(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2553
2553
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2554
2554
|
return n && i && Wo(t, e, i), i;
|
|
@@ -2750,29 +2750,29 @@ H.styles = v`
|
|
|
2750
2750
|
width: 0;
|
|
2751
2751
|
}
|
|
2752
2752
|
`;
|
|
2753
|
-
|
|
2753
|
+
Q([
|
|
2754
2754
|
a({ type: Array })
|
|
2755
2755
|
], H.prototype, "thumbnails", 2);
|
|
2756
|
-
|
|
2756
|
+
Q([
|
|
2757
2757
|
a({ type: Number })
|
|
2758
2758
|
], H.prototype, "activeIndex", 2);
|
|
2759
|
-
|
|
2759
|
+
Q([
|
|
2760
2760
|
a({ type: Array })
|
|
2761
2761
|
], H.prototype, "disabledIndexes", 2);
|
|
2762
|
-
|
|
2762
|
+
Q([
|
|
2763
2763
|
a({ type: String })
|
|
2764
2764
|
], H.prototype, "maxWidth", 2);
|
|
2765
|
-
|
|
2765
|
+
Q([
|
|
2766
2766
|
a({ type: String })
|
|
2767
2767
|
], H.prototype, "altressource", 2);
|
|
2768
|
-
|
|
2768
|
+
Q([
|
|
2769
2769
|
a({ type: Object })
|
|
2770
2770
|
], H.prototype, "swiperInstance", 2);
|
|
2771
|
-
|
|
2772
|
-
|
|
2771
|
+
Q([
|
|
2772
|
+
J()
|
|
2773
2773
|
], H.prototype, "focusedIndex", 2);
|
|
2774
|
-
H =
|
|
2775
|
-
|
|
2774
|
+
H = Q([
|
|
2775
|
+
g("thumbnail-navigation")
|
|
2776
2776
|
], H);
|
|
2777
2777
|
var Xo = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Jt = (o, t, e, n) => {
|
|
2778
2778
|
for (var i = n > 1 ? void 0 : n ? Yo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2854,7 +2854,7 @@ Jt([
|
|
|
2854
2854
|
a({ type: String, reflect: !0 })
|
|
2855
2855
|
], yt.prototype, "bgstyle", 2);
|
|
2856
2856
|
yt = Jt([
|
|
2857
|
-
|
|
2857
|
+
g("o-tag")
|
|
2858
2858
|
], yt);
|
|
2859
2859
|
var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, Qt = (o, t, e, n) => {
|
|
2860
2860
|
for (var i = n > 1 ? void 0 : n ? Qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2974,14 +2974,14 @@ Qt([
|
|
|
2974
2974
|
a({ type: String, reflect: !0 })
|
|
2975
2975
|
], mt.prototype, "text", 2);
|
|
2976
2976
|
mt = Qt([
|
|
2977
|
-
|
|
2977
|
+
g("o-tooltip")
|
|
2978
2978
|
], mt);
|
|
2979
|
-
var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor,
|
|
2979
|
+
var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, Z = (o, t, e, n) => {
|
|
2980
2980
|
for (var i = n > 1 ? void 0 : n ? ei(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2981
2981
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2982
2982
|
return n && i && ti(t, e, i), i;
|
|
2983
2983
|
};
|
|
2984
|
-
let
|
|
2984
|
+
let I = class extends p {
|
|
2985
2985
|
constructor() {
|
|
2986
2986
|
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) => {
|
|
2987
2987
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3047,7 +3047,7 @@ let P = class extends p {
|
|
|
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 = V.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);
|
|
@@ -3104,7 +3104,7 @@ let P = class extends p {
|
|
|
3104
3104
|
`;
|
|
3105
3105
|
}
|
|
3106
3106
|
};
|
|
3107
|
-
|
|
3107
|
+
I.styles = v`
|
|
3108
3108
|
:host {
|
|
3109
3109
|
display: inline-block;
|
|
3110
3110
|
position: relative;
|
|
@@ -3244,33 +3244,33 @@ P.styles = v`
|
|
|
3244
3244
|
display: none;
|
|
3245
3245
|
}
|
|
3246
3246
|
`;
|
|
3247
|
-
|
|
3247
|
+
Z([
|
|
3248
3248
|
a({ type: Array, reflect: !0 })
|
|
3249
|
-
],
|
|
3250
|
-
|
|
3249
|
+
], I.prototype, "options", 2);
|
|
3250
|
+
Z([
|
|
3251
3251
|
a({ type: String, reflect: !0 })
|
|
3252
|
-
],
|
|
3253
|
-
|
|
3252
|
+
], I.prototype, "value", 2);
|
|
3253
|
+
Z([
|
|
3254
3254
|
a({ type: String, reflect: !0 })
|
|
3255
|
-
],
|
|
3256
|
-
|
|
3255
|
+
], I.prototype, "name", 2);
|
|
3256
|
+
Z([
|
|
3257
3257
|
a({ type: Boolean, reflect: !0 })
|
|
3258
|
-
],
|
|
3259
|
-
|
|
3258
|
+
], I.prototype, "disabled", 2);
|
|
3259
|
+
Z([
|
|
3260
3260
|
a({ type: String, reflect: !0 })
|
|
3261
|
-
],
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
],
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
],
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
],
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
],
|
|
3261
|
+
], I.prototype, "width", 2);
|
|
3262
|
+
Z([
|
|
3263
|
+
J()
|
|
3264
|
+
], I.prototype, "open", 2);
|
|
3265
|
+
Z([
|
|
3266
|
+
J()
|
|
3267
|
+
], I.prototype, "activeIndex", 2);
|
|
3268
|
+
Z([
|
|
3269
|
+
J()
|
|
3270
|
+
], I.prototype, "menuWidth", 2);
|
|
3271
|
+
I = Z([
|
|
3272
|
+
g("o-dropdown")
|
|
3273
|
+
], I);
|
|
3274
3274
|
var oi = Object.getOwnPropertyDescriptor, ii = (o, t, e, n) => {
|
|
3275
3275
|
for (var i = n > 1 ? void 0 : n ? oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3276
3276
|
(s = o[r]) && (i = s(i) || i);
|
|
@@ -3334,14 +3334,14 @@ Rt.styles = v`
|
|
|
3334
3334
|
}
|
|
3335
3335
|
`;
|
|
3336
3336
|
Rt = ii([
|
|
3337
|
-
|
|
3337
|
+
g("o-dots")
|
|
3338
3338
|
], Rt);
|
|
3339
3339
|
var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
|
|
3340
3340
|
for (var i = n > 1 ? void 0 : n ? ri(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3341
3341
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3342
3342
|
return n && i && ni(t, e, i), i;
|
|
3343
3343
|
};
|
|
3344
|
-
let
|
|
3344
|
+
let L = class extends p {
|
|
3345
3345
|
constructor() {
|
|
3346
3346
|
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) => {
|
|
3347
3347
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3407,7 +3407,7 @@ let A = class extends p {
|
|
|
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 = V.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);
|
|
@@ -3425,7 +3425,7 @@ let A = class extends p {
|
|
|
3425
3425
|
?disabled=${this.disabled}
|
|
3426
3426
|
class="btn-dropdown"
|
|
3427
3427
|
>
|
|
3428
|
-
<img alt="${
|
|
3428
|
+
<img alt="${S(t == null ? void 0 : t.label)}" src="${S(t == null ? void 0 : t.imgurl)}" />
|
|
3429
3429
|
<span id="dropdown-label" class="label">
|
|
3430
3430
|
${t ? t.label : "Select an option"}
|
|
3431
3431
|
</span>
|
|
@@ -3460,11 +3460,11 @@ let A = class extends p {
|
|
|
3460
3460
|
class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
3461
3461
|
@click=${() => this.selectOption(e)}
|
|
3462
3462
|
>
|
|
3463
|
-
<a href="${
|
|
3464
|
-
<img alt="${
|
|
3463
|
+
<a href="${S(e.url)}">
|
|
3464
|
+
<img alt="${S(e.label)}" src="${S(e.imgurl)}" />
|
|
3465
3465
|
<span class="label">${e.label}</span>
|
|
3466
3466
|
<div class="right">
|
|
3467
|
-
<span class="additional-text">${
|
|
3467
|
+
<span class="additional-text">${S(e.additionaltext)}</span>
|
|
3468
3468
|
${e.value === this.value && !e.additionaltext ? l`
|
|
3469
3469
|
<span class="check">${$(o)}</span>` : null}
|
|
3470
3470
|
</div>
|
|
@@ -3478,7 +3478,7 @@ let A = class extends p {
|
|
|
3478
3478
|
`;
|
|
3479
3479
|
}
|
|
3480
3480
|
};
|
|
3481
|
-
|
|
3481
|
+
L.styles = v`
|
|
3482
3482
|
:host {
|
|
3483
3483
|
display: inline-block;
|
|
3484
3484
|
position: relative;
|
|
@@ -3656,34 +3656,34 @@ A.styles = v`
|
|
|
3656
3656
|
`;
|
|
3657
3657
|
T([
|
|
3658
3658
|
a({ type: Array, reflect: !0 })
|
|
3659
|
-
],
|
|
3659
|
+
], L.prototype, "options", 2);
|
|
3660
3660
|
T([
|
|
3661
3661
|
a({ type: String, reflect: !0 })
|
|
3662
|
-
],
|
|
3662
|
+
], L.prototype, "value", 2);
|
|
3663
3663
|
T([
|
|
3664
3664
|
a({ type: String, reflect: !0 })
|
|
3665
|
-
],
|
|
3665
|
+
], L.prototype, "name", 2);
|
|
3666
3666
|
T([
|
|
3667
3667
|
a({ type: String, reflect: !0 })
|
|
3668
|
-
],
|
|
3668
|
+
], L.prototype, "additionaltext", 2);
|
|
3669
3669
|
T([
|
|
3670
3670
|
a({ type: Boolean, reflect: !0 })
|
|
3671
|
-
],
|
|
3671
|
+
], L.prototype, "disabled", 2);
|
|
3672
3672
|
T([
|
|
3673
3673
|
a({ type: String, reflect: !0 })
|
|
3674
|
-
],
|
|
3674
|
+
], L.prototype, "width", 2);
|
|
3675
3675
|
T([
|
|
3676
|
-
|
|
3677
|
-
],
|
|
3676
|
+
J()
|
|
3677
|
+
], L.prototype, "open", 2);
|
|
3678
3678
|
T([
|
|
3679
|
-
|
|
3680
|
-
],
|
|
3679
|
+
J()
|
|
3680
|
+
], L.prototype, "activeIndex", 2);
|
|
3681
3681
|
T([
|
|
3682
|
-
|
|
3683
|
-
],
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
],
|
|
3682
|
+
J()
|
|
3683
|
+
], L.prototype, "menuWidth", 2);
|
|
3684
|
+
L = T([
|
|
3685
|
+
g("o-dropdown-variant")
|
|
3686
|
+
], L);
|
|
3687
3687
|
/**
|
|
3688
3688
|
* @license
|
|
3689
3689
|
* Copyright 2018 Google LLC
|
|
@@ -3712,7 +3712,7 @@ const Ce = "important", si = " !" + Ce, ai = Xt(class extends Yt {
|
|
|
3712
3712
|
n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? Ce : "") : e[n] = i;
|
|
3713
3713
|
}
|
|
3714
3714
|
}
|
|
3715
|
-
return
|
|
3715
|
+
return Y;
|
|
3716
3716
|
}
|
|
3717
3717
|
});
|
|
3718
3718
|
var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, te = (o, t, e, n) => {
|
|
@@ -3732,13 +3732,13 @@ let xt = class extends p {
|
|
|
3732
3732
|
width: `${this.imageSize}px`,
|
|
3733
3733
|
height: `${this.imageSize}px`
|
|
3734
3734
|
}, n = this.option && this.option.title ? o(this.option.title) : "", i = this.option && this.option.description ? o(this.option.description) : "", r = l`
|
|
3735
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${
|
|
3735
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${S(n)}" aria-hidden="true" style=${ai(e)} />` : ""}
|
|
3736
3736
|
<div class="m-reassurance-content">
|
|
3737
|
-
<h3 class="a-reassurance-text">${
|
|
3738
|
-
<p class="a-reassurance-description">${
|
|
3737
|
+
<h3 class="a-reassurance-text">${S(n)}</h3>
|
|
3738
|
+
<p class="a-reassurance-description">${S(i)}</p>
|
|
3739
3739
|
</div>
|
|
3740
3740
|
`;
|
|
3741
|
-
return t ? l`<a href="${
|
|
3741
|
+
return t ? l`<a href="${S(this.option.url)}" class="reassurance-item clickable">${r}</a>` : l`<div class="reassurance-item">${r}</div>`;
|
|
3742
3742
|
}
|
|
3743
3743
|
};
|
|
3744
3744
|
xt.styles = v`
|
|
@@ -3830,15 +3830,15 @@ te([
|
|
|
3830
3830
|
a({ type: Number, reflect: !0 })
|
|
3831
3831
|
], xt.prototype, "imageSize", 2);
|
|
3832
3832
|
xt = te([
|
|
3833
|
-
|
|
3833
|
+
g("o-reassurance")
|
|
3834
3834
|
], xt);
|
|
3835
|
-
var hi = Object.defineProperty, di = Object.getOwnPropertyDescriptor,
|
|
3835
|
+
var hi = Object.defineProperty, di = Object.getOwnPropertyDescriptor, K = (o, t, e, n) => {
|
|
3836
3836
|
for (var i = n > 1 ? void 0 : n ? di(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3837
3837
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3838
3838
|
return n && i && hi(t, e, i), i;
|
|
3839
3839
|
};
|
|
3840
3840
|
const pi = Wt(p);
|
|
3841
|
-
let
|
|
3841
|
+
let B = class extends pi {
|
|
3842
3842
|
constructor() {
|
|
3843
3843
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3844
3844
|
}
|
|
@@ -3861,7 +3861,7 @@ let L = class extends pi {
|
|
|
3861
3861
|
`;
|
|
3862
3862
|
}
|
|
3863
3863
|
};
|
|
3864
|
-
|
|
3864
|
+
B.styles = v`
|
|
3865
3865
|
:host {
|
|
3866
3866
|
cursor: pointer;
|
|
3867
3867
|
display: inline-flex;
|
|
@@ -3951,33 +3951,33 @@ L.styles = v`
|
|
|
3951
3951
|
align-items: center;
|
|
3952
3952
|
}
|
|
3953
3953
|
`;
|
|
3954
|
-
|
|
3954
|
+
K([
|
|
3955
3955
|
a({ type: String, reflect: !0 })
|
|
3956
|
-
],
|
|
3957
|
-
|
|
3956
|
+
], B.prototype, "link", 2);
|
|
3957
|
+
K([
|
|
3958
3958
|
a({ reflect: !0 })
|
|
3959
|
-
],
|
|
3960
|
-
|
|
3959
|
+
], B.prototype, "name", 2);
|
|
3960
|
+
K([
|
|
3961
3961
|
a({ reflect: !0 })
|
|
3962
|
-
],
|
|
3963
|
-
|
|
3962
|
+
], B.prototype, "value", 2);
|
|
3963
|
+
K([
|
|
3964
3964
|
a({ type: String })
|
|
3965
|
-
],
|
|
3966
|
-
|
|
3965
|
+
], B.prototype, "text", 2);
|
|
3966
|
+
K([
|
|
3967
3967
|
a({ type: String, reflect: !0 })
|
|
3968
|
-
],
|
|
3969
|
-
|
|
3968
|
+
], B.prototype, "size", 2);
|
|
3969
|
+
K([
|
|
3970
3970
|
a({ type: Boolean, reflect: !0 })
|
|
3971
|
-
],
|
|
3972
|
-
|
|
3971
|
+
], B.prototype, "selected", 2);
|
|
3972
|
+
K([
|
|
3973
3973
|
a({ type: Boolean, reflect: !0 })
|
|
3974
|
-
],
|
|
3975
|
-
|
|
3974
|
+
], B.prototype, "fullwidth", 2);
|
|
3975
|
+
K([
|
|
3976
3976
|
a({ type: Boolean, reflect: !0 })
|
|
3977
|
-
],
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
],
|
|
3977
|
+
], B.prototype, "inactive", 2);
|
|
3978
|
+
B = K([
|
|
3979
|
+
g("o-chip")
|
|
3980
|
+
], B);
|
|
3981
3981
|
var ui = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, ee = (o, t, e, n) => {
|
|
3982
3982
|
for (var i = n > 1 ? void 0 : n ? vi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3983
3983
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
@@ -3988,7 +3988,7 @@ let wt = class extends p {
|
|
|
3988
3988
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
3989
3989
|
}
|
|
3990
3990
|
onChipSelected(o) {
|
|
3991
|
-
const t = o.target instanceof
|
|
3991
|
+
const t = o.target instanceof B ? o.target : null;
|
|
3992
3992
|
t != null && t.link || (this.name = (t == null ? void 0 : t.name) || "", this.value = (t == null ? void 0 : t.value) || "", this.querySelectorAll("o-chip").forEach((e) => {
|
|
3993
3993
|
e !== t && (e.selected = !1);
|
|
3994
3994
|
}));
|
|
@@ -4014,15 +4014,15 @@ ee([
|
|
|
4014
4014
|
a({ reflect: !0 })
|
|
4015
4015
|
], wt.prototype, "value", 2);
|
|
4016
4016
|
wt = ee([
|
|
4017
|
-
|
|
4017
|
+
g("o-chipset")
|
|
4018
4018
|
], wt);
|
|
4019
|
-
var fi = Object.defineProperty,
|
|
4020
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
4019
|
+
var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
|
|
4020
|
+
for (var i = n > 1 ? void 0 : n ? gi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4021
4021
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4022
4022
|
return n && i && fi(t, e, i), i;
|
|
4023
4023
|
};
|
|
4024
|
-
const
|
|
4025
|
-
let
|
|
4024
|
+
const bi = Wt(p);
|
|
4025
|
+
let P = class extends bi {
|
|
4026
4026
|
constructor() {
|
|
4027
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";
|
|
4028
4028
|
}
|
|
@@ -4034,7 +4034,7 @@ let B = class extends gi {
|
|
|
4034
4034
|
this.dispatchEvent(e), e.defaultPrevented && o.preventDefault(), this.selected = t.selected;
|
|
4035
4035
|
}
|
|
4036
4036
|
crossIcon() {
|
|
4037
|
-
const o =
|
|
4037
|
+
const o = V[this.crossIconName].replace(
|
|
4038
4038
|
"<svg",
|
|
4039
4039
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
4040
4040
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
@@ -4072,7 +4072,7 @@ let B = class extends gi {
|
|
|
4072
4072
|
`;
|
|
4073
4073
|
}
|
|
4074
4074
|
};
|
|
4075
|
-
|
|
4075
|
+
P.styles = v`
|
|
4076
4076
|
:host {
|
|
4077
4077
|
cursor: pointer;
|
|
4078
4078
|
display: inline-flex;
|
|
@@ -4200,34 +4200,34 @@ B.styles = v`
|
|
|
4200
4200
|
`;
|
|
4201
4201
|
j([
|
|
4202
4202
|
a({ reflect: !0 })
|
|
4203
|
-
],
|
|
4203
|
+
], P.prototype, "name", 2);
|
|
4204
4204
|
j([
|
|
4205
4205
|
a({ reflect: !0 })
|
|
4206
|
-
],
|
|
4206
|
+
], P.prototype, "value", 2);
|
|
4207
4207
|
j([
|
|
4208
4208
|
a({ type: String, reflect: !0 })
|
|
4209
|
-
],
|
|
4209
|
+
], P.prototype, "type", 2);
|
|
4210
4210
|
j([
|
|
4211
4211
|
a({ type: String, reflect: !0 })
|
|
4212
|
-
],
|
|
4212
|
+
], P.prototype, "href", 2);
|
|
4213
4213
|
j([
|
|
4214
4214
|
a({ type: String, reflect: !0, attribute: "data-href" })
|
|
4215
|
-
],
|
|
4215
|
+
], P.prototype, "dataHref", 2);
|
|
4216
4216
|
j([
|
|
4217
4217
|
a({ type: String })
|
|
4218
|
-
],
|
|
4218
|
+
], P.prototype, "text", 2);
|
|
4219
4219
|
j([
|
|
4220
4220
|
a({ type: Boolean, reflect: !0 })
|
|
4221
|
-
],
|
|
4221
|
+
], P.prototype, "selected", 2);
|
|
4222
4222
|
j([
|
|
4223
4223
|
a({ type: Boolean, reflect: !0 })
|
|
4224
|
-
],
|
|
4224
|
+
], P.prototype, "disabled", 2);
|
|
4225
4225
|
j([
|
|
4226
4226
|
a({ type: Boolean, reflect: !0 })
|
|
4227
|
-
],
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
],
|
|
4227
|
+
], P.prototype, "fullwidth", 2);
|
|
4228
|
+
P = j([
|
|
4229
|
+
g("o-filter-chip")
|
|
4230
|
+
], P);
|
|
4231
4231
|
var yi = Object.defineProperty, F = (o, t, e, n) => {
|
|
4232
4232
|
for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
|
|
4233
4233
|
(s = o[r]) && (i = s(t, e, i) || i);
|
|
@@ -4380,38 +4380,38 @@ ne.styles = v`
|
|
|
4380
4380
|
cursor: pointer;
|
|
4381
4381
|
}
|
|
4382
4382
|
`;
|
|
4383
|
-
let
|
|
4383
|
+
let k = ne;
|
|
4384
4384
|
F([
|
|
4385
4385
|
a({ type: String })
|
|
4386
|
-
],
|
|
4386
|
+
], k.prototype, "type");
|
|
4387
4387
|
F([
|
|
4388
4388
|
a({ type: String })
|
|
4389
|
-
],
|
|
4389
|
+
], k.prototype, "titleProduct");
|
|
4390
4390
|
F([
|
|
4391
4391
|
a({ type: String })
|
|
4392
|
-
],
|
|
4392
|
+
], k.prototype, "volume");
|
|
4393
4393
|
F([
|
|
4394
4394
|
a({ type: String })
|
|
4395
|
-
],
|
|
4395
|
+
], k.prototype, "perLiter");
|
|
4396
4396
|
F([
|
|
4397
4397
|
a({ type: String })
|
|
4398
|
-
],
|
|
4398
|
+
], k.prototype, "mainPrice");
|
|
4399
4399
|
F([
|
|
4400
4400
|
a({ type: String })
|
|
4401
|
-
],
|
|
4401
|
+
], k.prototype, "imageUrl");
|
|
4402
4402
|
F([
|
|
4403
4403
|
a({ type: String })
|
|
4404
|
-
],
|
|
4404
|
+
], k.prototype, "altImage");
|
|
4405
4405
|
F([
|
|
4406
4406
|
a({ type: Boolean })
|
|
4407
|
-
],
|
|
4407
|
+
], k.prototype, "fullwidth");
|
|
4408
4408
|
F([
|
|
4409
4409
|
a({ type: String })
|
|
4410
|
-
],
|
|
4410
|
+
], k.prototype, "tagText");
|
|
4411
4411
|
F([
|
|
4412
4412
|
a({ type: Function })
|
|
4413
|
-
],
|
|
4414
|
-
customElements.define("mini-tile",
|
|
4413
|
+
], k.prototype, "onClickTile");
|
|
4414
|
+
customElements.define("mini-tile", k);
|
|
4415
4415
|
var mi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, oe = (o, t, e, n) => {
|
|
4416
4416
|
for (var i = n > 1 ? void 0 : n ? xi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4417
4417
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
@@ -4471,14 +4471,14 @@ oe([
|
|
|
4471
4471
|
a({ type: String })
|
|
4472
4472
|
], $t.prototype, "text", 2);
|
|
4473
4473
|
$t = oe([
|
|
4474
|
-
|
|
4474
|
+
g("o-badge")
|
|
4475
4475
|
], $t);
|
|
4476
|
-
var wi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor,
|
|
4476
|
+
var wi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, z = (o, t, e, n) => {
|
|
4477
4477
|
for (var i = n > 1 ? void 0 : n ? $i(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4478
4478
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4479
4479
|
return n && i && wi(t, e, i), i;
|
|
4480
4480
|
};
|
|
4481
|
-
let
|
|
4481
|
+
let _ = class extends p {
|
|
4482
4482
|
constructor() {
|
|
4483
4483
|
super(...arguments), this.icon = "info", this.text = "Sample text", this.verticalanchor = "top", this.horizontalanchor = "right", this.verticaloffset = 24, this.horizontaloffset = 24, this.animationduration = 500, this.animationaxis = "horizontal", this.animated = !0, this.lifeduration = 5e3, this.multiline = !1;
|
|
4484
4484
|
}
|
|
@@ -4542,7 +4542,7 @@ let k = class extends p {
|
|
|
4542
4542
|
`;
|
|
4543
4543
|
}
|
|
4544
4544
|
};
|
|
4545
|
-
|
|
4545
|
+
_.styles = v`
|
|
4546
4546
|
:host {
|
|
4547
4547
|
--vertical-offset: 24px;
|
|
4548
4548
|
--horizontal-offset: 24px;
|
|
@@ -4620,46 +4620,46 @@ k.styles = v`
|
|
|
4620
4620
|
height: 16px;
|
|
4621
4621
|
}
|
|
4622
4622
|
`;
|
|
4623
|
-
|
|
4623
|
+
z([
|
|
4624
4624
|
a({ type: String, reflect: !0 })
|
|
4625
|
-
],
|
|
4626
|
-
|
|
4625
|
+
], _.prototype, "icon", 2);
|
|
4626
|
+
z([
|
|
4627
4627
|
a({ type: String, reflect: !0 })
|
|
4628
|
-
],
|
|
4629
|
-
|
|
4628
|
+
], _.prototype, "text", 2);
|
|
4629
|
+
z([
|
|
4630
4630
|
a({ type: String, reflect: !0 })
|
|
4631
|
-
],
|
|
4632
|
-
|
|
4631
|
+
], _.prototype, "verticalanchor", 2);
|
|
4632
|
+
z([
|
|
4633
4633
|
a({ type: String, reflect: !0 })
|
|
4634
|
-
],
|
|
4635
|
-
|
|
4634
|
+
], _.prototype, "horizontalanchor", 2);
|
|
4635
|
+
z([
|
|
4636
4636
|
a({ type: Number, reflect: !0 })
|
|
4637
|
-
],
|
|
4638
|
-
|
|
4637
|
+
], _.prototype, "verticaloffset", 2);
|
|
4638
|
+
z([
|
|
4639
4639
|
a({ type: Number, reflect: !0 })
|
|
4640
|
-
],
|
|
4641
|
-
|
|
4640
|
+
], _.prototype, "horizontaloffset", 2);
|
|
4641
|
+
z([
|
|
4642
4642
|
a({ type: Number, reflect: !0 })
|
|
4643
|
-
],
|
|
4644
|
-
|
|
4643
|
+
], _.prototype, "animationduration", 2);
|
|
4644
|
+
z([
|
|
4645
4645
|
a({ type: String, reflect: !0 })
|
|
4646
|
-
],
|
|
4647
|
-
|
|
4646
|
+
], _.prototype, "animationaxis", 2);
|
|
4647
|
+
z([
|
|
4648
4648
|
a({ type: Boolean, reflect: !0 })
|
|
4649
|
-
],
|
|
4650
|
-
|
|
4649
|
+
], _.prototype, "animated", 2);
|
|
4650
|
+
z([
|
|
4651
4651
|
a({ type: Number, reflect: !0 })
|
|
4652
|
-
],
|
|
4653
|
-
|
|
4652
|
+
], _.prototype, "lifeduration", 2);
|
|
4653
|
+
z([
|
|
4654
4654
|
a({ type: Boolean, reflect: !0 })
|
|
4655
|
-
],
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
],
|
|
4659
|
-
var
|
|
4660
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
4655
|
+
], _.prototype, "multiline", 2);
|
|
4656
|
+
_ = z([
|
|
4657
|
+
g("o-toast")
|
|
4658
|
+
], _);
|
|
4659
|
+
var _i = Object.defineProperty, ki = Object.getOwnPropertyDescriptor, D = (o, t, e, n) => {
|
|
4660
|
+
for (var i = n > 1 ? void 0 : n ? ki(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4661
4661
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4662
|
-
return n && i &&
|
|
4662
|
+
return n && i && _i(t, e, i), i;
|
|
4663
4663
|
};
|
|
4664
4664
|
let Ci = 0, C = class extends p {
|
|
4665
4665
|
constructor() {
|
|
@@ -4678,7 +4678,7 @@ let Ci = 0, C = class extends p {
|
|
|
4678
4678
|
this.disabled || (o.key === " " || o.key === "Enter") && (o.preventDefault(), this.toggle());
|
|
4679
4679
|
}
|
|
4680
4680
|
render() {
|
|
4681
|
-
const o = $(
|
|
4681
|
+
const o = $(V.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = $(V.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
|
|
4682
4682
|
return l`
|
|
4683
4683
|
<input
|
|
4684
4684
|
type="checkbox"
|
|
@@ -4833,17 +4833,17 @@ D([
|
|
|
4833
4833
|
a({ type: String, reflect: !0 })
|
|
4834
4834
|
], C.prototype, "inputId", 2);
|
|
4835
4835
|
D([
|
|
4836
|
-
|
|
4836
|
+
_e("input")
|
|
4837
4837
|
], C.prototype, "inputEl", 2);
|
|
4838
4838
|
C = D([
|
|
4839
|
-
|
|
4839
|
+
g("o-checkbox")
|
|
4840
4840
|
], C);
|
|
4841
4841
|
var Ei = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, R = (o, t, e, n) => {
|
|
4842
4842
|
for (var i = n > 1 ? void 0 : n ? Si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4843
4843
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4844
4844
|
return n && i && Ei(t, e, i), i;
|
|
4845
4845
|
};
|
|
4846
|
-
let Ai = 0,
|
|
4846
|
+
let Ai = 0, O = class extends p {
|
|
4847
4847
|
constructor() {
|
|
4848
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-${++Ai}`);
|
|
4849
4849
|
}
|
|
@@ -4877,7 +4877,7 @@ let Ai = 0, z = class extends p {
|
|
|
4877
4877
|
`;
|
|
4878
4878
|
}
|
|
4879
4879
|
};
|
|
4880
|
-
|
|
4880
|
+
O.styles = v`
|
|
4881
4881
|
:host {
|
|
4882
4882
|
display: inline-flex;
|
|
4883
4883
|
align-items: center;
|
|
@@ -4969,34 +4969,34 @@ z.styles = v`
|
|
|
4969
4969
|
`;
|
|
4970
4970
|
R([
|
|
4971
4971
|
a({ type: Boolean, reflect: !0 })
|
|
4972
|
-
],
|
|
4972
|
+
], O.prototype, "checked", 2);
|
|
4973
4973
|
R([
|
|
4974
4974
|
a({ type: Boolean, reflect: !0 })
|
|
4975
|
-
],
|
|
4975
|
+
], O.prototype, "disabled", 2);
|
|
4976
4976
|
R([
|
|
4977
4977
|
a({ type: String, reflect: !0 })
|
|
4978
|
-
],
|
|
4978
|
+
], O.prototype, "size", 2);
|
|
4979
4979
|
R([
|
|
4980
4980
|
a({ type: Boolean })
|
|
4981
|
-
],
|
|
4981
|
+
], O.prototype, "showLabel", 2);
|
|
4982
4982
|
R([
|
|
4983
4983
|
a({ type: String })
|
|
4984
|
-
],
|
|
4984
|
+
], O.prototype, "label", 2);
|
|
4985
4985
|
R([
|
|
4986
4986
|
a({ type: String })
|
|
4987
|
-
],
|
|
4987
|
+
], O.prototype, "name", 2);
|
|
4988
4988
|
R([
|
|
4989
4989
|
a({ type: String })
|
|
4990
|
-
],
|
|
4990
|
+
], O.prototype, "value", 2);
|
|
4991
4991
|
R([
|
|
4992
4992
|
a({ type: String, reflect: !0 })
|
|
4993
|
-
],
|
|
4993
|
+
], O.prototype, "inputId", 2);
|
|
4994
4994
|
R([
|
|
4995
|
-
|
|
4996
|
-
],
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
],
|
|
4995
|
+
_e("input")
|
|
4996
|
+
], O.prototype, "inputEl", 2);
|
|
4997
|
+
O = R([
|
|
4998
|
+
g("o-radio")
|
|
4999
|
+
], O);
|
|
5000
5000
|
var Li = Object.getOwnPropertyDescriptor, Bi = (o, t, e, n) => {
|
|
5001
5001
|
for (var i = n > 1 ? void 0 : n ? Li(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5002
5002
|
(s = o[r]) && (i = s(i) || i);
|
|
@@ -5026,14 +5026,14 @@ Ut.styles = v`
|
|
|
5026
5026
|
}
|
|
5027
5027
|
`;
|
|
5028
5028
|
Ut = Bi([
|
|
5029
|
-
|
|
5029
|
+
g("o-breadcrumbs")
|
|
5030
5030
|
], Ut);
|
|
5031
|
-
var
|
|
5031
|
+
var Pi = Object.defineProperty, Oi = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
|
|
5032
5032
|
for (var i = n > 1 ? void 0 : n ? Oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5033
5033
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5034
|
-
return n && i &&
|
|
5034
|
+
return n && i && Pi(t, e, i), i;
|
|
5035
5035
|
};
|
|
5036
|
-
let
|
|
5036
|
+
let _t = class extends p {
|
|
5037
5037
|
constructor() {
|
|
5038
5038
|
super(...arguments), this.href = "", this.active = !1;
|
|
5039
5039
|
}
|
|
@@ -5054,7 +5054,7 @@ let kt = class extends p {
|
|
|
5054
5054
|
`;
|
|
5055
5055
|
}
|
|
5056
5056
|
};
|
|
5057
|
-
|
|
5057
|
+
_t.styles = v`
|
|
5058
5058
|
:host(:not([active]))::after {
|
|
5059
5059
|
content: "/";
|
|
5060
5060
|
margin: 0 0.5rem;
|
|
@@ -5096,17 +5096,17 @@ kt.styles = v`
|
|
|
5096
5096
|
`;
|
|
5097
5097
|
ie([
|
|
5098
5098
|
a({ type: String })
|
|
5099
|
-
],
|
|
5099
|
+
], _t.prototype, "href", 2);
|
|
5100
5100
|
ie([
|
|
5101
5101
|
a({ type: Boolean, reflect: !0 })
|
|
5102
|
-
],
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
],
|
|
5106
|
-
var
|
|
5102
|
+
], _t.prototype, "active", 2);
|
|
5103
|
+
_t = ie([
|
|
5104
|
+
g("o-breadcrumb")
|
|
5105
|
+
], _t);
|
|
5106
|
+
var zi = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, Ct = (o, t, e, n) => {
|
|
5107
5107
|
for (var i = n > 1 ? void 0 : n ? Ii(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5108
5108
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5109
|
-
return n && i &&
|
|
5109
|
+
return n && i && zi(t, e, i), i;
|
|
5110
5110
|
};
|
|
5111
5111
|
let nt = class extends p {
|
|
5112
5112
|
constructor() {
|
|
@@ -5177,7 +5177,7 @@ Ct([
|
|
|
5177
5177
|
a({ type: String })
|
|
5178
5178
|
], nt.prototype, "hoverAlt", 2);
|
|
5179
5179
|
nt = Ct([
|
|
5180
|
-
|
|
5180
|
+
g("o-arch-image")
|
|
5181
5181
|
], nt);
|
|
5182
5182
|
const Di = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
5183
5183
|
<svg
|
|
@@ -5260,20 +5260,26 @@ const Di = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
5260
5260
|
id="path52"
|
|
5261
5261
|
style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
|
5262
5262
|
d="m 1647.15,320.5 c -2.07,0 -4.94,-0.199 -8.49,-0.469 -8.68,-0.64 -23.5,-1.062 -37.41,-0.172 -20.4,1.282 -32.01,-0.589 -32.01,-10.687 0,-8.66 8.46,-10.781 15.19,-12.461 11.42,-2.949 17.17,-4.422 17.17,-27.402 l 0.93,-77.731 c 0.5,-38.668 1.03,-80.199 1.26,-103.4296 -51.33,57.4726 -160.86,181.7736 -188.51,217.5116 -6.78,8.68 -10.53,13.449 -17.38,13.449 -9.28,0 -20.13,0.743 -29.55,1.379 -7.55,0.5 -14.21,0.934 -18.55,0.934 -12.43,0 -18.72,-3.953 -18.72,-11.781 0,-10.34 10.9,-11.911 15.93,-12.621 10.36,-1.731 14.33,-3.668 18.82,-7.11 2.1,-1.629 5.01,-3.879 5.01,-26.988 0,-29.461 -3.75,-186.1837 -5.06,-201.8126 -2.12,-24.4688 -4.58,-25.168 -18.72,-29.1485 -6.17,-1.6718 -14.6,-3.9609 -14.6,-12.7421 0,-5.1797 2.84,-11.34771 16.4,-11.34771 1.21,0 3.75,0.23829 7.15,0.61719 11.38,1.22266 33.32,1.64062 46.82,0.3125 25.84,-2.53125 30.46,3.93752 30.46,10.41802 0,9.3593 -9.18,11.8515 -14.53,13.3203 -8.73,2.4922 -15.61,6.5195 -17.27,10.1992 -3.05,6.5234 -4.31,16.8515 -4.31,35.6719 0,10.1093 0.37,54.9488 0.74,98.9808 0.25,28.839 0.47,57.359 0.59,75.558 25.28,-29.508 56.38,-65.5 86.72,-100.609 49.5,-57.2697 96.26,-111.3712 113.23,-132.09 l 1.93,-2.3516 c 3.93,-4.8203 7.75,-9.97652 12.34,-14.19918 3.35,-3.089845 8.47,-4.83985 12.86,-2.871095 3.52,1.570315 5.52,5.300785 6.26,8.941405 0.88,4.26177 0.44,8.69927 0.28,13.01177 -0.59,15.3281 -0.42,31.5898 -0.25,52.0703 0.12,12.1172 0.25,25.7184 0.25,41.4684 0,49.141 1.03,147.141 2.98,161.66 1.58,10.52 2.25,14.879 14.31,18.891 l 2.09,0.75 c 4.07,1.41 11.6,4.027 11.6,12.02 0,4.949 -2.76,10.859 -15.96,10.859" /></g></g></svg>`;
|
|
5263
|
-
var Hi = Object.defineProperty,
|
|
5264
|
-
for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
|
|
5265
|
-
(s = o[r]) && (i = s(t, e, i) || i);
|
|
5266
|
-
return i && Hi(t, e, i), i;
|
|
5263
|
+
var Hi = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
|
|
5264
|
+
for (var i = n > 1 ? void 0 : n ? Mi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5265
|
+
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5266
|
+
return n && i && Hi(t, e, i), i;
|
|
5267
5267
|
};
|
|
5268
5268
|
const re = class re extends p {
|
|
5269
5269
|
constructor() {
|
|
5270
|
-
super(...arguments), this.open = !1, this.backgroundUrl = "", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.lockScroll = !0, this.variant = "fullscreen", this.maxWidth = "640px", this._labelId = `title-${Math.random().toString(36).slice(2)}`, this._onBackdropClick = (t) => {
|
|
5270
|
+
super(...arguments), this.ispagedesigner = !1, this._classPopin = "", this.open = !1, this.backgroundUrl = "", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.lockScroll = !0, this.variant = "fullscreen", this.maxWidth = "640px", this._labelId = `title-${Math.random().toString(36).slice(2)}`, this._onBackdropClick = (t) => {
|
|
5271
5271
|
var n;
|
|
5272
5272
|
if (!this.open || !this.closeOnBackdrop) return;
|
|
5273
5273
|
const e = t.composedPath()[0];
|
|
5274
5274
|
(n = e == null ? void 0 : e.classList) != null && n.contains("backdrop") && this._requestClose("backdrop");
|
|
5275
5275
|
};
|
|
5276
5276
|
}
|
|
5277
|
+
get classPopin() {
|
|
5278
|
+
return this.ispagedesigner ? "pagedesigner-popin " + this._classPopin : this._classPopin;
|
|
5279
|
+
}
|
|
5280
|
+
set classPopin(t) {
|
|
5281
|
+
this._classPopin = t;
|
|
5282
|
+
}
|
|
5277
5283
|
connectedCallback() {
|
|
5278
5284
|
super.connectedCallback(), this._onKeydown = this._onKeydown.bind(this), document.addEventListener("keydown", this._onKeydown);
|
|
5279
5285
|
}
|
|
@@ -5325,7 +5331,7 @@ const re = class re extends p {
|
|
|
5325
5331
|
const t = this.backgroundUrl ? `--_bg-image: url('${this.backgroundUrl}')` : "";
|
|
5326
5332
|
return l`
|
|
5327
5333
|
${this.open ? l`<div class="backdrop" part="backdrop" @click=${this._onBackdropClick}></div>` : null}
|
|
5328
|
-
<div class="dialog-wrapper" style=${t} @click=${this._onBackdropClick} aria-hidden=${this.open ? "false" : "true"}>
|
|
5334
|
+
<div class="dialog-wrapper ${this.ispagedesigner ? "intro-pagedesigner" : ""}" style=${t} @click=${this._onBackdropClick} aria-hidden=${this.open ? "false" : "true"}>
|
|
5329
5335
|
<section
|
|
5330
5336
|
class="dialog"
|
|
5331
5337
|
part="dialog"
|
|
@@ -5363,6 +5369,11 @@ re.styles = v`
|
|
|
5363
5369
|
--_header-height: 64px;
|
|
5364
5370
|
--_max-width: var(--popin-max-width, 640px);
|
|
5365
5371
|
}
|
|
5372
|
+
:host([ispagedesigner]) {
|
|
5373
|
+
position: relative;
|
|
5374
|
+
display: block;
|
|
5375
|
+
}
|
|
5376
|
+
|
|
5366
5377
|
:host([open]) { display: block; }
|
|
5367
5378
|
|
|
5368
5379
|
.backdrop {
|
|
@@ -5380,6 +5391,12 @@ re.styles = v`
|
|
|
5380
5391
|
padding: 0;
|
|
5381
5392
|
}
|
|
5382
5393
|
|
|
5394
|
+
.dialog-wrapper.intro-pagedesigner {
|
|
5395
|
+
height: 100vh;
|
|
5396
|
+
max-height: 900px;
|
|
5397
|
+
position: relative;
|
|
5398
|
+
}
|
|
5399
|
+
|
|
5383
5400
|
/* Default: FULLSCREEN */
|
|
5384
5401
|
.dialog {
|
|
5385
5402
|
position: relative;
|
|
@@ -5453,9 +5470,13 @@ re.styles = v`
|
|
|
5453
5470
|
}
|
|
5454
5471
|
|
|
5455
5472
|
@media (max-width: 767px) {
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5473
|
+
[part="close"] {
|
|
5474
|
+
right: 8px;
|
|
5475
|
+
}
|
|
5476
|
+
|
|
5477
|
+
header[part="header"]{
|
|
5478
|
+
background: none;
|
|
5479
|
+
}
|
|
5459
5480
|
}
|
|
5460
5481
|
|
|
5461
5482
|
.close {
|
|
@@ -5498,30 +5519,37 @@ re.styles = v`
|
|
|
5498
5519
|
from { transform: translateY(10px) scale(.98); opacity: 0; }
|
|
5499
5520
|
to { transform: translateY(0) scale(1); opacity: 1; }
|
|
5500
5521
|
}
|
|
5522
|
+
|
|
5501
5523
|
`;
|
|
5502
|
-
let
|
|
5503
|
-
|
|
5524
|
+
let E = re;
|
|
5525
|
+
U([
|
|
5504
5526
|
a({ type: Boolean, reflect: !0 })
|
|
5505
|
-
],
|
|
5506
|
-
|
|
5527
|
+
], E.prototype, "ispagedesigner", 2);
|
|
5528
|
+
U([
|
|
5529
|
+
a({ type: String, reflect: !0 })
|
|
5530
|
+
], E.prototype, "classPopin", 1);
|
|
5531
|
+
U([
|
|
5532
|
+
a({ type: Boolean, reflect: !0 })
|
|
5533
|
+
], E.prototype, "open", 2);
|
|
5534
|
+
U([
|
|
5507
5535
|
a({ type: String, attribute: "background-url" })
|
|
5508
|
-
],
|
|
5509
|
-
|
|
5536
|
+
], E.prototype, "backgroundUrl", 2);
|
|
5537
|
+
U([
|
|
5510
5538
|
a({ type: Boolean, attribute: "close-on-esc" })
|
|
5511
|
-
],
|
|
5512
|
-
|
|
5539
|
+
], E.prototype, "closeOnEsc", 2);
|
|
5540
|
+
U([
|
|
5513
5541
|
a({ type: Boolean, attribute: "close-on-backdrop" })
|
|
5514
|
-
],
|
|
5515
|
-
|
|
5542
|
+
], E.prototype, "closeOnBackdrop", 2);
|
|
5543
|
+
U([
|
|
5516
5544
|
a({ type: Boolean, attribute: "lock-scroll" })
|
|
5517
|
-
],
|
|
5518
|
-
|
|
5545
|
+
], E.prototype, "lockScroll", 2);
|
|
5546
|
+
U([
|
|
5519
5547
|
a({ type: String, reflect: !0 })
|
|
5520
|
-
],
|
|
5521
|
-
|
|
5548
|
+
], E.prototype, "variant", 2);
|
|
5549
|
+
U([
|
|
5522
5550
|
a({ type: String, attribute: "max-width" })
|
|
5523
|
-
],
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
],
|
|
5527
|
-
customElements.define("o-popin",
|
|
5551
|
+
], E.prototype, "maxWidth", 2);
|
|
5552
|
+
U([
|
|
5553
|
+
J()
|
|
5554
|
+
], E.prototype, "_labelId", 2);
|
|
5555
|
+
customElements.define("o-popin", E);
|