@florid-kit/components 0.9.18 → 0.9.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/breadcrumb.d.ts +9 -0
- package/components/breadcrumbs.d.ts +6 -0
- package/components/minitile.d.ts +1 -0
- package/index.js +205 -129
- package/index.mjs +945 -826
- 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
|
|
8
|
-
constructor(t, e,
|
|
9
|
-
if (this._$cssResult$ = !0,
|
|
6
|
+
const _t = globalThis, jt = _t.ShadowRoot && (_t.ShadyCSS === void 0 || _t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Rt = Symbol(), ee = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let ue = class {
|
|
8
|
+
constructor(t, e, r) {
|
|
9
|
+
if (this._$cssResult$ = !0, r !== Rt) 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 (
|
|
16
|
-
const
|
|
17
|
-
|
|
15
|
+
if (jt && t === void 0) {
|
|
16
|
+
const r = e !== void 0 && e.length === 1;
|
|
17
|
+
r && (t = ee.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && ee.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let he = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
26
|
-
const e = o.length === 1 ? o[0] : t.reduce((
|
|
25
|
+
const we = (o) => new ue(typeof o == "string" ? o : o + "", void 0, Rt), v = (o, ...t) => {
|
|
26
|
+
const e = o.length === 1 ? o[0] : t.reduce((r, i, n) => r + ((s) => {
|
|
27
27
|
if (s._$cssResult$ === !0) return s.cssText;
|
|
28
28
|
if (typeof s == "number") return s;
|
|
29
29
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
|
-
})(i) + o[
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (
|
|
30
|
+
})(i) + o[n + 1], o[0]);
|
|
31
|
+
return new ue(e, o, Rt);
|
|
32
|
+
}, $e = (o, t) => {
|
|
33
|
+
if (jt) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
34
34
|
else for (const e of t) {
|
|
35
|
-
const
|
|
36
|
-
i !== void 0 &&
|
|
35
|
+
const r = document.createElement("style"), i = _t.litNonce;
|
|
36
|
+
i !== void 0 && r.setAttribute("nonce", i), r.textContent = e.cssText, o.appendChild(r);
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, oe = jt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
39
39
|
let e = "";
|
|
40
|
-
for (const
|
|
41
|
-
return
|
|
40
|
+
for (const r of t.cssRules) e += r.cssText;
|
|
41
|
+
return we(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: _e, defineProperty: Ce, getOwnPropertyDescriptor: ke, getOwnPropertyNames: Se, getOwnPropertySymbols: Ae, getPrototypeOf: Ee } = Object, W = globalThis, ie = W.trustedTypes, Le = ie ? ie.emptyScript : "", Pt = W.reactiveElementPolyfillSupport, ct = (o, t) => o, Ct = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
o = o ?
|
|
51
|
+
o = o ? Le : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,54 +73,54 @@ const { is: xe, defineProperty: we, getOwnPropertyDescriptor: $e, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
76
|
+
} }, Nt = (o, t) => !_e(o, t), re = { attribute: !0, type: String, converter: Ct, reflect: !1, useDefault: !1, hasChanged: Nt };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), W.litPropertyMetadata ?? (W.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
|
-
let
|
|
78
|
+
let rt = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
81
81
|
}
|
|
82
82
|
static get observedAttributes() {
|
|
83
83
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
84
84
|
}
|
|
85
|
-
static createProperty(t, e =
|
|
85
|
+
static createProperty(t, e = re) {
|
|
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
|
-
const
|
|
88
|
-
i !== void 0 &&
|
|
87
|
+
const r = Symbol(), i = this.getPropertyDescriptor(t, r, e);
|
|
88
|
+
i !== void 0 && Ce(this.prototype, t, i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
static getPropertyDescriptor(t, e,
|
|
92
|
-
const { get: i, set:
|
|
91
|
+
static getPropertyDescriptor(t, e, r) {
|
|
92
|
+
const { get: i, set: n } = ke(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[e];
|
|
94
94
|
}, set(s) {
|
|
95
95
|
this[e] = s;
|
|
96
96
|
} };
|
|
97
97
|
return { get: i, set(s) {
|
|
98
98
|
const h = i == null ? void 0 : i.call(this);
|
|
99
|
-
|
|
99
|
+
n == null || n.call(this, s), this.requestUpdate(t, h, r);
|
|
100
100
|
}, configurable: !0, enumerable: !0 };
|
|
101
101
|
}
|
|
102
102
|
static getPropertyOptions(t) {
|
|
103
|
-
return this.elementProperties.get(t) ??
|
|
103
|
+
return this.elementProperties.get(t) ?? re;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
106
|
if (this.hasOwnProperty(ct("elementProperties"))) return;
|
|
107
|
-
const t =
|
|
107
|
+
const t = Ee(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(ct("finalized"))) return;
|
|
112
112
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ct("properties"))) {
|
|
113
|
-
const e = this.properties,
|
|
114
|
-
for (const i of
|
|
113
|
+
const e = this.properties, r = [...Se(e), ...Ae(e)];
|
|
114
|
+
for (const i of r) this.createProperty(i, e[i]);
|
|
115
115
|
}
|
|
116
116
|
const t = this[Symbol.metadata];
|
|
117
117
|
if (t !== null) {
|
|
118
118
|
const e = litPropertyMetadata.get(t);
|
|
119
|
-
if (e !== void 0) for (const [
|
|
119
|
+
if (e !== void 0) for (const [r, i] of e) this.elementProperties.set(r, i);
|
|
120
120
|
}
|
|
121
121
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
122
|
-
for (const [e,
|
|
123
|
-
const i = this._$Eu(e,
|
|
122
|
+
for (const [e, r] of this.elementProperties) {
|
|
123
|
+
const i = this._$Eu(e, r);
|
|
124
124
|
i !== void 0 && this._$Eh.set(i, e);
|
|
125
125
|
}
|
|
126
126
|
this.elementStyles = this.finalizeStyles(this.styles);
|
|
@@ -128,14 +128,14 @@ let it = class extends HTMLElement {
|
|
|
128
128
|
static finalizeStyles(t) {
|
|
129
129
|
const e = [];
|
|
130
130
|
if (Array.isArray(t)) {
|
|
131
|
-
const
|
|
132
|
-
for (const i of
|
|
133
|
-
} else t !== void 0 && e.push(
|
|
131
|
+
const r = new Set(t.flat(1 / 0).reverse());
|
|
132
|
+
for (const i of r) e.unshift(oe(i));
|
|
133
|
+
} else t !== void 0 && e.push(oe(t));
|
|
134
134
|
return e;
|
|
135
135
|
}
|
|
136
136
|
static _$Eu(t, e) {
|
|
137
|
-
const
|
|
138
|
-
return
|
|
137
|
+
const r = e.attribute;
|
|
138
|
+
return r === !1 ? void 0 : typeof r == "string" ? r : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
139
139
|
}
|
|
140
140
|
constructor() {
|
|
141
141
|
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
|
@@ -154,18 +154,18 @@ let it = class extends HTMLElement {
|
|
|
154
154
|
}
|
|
155
155
|
_$E_() {
|
|
156
156
|
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
157
|
-
for (const
|
|
157
|
+
for (const r of e.keys()) this.hasOwnProperty(r) && (t.set(r, this[r]), delete this[r]);
|
|
158
158
|
t.size > 0 && (this._$Ep = t);
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return $e(t, this.constructor.elementStyles), t;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var t;
|
|
166
166
|
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
|
|
167
|
-
var
|
|
168
|
-
return (
|
|
167
|
+
var r;
|
|
168
|
+
return (r = e.hostConnected) == null ? void 0 : r.call(e);
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
enableUpdating(t) {
|
|
@@ -173,40 +173,40 @@ let it = class extends HTMLElement {
|
|
|
173
173
|
disconnectedCallback() {
|
|
174
174
|
var t;
|
|
175
175
|
(t = this._$EO) == null || t.forEach((e) => {
|
|
176
|
-
var
|
|
177
|
-
return (
|
|
176
|
+
var r;
|
|
177
|
+
return (r = e.hostDisconnected) == null ? void 0 : r.call(e);
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
|
-
attributeChangedCallback(t, e,
|
|
181
|
-
this._$AK(t,
|
|
180
|
+
attributeChangedCallback(t, e, r) {
|
|
181
|
+
this._$AK(t, r);
|
|
182
182
|
}
|
|
183
183
|
_$ET(t, e) {
|
|
184
|
-
var
|
|
185
|
-
const
|
|
186
|
-
if (i !== void 0 &&
|
|
187
|
-
const s = (((
|
|
184
|
+
var n;
|
|
185
|
+
const r = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, r);
|
|
186
|
+
if (i !== void 0 && r.reflect === !0) {
|
|
187
|
+
const s = (((n = r.converter) == null ? void 0 : n.toAttribute) !== void 0 ? r.converter : Ct).toAttribute(e, r.type);
|
|
188
188
|
this._$Em = t, s == null ? this.removeAttribute(i) : this.setAttribute(i, s), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
_$AK(t, e) {
|
|
192
|
-
var
|
|
193
|
-
const
|
|
192
|
+
var n, s;
|
|
193
|
+
const r = this.constructor, i = r._$Eh.get(t);
|
|
194
194
|
if (i !== void 0 && this._$Em !== i) {
|
|
195
|
-
const h =
|
|
195
|
+
const h = r.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((n = h.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? h.converter : Ct;
|
|
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
|
}
|
|
199
|
-
requestUpdate(t, e,
|
|
199
|
+
requestUpdate(t, e, r) {
|
|
200
200
|
var i;
|
|
201
201
|
if (t !== void 0) {
|
|
202
|
-
const
|
|
203
|
-
if (
|
|
204
|
-
this.C(t, e,
|
|
202
|
+
const n = this.constructor, s = this[t];
|
|
203
|
+
if (r ?? (r = n.getPropertyOptions(t)), !((r.hasChanged ?? Nt)(s, e) || r.useDefault && r.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(n._$Eu(t, r)))) return;
|
|
204
|
+
this.C(t, e, r);
|
|
205
205
|
}
|
|
206
206
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
207
207
|
}
|
|
208
|
-
C(t, e, { useDefault:
|
|
209
|
-
|
|
208
|
+
C(t, e, { useDefault: r, reflect: i, wrapped: n }, s) {
|
|
209
|
+
r && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, s ?? e ?? this[t]), n !== !0 || s !== void 0) || (this._$AL.has(t) || (this.hasUpdated || r || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
|
|
210
210
|
}
|
|
211
211
|
async _$EP() {
|
|
212
212
|
this.isUpdatePending = !0;
|
|
@@ -222,25 +222,25 @@ let it = class extends HTMLElement {
|
|
|
222
222
|
return this.performUpdate();
|
|
223
223
|
}
|
|
224
224
|
performUpdate() {
|
|
225
|
-
var
|
|
225
|
+
var r;
|
|
226
226
|
if (!this.isUpdatePending) return;
|
|
227
227
|
if (!this.hasUpdated) {
|
|
228
228
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
229
|
-
for (const [
|
|
229
|
+
for (const [n, s] of this._$Ep) this[n] = s;
|
|
230
230
|
this._$Ep = void 0;
|
|
231
231
|
}
|
|
232
232
|
const i = this.constructor.elementProperties;
|
|
233
|
-
if (i.size > 0) for (const [
|
|
234
|
-
const { wrapped: h } = s, c = this[
|
|
235
|
-
h !== !0 || this._$AL.has(
|
|
233
|
+
if (i.size > 0) for (const [n, s] of i) {
|
|
234
|
+
const { wrapped: h } = s, c = this[n];
|
|
235
|
+
h !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, s, c);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
let t = !1;
|
|
239
239
|
const e = this._$AL;
|
|
240
240
|
try {
|
|
241
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (
|
|
242
|
-
var
|
|
243
|
-
return (
|
|
241
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (r = this._$EO) == null || r.forEach((i) => {
|
|
242
|
+
var n;
|
|
243
|
+
return (n = i.hostUpdate) == null ? void 0 : n.call(i);
|
|
244
244
|
}), this.update(e)) : this._$EM();
|
|
245
245
|
} catch (i) {
|
|
246
246
|
throw t = !1, this._$EM(), i;
|
|
@@ -251,9 +251,9 @@ let it = class extends HTMLElement {
|
|
|
251
251
|
}
|
|
252
252
|
_$AE(t) {
|
|
253
253
|
var e;
|
|
254
|
-
(e = this._$EO) == null || e.forEach((
|
|
254
|
+
(e = this._$EO) == null || e.forEach((r) => {
|
|
255
255
|
var i;
|
|
256
|
-
return (i =
|
|
256
|
+
return (i = r.hostUpdated) == null ? void 0 : i.call(r);
|
|
257
257
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
258
258
|
}
|
|
259
259
|
_$EM() {
|
|
@@ -276,76 +276,76 @@ let it = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
|
|
279
|
+
rt.elementStyles = [], rt.shadowRootOptions = { mode: "open" }, rt[ct("elementProperties")] = /* @__PURE__ */ new Map(), rt[ct("finalized")] = /* @__PURE__ */ new Map(), Pt == null || Pt({ ReactiveElement: rt }), (W.reactiveElementVersions ?? (W.reactiveElementVersions = [])).push("2.1.0");
|
|
280
280
|
/**
|
|
281
281
|
* @license
|
|
282
282
|
* Copyright 2017 Google LLC
|
|
283
283
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
284
|
*/
|
|
285
|
-
const ht = globalThis,
|
|
286
|
-
\f\r]`, lt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
288
|
-
function
|
|
289
|
-
if (!
|
|
290
|
-
return
|
|
285
|
+
const ht = globalThis, kt = ht.trustedTypes, ne = kt ? kt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ve = "$lit$", K = `lit$${Math.random().toFixed(9).slice(2)}$`, fe = "?" + K, Pe = `<${fe}>`, tt = document, pt = () => tt.createComment(""), ut = (o) => o === null || typeof o != "object" && typeof o != "function", Ft = Array.isArray, Oe = (o) => Ft(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Ot = `[
|
|
286
|
+
\f\r]`, lt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, se = /-->/g, ae = />/g, J = RegExp(`>|${Ot}(?:([^\\s"'>=/]+)(${Ot}*=${Ot}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), le = /'/g, ce = /"/g, be = /^(?:script|style|textarea|title)$/i, Ie = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Ie(1), G = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), he = /* @__PURE__ */ new WeakMap(), Q = tt.createTreeWalker(tt, 129);
|
|
288
|
+
function ge(o, t) {
|
|
289
|
+
if (!Ft(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return ne !== void 0 ? ne.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
|
-
const
|
|
293
|
-
const e = o.length - 1,
|
|
294
|
-
let i,
|
|
292
|
+
const ze = (o, t) => {
|
|
293
|
+
const e = o.length - 1, r = [];
|
|
294
|
+
let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = lt;
|
|
295
295
|
for (let h = 0; h < e; h++) {
|
|
296
296
|
const c = o[h];
|
|
297
|
-
let m, w,
|
|
298
|
-
for (;
|
|
297
|
+
let m, w, f = -1, N = 0;
|
|
298
|
+
for (; N < c.length && (s.lastIndex = N, w = s.exec(c), w !== null); ) N = s.lastIndex, s === lt ? w[1] === "!--" ? s = se : w[1] !== void 0 ? s = ae : w[2] !== void 0 ? (be.test(w[2]) && (i = RegExp("</" + w[2], "g")), s = J) : w[3] !== void 0 && (s = J) : s === J ? w[0] === ">" ? (s = i ?? lt, f = -1) : w[1] === void 0 ? f = -2 : (f = s.lastIndex - w[2].length, m = w[1], s = w[3] === void 0 ? J : w[3] === '"' ? ce : le) : s === ce || s === le ? s = J : s === se || s === ae ? s = lt : (s = J, i = void 0);
|
|
299
299
|
const Z = s === J && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
-
|
|
300
|
+
n += s === lt ? c + Pe : f >= 0 ? (r.push(m), c.slice(0, f) + ve + c.slice(f) + K + Z) : c + K + (f === -2 ? h : Z);
|
|
301
301
|
}
|
|
302
|
-
return [
|
|
302
|
+
return [ge(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
|
|
303
303
|
};
|
|
304
304
|
class vt {
|
|
305
|
-
constructor({ strings: t, _$litType$: e },
|
|
305
|
+
constructor({ strings: t, _$litType$: e }, r) {
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
|
-
let
|
|
309
|
-
const h = t.length - 1, c = this.parts, [m, w] =
|
|
310
|
-
if (this.el = vt.createElement(m,
|
|
311
|
-
const
|
|
312
|
-
|
|
308
|
+
let n = 0, s = 0;
|
|
309
|
+
const h = t.length - 1, c = this.parts, [m, w] = ze(t, e);
|
|
310
|
+
if (this.el = vt.createElement(m, r), Q.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
|
+
const f = this.el.content.firstChild;
|
|
312
|
+
f.replaceWith(...f.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
|
|
317
|
-
const
|
|
318
|
-
c.push({ type: 1, index:
|
|
319
|
-
} else
|
|
320
|
-
if (
|
|
321
|
-
const
|
|
322
|
-
if (
|
|
323
|
-
i.textContent =
|
|
324
|
-
for (let Z = 0; Z <
|
|
325
|
-
i.append(
|
|
316
|
+
if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(ve)) {
|
|
317
|
+
const N = w[s++], Z = i.getAttribute(f).split(K), $t = /([.?@])?(.*)/.exec(N);
|
|
318
|
+
c.push({ type: 1, index: n, name: $t[2], strings: Z, ctor: $t[1] === "." ? De : $t[1] === "?" ? He : $t[1] === "@" ? Te : At }), i.removeAttribute(f);
|
|
319
|
+
} else f.startsWith(K) && (c.push({ type: 6, index: n }), i.removeAttribute(f));
|
|
320
|
+
if (be.test(i.tagName)) {
|
|
321
|
+
const f = i.textContent.split(K), N = f.length - 1;
|
|
322
|
+
if (N > 0) {
|
|
323
|
+
i.textContent = kt ? kt.emptyScript : "";
|
|
324
|
+
for (let Z = 0; Z < N; Z++) i.append(f[Z], pt()), Q.nextNode(), c.push({ type: 2, index: ++n });
|
|
325
|
+
i.append(f[N], pt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === fe) c.push({ type: 2, index: n });
|
|
329
329
|
else {
|
|
330
|
-
let
|
|
331
|
-
for (; (
|
|
330
|
+
let f = -1;
|
|
331
|
+
for (; (f = i.data.indexOf(K, f + 1)) !== -1; ) c.push({ type: 7, index: n }), f += K.length - 1;
|
|
332
332
|
}
|
|
333
|
-
|
|
333
|
+
n++;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
static createElement(t, e) {
|
|
337
|
-
const
|
|
338
|
-
return
|
|
337
|
+
const r = tt.createElement("template");
|
|
338
|
+
return r.innerHTML = t, r;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
function nt(o, t, e = o,
|
|
341
|
+
function nt(o, t, e = o, r) {
|
|
342
342
|
var s, h;
|
|
343
343
|
if (t === G) return t;
|
|
344
|
-
let i =
|
|
345
|
-
const
|
|
346
|
-
return (i == null ? void 0 : i.constructor) !==
|
|
344
|
+
let i = r !== void 0 ? (s = e._$Co) == null ? void 0 : s[r] : e._$Cl;
|
|
345
|
+
const n = ut(t) ? void 0 : t._$litDirective$;
|
|
346
|
+
return (i == null ? void 0 : i.constructor) !== n && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), n === void 0 ? i = void 0 : (i = new n(o), i._$AT(o, e, r)), r !== void 0 ? (e._$Co ?? (e._$Co = []))[r] = i : e._$Cl = i), i !== void 0 && (t = nt(o, i._$AS(o, t.values), i, r)), t;
|
|
347
347
|
}
|
|
348
|
-
class
|
|
348
|
+
class Be {
|
|
349
349
|
constructor(t, e) {
|
|
350
350
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
351
351
|
}
|
|
@@ -356,30 +356,30 @@ class Ie {
|
|
|
356
356
|
return this._$AM._$AU;
|
|
357
357
|
}
|
|
358
358
|
u(t) {
|
|
359
|
-
const { el: { content: e }, parts:
|
|
359
|
+
const { el: { content: e }, parts: r } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? tt).importNode(e, !0);
|
|
360
360
|
Q.currentNode = i;
|
|
361
|
-
let
|
|
361
|
+
let n = Q.nextNode(), s = 0, h = 0, c = r[0];
|
|
362
362
|
for (; c !== void 0; ) {
|
|
363
363
|
if (s === c.index) {
|
|
364
364
|
let m;
|
|
365
|
-
c.type === 2 ? m = new
|
|
365
|
+
c.type === 2 ? m = new wt(n, n.nextSibling, this, t) : c.type === 1 ? m = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (m = new Me(n, this, t)), this._$AV.push(m), c = r[++h];
|
|
366
366
|
}
|
|
367
|
-
s !== (c == null ? void 0 : c.index) && (
|
|
367
|
+
s !== (c == null ? void 0 : c.index) && (n = Q.nextNode(), s++);
|
|
368
368
|
}
|
|
369
369
|
return Q.currentNode = tt, i;
|
|
370
370
|
}
|
|
371
371
|
p(t) {
|
|
372
372
|
let e = 0;
|
|
373
|
-
for (const
|
|
373
|
+
for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(t, r, e), e += r.strings.length - 2) : r._$AI(t[e])), e++;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
class
|
|
376
|
+
class wt {
|
|
377
377
|
get _$AU() {
|
|
378
378
|
var t;
|
|
379
379
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
380
380
|
}
|
|
381
|
-
constructor(t, e,
|
|
382
|
-
this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM =
|
|
381
|
+
constructor(t, e, r, i) {
|
|
382
|
+
this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = r, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
|
|
383
383
|
}
|
|
384
384
|
get parentNode() {
|
|
385
385
|
let t = this._$AA.parentNode;
|
|
@@ -393,7 +393,7 @@ class xt {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = nt(this, t, e), ut(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== G && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
396
|
+
t = nt(this, t, e), ut(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== G && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Oe(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -405,28 +405,28 @@ class xt {
|
|
|
405
405
|
this._$AH !== d && ut(this._$AH) ? this._$AA.nextSibling.data = t : this.T(tt.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
|
-
var
|
|
409
|
-
const { values: e, _$litType$:
|
|
410
|
-
if (((
|
|
408
|
+
var n;
|
|
409
|
+
const { values: e, _$litType$: r } = t, i = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = vt.createElement(ge(r.h, r.h[0]), this.options)), r);
|
|
410
|
+
if (((n = this._$AH) == null ? void 0 : n._$AD) === i) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
|
-
const s = new
|
|
412
|
+
const s = new Be(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 = he.get(t.strings);
|
|
418
|
+
return e === void 0 && he.set(t.strings, e = new vt(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
Ft(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const e = this._$AH;
|
|
423
|
-
let
|
|
424
|
-
for (const
|
|
425
|
-
i < e.length && (this._$AR(
|
|
423
|
+
let r, i = 0;
|
|
424
|
+
for (const n of t) i === e.length ? e.push(r = new wt(this.O(pt()), this.O(pt()), this, this.options)) : r = e[i], r._$AI(n), i++;
|
|
425
|
+
i < e.length && (this._$AR(r && r._$AB.nextSibling, i), e.length = i);
|
|
426
426
|
}
|
|
427
427
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
428
|
-
var
|
|
429
|
-
for ((
|
|
428
|
+
var r;
|
|
429
|
+
for ((r = this._$AP) == null ? void 0 : r.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
430
430
|
const i = t.nextSibling;
|
|
431
431
|
t.remove(), t = i;
|
|
432
432
|
}
|
|
@@ -436,24 +436,24 @@ class xt {
|
|
|
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 At {
|
|
440
440
|
get tagName() {
|
|
441
441
|
return this.element.tagName;
|
|
442
442
|
}
|
|
443
443
|
get _$AU() {
|
|
444
444
|
return this._$AM._$AU;
|
|
445
445
|
}
|
|
446
|
-
constructor(t, e,
|
|
447
|
-
this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options =
|
|
446
|
+
constructor(t, e, r, i, n) {
|
|
447
|
+
this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = n, r.length > 2 || r[0] !== "" || r[1] !== "" ? (this._$AH = Array(r.length - 1).fill(new String()), this.strings = r) : this._$AH = d;
|
|
448
448
|
}
|
|
449
|
-
_$AI(t, e = this,
|
|
450
|
-
const
|
|
449
|
+
_$AI(t, e = this, r, i) {
|
|
450
|
+
const n = this.strings;
|
|
451
451
|
let s = !1;
|
|
452
|
-
if (
|
|
452
|
+
if (n === void 0) t = nt(this, t, e, 0), s = !ut(t) || t !== this._$AH && t !== G, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const h = t;
|
|
455
455
|
let c, m;
|
|
456
|
-
for (t =
|
|
456
|
+
for (t = n[0], c = 0; c < n.length - 1; c++) m = nt(this, h[r + c], e, c), m === G && (m = this._$AH[c]), s || (s = !ut(m) || m !== this._$AH[c]), m === d ? t = d : t !== d && (t += (m ?? "") + n[c + 1]), this._$AH[c] = m;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class St {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class De extends At {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class Oe extends St {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class He extends At {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,23 +477,23 @@ class ze extends St {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class
|
|
481
|
-
constructor(t, e,
|
|
482
|
-
super(t, e,
|
|
480
|
+
class Te extends At {
|
|
481
|
+
constructor(t, e, r, i, n) {
|
|
482
|
+
super(t, e, r, i, n), this.type = 5;
|
|
483
483
|
}
|
|
484
484
|
_$AI(t, e = this) {
|
|
485
485
|
if ((t = nt(this, t, e, 0) ?? d) === G) return;
|
|
486
|
-
const
|
|
487
|
-
i && this.element.removeEventListener(this.name, this,
|
|
486
|
+
const r = this._$AH, i = t === d && r !== d || t.capture !== r.capture || t.once !== r.once || t.passive !== r.passive, n = t !== d && (r === d || i);
|
|
487
|
+
i && this.element.removeEventListener(this.name, this, r), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
488
488
|
}
|
|
489
489
|
handleEvent(t) {
|
|
490
490
|
var e;
|
|
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
|
|
495
|
-
constructor(t, e,
|
|
496
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options =
|
|
494
|
+
class Me {
|
|
495
|
+
constructor(t, e, r) {
|
|
496
|
+
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = r;
|
|
497
497
|
}
|
|
498
498
|
get _$AU() {
|
|
499
499
|
return this._$AM._$AU;
|
|
@@ -503,13 +503,13 @@ class De {
|
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
const It = ht.litHtmlPolyfillSupport;
|
|
506
|
-
It == null || It(vt,
|
|
507
|
-
const
|
|
508
|
-
const
|
|
509
|
-
let i =
|
|
506
|
+
It == null || It(vt, wt), (ht.litHtmlVersions ?? (ht.litHtmlVersions = [])).push("3.3.0");
|
|
507
|
+
const je = (o, t, e) => {
|
|
508
|
+
const r = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
509
|
+
let i = r._$litPart$;
|
|
510
510
|
if (i === void 0) {
|
|
511
|
-
const
|
|
512
|
-
|
|
511
|
+
const n = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
512
|
+
r._$litPart$ = i = new wt(t.insertBefore(pt(), n), n, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -519,7 +519,7 @@ const He = (o, t, e) => {
|
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
521
|
const Y = globalThis;
|
|
522
|
-
let
|
|
522
|
+
let p = class extends rt {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -530,7 +530,7 @@ let u = class extends it {
|
|
|
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 = je(e, this.renderRoot, this.renderOptions);
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
536
|
var t;
|
|
@@ -544,17 +544,17 @@ let u = class extends it {
|
|
|
544
544
|
return G;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
|
|
549
|
-
const
|
|
550
|
-
|
|
547
|
+
var pe;
|
|
548
|
+
p._$litElement$ = !0, p.finalized = !0, (pe = Y.litElementHydrateSupport) == null || pe.call(Y, { LitElement: p });
|
|
549
|
+
const zt = Y.litElementPolyfillSupport;
|
|
550
|
+
zt == null || zt({ LitElement: p });
|
|
551
551
|
(Y.litElementVersions ?? (Y.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
555
555
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
556
556
|
*/
|
|
557
|
-
const
|
|
557
|
+
const b = (o) => (t, e) => {
|
|
558
558
|
e !== void 0 ? e.addInitializer(() => {
|
|
559
559
|
customElements.define(o, t);
|
|
560
560
|
}) : customElements.define(o, t);
|
|
@@ -564,10 +564,10 @@ const y = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const
|
|
568
|
-
const { kind:
|
|
569
|
-
let
|
|
570
|
-
if (
|
|
567
|
+
const Re = { attribute: !0, type: String, converter: Ct, reflect: !1, hasChanged: Nt }, Ne = (o = Re, t, e) => {
|
|
568
|
+
const { kind: r, metadata: i } = e;
|
|
569
|
+
let n = globalThis.litPropertyMetadata.get(i);
|
|
570
|
+
if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), r === "setter" && ((o = Object.create(o)).wrapped = !0), n.set(e.name, o), r === "accessor") {
|
|
571
571
|
const { name: s } = e;
|
|
572
572
|
return { set(h) {
|
|
573
573
|
const c = t.get.call(this);
|
|
@@ -576,19 +576,19 @@ const Me = { attribute: !0, type: String, converter: Ct, reflect: !1, hasChanged
|
|
|
576
576
|
return h !== void 0 && this.C(s, void 0, o, h), h;
|
|
577
577
|
} };
|
|
578
578
|
}
|
|
579
|
-
if (
|
|
579
|
+
if (r === "setter") {
|
|
580
580
|
const { name: s } = e;
|
|
581
581
|
return function(h) {
|
|
582
582
|
const c = this[s];
|
|
583
583
|
t.call(this, h), this.requestUpdate(s, c, o);
|
|
584
584
|
};
|
|
585
585
|
}
|
|
586
|
-
throw Error("Unsupported decorator location: " +
|
|
586
|
+
throw Error("Unsupported decorator location: " + r);
|
|
587
587
|
};
|
|
588
588
|
function a(o) {
|
|
589
|
-
return (t, e) => typeof e == "object" ?
|
|
590
|
-
const s = i.hasOwnProperty(
|
|
591
|
-
return i.constructor.createProperty(
|
|
589
|
+
return (t, e) => typeof e == "object" ? Ne(o, t, e) : ((r, i, n) => {
|
|
590
|
+
const s = i.hasOwnProperty(n);
|
|
591
|
+
return i.constructor.createProperty(n, r), s ? Object.getOwnPropertyDescriptor(i, n) : void 0;
|
|
592
592
|
})(o, t, e);
|
|
593
593
|
}
|
|
594
594
|
/**
|
|
@@ -604,28 +604,28 @@ function et(o) {
|
|
|
604
604
|
* Copyright 2017 Google LLC
|
|
605
605
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
606
606
|
*/
|
|
607
|
-
const
|
|
607
|
+
const Fe = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(o, t, e), e);
|
|
608
608
|
/**
|
|
609
609
|
* @license
|
|
610
610
|
* Copyright 2017 Google LLC
|
|
611
611
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
612
612
|
*/
|
|
613
|
-
function
|
|
614
|
-
return (e,
|
|
615
|
-
const
|
|
613
|
+
function ye(o, t) {
|
|
614
|
+
return (e, r, i) => {
|
|
615
|
+
const n = (s) => {
|
|
616
616
|
var h;
|
|
617
617
|
return ((h = s.renderRoot) == null ? void 0 : h.querySelector(o)) ?? null;
|
|
618
618
|
};
|
|
619
|
-
return
|
|
620
|
-
return
|
|
619
|
+
return Fe(e, r, { get() {
|
|
620
|
+
return n(this);
|
|
621
621
|
} });
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
const
|
|
624
|
+
const ot = v`
|
|
625
625
|
outline: 1px dashed var(--color-border-primary);
|
|
626
626
|
outline-offset: 2px;
|
|
627
627
|
`;
|
|
628
|
-
|
|
628
|
+
v`
|
|
629
629
|
:host * {
|
|
630
630
|
box-sizing: border-box;
|
|
631
631
|
}
|
|
@@ -635,12 +635,12 @@ f`
|
|
|
635
635
|
* Copyright 2023 Google LLC
|
|
636
636
|
* SPDX-License-Identifier: Apache-2.0
|
|
637
637
|
*/
|
|
638
|
-
const
|
|
639
|
-
function
|
|
638
|
+
const Ut = Symbol("internals"), Bt = Symbol("privateInternals");
|
|
639
|
+
function Vt(o) {
|
|
640
640
|
var t;
|
|
641
641
|
class e extends o {
|
|
642
|
-
get [(t =
|
|
643
|
-
return this[
|
|
642
|
+
get [(t = Ut, t)]() {
|
|
643
|
+
return this[Bt] || (this[Bt] = this.attachInternals()), this[Bt];
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
646
|
return e;
|
|
@@ -650,14 +650,14 @@ function Ft(o) {
|
|
|
650
650
|
* Copyright 2023 Google LLC
|
|
651
651
|
* SPDX-License-Identifier: Apache-2.0
|
|
652
652
|
*/
|
|
653
|
-
function
|
|
653
|
+
function Ue(o) {
|
|
654
654
|
o.addInitializer((t) => {
|
|
655
655
|
const e = t;
|
|
656
|
-
e.addEventListener("click", async (
|
|
657
|
-
const { type: i, [
|
|
656
|
+
e.addEventListener("click", async (r) => {
|
|
657
|
+
const { type: i, [Ut]: n } = e, { form: s } = n;
|
|
658
658
|
if (!(!s || i === "button") && (await new Promise((h) => {
|
|
659
659
|
setTimeout(h);
|
|
660
|
-
}), !
|
|
660
|
+
}), !r.defaultPrevented)) {
|
|
661
661
|
if (i === "reset") {
|
|
662
662
|
s.reset();
|
|
663
663
|
return;
|
|
@@ -672,153 +672,153 @@ function Re(o) {
|
|
|
672
672
|
});
|
|
673
673
|
},
|
|
674
674
|
{ capture: !0, once: !0 }
|
|
675
|
-
),
|
|
675
|
+
), n.setFormValue(e.value), s.requestSubmit();
|
|
676
676
|
}
|
|
677
677
|
});
|
|
678
678
|
});
|
|
679
679
|
}
|
|
680
|
-
const
|
|
680
|
+
const Ve = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
681
681
|
<path d="M8 3.6275C7.06799 0.971489 3.25399 -0.0226278 1.67414 2.30983C0.0877404 4.65197 1.67414 6.99412 2.62598 8.33249C3.0147 8.87905 8 14 8 14C8 14 12.9853 8.87905 13.374 8.33249C14.3259 6.99412 15.9123 4.65197 14.3259 2.30983C12.746 -0.0226277 8.97167 0.971489 8 3.6275Z" stroke="#3F2B2E" stroke-linecap="round"/>
|
|
682
682
|
</svg>
|
|
683
|
-
`,
|
|
683
|
+
`, qe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
684
684
|
<path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
|
|
685
685
|
</svg>
|
|
686
|
-
`,
|
|
686
|
+
`, Ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
687
687
|
<path d="M12.2266 8.16162C11.0953 9.26599 8.72489 11.8788 5.11546 16L4.63062 15.7172C5.78886 13.4007 7.17607 10.8283 8.79223 8C7.17607 5.17172 5.78886 2.59933 4.63062 0.282827L5.11546 0C8.72489 4.12121 11.0953 6.73401 12.2266 7.83838V8.16162Z" fill="#3F2B2E"/>
|
|
688
688
|
</svg>
|
|
689
|
-
`,
|
|
689
|
+
`, Ke = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
690
690
|
<path d="M5 7.83838C6.02128 6.73401 8.16109 4.12121 11.4195 0L11.8571 0.282829C10.8116 2.59933 9.55927 5.17172 8.1003 8C9.55927 10.8283 10.8115 13.4007 11.8571 15.7172L11.4195 16C8.16109 11.8788 6.02128 9.266 5 8.16162L5 7.83838Z" fill="#3F2B2E"/>
|
|
691
691
|
</svg>
|
|
692
|
-
`,
|
|
692
|
+
`, We = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
693
693
|
<path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834ZM7.98873 10.328L10.6602 12.2353L9.64573 9.15787L12.2721 7.28568H9.02576L8 4.17317L6.97424 7.28568H3.72786L6.35427 9.15787L5.33977 12.2353L8.01127 10.328H7.98873Z" fill="#3F2B2E"/>
|
|
694
694
|
</svg>
|
|
695
|
-
`,
|
|
695
|
+
`, Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
696
696
|
<path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM6.36554 11.5396V7.32718H6.97424L8 4.21467L9.02576 7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L8 10.3812L6.36554 11.5513V11.5396Z" fill="#3F2B2E"/>
|
|
697
697
|
</svg>
|
|
698
|
-
`,
|
|
698
|
+
`, Xe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
699
699
|
<path d="M15 6.39639H9.63446L8 1.4585L6.36554 6.39639H1L5.33977 9.4972L3.69404 14.4585L7.98873 11.3928L12.2834 14.4585L10.6377 9.4972L14.9775 6.39639H15ZM10.6715 12.2353L8.05636 10.3631V4.32528L9.03704 7.27398H12.2834L9.65701 9.14616L10.6715 12.2236V12.2353Z" fill="#3F2B2E"/>
|
|
700
700
|
</svg>
|
|
701
|
-
`,
|
|
701
|
+
`, Je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
702
702
|
<path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L9.46538 12.4874L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM9.46538 11.4226V7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L9.46538 11.4226Z" fill="#3F2B2E"/>
|
|
703
703
|
</svg>
|
|
704
|
-
`,
|
|
704
|
+
`, Qe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
705
705
|
<path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834Z" fill="#3F2B2E"/>
|
|
706
706
|
</svg>
|
|
707
|
-
`,
|
|
707
|
+
`, Ye = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
708
708
|
<path d="M2 2L14 14" stroke="#3F2B2E"/>
|
|
709
709
|
<path d="M14 2L2 14" stroke="#3F2B2E"/>
|
|
710
710
|
</svg>
|
|
711
|
-
`,
|
|
711
|
+
`, to = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
712
712
|
<path d="M7.12506 1C10.5018 1 13.2509 3.74834 13.251 7.125C13.2511 8.59738 12.7172 10.0206 11.7491 11.1299L14.8731 14.2539C15.0433 14.4253 15.0435 14.7018 14.8731 14.873C14.7913 14.9555 14.6797 15.002 14.5635 15.002C14.4475 15.0019 14.3357 14.9554 14.254 14.873L11.1309 11.749C10.0555 12.6818 8.6564 13.251 7.12506 13.251C3.7484 13.2508 1.00006 10.5017 1.00006 7.125C1.00025 3.74846 3.74852 1.00019 7.12506 1ZM7.12506 1.875C4.22971 1.87522 1.87506 4.23058 1.87506 7.12598C1.87532 10.0212 4.22987 12.3758 7.12506 12.376C10.0204 12.376 12.3758 10.0213 12.376 7.12598C12.376 4.23044 10.0206 1.875 7.12506 1.875Z" fill="#3F2B2E"/>
|
|
713
713
|
</svg>
|
|
714
|
-
`,
|
|
714
|
+
`, eo = `<?xml version="1.0" encoding="utf-8"?>
|
|
715
715
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
716
716
|
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
717
717
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
718
718
|
<path class="st0" d="M40,20c0,0.7-0.6,1.2-1.2,1.2H21.2v17.5c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2V21.2H1.2C0.6,21.2,0,20.7,0,20
|
|
719
719
|
s0.6-1.2,1.2-1.2h17.5V1.2C18.8,0.6,19.3,0,20,0s1.2,0.6,1.2,1.2v17.5h17.5C39.4,18.8,40,19.3,40,20z"/>
|
|
720
720
|
</svg>
|
|
721
|
-
`,
|
|
721
|
+
`, oo = `<?xml version="1.0" encoding="utf-8"?>
|
|
722
722
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
723
723
|
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
724
724
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
725
725
|
<path class="st0" d="M38.8,20.5H1.2c-0.7,0-1.2-0.6-1.2-1.2S0.6,18,1.2,18h37.5c0.7,0,1.2,0.6,1.2,1.2S39.4,20.5,38.8,20.5z"/>
|
|
726
726
|
</svg>
|
|
727
|
-
`,
|
|
727
|
+
`, io = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
728
728
|
<path d="M15.0009 8.12175C15.0009 8.36347 14.805 8.55943 14.5634 8.55943H2.49495L7.43502 13.5017C7.60609 13.6726 7.60628 13.9499 7.43546 14.1211C7.26464 14.2922 6.98749 14.2924 6.81642 14.1215L1.13 8.43163C1.04685 8.34998 1 8.23831 1 8.12175C1 8.00518 1.04685 7.89351 1.13 7.81187L6.81642 2.12286C6.98808 1.95699 7.26094 1.95937 7.4297 2.12819C7.59845 2.29702 7.60082 2.57001 7.43502 2.74175L2.49495 7.68406H14.5634C14.805 7.68406 15.0009 7.88002 15.0009 8.12175Z" fill="#3F2B2E"/>
|
|
729
729
|
</svg>
|
|
730
|
-
`,
|
|
730
|
+
`, ro = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
731
731
|
<path d="M14.1218 7.43502C13.9504 7.60543 13.6735 7.60543 13.5021 7.43502L8.55961 2.49408V14.5625C8.55961 14.8041 8.36365 15 8.12192 15C7.88018 15 7.68422 14.8041 7.68422 14.5625V2.49408L2.74177 7.43502C2.57002 7.60082 2.29703 7.59845 2.1282 7.4297C1.95936 7.26094 1.95699 6.98808 2.12287 6.81642L7.81203 1.13C7.89368 1.04685 8.00535 1 8.12192 1C8.23848 1 8.35015 1.04685 8.4318 1.13L14.121 6.81642C14.2921 6.98702 14.2925 7.26395 14.1218 7.43502Z" fill="#3F2B2E"/>
|
|
732
732
|
</svg>
|
|
733
|
-
`,
|
|
733
|
+
`, no = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
734
734
|
<path d="M6.33317 8.00033C6.33317 3.95024 7.52708 0.666992 8.99984 0.666992C10.4726 0.666992 11.6665 3.95024 11.6665 8.00033M5.33317 15.3337H12.6665L16.3332 6.20033C14.9582 5.76699 12.2998 5.33366 8.99984 5.33366C5.69984 5.33366 3.49984 5.76699 1.6665 6.20033L5.33317 15.3337Z" stroke="#3F2B2E"/>
|
|
735
735
|
</svg>
|
|
736
|
-
`,
|
|
736
|
+
`, so = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
737
737
|
<path d="M7.99376 14.4486C7.46684 14.4486 6.93991 14.251 6.54472 13.8558C6.14953 13.4606 5.8202 12.9995 5.68847 12.4067H3.77837C2.98798 12.4067 2.59279 12.4067 2.32933 12.1433C2.13173 12.0116 2 11.7481 2 11.5505C2 11.2212 2.13173 10.826 2.52692 10.1673L2.92212 9.4428C3.31731 8.78415 3.51491 8.05963 3.64664 7.3351L3.84423 5.68847C3.97596 4.63462 4.43702 3.7125 5.22741 3.05385C6.01779 2.39519 7.00578 2 7.99376 2C8.98174 2 10.0356 2.39519 10.7601 3.05385C11.5505 3.7125 12.0116 4.70049 12.1433 5.68847L12.3409 7.26924C12.4067 8.05963 12.6702 8.78415 13.0654 9.37693L13.4606 10.1015C13.8558 10.7601 14.0534 11.0894 13.9875 11.4846C13.9875 11.7481 13.8558 11.9457 13.6582 12.0774C13.3947 12.3409 12.9995 12.3409 12.2092 12.3409H10.2991C10.1673 12.9337 9.83799 13.4606 9.4428 13.7899C9.04761 14.1851 8.52068 14.3827 7.99376 14.3827V14.4486ZM6.28126 12.4067C6.41299 12.8019 6.61058 13.1971 6.93991 13.4606C7.5327 13.9875 8.45482 13.9875 9.11347 13.4606C9.4428 13.1971 9.6404 12.8019 9.77213 12.4067H6.28126ZM7.99376 2.65865C7.13751 2.65865 6.28126 2.98798 5.6226 3.58077C4.96395 4.17356 4.56875 4.96395 4.43702 5.88606L4.23943 7.46684C4.1077 8.32309 3.84423 9.11347 3.44904 9.83799L3.05385 10.5625C2.72452 11.0894 2.59279 11.3529 2.59279 11.5505C2.59279 11.6164 2.59279 11.7481 2.72452 11.814C2.85625 11.8798 3.25144 11.8798 3.77837 11.8798H12.2092C12.7361 11.8798 13.1971 11.8798 13.263 11.814C13.3289 11.814 13.3947 11.6822 13.3947 11.5505C13.3947 11.4188 13.1971 11.0894 12.9337 10.5625L12.5385 9.83799C12.0774 9.11347 11.814 8.32309 11.7481 7.5327L11.5505 5.88606C11.4846 5.02981 11.0236 4.17356 10.3649 3.58077C9.70626 2.98798 8.85001 2.65865 7.99376 2.65865Z" fill="#3F2B2E"/>
|
|
738
738
|
</svg>
|
|
739
|
-
`,
|
|
739
|
+
`, ao = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
740
740
|
<path d="M12 17.4585L4 6.4585L20 6.4585L12 17.4585Z" fill="#3F2B2E"/>
|
|
741
741
|
</svg>
|
|
742
|
-
`,
|
|
742
|
+
`, lo = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
743
743
|
<path d="M12 6.4585L20 17.4585H4L12 6.4585Z" fill="#3F2B2E"/>
|
|
744
744
|
</svg>
|
|
745
|
-
`,
|
|
745
|
+
`, co = `<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
|
+
`, ho = `<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
|
+
`, po = `<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
|
+
`, uo = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
756
756
|
<line x1="0" y1="0" x2="200" y2="200" />
|
|
757
|
-
</svg>`,
|
|
757
|
+
</svg>`, vo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
758
758
|
<path d="M2.31202e-08 7.85218C0.974855 6.83983 3.01741 4.44477 6.12766 0.666992L6.54545 0.926252C5.54739 3.04971 4.35203 5.40773 2.95938 8.00033C4.35203 10.5929 5.54739 12.9509 6.54545 15.0744L6.12766 15.3337C3.01741 11.5559 0.974855 9.16082 0 8.14847L2.31202e-08 7.85218Z" fill="#3F2B2E"/>
|
|
759
759
|
<path d="M16 8.14847C15.0251 9.16082 12.9826 11.5559 9.87234 15.3337L9.45455 15.0744C10.4526 12.9509 11.648 10.5929 13.0406 8.00033C11.648 5.40773 10.4526 3.04971 9.45455 0.92625L9.87234 0.666992C12.9826 4.44477 15.0251 6.83983 16 7.85218V8.14847Z" fill="#3F2B2E"/>
|
|
760
760
|
</svg>
|
|
761
|
-
`,
|
|
761
|
+
`, fo = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
762
762
|
<path d="M8 0.458496C12.4183 0.458496 16 4.04022 16 8.4585C16 12.8768 12.4183 16.4585 8 16.4585C3.58172 16.4585 0 12.8768 0 8.4585C0 4.04022 3.58172 0.458496 8 0.458496ZM11.8115 5.56787C11.5953 5.39556 11.2797 5.43075 11.1074 5.64697L7.45801 10.2104L4.85254 7.60596C4.65647 7.41684 4.34516 7.41943 4.15234 7.61182C3.95956 7.8046 3.95626 8.11678 4.14551 8.31299L7.14551 11.313C7.23977 11.4062 7.36741 11.4592 7.5 11.4595L7.52832 11.4585C7.67017 11.4503 7.80168 11.3818 7.89062 11.271L11.8906 6.271C12.0629 6.05485 12.0275 5.74022 11.8115 5.56787Z" fill="#3B7902"/>
|
|
763
763
|
</svg>
|
|
764
|
-
`,
|
|
764
|
+
`, bo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
765
765
|
<path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM8 10C7.44772 10 7 10.4477 7 11C7 11.5523 7.44772 12 8 12C8.55229 12 9 11.5523 9 11C9 10.4477 8.55229 10 8 10ZM7.5 4C7.22386 4 7 4.22386 7 4.5V8.5C7 8.77614 7.22386 9 7.5 9H8.5C8.77614 9 9 8.77614 9 8.5V4.5C9 4.22386 8.77614 4 8.5 4H7.5Z" fill="#BB0218"/>
|
|
766
766
|
</svg>
|
|
767
|
-
`,
|
|
767
|
+
`, go = `<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
|
+
`, yo = `<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
|
+
`, mo = `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
|
|
774
774
|
<path d="M1 4.5415L3 6.5415L9 0.541504" stroke="#FBF9F6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
775
|
-
</svg>`,
|
|
776
|
-
wishlist:
|
|
777
|
-
playerv:
|
|
778
|
-
chevronRight:
|
|
779
|
-
chevronLeft:
|
|
780
|
-
icoPlus:
|
|
781
|
-
icoMinus:
|
|
782
|
-
"star-0":
|
|
783
|
-
"star-25":
|
|
784
|
-
"star-50":
|
|
785
|
-
"star-75":
|
|
786
|
-
"star-100":
|
|
787
|
-
cross:
|
|
788
|
-
search:
|
|
789
|
-
arrowLeft:
|
|
790
|
-
arrowTop:
|
|
791
|
-
cart:
|
|
792
|
-
notifyme:
|
|
793
|
-
triangledown:
|
|
794
|
-
triangleup:
|
|
795
|
-
checkstroke:
|
|
796
|
-
pause:
|
|
797
|
-
mapDualArrow:
|
|
798
|
-
swipeDualArrow:
|
|
799
|
-
backToBag:
|
|
800
|
-
checkbox:
|
|
801
|
-
},
|
|
802
|
-
strikeDiagonal:
|
|
803
|
-
},
|
|
804
|
-
success:
|
|
805
|
-
error:
|
|
806
|
-
info:
|
|
775
|
+
</svg>`, F = {
|
|
776
|
+
wishlist: Ve,
|
|
777
|
+
playerv: qe,
|
|
778
|
+
chevronRight: Ze,
|
|
779
|
+
chevronLeft: Ke,
|
|
780
|
+
icoPlus: eo,
|
|
781
|
+
icoMinus: oo,
|
|
782
|
+
"star-0": We,
|
|
783
|
+
"star-25": Ge,
|
|
784
|
+
"star-50": Xe,
|
|
785
|
+
"star-75": Je,
|
|
786
|
+
"star-100": Qe,
|
|
787
|
+
cross: Ye,
|
|
788
|
+
search: to,
|
|
789
|
+
arrowLeft: io,
|
|
790
|
+
arrowTop: ro,
|
|
791
|
+
cart: no,
|
|
792
|
+
notifyme: so,
|
|
793
|
+
triangledown: ao,
|
|
794
|
+
triangleup: lo,
|
|
795
|
+
checkstroke: co,
|
|
796
|
+
pause: ho,
|
|
797
|
+
mapDualArrow: po,
|
|
798
|
+
swipeDualArrow: vo,
|
|
799
|
+
backToBag: yo,
|
|
800
|
+
checkbox: mo
|
|
801
|
+
}, xo = {
|
|
802
|
+
strikeDiagonal: uo
|
|
803
|
+
}, wo = {
|
|
804
|
+
success: fo,
|
|
805
|
+
error: bo,
|
|
806
|
+
info: go
|
|
807
807
|
};
|
|
808
808
|
/**
|
|
809
809
|
* @license
|
|
810
810
|
* Copyright 2017 Google LLC
|
|
811
811
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
812
812
|
*/
|
|
813
|
-
const
|
|
814
|
-
let
|
|
813
|
+
const qt = { ATTRIBUTE: 1, CHILD: 2 }, Zt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
814
|
+
let Kt = class {
|
|
815
815
|
constructor(t) {
|
|
816
816
|
}
|
|
817
817
|
get _$AU() {
|
|
818
818
|
return this._$AM._$AU;
|
|
819
819
|
}
|
|
820
|
-
_$AT(t, e,
|
|
821
|
-
this._$Ct = t, this._$AM = e, this._$Ci =
|
|
820
|
+
_$AT(t, e, r) {
|
|
821
|
+
this._$Ct = t, this._$AM = e, this._$Ci = r;
|
|
822
822
|
}
|
|
823
823
|
_$AS(t, e) {
|
|
824
824
|
return this.update(t, e);
|
|
@@ -832,9 +832,9 @@ let qt = class {
|
|
|
832
832
|
* Copyright 2017 Google LLC
|
|
833
833
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
834
834
|
*/
|
|
835
|
-
class
|
|
835
|
+
class Dt extends Kt {
|
|
836
836
|
constructor(t) {
|
|
837
|
-
if (super(t), this.it = d, t.type !==
|
|
837
|
+
if (super(t), this.it = d, t.type !== qt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
838
838
|
}
|
|
839
839
|
render(t) {
|
|
840
840
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
@@ -846,72 +846,72 @@ class Bt extends qt {
|
|
|
846
846
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
|
|
849
|
+
Dt.directiveName = "unsafeHTML", Dt.resultType = 1;
|
|
850
850
|
/**
|
|
851
851
|
* @license
|
|
852
852
|
* Copyright 2017 Google LLC
|
|
853
853
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
854
854
|
*/
|
|
855
|
-
class
|
|
855
|
+
class Ht extends Dt {
|
|
856
856
|
}
|
|
857
|
-
|
|
858
|
-
const
|
|
857
|
+
Ht.directiveName = "unsafeSVG", Ht.resultType = 2;
|
|
858
|
+
const _ = Zt(Ht);
|
|
859
859
|
/**
|
|
860
860
|
* @license
|
|
861
861
|
* Copyright 2020 Google LLC
|
|
862
862
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
863
863
|
*/
|
|
864
|
-
const
|
|
864
|
+
const $o = (o) => o.strings === void 0;
|
|
865
865
|
/**
|
|
866
866
|
* @license
|
|
867
867
|
* Copyright 2017 Google LLC
|
|
868
868
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
869
869
|
*/
|
|
870
870
|
const dt = (o, t) => {
|
|
871
|
-
var
|
|
871
|
+
var r;
|
|
872
872
|
const e = o._$AN;
|
|
873
873
|
if (e === void 0) return !1;
|
|
874
|
-
for (const i of e) (
|
|
874
|
+
for (const i of e) (r = i._$AO) == null || r.call(i, t, !1), dt(i, t);
|
|
875
875
|
return !0;
|
|
876
|
-
},
|
|
876
|
+
}, St = (o) => {
|
|
877
877
|
let t, e;
|
|
878
878
|
do {
|
|
879
879
|
if ((t = o._$AM) === void 0) break;
|
|
880
880
|
e = t._$AN, e.delete(o), o = t;
|
|
881
881
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
882
|
-
},
|
|
882
|
+
}, me = (o) => {
|
|
883
883
|
for (let t; t = o._$AM; o = t) {
|
|
884
884
|
let e = t._$AN;
|
|
885
885
|
if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
|
|
886
886
|
else if (e.has(o)) break;
|
|
887
|
-
e.add(o),
|
|
887
|
+
e.add(o), ko(t);
|
|
888
888
|
}
|
|
889
889
|
};
|
|
890
|
-
function
|
|
891
|
-
this._$AN !== void 0 ? (
|
|
890
|
+
function _o(o) {
|
|
891
|
+
this._$AN !== void 0 ? (St(this), this._$AM = o, me(this)) : this._$AM = o;
|
|
892
892
|
}
|
|
893
|
-
function
|
|
894
|
-
const
|
|
895
|
-
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(
|
|
896
|
-
else
|
|
893
|
+
function Co(o, t = !1, e = 0) {
|
|
894
|
+
const r = this._$AH, i = this._$AN;
|
|
895
|
+
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let n = e; n < r.length; n++) dt(r[n], !1), St(r[n]);
|
|
896
|
+
else r != null && (dt(r, !1), St(r));
|
|
897
897
|
else dt(this, o);
|
|
898
898
|
}
|
|
899
|
-
const
|
|
900
|
-
o.type ==
|
|
899
|
+
const ko = (o) => {
|
|
900
|
+
o.type == qt.CHILD && (o._$AP ?? (o._$AP = Co), o._$AQ ?? (o._$AQ = _o));
|
|
901
901
|
};
|
|
902
|
-
class
|
|
902
|
+
class So extends Kt {
|
|
903
903
|
constructor() {
|
|
904
904
|
super(...arguments), this._$AN = void 0;
|
|
905
905
|
}
|
|
906
|
-
_$AT(t, e,
|
|
907
|
-
super._$AT(t, e,
|
|
906
|
+
_$AT(t, e, r) {
|
|
907
|
+
super._$AT(t, e, r), me(this), this.isConnected = t._$AU;
|
|
908
908
|
}
|
|
909
909
|
_$AO(t, e = !0) {
|
|
910
|
-
var
|
|
911
|
-
t !== this.isConnected && (this.isConnected = t, t ? (
|
|
910
|
+
var r, i;
|
|
911
|
+
t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), e && (dt(this, t), St(this));
|
|
912
912
|
}
|
|
913
913
|
setValue(t) {
|
|
914
|
-
if (
|
|
914
|
+
if ($o(this._$Ct)) this._$Ct._$AI(t, this);
|
|
915
915
|
else {
|
|
916
916
|
const e = [...this._$Ct._$AH];
|
|
917
917
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -922,7 +922,7 @@ class Co extends qt {
|
|
|
922
922
|
reconnected() {
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
|
-
class
|
|
925
|
+
class Ao extends So {
|
|
926
926
|
constructor() {
|
|
927
927
|
super(...arguments), this.prevData = {};
|
|
928
928
|
}
|
|
@@ -930,49 +930,49 @@ class _o extends Co {
|
|
|
930
930
|
return d;
|
|
931
931
|
}
|
|
932
932
|
update(t, [e]) {
|
|
933
|
-
var
|
|
934
|
-
this.element !== t.element && (this.element = t.element), this.host = ((
|
|
933
|
+
var r;
|
|
934
|
+
this.element !== t.element && (this.element = t.element), this.host = ((r = t.options) === null || r === void 0 ? void 0 : r.host) || this.element, this.apply(e), this.groom(e), this.prevData = { ...e };
|
|
935
935
|
}
|
|
936
936
|
apply(t) {
|
|
937
937
|
if (!t)
|
|
938
938
|
return;
|
|
939
|
-
const { prevData: e, element:
|
|
939
|
+
const { prevData: e, element: r } = this;
|
|
940
940
|
for (const i in t) {
|
|
941
|
-
const
|
|
942
|
-
|
|
941
|
+
const n = t[i];
|
|
942
|
+
n !== e[i] && (r[i] = n);
|
|
943
943
|
}
|
|
944
944
|
}
|
|
945
945
|
groom(t) {
|
|
946
|
-
const { prevData: e, element:
|
|
946
|
+
const { prevData: e, element: r } = this;
|
|
947
947
|
if (e)
|
|
948
948
|
for (const i in e)
|
|
949
|
-
(!t || !(i in t) &&
|
|
949
|
+
(!t || !(i in t) && r[i] === e[i]) && (r[i] = void 0);
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
|
-
class
|
|
952
|
+
class Eo extends Ao {
|
|
953
953
|
constructor() {
|
|
954
954
|
super(...arguments), this.eventData = {};
|
|
955
955
|
}
|
|
956
956
|
apply(t) {
|
|
957
957
|
if (t)
|
|
958
958
|
for (const e in t) {
|
|
959
|
-
const
|
|
960
|
-
|
|
959
|
+
const r = t[e];
|
|
960
|
+
r !== this.eventData[e] && this.applyEvent(e, r);
|
|
961
961
|
}
|
|
962
962
|
}
|
|
963
963
|
applyEvent(t, e) {
|
|
964
|
-
const { prevData:
|
|
965
|
-
this.eventData[t] = e,
|
|
964
|
+
const { prevData: r, element: i } = this;
|
|
965
|
+
this.eventData[t] = e, r[t] && i.removeEventListener(t, this, e), i.addEventListener(t, this, e);
|
|
966
966
|
}
|
|
967
967
|
groom(t) {
|
|
968
|
-
const { prevData: e, element:
|
|
968
|
+
const { prevData: e, element: r } = this;
|
|
969
969
|
if (e)
|
|
970
970
|
for (const i in e)
|
|
971
|
-
(!t || !(i in t) &&
|
|
971
|
+
(!t || !(i in t) && r[i] === e[i]) && this.groomEvent(i, e[i]);
|
|
972
972
|
}
|
|
973
973
|
groomEvent(t, e) {
|
|
974
|
-
const { element:
|
|
975
|
-
delete this.eventData[t],
|
|
974
|
+
const { element: r } = this;
|
|
975
|
+
delete this.eventData[t], r.removeEventListener(t, this, e);
|
|
976
976
|
}
|
|
977
977
|
handleEvent(t) {
|
|
978
978
|
const e = this.eventData[t.type];
|
|
@@ -980,81 +980,81 @@ class ko extends _o {
|
|
|
980
980
|
}
|
|
981
981
|
disconnected() {
|
|
982
982
|
const { eventData: t, element: e } = this;
|
|
983
|
-
for (const
|
|
984
|
-
const i =
|
|
985
|
-
e.removeEventListener(i, this,
|
|
983
|
+
for (const r in t) {
|
|
984
|
+
const i = r.slice(1), n = t[r];
|
|
985
|
+
e.removeEventListener(i, this, n);
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
reconnected() {
|
|
989
989
|
const { eventData: t, element: e } = this;
|
|
990
|
-
for (const
|
|
991
|
-
const i =
|
|
992
|
-
e.addEventListener(i, this,
|
|
990
|
+
for (const r in t) {
|
|
991
|
+
const i = r.slice(1), n = t[r];
|
|
992
|
+
e.addEventListener(i, this, n);
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
|
-
class
|
|
996
|
+
class Lo extends Eo {
|
|
997
997
|
apply(t) {
|
|
998
998
|
if (!t)
|
|
999
999
|
return;
|
|
1000
|
-
const { prevData: e, element:
|
|
1000
|
+
const { prevData: e, element: r } = this;
|
|
1001
1001
|
for (const i in t) {
|
|
1002
|
-
const
|
|
1003
|
-
if (
|
|
1002
|
+
const n = t[i];
|
|
1003
|
+
if (n === e[i])
|
|
1004
1004
|
continue;
|
|
1005
1005
|
const s = i.slice(1);
|
|
1006
1006
|
switch (i[0]) {
|
|
1007
1007
|
case "@":
|
|
1008
|
-
this.eventData[s] =
|
|
1008
|
+
this.eventData[s] = n, this.applyEvent(s, n);
|
|
1009
1009
|
break;
|
|
1010
1010
|
case ".":
|
|
1011
|
-
|
|
1011
|
+
r[s] = n;
|
|
1012
1012
|
break;
|
|
1013
1013
|
case "?":
|
|
1014
|
-
|
|
1014
|
+
n ? r.setAttribute(s, "") : r.removeAttribute(s);
|
|
1015
1015
|
break;
|
|
1016
1016
|
default:
|
|
1017
|
-
|
|
1017
|
+
n != null ? r.setAttribute(i, String(n)) : r.removeAttribute(i);
|
|
1018
1018
|
break;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
1022
1022
|
groom(t) {
|
|
1023
|
-
const { prevData: e, element:
|
|
1023
|
+
const { prevData: e, element: r } = this;
|
|
1024
1024
|
if (e)
|
|
1025
1025
|
for (const i in e) {
|
|
1026
|
-
const
|
|
1027
|
-
if (!t || !(i in t) && n
|
|
1026
|
+
const n = i.slice(1);
|
|
1027
|
+
if (!t || !(i in t) && r[n] === e[i])
|
|
1028
1028
|
switch (i[0]) {
|
|
1029
1029
|
case "@":
|
|
1030
|
-
this.groomEvent(
|
|
1030
|
+
this.groomEvent(n, e[i]);
|
|
1031
1031
|
break;
|
|
1032
1032
|
case ".":
|
|
1033
|
-
n
|
|
1033
|
+
r[n] = void 0;
|
|
1034
1034
|
break;
|
|
1035
1035
|
case "?":
|
|
1036
|
-
|
|
1036
|
+
r.removeAttribute(n);
|
|
1037
1037
|
break;
|
|
1038
1038
|
default:
|
|
1039
|
-
|
|
1039
|
+
r.removeAttribute(i);
|
|
1040
1040
|
break;
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
|
-
const
|
|
1045
|
+
const de = Zt(Lo);
|
|
1046
1046
|
/**
|
|
1047
1047
|
* @license
|
|
1048
1048
|
* Copyright 2018 Google LLC
|
|
1049
1049
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1050
1050
|
*/
|
|
1051
|
-
const
|
|
1052
|
-
var
|
|
1053
|
-
for (var i =
|
|
1054
|
-
(s = o[
|
|
1055
|
-
return
|
|
1051
|
+
const S = (o) => o ?? d;
|
|
1052
|
+
var Po = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, H = (o, t, e, r) => {
|
|
1053
|
+
for (var i = r > 1 ? void 0 : r ? Oo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1054
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1055
|
+
return r && i && Po(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,27 +1062,27 @@ let S = class extends u {
|
|
|
1062
1062
|
super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
|
|
1063
1063
|
}
|
|
1064
1064
|
render() {
|
|
1065
|
-
const o =
|
|
1065
|
+
const o = F[this.icon] ?? "", t = `icon-${this.icon}`, e = o.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g, '<path part="icon-path"').replace(/<g\b/g, '<g part="icon-group"').replace(/<circle\b/g, '<circle part="icon-circle"'), r = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
|
|
1066
1066
|
return l`
|
|
1067
1067
|
${this.type === "span" ? l`
|
|
1068
1068
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
1069
|
-
${
|
|
1069
|
+
${_(e)}
|
|
1070
1070
|
</span>
|
|
1071
1071
|
` : l`
|
|
1072
1072
|
<button
|
|
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
|
>
|
|
1078
|
-
${
|
|
1079
|
-
${
|
|
1078
|
+
${_(e)}
|
|
1079
|
+
${r}
|
|
1080
1080
|
</button>
|
|
1081
1081
|
`}
|
|
1082
1082
|
`;
|
|
1083
1083
|
}
|
|
1084
1084
|
};
|
|
1085
|
-
|
|
1085
|
+
A.styles = v`
|
|
1086
1086
|
:host {
|
|
1087
1087
|
display: inline-flex;
|
|
1088
1088
|
justify-content: center;
|
|
@@ -1287,7 +1287,7 @@ S.styles = f`
|
|
|
1287
1287
|
}
|
|
1288
1288
|
|
|
1289
1289
|
.icon-button:focus-visible {
|
|
1290
|
-
${
|
|
1290
|
+
${ot}
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
.sr-only {
|
|
@@ -1296,46 +1296,46 @@ S.styles = f`
|
|
|
1296
1296
|
`;
|
|
1297
1297
|
H([
|
|
1298
1298
|
a({ type: String, reflect: !0 })
|
|
1299
|
-
],
|
|
1299
|
+
], A.prototype, "bgstyle", 2);
|
|
1300
1300
|
H([
|
|
1301
1301
|
a({ type: String, reflect: !0 })
|
|
1302
|
-
],
|
|
1302
|
+
], A.prototype, "size", 2);
|
|
1303
1303
|
H([
|
|
1304
1304
|
a({ type: String, reflect: !0 })
|
|
1305
|
-
],
|
|
1305
|
+
], A.prototype, "status", 2);
|
|
1306
1306
|
H([
|
|
1307
1307
|
a({ type: String, reflect: !0 })
|
|
1308
|
-
],
|
|
1308
|
+
], A.prototype, "type", 2);
|
|
1309
1309
|
H([
|
|
1310
1310
|
a({ type: String })
|
|
1311
|
-
],
|
|
1311
|
+
], A.prototype, "strokewidth", 2);
|
|
1312
1312
|
H([
|
|
1313
1313
|
a({ type: String })
|
|
1314
|
-
],
|
|
1314
|
+
], A.prototype, "icon", 2);
|
|
1315
1315
|
H([
|
|
1316
1316
|
a({ type: Boolean, reflect: !0 })
|
|
1317
|
-
],
|
|
1317
|
+
], A.prototype, "disabled", 2);
|
|
1318
1318
|
H([
|
|
1319
1319
|
a({ type: Boolean })
|
|
1320
|
-
],
|
|
1320
|
+
], A.prototype, "showSrLabel", 2);
|
|
1321
1321
|
H([
|
|
1322
1322
|
a({ type: String })
|
|
1323
|
-
],
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
],
|
|
1327
|
-
var
|
|
1328
|
-
for (var i =
|
|
1329
|
-
(s = o[
|
|
1330
|
-
return
|
|
1323
|
+
], A.prototype, "srLabel", 2);
|
|
1324
|
+
A = H([
|
|
1325
|
+
b("o-icon-button")
|
|
1326
|
+
], A);
|
|
1327
|
+
var Io = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, y = (o, t, e, r) => {
|
|
1328
|
+
for (var i = r > 1 ? void 0 : r ? zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1329
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1330
|
+
return r && i && Io(t, e, i), i;
|
|
1331
1331
|
};
|
|
1332
|
-
let
|
|
1332
|
+
let u = class extends p {
|
|
1333
1333
|
constructor() {
|
|
1334
1334
|
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._onOpenDetail = async (o) => {
|
|
1335
|
-
var e,
|
|
1335
|
+
var e, r;
|
|
1336
1336
|
const t = ((e = o.detail) == null ? void 0 : e.origin) ?? document.activeElement;
|
|
1337
1337
|
if (this._detailOriginEl = t, this._detailOriginClass = (t == null ? void 0 : t.className) ?? "", this.showDetail = !0, this.showHeaderStartIcon = !0, await this.updateComplete, this._detailOriginClass) {
|
|
1338
|
-
const i = (
|
|
1338
|
+
const i = (r = this.shadowRoot) == null ? void 0 : r.querySelector(".detail-view");
|
|
1339
1339
|
i && i.setAttribute("fromelement", this._detailOriginClass);
|
|
1340
1340
|
}
|
|
1341
1341
|
this._setPriceTabindex(), await this.focusDetailReturnBtn();
|
|
@@ -1348,23 +1348,23 @@ let p = class extends u {
|
|
|
1348
1348
|
const t = o.currentTarget, e = (t == null ? void 0 : t.getAttribute("data-role")) === "back";
|
|
1349
1349
|
if (this.showDetail && e) {
|
|
1350
1350
|
this.isHidingDetail = !0;
|
|
1351
|
-
const
|
|
1351
|
+
const r = this.renderRoot.querySelector(".content"), i = async () => {
|
|
1352
1352
|
this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1, await this.updateComplete, this._restoreFocusToOrigin();
|
|
1353
1353
|
};
|
|
1354
|
-
if (
|
|
1354
|
+
if (r) {
|
|
1355
1355
|
this.showHeaderStartIcon = !1;
|
|
1356
|
-
const
|
|
1357
|
-
this.showDetail = !1, this.isHidingDetail = !1,
|
|
1356
|
+
const n = () => {
|
|
1357
|
+
this.showDetail = !1, this.isHidingDetail = !1, r.removeEventListener("animationend", n), i();
|
|
1358
1358
|
};
|
|
1359
|
-
|
|
1359
|
+
r.addEventListener("animationend", n);
|
|
1360
1360
|
} else
|
|
1361
1361
|
this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1;
|
|
1362
1362
|
return;
|
|
1363
1363
|
}
|
|
1364
1364
|
this.closePanel();
|
|
1365
1365
|
}, this._onDetailSlotChange = (o) => {
|
|
1366
|
-
const
|
|
1367
|
-
|
|
1366
|
+
const r = o.target.assignedElements({ flatten: !0 }).flatMap((i) => Array.from(i.querySelectorAll("img")))[0];
|
|
1367
|
+
r == null || r.setAttribute("tabindex", "0");
|
|
1368
1368
|
};
|
|
1369
1369
|
}
|
|
1370
1370
|
connectedCallback() {
|
|
@@ -1376,7 +1376,7 @@ let p = class extends u {
|
|
|
1376
1376
|
document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
|
|
1377
1377
|
}
|
|
1378
1378
|
async focusDetailReturnBtn() {
|
|
1379
|
-
var
|
|
1379
|
+
var r, i, n, s;
|
|
1380
1380
|
await this.updateComplete;
|
|
1381
1381
|
const o = this.getDeepActiveElement(document);
|
|
1382
1382
|
if (o && o !== document.body)
|
|
@@ -1385,13 +1385,13 @@ let p = class extends u {
|
|
|
1385
1385
|
} catch {
|
|
1386
1386
|
}
|
|
1387
1387
|
await new Promise(requestAnimationFrame);
|
|
1388
|
-
const t = (
|
|
1388
|
+
const t = (r = this.shadowRoot) == null ? void 0 : r.querySelector(".detail-view .return-btn");
|
|
1389
1389
|
if (!t) return;
|
|
1390
|
-
t.updateComplete && await t.updateComplete, (s = (
|
|
1390
|
+
t.updateComplete && await t.updateComplete, (s = (n = ((i = t.shadowRoot) == null ? void 0 : i.querySelector("button")) ?? t) == null ? void 0 : n.focus) == null || s.call(n, { preventScroll: !0 });
|
|
1391
1391
|
}
|
|
1392
1392
|
_setPriceTabindex() {
|
|
1393
|
-
var
|
|
1394
|
-
const o = (
|
|
1393
|
+
var r;
|
|
1394
|
+
const o = (r = this.shadowRoot) == null ? void 0 : r.querySelector('slot[name="detail"]');
|
|
1395
1395
|
if (!o) return;
|
|
1396
1396
|
const e = o.assignedElements({ flatten: !0 }).flatMap(
|
|
1397
1397
|
(i) => Array.from(i.querySelectorAll(".m-product-price-standard"))
|
|
@@ -1418,10 +1418,10 @@ let p = class extends u {
|
|
|
1418
1418
|
const t = this.getDeepActiveElement(), e = this.renderRoot.querySelector(".close-btn");
|
|
1419
1419
|
if (!o.shiftKey && e && e.contains(t)) {
|
|
1420
1420
|
o.preventDefault();
|
|
1421
|
-
const
|
|
1421
|
+
const r = this.renderRoot.querySelector(
|
|
1422
1422
|
".o-whats-inside--content p"
|
|
1423
1423
|
);
|
|
1424
|
-
|
|
1424
|
+
r == null || r.focus();
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
1427
|
getFocusableElements() {
|
|
@@ -1432,16 +1432,16 @@ let p = class extends u {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
function e(i) {
|
|
1434
1434
|
var s;
|
|
1435
|
-
const
|
|
1435
|
+
const n = [i.matches(u.focusablesSelector) ? i : []];
|
|
1436
1436
|
if (!["o-icon-button", "o-button"].includes(i.tagName.toLowerCase())) {
|
|
1437
1437
|
const h = Array.from(
|
|
1438
1438
|
i instanceof HTMLSlotElement ? i.assignedElements({ flatten: !0 }) : []
|
|
1439
1439
|
).filter(t).flatMap(e), c = Array.from(
|
|
1440
1440
|
((s = i.shadowRoot) == null ? void 0 : s.querySelectorAll("*")) || []
|
|
1441
1441
|
).filter(t).flatMap(e);
|
|
1442
|
-
|
|
1442
|
+
n.push(...h, ...c);
|
|
1443
1443
|
}
|
|
1444
|
-
return
|
|
1444
|
+
return n.flat();
|
|
1445
1445
|
}
|
|
1446
1446
|
return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e);
|
|
1447
1447
|
}
|
|
@@ -1449,21 +1449,21 @@ let p = class extends u {
|
|
|
1449
1449
|
this.removeAttribute("hidden"), this.getBoundingClientRect(), this.previousFocusedElement = document.activeElement, this.open = !0, document.body.style.overflow = "hidden", document.body.setAttribute("data-side-panel", "open");
|
|
1450
1450
|
const o = this.renderRoot.querySelector(".panel");
|
|
1451
1451
|
o && o.setAttribute("aria-modal", "true"), this.updateComplete.then(() => {
|
|
1452
|
-
var t, e,
|
|
1452
|
+
var t, e, r, i;
|
|
1453
1453
|
if (this.showHeader) {
|
|
1454
|
-
const
|
|
1455
|
-
s && ((
|
|
1454
|
+
const n = ((t = this.shadowRoot) == null ? void 0 : t.querySelector(".panel .close-btn")) || null, s = ((e = n == null ? void 0 : n.shadowRoot) == null ? void 0 : e.querySelector("button")) || null;
|
|
1455
|
+
s && ((r = s.focus) == null || r.call(s));
|
|
1456
1456
|
} else {
|
|
1457
|
-
const
|
|
1458
|
-
(i =
|
|
1457
|
+
const n = this.getFocusableElements()[0];
|
|
1458
|
+
(i = n == null ? void 0 : n.focus) == null || i.call(n);
|
|
1459
1459
|
}
|
|
1460
1460
|
}), this.dispatchEvent(
|
|
1461
1461
|
new CustomEvent("open", { bubbles: !0, composed: !0 })
|
|
1462
1462
|
);
|
|
1463
1463
|
}
|
|
1464
1464
|
closePanel() {
|
|
1465
|
-
var t, e,
|
|
1466
|
-
this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((t = this.previousFocusedElement) == null ? void 0 : t.tagName.toLowerCase()) === "o-button" ? (i = (
|
|
1465
|
+
var t, e, r, i, n;
|
|
1466
|
+
this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((t = this.previousFocusedElement) == null ? void 0 : t.tagName.toLowerCase()) === "o-button" ? (i = (r = (e = this.previousFocusedElement.shadowRoot) == null ? void 0 : e.querySelector(".button")) == null ? void 0 : r.focus) == null || i.call(r) : (n = this.previousFocusedElement) == null || n.focus();
|
|
1467
1467
|
const o = this.renderRoot.querySelector(".panel");
|
|
1468
1468
|
o && o.removeAttribute("aria-modal"), this.dispatchEvent(
|
|
1469
1469
|
new CustomEvent("close", { bubbles: !0, composed: !0 })
|
|
@@ -1566,7 +1566,7 @@ let p = class extends u {
|
|
|
1566
1566
|
variant="${this.firstButtonVariant}"
|
|
1567
1567
|
@click=${this.handleFirstClick}
|
|
1568
1568
|
@keydown=${this.handleFirstClick}
|
|
1569
|
-
${
|
|
1569
|
+
${de(this.firstButtonProps)}
|
|
1570
1570
|
>
|
|
1571
1571
|
${this.firstButtonLabel}
|
|
1572
1572
|
</o-button>
|
|
@@ -1577,7 +1577,7 @@ let p = class extends u {
|
|
|
1577
1577
|
variant="${this.secondButtonVariant}"
|
|
1578
1578
|
@click=${this.handleSecondClick}
|
|
1579
1579
|
@keydown=${this.handleSecondClick}
|
|
1580
|
-
${
|
|
1580
|
+
${de(this.secondButtonProps)}
|
|
1581
1581
|
>
|
|
1582
1582
|
${this.secondButtonLabel}
|
|
1583
1583
|
</o-button>
|
|
@@ -1589,7 +1589,7 @@ let p = class extends u {
|
|
|
1589
1589
|
`;
|
|
1590
1590
|
}
|
|
1591
1591
|
};
|
|
1592
|
-
|
|
1592
|
+
u.styles = v`
|
|
1593
1593
|
:host {
|
|
1594
1594
|
--z-overlay: 99;
|
|
1595
1595
|
--z-panel: 100;
|
|
@@ -1691,7 +1691,7 @@ p.styles = f`
|
|
|
1691
1691
|
|
|
1692
1692
|
.panel:focus-visible,
|
|
1693
1693
|
.close-btn:focus-visible {
|
|
1694
|
-
${
|
|
1694
|
+
${ot}
|
|
1695
1695
|
}
|
|
1696
1696
|
|
|
1697
1697
|
[role="document"] {
|
|
@@ -1779,78 +1779,78 @@ p.styles = f`
|
|
|
1779
1779
|
padding: var(--spacing-xl);
|
|
1780
1780
|
}
|
|
1781
1781
|
`;
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1782
|
+
u.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
|
|
1783
|
+
u.focusablesCustomElementsSelector = "o-icon-button, o-button";
|
|
1784
|
+
y([
|
|
1785
1785
|
a({ type: Boolean, reflect: !0 })
|
|
1786
|
-
],
|
|
1787
|
-
|
|
1786
|
+
], u.prototype, "open", 2);
|
|
1787
|
+
y([
|
|
1788
1788
|
a({ type: Boolean, reflect: !0 })
|
|
1789
|
-
],
|
|
1790
|
-
|
|
1789
|
+
], u.prototype, "showHeader", 2);
|
|
1790
|
+
y([
|
|
1791
1791
|
a({ type: Boolean, reflect: !0 })
|
|
1792
|
-
],
|
|
1793
|
-
|
|
1792
|
+
], u.prototype, "showFooter", 2);
|
|
1793
|
+
y([
|
|
1794
1794
|
a({ type: Boolean, reflect: !0 })
|
|
1795
|
-
],
|
|
1796
|
-
|
|
1795
|
+
], u.prototype, "showHeaderStartIcon", 2);
|
|
1796
|
+
y([
|
|
1797
1797
|
a({ type: String, reflect: !0 })
|
|
1798
|
-
],
|
|
1799
|
-
|
|
1798
|
+
], u.prototype, "headerTitle", 2);
|
|
1799
|
+
y([
|
|
1800
1800
|
a({ type: String, reflect: !0 })
|
|
1801
|
-
],
|
|
1802
|
-
|
|
1801
|
+
], u.prototype, "headerTitleClassName", 2);
|
|
1802
|
+
y([
|
|
1803
1803
|
a({ type: String, reflect: !0 })
|
|
1804
|
-
],
|
|
1805
|
-
|
|
1804
|
+
], u.prototype, "closeButtonLabel", 2);
|
|
1805
|
+
y([
|
|
1806
1806
|
a({ type: String, reflect: !0 })
|
|
1807
|
-
],
|
|
1808
|
-
|
|
1807
|
+
], u.prototype, "firstButtonLabel", 2);
|
|
1808
|
+
y([
|
|
1809
1809
|
a({ type: String, reflect: !0 })
|
|
1810
|
-
],
|
|
1811
|
-
|
|
1810
|
+
], u.prototype, "firstButtonVariant", 2);
|
|
1811
|
+
y([
|
|
1812
1812
|
a({ type: Object, reflect: !0 })
|
|
1813
|
-
],
|
|
1814
|
-
|
|
1813
|
+
], u.prototype, "firstButtonProps", 2);
|
|
1814
|
+
y([
|
|
1815
1815
|
a({ type: Boolean, reflect: !0 })
|
|
1816
|
-
],
|
|
1817
|
-
|
|
1816
|
+
], u.prototype, "onFirstButtonClickClose", 2);
|
|
1817
|
+
y([
|
|
1818
1818
|
a({ type: String, reflect: !0 })
|
|
1819
|
-
],
|
|
1820
|
-
|
|
1819
|
+
], u.prototype, "secondButtonLabel", 2);
|
|
1820
|
+
y([
|
|
1821
1821
|
a({ type: String, reflect: !0 })
|
|
1822
|
-
],
|
|
1823
|
-
|
|
1822
|
+
], u.prototype, "secondButtonVariant", 2);
|
|
1823
|
+
y([
|
|
1824
1824
|
a({ type: Object, reflect: !0 })
|
|
1825
|
-
],
|
|
1826
|
-
|
|
1825
|
+
], u.prototype, "secondButtonProps", 2);
|
|
1826
|
+
y([
|
|
1827
1827
|
a({ type: Boolean, reflect: !0 })
|
|
1828
|
-
],
|
|
1829
|
-
|
|
1828
|
+
], u.prototype, "onSecondButtonClickClose", 2);
|
|
1829
|
+
y([
|
|
1830
1830
|
a({ type: Boolean, reflect: !0 })
|
|
1831
|
-
],
|
|
1832
|
-
|
|
1831
|
+
], u.prototype, "disablePortal", 2);
|
|
1832
|
+
y([
|
|
1833
1833
|
a({ type: Number, reflect: !0 })
|
|
1834
|
-
],
|
|
1835
|
-
|
|
1834
|
+
], u.prototype, "zIndex", 2);
|
|
1835
|
+
y([
|
|
1836
1836
|
a({ type: Boolean, reflect: !0 })
|
|
1837
|
-
],
|
|
1838
|
-
|
|
1837
|
+
], u.prototype, "initialized", 2);
|
|
1838
|
+
y([
|
|
1839
1839
|
a({ type: Boolean })
|
|
1840
|
-
],
|
|
1841
|
-
|
|
1840
|
+
], u.prototype, "showDetail", 2);
|
|
1841
|
+
y([
|
|
1842
1842
|
a({ type: Boolean })
|
|
1843
|
-
],
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
],
|
|
1847
|
-
var
|
|
1848
|
-
for (var i =
|
|
1849
|
-
(s = o[
|
|
1850
|
-
return
|
|
1843
|
+
], u.prototype, "isHidingDetail", 2);
|
|
1844
|
+
u = y([
|
|
1845
|
+
b("o-side-panel")
|
|
1846
|
+
], u);
|
|
1847
|
+
var Bo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, x = (o, t, e, r) => {
|
|
1848
|
+
for (var i = r > 1 ? void 0 : r ? Do(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1849
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1850
|
+
return r && i && Bo(t, e, i), i;
|
|
1851
1851
|
};
|
|
1852
|
-
const
|
|
1853
|
-
let
|
|
1852
|
+
const Ho = Vt(p);
|
|
1853
|
+
let g = class extends Ho {
|
|
1854
1854
|
constructor() {
|
|
1855
1855
|
super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "", this.endIconModel = "", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "", this.underlined = !1, this.withbadge = !1;
|
|
1856
1856
|
}
|
|
@@ -1861,12 +1861,12 @@ let b = class extends zo {
|
|
|
1861
1861
|
this.setAttribute("name", o);
|
|
1862
1862
|
}
|
|
1863
1863
|
get form() {
|
|
1864
|
-
return this[
|
|
1864
|
+
return this[Ut].form;
|
|
1865
1865
|
}
|
|
1866
1866
|
handleClick(o) {
|
|
1867
1867
|
if (!(o instanceof KeyboardEvent && !["Enter", " "].includes(o.key)) && this.panelTarget) {
|
|
1868
1868
|
const t = document.getElementById(this.panelTarget);
|
|
1869
|
-
t instanceof
|
|
1869
|
+
t instanceof u && (t != null && t.openPanel) && typeof t.openPanel == "function" ? (o.preventDefault(), t.openPanel()) : console.warn(`[o-button] No side panel with id="${this.panelTarget}" found or it does not have an openPanel method.`);
|
|
1870
1870
|
}
|
|
1871
1871
|
}
|
|
1872
1872
|
render() {
|
|
@@ -1875,11 +1875,11 @@ let b = class extends zo {
|
|
|
1875
1875
|
renderIcon(o) {
|
|
1876
1876
|
const t = o === "start" ? this.startIconModel : this.endIconModel;
|
|
1877
1877
|
if (!t) return d;
|
|
1878
|
-
const e =
|
|
1878
|
+
const e = F[t].replace(
|
|
1879
1879
|
"<svg",
|
|
1880
1880
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1881
1881
|
);
|
|
1882
|
-
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${
|
|
1882
|
+
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${_(e)}</span>`;
|
|
1883
1883
|
}
|
|
1884
1884
|
renderButton() {
|
|
1885
1885
|
const o = this.text || this.textsecond;
|
|
@@ -1918,9 +1918,9 @@ let b = class extends zo {
|
|
|
1918
1918
|
`;
|
|
1919
1919
|
}
|
|
1920
1920
|
};
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1921
|
+
Ue(g);
|
|
1922
|
+
g.formAssociated = !0;
|
|
1923
|
+
g.styles = v`
|
|
1924
1924
|
:host {
|
|
1925
1925
|
--button-border: transparent;
|
|
1926
1926
|
--badge-outer-width: 19px;
|
|
@@ -2037,7 +2037,7 @@ b.styles = f`
|
|
|
2037
2037
|
}
|
|
2038
2038
|
|
|
2039
2039
|
.button:focus-visible {
|
|
2040
|
-
${
|
|
2040
|
+
${ot};
|
|
2041
2041
|
}
|
|
2042
2042
|
|
|
2043
2043
|
span.text + span.text::before {
|
|
@@ -2124,61 +2124,61 @@ b.styles = f`
|
|
|
2124
2124
|
`;
|
|
2125
2125
|
x([
|
|
2126
2126
|
a()
|
|
2127
|
-
],
|
|
2127
|
+
], g.prototype, "type", 2);
|
|
2128
2128
|
x([
|
|
2129
2129
|
a()
|
|
2130
|
-
],
|
|
2130
|
+
], g.prototype, "value", 2);
|
|
2131
2131
|
x([
|
|
2132
2132
|
a({ type: String, reflect: !0 })
|
|
2133
|
-
],
|
|
2133
|
+
], g.prototype, "variant", 2);
|
|
2134
2134
|
x([
|
|
2135
2135
|
a({ type: String })
|
|
2136
|
-
],
|
|
2136
|
+
], g.prototype, "text", 2);
|
|
2137
2137
|
x([
|
|
2138
2138
|
a({ type: String })
|
|
2139
|
-
],
|
|
2139
|
+
], g.prototype, "textsecond", 2);
|
|
2140
2140
|
x([
|
|
2141
2141
|
a({ type: Boolean, reflect: !0 })
|
|
2142
|
-
],
|
|
2142
|
+
], g.prototype, "fullwidth", 2);
|
|
2143
2143
|
x([
|
|
2144
2144
|
a({ type: Boolean, reflect: !0 })
|
|
2145
|
-
],
|
|
2145
|
+
], g.prototype, "disabled", 2);
|
|
2146
2146
|
x([
|
|
2147
2147
|
a({ type: String })
|
|
2148
|
-
],
|
|
2148
|
+
], g.prototype, "startIconModel", 2);
|
|
2149
2149
|
x([
|
|
2150
2150
|
a({ type: String })
|
|
2151
|
-
],
|
|
2151
|
+
], g.prototype, "endIconModel", 2);
|
|
2152
2152
|
x([
|
|
2153
2153
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
2154
|
-
],
|
|
2154
|
+
], g.prototype, "startIcon", 2);
|
|
2155
2155
|
x([
|
|
2156
2156
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
2157
|
-
],
|
|
2157
|
+
], g.prototype, "endIcon", 2);
|
|
2158
2158
|
x([
|
|
2159
2159
|
a({ type: String, attribute: "paneltarget" })
|
|
2160
|
-
],
|
|
2160
|
+
], g.prototype, "panelTarget", 2);
|
|
2161
2161
|
x([
|
|
2162
2162
|
a({ type: String })
|
|
2163
|
-
],
|
|
2163
|
+
], g.prototype, "href", 2);
|
|
2164
2164
|
x([
|
|
2165
2165
|
a({ type: String })
|
|
2166
|
-
],
|
|
2166
|
+
], g.prototype, "target", 2);
|
|
2167
2167
|
x([
|
|
2168
2168
|
a({ type: Boolean, reflect: !0 })
|
|
2169
|
-
],
|
|
2169
|
+
], g.prototype, "underlined", 2);
|
|
2170
2170
|
x([
|
|
2171
2171
|
a({ type: Boolean, reflect: !0 })
|
|
2172
|
-
],
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
],
|
|
2176
|
-
var
|
|
2177
|
-
for (var i =
|
|
2178
|
-
(s = o[
|
|
2179
|
-
return
|
|
2172
|
+
], g.prototype, "withbadge", 2);
|
|
2173
|
+
g = x([
|
|
2174
|
+
b("o-button")
|
|
2175
|
+
], g);
|
|
2176
|
+
var To = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, Et = (o, t, e, r) => {
|
|
2177
|
+
for (var i = r > 1 ? void 0 : r ? Mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2178
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2179
|
+
return r && i && To(t, e, i), i;
|
|
2180
2180
|
};
|
|
2181
|
-
let
|
|
2181
|
+
let st = class extends p {
|
|
2182
2182
|
constructor() {
|
|
2183
2183
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
2184
2184
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -2198,14 +2198,14 @@ let rt = class extends u {
|
|
|
2198
2198
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.toggleStatus());
|
|
2199
2199
|
}
|
|
2200
2200
|
render() {
|
|
2201
|
-
const o =
|
|
2201
|
+
const o = F.wishlist.replace(
|
|
2202
2202
|
"<svg",
|
|
2203
2203
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
2204
2204
|
);
|
|
2205
2205
|
return l`
|
|
2206
2206
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
2207
2207
|
<span class="sr-only">${this.label}</span>
|
|
2208
|
-
${
|
|
2208
|
+
${_(o)}
|
|
2209
2209
|
</button>
|
|
2210
2210
|
`;
|
|
2211
2211
|
}
|
|
@@ -2219,7 +2219,7 @@ let rt = class extends u {
|
|
|
2219
2219
|
this.label = o, this.requestUpdate();
|
|
2220
2220
|
}
|
|
2221
2221
|
};
|
|
2222
|
-
|
|
2222
|
+
st.styles = v`
|
|
2223
2223
|
:host {
|
|
2224
2224
|
display: inline-flex;
|
|
2225
2225
|
justify-content: center;
|
|
@@ -2249,7 +2249,7 @@ rt.styles = f`
|
|
|
2249
2249
|
}
|
|
2250
2250
|
|
|
2251
2251
|
.wishlist-button:focus-visible {
|
|
2252
|
-
${
|
|
2252
|
+
${ot};
|
|
2253
2253
|
}
|
|
2254
2254
|
|
|
2255
2255
|
.wishlist-button:hover svg path {
|
|
@@ -2284,24 +2284,24 @@ rt.styles = f`
|
|
|
2284
2284
|
white-space: nowrap !important;
|
|
2285
2285
|
}
|
|
2286
2286
|
`;
|
|
2287
|
-
|
|
2287
|
+
Et([
|
|
2288
2288
|
a({ type: String, reflect: !0 })
|
|
2289
|
-
],
|
|
2290
|
-
|
|
2289
|
+
], st.prototype, "status", 2);
|
|
2290
|
+
Et([
|
|
2291
2291
|
a({ type: String, reflect: !0 })
|
|
2292
|
-
],
|
|
2293
|
-
|
|
2292
|
+
], st.prototype, "ariaDescribedBy", 2);
|
|
2293
|
+
Et([
|
|
2294
2294
|
a({ type: String, reflect: !0 })
|
|
2295
|
-
],
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
],
|
|
2299
|
-
var
|
|
2300
|
-
for (var i =
|
|
2301
|
-
(s = o[
|
|
2302
|
-
return
|
|
2295
|
+
], st.prototype, "label", 2);
|
|
2296
|
+
st = Et([
|
|
2297
|
+
b("o-wishlist-button")
|
|
2298
|
+
], st);
|
|
2299
|
+
var jo = Object.defineProperty, Ro = Object.getOwnPropertyDescriptor, it = (o, t, e, r) => {
|
|
2300
|
+
for (var i = r > 1 ? void 0 : r ? Ro(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2301
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2302
|
+
return r && i && jo(t, e, i), i;
|
|
2303
2303
|
};
|
|
2304
|
-
let
|
|
2304
|
+
let U = class extends p {
|
|
2305
2305
|
constructor() {
|
|
2306
2306
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
2307
2307
|
}
|
|
@@ -2313,7 +2313,7 @@ let F = class extends u {
|
|
|
2313
2313
|
return l`
|
|
2314
2314
|
<a
|
|
2315
2315
|
href="${o}"
|
|
2316
|
-
target="${
|
|
2316
|
+
target="${S(this.target || void 0)}"
|
|
2317
2317
|
@click="${this._handleClick}"
|
|
2318
2318
|
>
|
|
2319
2319
|
${this.endIcon && this.reverseEndIcon ? l`
|
|
@@ -2339,7 +2339,7 @@ let F = class extends u {
|
|
|
2339
2339
|
`;
|
|
2340
2340
|
}
|
|
2341
2341
|
};
|
|
2342
|
-
|
|
2342
|
+
U.styles = v`
|
|
2343
2343
|
:host([template="standard"]) a {
|
|
2344
2344
|
color: var(--color-content-action-secondary);
|
|
2345
2345
|
font-size: var(--font-size-200);
|
|
@@ -2427,33 +2427,33 @@ F.styles = f`
|
|
|
2427
2427
|
}
|
|
2428
2428
|
/* End of underline effect */
|
|
2429
2429
|
`;
|
|
2430
|
-
|
|
2430
|
+
it([
|
|
2431
2431
|
a({ type: String })
|
|
2432
|
-
],
|
|
2433
|
-
|
|
2432
|
+
], U.prototype, "href", 2);
|
|
2433
|
+
it([
|
|
2434
2434
|
a({ type: String })
|
|
2435
|
-
],
|
|
2436
|
-
|
|
2435
|
+
], U.prototype, "target", 2);
|
|
2436
|
+
it([
|
|
2437
2437
|
a({ type: String, reflect: !0 })
|
|
2438
|
-
],
|
|
2439
|
-
|
|
2438
|
+
], U.prototype, "template", 2);
|
|
2439
|
+
it([
|
|
2440
2440
|
a({ type: Boolean, reflect: !0 })
|
|
2441
|
-
],
|
|
2442
|
-
|
|
2441
|
+
], U.prototype, "inverse", 2);
|
|
2442
|
+
it([
|
|
2443
2443
|
a({ type: Boolean, reflect: !0 })
|
|
2444
|
-
],
|
|
2445
|
-
|
|
2444
|
+
], U.prototype, "endIcon", 2);
|
|
2445
|
+
it([
|
|
2446
2446
|
a({ type: Boolean, reflect: !0 })
|
|
2447
|
-
],
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
],
|
|
2451
|
-
var
|
|
2452
|
-
for (var i =
|
|
2453
|
-
(s = o[
|
|
2454
|
-
return
|
|
2447
|
+
], U.prototype, "reverseEndIcon", 2);
|
|
2448
|
+
U = it([
|
|
2449
|
+
b("o-link")
|
|
2450
|
+
], U);
|
|
2451
|
+
var No = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, Lt = (o, t, e, r) => {
|
|
2452
|
+
for (var i = r > 1 ? void 0 : r ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2453
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2454
|
+
return r && i && No(t, e, i), i;
|
|
2455
2455
|
};
|
|
2456
|
-
let
|
|
2456
|
+
let at = class extends p {
|
|
2457
2457
|
constructor() {
|
|
2458
2458
|
super(...arguments), this.rating = 0;
|
|
2459
2459
|
}
|
|
@@ -2461,8 +2461,8 @@ let st = class extends u {
|
|
|
2461
2461
|
const o = [];
|
|
2462
2462
|
for (let t = 0; t < 5; t++) {
|
|
2463
2463
|
const e = this.rating - t;
|
|
2464
|
-
let
|
|
2465
|
-
e >= 1 ?
|
|
2464
|
+
let r;
|
|
2465
|
+
e >= 1 ? r = 100 : e <= 0 ? r = 0 : r = Math.round(e * 100 / 25) * 25, o.push(`star-${r}`);
|
|
2466
2466
|
}
|
|
2467
2467
|
return o;
|
|
2468
2468
|
}
|
|
@@ -2472,7 +2472,7 @@ let st = class extends u {
|
|
|
2472
2472
|
<div class="rating">
|
|
2473
2473
|
<div class="stars">
|
|
2474
2474
|
${o.map(
|
|
2475
|
-
(t) => l`<span class="star">${
|
|
2475
|
+
(t) => l`<span class="star">${_(F[t] ?? "")}</span>`
|
|
2476
2476
|
)}
|
|
2477
2477
|
</div>
|
|
2478
2478
|
${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -2480,7 +2480,7 @@ let st = class extends u {
|
|
|
2480
2480
|
`;
|
|
2481
2481
|
}
|
|
2482
2482
|
};
|
|
2483
|
-
|
|
2483
|
+
at.styles = v`
|
|
2484
2484
|
svg {
|
|
2485
2485
|
width: 12px;
|
|
2486
2486
|
height: 12px;
|
|
@@ -2514,24 +2514,24 @@ st.styles = f`
|
|
|
2514
2514
|
cursor: pointer;
|
|
2515
2515
|
}
|
|
2516
2516
|
`;
|
|
2517
|
-
|
|
2517
|
+
Lt([
|
|
2518
2518
|
a({ type: Number })
|
|
2519
|
-
],
|
|
2520
|
-
|
|
2519
|
+
], at.prototype, "rating", 2);
|
|
2520
|
+
Lt([
|
|
2521
2521
|
a({ type: String })
|
|
2522
|
-
],
|
|
2523
|
-
|
|
2522
|
+
], at.prototype, "reviewCount", 2);
|
|
2523
|
+
Lt([
|
|
2524
2524
|
a({ type: String })
|
|
2525
|
-
],
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
],
|
|
2529
|
-
var
|
|
2530
|
-
for (var i =
|
|
2531
|
-
(s = o[
|
|
2532
|
-
return
|
|
2525
|
+
], at.prototype, "href", 2);
|
|
2526
|
+
at = Lt([
|
|
2527
|
+
b("o-rating")
|
|
2528
|
+
], at);
|
|
2529
|
+
var Uo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, X = (o, t, e, r) => {
|
|
2530
|
+
for (var i = r > 1 ? void 0 : r ? Vo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2531
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2532
|
+
return r && i && Uo(t, e, i), i;
|
|
2533
2533
|
};
|
|
2534
|
-
let D = class extends
|
|
2534
|
+
let D = class extends p {
|
|
2535
2535
|
constructor() {
|
|
2536
2536
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2537
2537
|
<o-icon-button
|
|
@@ -2584,8 +2584,8 @@ let D = class extends u {
|
|
|
2584
2584
|
}), t.classList.add("a--tabfocus"), this.requestUpdate();
|
|
2585
2585
|
}
|
|
2586
2586
|
onFocusOut(o) {
|
|
2587
|
-
const t = o.currentTarget, e = Number(t.dataset.index),
|
|
2588
|
-
(!
|
|
2587
|
+
const t = o.currentTarget, e = Number(t.dataset.index), r = o.relatedTarget;
|
|
2588
|
+
(!r || this.shadowRoot && !this.shadowRoot.contains(r)) && (this.renderRoot.querySelectorAll(".thumb").forEach((s) => s.classList.remove("a--tabfocus")), e === this.lastIndex ? this.dispatchEvent(new CustomEvent("thumb-exit", {
|
|
2589
2589
|
detail: { from: "last", direction: "unspecified" },
|
|
2590
2590
|
bubbles: !0,
|
|
2591
2591
|
composed: !0
|
|
@@ -2599,20 +2599,20 @@ let D = class extends u {
|
|
|
2599
2599
|
return l`
|
|
2600
2600
|
<ul class="scroll-container" style="max-width: ${this.maxWidth};">
|
|
2601
2601
|
${this.thumbnails.map((o, t) => {
|
|
2602
|
-
const e = this.disabledIndexes.includes(t),
|
|
2602
|
+
const e = this.disabledIndexes.includes(t), r = this.activeIndex === t, i = o.type === "video", n = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
|
|
2603
2603
|
return l`
|
|
2604
2604
|
<li class="thumb-wrapper">
|
|
2605
2605
|
<button
|
|
2606
2606
|
class="thumb"
|
|
2607
2607
|
data-index="${t}"
|
|
2608
2608
|
?disabled=${e}
|
|
2609
|
-
aria-current=${
|
|
2609
|
+
aria-current=${r ? "true" : "false"}
|
|
2610
2610
|
@click=${() => this.selectThumbnail(t)}
|
|
2611
2611
|
@keydown=${this.handleKeyDown}
|
|
2612
2612
|
@focus=${(s) => this.onFocus(s)}
|
|
2613
2613
|
@focusout=${(s) => this.onFocusOut(s)}
|
|
2614
2614
|
>
|
|
2615
|
-
<img alt="${
|
|
2615
|
+
<img alt="${n}" src="${o.src}" />
|
|
2616
2616
|
</button>
|
|
2617
2617
|
${i ? l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
|
|
2618
2618
|
</li>
|
|
@@ -2622,7 +2622,7 @@ let D = class extends u {
|
|
|
2622
2622
|
`;
|
|
2623
2623
|
}
|
|
2624
2624
|
};
|
|
2625
|
-
D.styles =
|
|
2625
|
+
D.styles = v`
|
|
2626
2626
|
:host {
|
|
2627
2627
|
display: flex;
|
|
2628
2628
|
gap: 5px;
|
|
@@ -2750,14 +2750,14 @@ X([
|
|
|
2750
2750
|
et()
|
|
2751
2751
|
], D.prototype, "focusedIndex", 2);
|
|
2752
2752
|
D = X([
|
|
2753
|
-
|
|
2753
|
+
b("thumbnail-navigation")
|
|
2754
2754
|
], D);
|
|
2755
|
-
var
|
|
2756
|
-
for (var i =
|
|
2757
|
-
(s = o[
|
|
2758
|
-
return
|
|
2755
|
+
var qo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, Wt = (o, t, e, r) => {
|
|
2756
|
+
for (var i = r > 1 ? void 0 : r ? Zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2757
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2758
|
+
return r && i && qo(t, e, i), i;
|
|
2759
2759
|
};
|
|
2760
|
-
let ft = class extends
|
|
2760
|
+
let ft = class extends p {
|
|
2761
2761
|
constructor() {
|
|
2762
2762
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2763
2763
|
}
|
|
@@ -2767,7 +2767,7 @@ let ft = class extends u {
|
|
|
2767
2767
|
`;
|
|
2768
2768
|
}
|
|
2769
2769
|
};
|
|
2770
|
-
ft.styles =
|
|
2770
|
+
ft.styles = v`
|
|
2771
2771
|
.tag {
|
|
2772
2772
|
display: inline-block;
|
|
2773
2773
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2825,21 +2825,21 @@ ft.styles = f`
|
|
|
2825
2825
|
}
|
|
2826
2826
|
|
|
2827
2827
|
`;
|
|
2828
|
-
|
|
2828
|
+
Wt([
|
|
2829
2829
|
a({ type: String, reflect: !0 })
|
|
2830
2830
|
], ft.prototype, "type", 2);
|
|
2831
|
-
|
|
2831
|
+
Wt([
|
|
2832
2832
|
a({ type: String, reflect: !0 })
|
|
2833
2833
|
], ft.prototype, "bgstyle", 2);
|
|
2834
|
-
ft =
|
|
2835
|
-
|
|
2834
|
+
ft = Wt([
|
|
2835
|
+
b("o-tag")
|
|
2836
2836
|
], ft);
|
|
2837
|
-
var
|
|
2838
|
-
for (var i =
|
|
2839
|
-
(s = o[
|
|
2840
|
-
return
|
|
2837
|
+
var Ko = Object.defineProperty, Wo = Object.getOwnPropertyDescriptor, Gt = (o, t, e, r) => {
|
|
2838
|
+
for (var i = r > 1 ? void 0 : r ? Wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2839
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2840
|
+
return r && i && Ko(t, e, i), i;
|
|
2841
2841
|
};
|
|
2842
|
-
let bt = class extends
|
|
2842
|
+
let bt = class extends p {
|
|
2843
2843
|
constructor() {
|
|
2844
2844
|
super(...arguments), this.type = "top", this.text = "";
|
|
2845
2845
|
}
|
|
@@ -2852,7 +2852,7 @@ let bt = class extends u {
|
|
|
2852
2852
|
`;
|
|
2853
2853
|
}
|
|
2854
2854
|
};
|
|
2855
|
-
bt.styles =
|
|
2855
|
+
bt.styles = v`
|
|
2856
2856
|
.tooltip {
|
|
2857
2857
|
position: relative;
|
|
2858
2858
|
display: inline-block;
|
|
@@ -2945,21 +2945,21 @@ bt.styles = f`
|
|
|
2945
2945
|
}
|
|
2946
2946
|
|
|
2947
2947
|
`;
|
|
2948
|
-
|
|
2948
|
+
Gt([
|
|
2949
2949
|
a({ type: String, reflect: !0 })
|
|
2950
2950
|
], bt.prototype, "type", 2);
|
|
2951
|
-
|
|
2951
|
+
Gt([
|
|
2952
2952
|
a({ type: String, reflect: !0 })
|
|
2953
2953
|
], bt.prototype, "text", 2);
|
|
2954
|
-
bt =
|
|
2955
|
-
|
|
2954
|
+
bt = Gt([
|
|
2955
|
+
b("o-tooltip")
|
|
2956
2956
|
], bt);
|
|
2957
|
-
var
|
|
2958
|
-
for (var i =
|
|
2959
|
-
(s = o[
|
|
2960
|
-
return
|
|
2957
|
+
var Go = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, V = (o, t, e, r) => {
|
|
2958
|
+
for (var i = r > 1 ? void 0 : r ? Xo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2959
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2960
|
+
return r && i && Go(t, e, i), i;
|
|
2961
2961
|
};
|
|
2962
|
-
let z = class extends
|
|
2962
|
+
let z = class extends p {
|
|
2963
2963
|
constructor() {
|
|
2964
2964
|
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) => {
|
|
2965
2965
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3025,7 +3025,7 @@ let z = class extends u {
|
|
|
3025
3025
|
this.options.length > 0 && (this.options.some((e) => e.value === this.value) || (this.value = this.options[0].value));
|
|
3026
3026
|
}
|
|
3027
3027
|
render() {
|
|
3028
|
-
const o =
|
|
3028
|
+
const o = F.checkstroke.replace(
|
|
3029
3029
|
"<svg",
|
|
3030
3030
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3031
3031
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -3058,22 +3058,22 @@ let z = class extends u {
|
|
|
3058
3058
|
style=${`width: ${this.width};`}
|
|
3059
3059
|
>
|
|
3060
3060
|
${this.options.map(
|
|
3061
|
-
(e,
|
|
3061
|
+
(e, r) => l`
|
|
3062
3062
|
<li
|
|
3063
|
-
id="option-${
|
|
3063
|
+
id="option-${r}"
|
|
3064
3064
|
role="option"
|
|
3065
3065
|
aria-selected="${e.value === this.value}"
|
|
3066
|
-
tabindex="${
|
|
3067
|
-
class="${
|
|
3066
|
+
tabindex="${r === this.activeIndex ? "0" : "-1"}"
|
|
3067
|
+
class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
3068
3068
|
@click=${() => this.selectOption(e)}
|
|
3069
3069
|
>
|
|
3070
3070
|
${e.url ? l`
|
|
3071
3071
|
<a href="${e.url}">
|
|
3072
3072
|
<span>${e.label}</span>
|
|
3073
|
-
${e.value === this.value ? l`<span class="check">${
|
|
3073
|
+
${e.value === this.value ? l`<span class="check">${_(o)}</span>` : null}
|
|
3074
3074
|
</a>` : l`
|
|
3075
3075
|
<span>${e.label}</span>
|
|
3076
|
-
${e.value === this.value ? l`<span class="check">${
|
|
3076
|
+
${e.value === this.value ? l`<span class="check">${_(o)}</span>` : null}`}
|
|
3077
3077
|
</li>`
|
|
3078
3078
|
)}
|
|
3079
3079
|
</ul>` : null}
|
|
@@ -3082,7 +3082,7 @@ let z = class extends u {
|
|
|
3082
3082
|
`;
|
|
3083
3083
|
}
|
|
3084
3084
|
};
|
|
3085
|
-
z.styles =
|
|
3085
|
+
z.styles = v`
|
|
3086
3086
|
:host {
|
|
3087
3087
|
display: inline-block;
|
|
3088
3088
|
position: relative;
|
|
@@ -3222,44 +3222,44 @@ z.styles = f`
|
|
|
3222
3222
|
display: none;
|
|
3223
3223
|
}
|
|
3224
3224
|
`;
|
|
3225
|
-
|
|
3225
|
+
V([
|
|
3226
3226
|
a({ type: Array, reflect: !0 })
|
|
3227
3227
|
], z.prototype, "options", 2);
|
|
3228
|
-
|
|
3228
|
+
V([
|
|
3229
3229
|
a({ type: String, reflect: !0 })
|
|
3230
3230
|
], z.prototype, "value", 2);
|
|
3231
|
-
|
|
3231
|
+
V([
|
|
3232
3232
|
a({ type: String, reflect: !0 })
|
|
3233
3233
|
], z.prototype, "name", 2);
|
|
3234
|
-
|
|
3234
|
+
V([
|
|
3235
3235
|
a({ type: Boolean, reflect: !0 })
|
|
3236
3236
|
], z.prototype, "disabled", 2);
|
|
3237
|
-
|
|
3237
|
+
V([
|
|
3238
3238
|
a({ type: String, reflect: !0 })
|
|
3239
3239
|
], z.prototype, "width", 2);
|
|
3240
|
-
|
|
3240
|
+
V([
|
|
3241
3241
|
et()
|
|
3242
3242
|
], z.prototype, "open", 2);
|
|
3243
|
-
|
|
3243
|
+
V([
|
|
3244
3244
|
et()
|
|
3245
3245
|
], z.prototype, "activeIndex", 2);
|
|
3246
|
-
|
|
3246
|
+
V([
|
|
3247
3247
|
et()
|
|
3248
3248
|
], z.prototype, "menuWidth", 2);
|
|
3249
|
-
z =
|
|
3250
|
-
|
|
3249
|
+
z = V([
|
|
3250
|
+
b("o-dropdown")
|
|
3251
3251
|
], z);
|
|
3252
|
-
var
|
|
3253
|
-
for (var i =
|
|
3254
|
-
(s = o[
|
|
3252
|
+
var Jo = Object.getOwnPropertyDescriptor, Qo = (o, t, e, r) => {
|
|
3253
|
+
for (var i = r > 1 ? void 0 : r ? Jo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3254
|
+
(s = o[n]) && (i = s(i) || i);
|
|
3255
3255
|
return i;
|
|
3256
3256
|
};
|
|
3257
|
-
let
|
|
3257
|
+
let Tt = class extends p {
|
|
3258
3258
|
render() {
|
|
3259
3259
|
return l` <span class="dots"></span> `;
|
|
3260
3260
|
}
|
|
3261
3261
|
};
|
|
3262
|
-
|
|
3262
|
+
Tt.styles = v`
|
|
3263
3263
|
:host {
|
|
3264
3264
|
display: flex;
|
|
3265
3265
|
align-items: center;
|
|
@@ -3311,15 +3311,15 @@ Ht.styles = f`
|
|
|
3311
3311
|
}
|
|
3312
3312
|
}
|
|
3313
3313
|
`;
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
],
|
|
3317
|
-
var
|
|
3318
|
-
for (var i =
|
|
3319
|
-
(s = o[
|
|
3320
|
-
return
|
|
3314
|
+
Tt = Qo([
|
|
3315
|
+
b("o-dots")
|
|
3316
|
+
], Tt);
|
|
3317
|
+
var Yo = Object.defineProperty, ti = Object.getOwnPropertyDescriptor, T = (o, t, e, r) => {
|
|
3318
|
+
for (var i = r > 1 ? void 0 : r ? ti(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3319
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3320
|
+
return r && i && Yo(t, e, i), i;
|
|
3321
3321
|
};
|
|
3322
|
-
let
|
|
3322
|
+
let E = class extends p {
|
|
3323
3323
|
constructor() {
|
|
3324
3324
|
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) => {
|
|
3325
3325
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3385,7 +3385,7 @@ let A = class extends u {
|
|
|
3385
3385
|
this.options.length > 0 && (this.options.some((t) => t.value === this.value) || (this.value = this.options[0].value));
|
|
3386
3386
|
}
|
|
3387
3387
|
render() {
|
|
3388
|
-
const o =
|
|
3388
|
+
const o = F.checkstroke.replace(
|
|
3389
3389
|
"<svg",
|
|
3390
3390
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3391
3391
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -3403,7 +3403,7 @@ let A = class extends u {
|
|
|
3403
3403
|
?disabled=${this.disabled}
|
|
3404
3404
|
class="btn-dropdown"
|
|
3405
3405
|
>
|
|
3406
|
-
<img alt="${
|
|
3406
|
+
<img alt="${S(t == null ? void 0 : t.label)}" src="${S(t == null ? void 0 : t.imgurl)}" />
|
|
3407
3407
|
<span id="dropdown-label" class="label">
|
|
3408
3408
|
${t ? t.label : "Select an option"}
|
|
3409
3409
|
</span>
|
|
@@ -3428,23 +3428,23 @@ let A = class extends u {
|
|
|
3428
3428
|
style=${`width: ${this.width};`}
|
|
3429
3429
|
>
|
|
3430
3430
|
${this.options.map(
|
|
3431
|
-
(e,
|
|
3431
|
+
(e, r) => l`
|
|
3432
3432
|
<li
|
|
3433
|
-
id="option-${
|
|
3433
|
+
id="option-${r}"
|
|
3434
3434
|
role="option"
|
|
3435
3435
|
aria-selected="${e.value === this.value}"
|
|
3436
3436
|
aria-disabled="${e.disabled ? "true" : "false"}"
|
|
3437
|
-
tabindex="${
|
|
3438
|
-
class="${
|
|
3437
|
+
tabindex="${r === this.activeIndex ? "0" : "-1"}"
|
|
3438
|
+
class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
3439
3439
|
@click=${() => this.selectOption(e)}
|
|
3440
3440
|
>
|
|
3441
|
-
<a href="${
|
|
3442
|
-
<img alt="${
|
|
3441
|
+
<a href="${S(e.url)}">
|
|
3442
|
+
<img alt="${S(e.label)}" src="${S(e.imgurl)}" />
|
|
3443
3443
|
<span class="label">${e.label}</span>
|
|
3444
3444
|
<div class="right">
|
|
3445
|
-
<span class="additional-text">${
|
|
3445
|
+
<span class="additional-text">${S(e.additionaltext)}</span>
|
|
3446
3446
|
${e.value === this.value && !e.additionaltext ? l`
|
|
3447
|
-
<span class="check">${
|
|
3447
|
+
<span class="check">${_(o)}</span>` : null}
|
|
3448
3448
|
</div>
|
|
3449
3449
|
</a>
|
|
3450
3450
|
</li>
|
|
@@ -3456,7 +3456,7 @@ let A = class extends u {
|
|
|
3456
3456
|
`;
|
|
3457
3457
|
}
|
|
3458
3458
|
};
|
|
3459
|
-
|
|
3459
|
+
E.styles = v`
|
|
3460
3460
|
:host {
|
|
3461
3461
|
display: inline-block;
|
|
3462
3462
|
position: relative;
|
|
@@ -3632,73 +3632,73 @@ A.styles = f`
|
|
|
3632
3632
|
display: none;
|
|
3633
3633
|
}
|
|
3634
3634
|
`;
|
|
3635
|
-
|
|
3635
|
+
T([
|
|
3636
3636
|
a({ type: Array, reflect: !0 })
|
|
3637
|
-
],
|
|
3638
|
-
|
|
3637
|
+
], E.prototype, "options", 2);
|
|
3638
|
+
T([
|
|
3639
3639
|
a({ type: String, reflect: !0 })
|
|
3640
|
-
],
|
|
3641
|
-
|
|
3640
|
+
], E.prototype, "value", 2);
|
|
3641
|
+
T([
|
|
3642
3642
|
a({ type: String, reflect: !0 })
|
|
3643
|
-
],
|
|
3644
|
-
|
|
3643
|
+
], E.prototype, "name", 2);
|
|
3644
|
+
T([
|
|
3645
3645
|
a({ type: String, reflect: !0 })
|
|
3646
|
-
],
|
|
3647
|
-
|
|
3646
|
+
], E.prototype, "additionaltext", 2);
|
|
3647
|
+
T([
|
|
3648
3648
|
a({ type: Boolean, reflect: !0 })
|
|
3649
|
-
],
|
|
3650
|
-
|
|
3649
|
+
], E.prototype, "disabled", 2);
|
|
3650
|
+
T([
|
|
3651
3651
|
a({ type: String, reflect: !0 })
|
|
3652
|
-
],
|
|
3653
|
-
|
|
3652
|
+
], E.prototype, "width", 2);
|
|
3653
|
+
T([
|
|
3654
3654
|
et()
|
|
3655
|
-
],
|
|
3656
|
-
|
|
3655
|
+
], E.prototype, "open", 2);
|
|
3656
|
+
T([
|
|
3657
3657
|
et()
|
|
3658
|
-
],
|
|
3659
|
-
|
|
3658
|
+
], E.prototype, "activeIndex", 2);
|
|
3659
|
+
T([
|
|
3660
3660
|
et()
|
|
3661
|
-
],
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
],
|
|
3661
|
+
], E.prototype, "menuWidth", 2);
|
|
3662
|
+
E = T([
|
|
3663
|
+
b("o-dropdown-variant")
|
|
3664
|
+
], E);
|
|
3665
3665
|
/**
|
|
3666
3666
|
* @license
|
|
3667
3667
|
* Copyright 2018 Google LLC
|
|
3668
3668
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3669
3669
|
*/
|
|
3670
|
-
const
|
|
3670
|
+
const xe = "important", ei = " !" + xe, oi = Zt(class extends Kt {
|
|
3671
3671
|
constructor(o) {
|
|
3672
3672
|
var t;
|
|
3673
|
-
if (super(o), o.type !==
|
|
3673
|
+
if (super(o), o.type !== qt.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.");
|
|
3674
3674
|
}
|
|
3675
3675
|
render(o) {
|
|
3676
3676
|
return Object.keys(o).reduce((t, e) => {
|
|
3677
|
-
const
|
|
3678
|
-
return
|
|
3677
|
+
const r = o[e];
|
|
3678
|
+
return r == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${r};`;
|
|
3679
3679
|
}, "");
|
|
3680
3680
|
}
|
|
3681
3681
|
update(o, [t]) {
|
|
3682
3682
|
const { style: e } = o.element;
|
|
3683
3683
|
if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
|
|
3684
|
-
for (const
|
|
3685
|
-
for (const
|
|
3686
|
-
const i = t[
|
|
3684
|
+
for (const r of this.ft) t[r] == null && (this.ft.delete(r), r.includes("-") ? e.removeProperty(r) : e[r] = null);
|
|
3685
|
+
for (const r in t) {
|
|
3686
|
+
const i = t[r];
|
|
3687
3687
|
if (i != null) {
|
|
3688
|
-
this.ft.add(
|
|
3689
|
-
const
|
|
3690
|
-
|
|
3688
|
+
this.ft.add(r);
|
|
3689
|
+
const n = typeof i == "string" && i.endsWith(ei);
|
|
3690
|
+
r.includes("-") || n ? e.setProperty(r, n ? i.slice(0, -11) : i, n ? xe : "") : e[r] = i;
|
|
3691
3691
|
}
|
|
3692
3692
|
}
|
|
3693
3693
|
return G;
|
|
3694
3694
|
}
|
|
3695
3695
|
});
|
|
3696
|
-
var
|
|
3697
|
-
for (var i =
|
|
3698
|
-
(s = o[
|
|
3699
|
-
return
|
|
3696
|
+
var ii = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, Xt = (o, t, e, r) => {
|
|
3697
|
+
for (var i = r > 1 ? void 0 : r ? ri(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3698
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3699
|
+
return r && i && ii(t, e, i), i;
|
|
3700
3700
|
};
|
|
3701
|
-
let gt = class extends
|
|
3701
|
+
let gt = class extends p {
|
|
3702
3702
|
constructor() {
|
|
3703
3703
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3704
3704
|
}
|
|
@@ -3707,16 +3707,16 @@ let gt = class extends u {
|
|
|
3707
3707
|
width: `${this.imageSize}px`,
|
|
3708
3708
|
height: `${this.imageSize}px`
|
|
3709
3709
|
}, e = l`
|
|
3710
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${
|
|
3710
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${S(this.option.title)}" aria-hidden="true" style=${oi(t)} />` : ""}
|
|
3711
3711
|
<div class="m-reassurance-content">
|
|
3712
|
-
<h3 class="a-reassurance-text">${
|
|
3713
|
-
<p class="a-reassurance-description">${
|
|
3712
|
+
<h3 class="a-reassurance-text">${S(this.option.title)}</h3>
|
|
3713
|
+
<p class="a-reassurance-description">${S(this.option.description)}</p>
|
|
3714
3714
|
</div>
|
|
3715
3715
|
`;
|
|
3716
|
-
return o ? l`<a href="${
|
|
3716
|
+
return o ? l`<a href="${S(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3717
3717
|
}
|
|
3718
3718
|
};
|
|
3719
|
-
gt.styles =
|
|
3719
|
+
gt.styles = v`
|
|
3720
3720
|
:host {
|
|
3721
3721
|
display: inline-block;
|
|
3722
3722
|
position: relative;
|
|
@@ -3798,22 +3798,22 @@ gt.styles = f`
|
|
|
3798
3798
|
}
|
|
3799
3799
|
}
|
|
3800
3800
|
`;
|
|
3801
|
-
|
|
3801
|
+
Xt([
|
|
3802
3802
|
a({ type: Object, reflect: !0 })
|
|
3803
3803
|
], gt.prototype, "option", 2);
|
|
3804
|
-
|
|
3804
|
+
Xt([
|
|
3805
3805
|
a({ type: Number, reflect: !0 })
|
|
3806
3806
|
], gt.prototype, "imageSize", 2);
|
|
3807
|
-
gt =
|
|
3808
|
-
|
|
3807
|
+
gt = Xt([
|
|
3808
|
+
b("o-reassurance")
|
|
3809
3809
|
], gt);
|
|
3810
|
-
var
|
|
3811
|
-
for (var i =
|
|
3812
|
-
(s = o[
|
|
3813
|
-
return
|
|
3810
|
+
var ni = Object.defineProperty, si = Object.getOwnPropertyDescriptor, q = (o, t, e, r) => {
|
|
3811
|
+
for (var i = r > 1 ? void 0 : r ? si(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3812
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3813
|
+
return r && i && ni(t, e, i), i;
|
|
3814
3814
|
};
|
|
3815
|
-
const
|
|
3816
|
-
let
|
|
3815
|
+
const ai = Vt(p);
|
|
3816
|
+
let L = class extends ai {
|
|
3817
3817
|
constructor() {
|
|
3818
3818
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3819
3819
|
}
|
|
@@ -3836,7 +3836,7 @@ let E = class extends ni {
|
|
|
3836
3836
|
`;
|
|
3837
3837
|
}
|
|
3838
3838
|
};
|
|
3839
|
-
|
|
3839
|
+
L.styles = v`
|
|
3840
3840
|
:host {
|
|
3841
3841
|
cursor: pointer;
|
|
3842
3842
|
display: inline-flex;
|
|
@@ -3912,7 +3912,7 @@ E.styles = f`
|
|
|
3912
3912
|
}
|
|
3913
3913
|
|
|
3914
3914
|
&:focus-visible {
|
|
3915
|
-
${
|
|
3915
|
+
${ot};
|
|
3916
3916
|
}
|
|
3917
3917
|
}
|
|
3918
3918
|
|
|
@@ -3926,44 +3926,44 @@ E.styles = f`
|
|
|
3926
3926
|
align-items: center;
|
|
3927
3927
|
}
|
|
3928
3928
|
`;
|
|
3929
|
-
|
|
3929
|
+
q([
|
|
3930
3930
|
a({ type: String, reflect: !0 })
|
|
3931
|
-
],
|
|
3932
|
-
|
|
3931
|
+
], L.prototype, "link", 2);
|
|
3932
|
+
q([
|
|
3933
3933
|
a({ reflect: !0 })
|
|
3934
|
-
],
|
|
3935
|
-
|
|
3934
|
+
], L.prototype, "name", 2);
|
|
3935
|
+
q([
|
|
3936
3936
|
a({ reflect: !0 })
|
|
3937
|
-
],
|
|
3938
|
-
|
|
3937
|
+
], L.prototype, "value", 2);
|
|
3938
|
+
q([
|
|
3939
3939
|
a({ type: String })
|
|
3940
|
-
],
|
|
3941
|
-
|
|
3940
|
+
], L.prototype, "text", 2);
|
|
3941
|
+
q([
|
|
3942
3942
|
a({ type: String, reflect: !0 })
|
|
3943
|
-
],
|
|
3944
|
-
|
|
3943
|
+
], L.prototype, "size", 2);
|
|
3944
|
+
q([
|
|
3945
3945
|
a({ type: Boolean, reflect: !0 })
|
|
3946
|
-
],
|
|
3947
|
-
|
|
3946
|
+
], L.prototype, "selected", 2);
|
|
3947
|
+
q([
|
|
3948
3948
|
a({ type: Boolean, reflect: !0 })
|
|
3949
|
-
],
|
|
3950
|
-
|
|
3949
|
+
], L.prototype, "fullwidth", 2);
|
|
3950
|
+
q([
|
|
3951
3951
|
a({ type: Boolean, reflect: !0 })
|
|
3952
|
-
],
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
],
|
|
3956
|
-
var
|
|
3957
|
-
for (var i =
|
|
3958
|
-
(s = o[
|
|
3959
|
-
return
|
|
3952
|
+
], L.prototype, "inactive", 2);
|
|
3953
|
+
L = q([
|
|
3954
|
+
b("o-chip")
|
|
3955
|
+
], L);
|
|
3956
|
+
var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, Jt = (o, t, e, r) => {
|
|
3957
|
+
for (var i = r > 1 ? void 0 : r ? ci(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3958
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3959
|
+
return r && i && li(t, e, i), i;
|
|
3960
3960
|
};
|
|
3961
|
-
let yt = class extends
|
|
3961
|
+
let yt = class extends p {
|
|
3962
3962
|
constructor() {
|
|
3963
3963
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
3964
3964
|
}
|
|
3965
3965
|
onChipSelected(o) {
|
|
3966
|
-
const t = o.target instanceof
|
|
3966
|
+
const t = o.target instanceof L ? o.target : null;
|
|
3967
3967
|
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) => {
|
|
3968
3968
|
e !== t && (e.selected = !1);
|
|
3969
3969
|
}));
|
|
@@ -3974,7 +3974,7 @@ let yt = class extends u {
|
|
|
3974
3974
|
`;
|
|
3975
3975
|
}
|
|
3976
3976
|
};
|
|
3977
|
-
yt.styles =
|
|
3977
|
+
yt.styles = v`
|
|
3978
3978
|
:host {
|
|
3979
3979
|
display: flex;
|
|
3980
3980
|
flex-direction: row;
|
|
@@ -3982,22 +3982,22 @@ yt.styles = f`
|
|
|
3982
3982
|
gap: var(--spacing-s);
|
|
3983
3983
|
}
|
|
3984
3984
|
`;
|
|
3985
|
-
|
|
3985
|
+
Jt([
|
|
3986
3986
|
a({ reflect: !0 })
|
|
3987
3987
|
], yt.prototype, "name", 2);
|
|
3988
|
-
|
|
3988
|
+
Jt([
|
|
3989
3989
|
a({ reflect: !0 })
|
|
3990
3990
|
], yt.prototype, "value", 2);
|
|
3991
|
-
yt =
|
|
3992
|
-
|
|
3991
|
+
yt = Jt([
|
|
3992
|
+
b("o-chipset")
|
|
3993
3993
|
], yt);
|
|
3994
|
-
var
|
|
3995
|
-
for (var i =
|
|
3996
|
-
(s = o[
|
|
3997
|
-
return
|
|
3994
|
+
var hi = Object.defineProperty, di = Object.getOwnPropertyDescriptor, M = (o, t, e, r) => {
|
|
3995
|
+
for (var i = r > 1 ? void 0 : r ? di(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3996
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3997
|
+
return r && i && hi(t, e, i), i;
|
|
3998
3998
|
};
|
|
3999
|
-
const
|
|
4000
|
-
let
|
|
3999
|
+
const pi = Vt(p);
|
|
4000
|
+
let P = class extends pi {
|
|
4001
4001
|
constructor() {
|
|
4002
4002
|
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";
|
|
4003
4003
|
}
|
|
@@ -4009,18 +4009,18 @@ let L = class extends ci {
|
|
|
4009
4009
|
this.dispatchEvent(e), e.defaultPrevented && o.preventDefault(), this.selected = t.selected;
|
|
4010
4010
|
}
|
|
4011
4011
|
crossIcon() {
|
|
4012
|
-
const o =
|
|
4012
|
+
const o = F[this.crossIconName].replace(
|
|
4013
4013
|
"<svg",
|
|
4014
4014
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
4015
4015
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
4016
|
-
return l`<span class="cross-icon">${
|
|
4016
|
+
return l`<span class="cross-icon">${_(o)}</span>`;
|
|
4017
4017
|
}
|
|
4018
4018
|
strikeThroughImg() {
|
|
4019
|
-
const o =
|
|
4019
|
+
const o = xo[this.strikethroughImgName].replace(
|
|
4020
4020
|
"<svg",
|
|
4021
4021
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
4022
4022
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
4023
|
-
return
|
|
4023
|
+
return _(o);
|
|
4024
4024
|
}
|
|
4025
4025
|
render() {
|
|
4026
4026
|
const o = this.text;
|
|
@@ -4047,7 +4047,7 @@ let L = class extends ci {
|
|
|
4047
4047
|
`;
|
|
4048
4048
|
}
|
|
4049
4049
|
};
|
|
4050
|
-
|
|
4050
|
+
P.styles = v`
|
|
4051
4051
|
:host {
|
|
4052
4052
|
cursor: pointer;
|
|
4053
4053
|
display: inline-flex;
|
|
@@ -4127,7 +4127,7 @@ L.styles = f`
|
|
|
4127
4127
|
}
|
|
4128
4128
|
|
|
4129
4129
|
.button:focus-visible {
|
|
4130
|
-
${
|
|
4130
|
+
${ot};
|
|
4131
4131
|
}
|
|
4132
4132
|
|
|
4133
4133
|
span.text + span.text::before {
|
|
@@ -4173,44 +4173,44 @@ L.styles = f`
|
|
|
4173
4173
|
}
|
|
4174
4174
|
}
|
|
4175
4175
|
`;
|
|
4176
|
-
|
|
4176
|
+
M([
|
|
4177
4177
|
a({ reflect: !0 })
|
|
4178
|
-
],
|
|
4179
|
-
|
|
4178
|
+
], P.prototype, "name", 2);
|
|
4179
|
+
M([
|
|
4180
4180
|
a({ reflect: !0 })
|
|
4181
|
-
],
|
|
4182
|
-
|
|
4181
|
+
], P.prototype, "value", 2);
|
|
4182
|
+
M([
|
|
4183
4183
|
a({ type: String, reflect: !0 })
|
|
4184
|
-
],
|
|
4185
|
-
|
|
4184
|
+
], P.prototype, "type", 2);
|
|
4185
|
+
M([
|
|
4186
4186
|
a({ type: String, reflect: !0 })
|
|
4187
|
-
],
|
|
4188
|
-
|
|
4187
|
+
], P.prototype, "href", 2);
|
|
4188
|
+
M([
|
|
4189
4189
|
a({ type: String, reflect: !0, attribute: "data-href" })
|
|
4190
|
-
],
|
|
4191
|
-
|
|
4190
|
+
], P.prototype, "dataHref", 2);
|
|
4191
|
+
M([
|
|
4192
4192
|
a({ type: String })
|
|
4193
|
-
],
|
|
4194
|
-
|
|
4193
|
+
], P.prototype, "text", 2);
|
|
4194
|
+
M([
|
|
4195
4195
|
a({ type: Boolean, reflect: !0 })
|
|
4196
|
-
],
|
|
4197
|
-
|
|
4196
|
+
], P.prototype, "selected", 2);
|
|
4197
|
+
M([
|
|
4198
4198
|
a({ type: Boolean, reflect: !0 })
|
|
4199
|
-
],
|
|
4200
|
-
|
|
4199
|
+
], P.prototype, "disabled", 2);
|
|
4200
|
+
M([
|
|
4201
4201
|
a({ type: Boolean, reflect: !0 })
|
|
4202
|
-
],
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
],
|
|
4206
|
-
var
|
|
4207
|
-
for (var i = void 0,
|
|
4208
|
-
(s = o[
|
|
4209
|
-
return i &&
|
|
4202
|
+
], P.prototype, "fullwidth", 2);
|
|
4203
|
+
P = M([
|
|
4204
|
+
b("o-filter-chip")
|
|
4205
|
+
], P);
|
|
4206
|
+
var ui = Object.defineProperty, j = (o, t, e, r) => {
|
|
4207
|
+
for (var i = void 0, n = o.length - 1, s; n >= 0; n--)
|
|
4208
|
+
(s = o[n]) && (i = s(t, e, i) || i);
|
|
4209
|
+
return i && ui(t, e, i), i;
|
|
4210
4210
|
};
|
|
4211
|
-
const
|
|
4211
|
+
const te = class te extends p {
|
|
4212
4212
|
constructor() {
|
|
4213
|
-
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;
|
|
4213
|
+
super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "", this.fullwidth = !1, this.tagText = "";
|
|
4214
4214
|
}
|
|
4215
4215
|
onClick() {
|
|
4216
4216
|
typeof this.onClickTile == "function" && this.onClickTile();
|
|
@@ -4245,6 +4245,7 @@ const Jt = class Jt extends u {
|
|
|
4245
4245
|
class="tile ${this.fullwidth ? "fullwidth" : ""} ${this.type === "chevron" ? "fullpointer" : ""}" @click=${this.onClick}>
|
|
4246
4246
|
${this.imageUrl ? l`<img src="${this.imageUrl}" alt="${this.altImage || ""}" />` : ""}
|
|
4247
4247
|
<div class="info">
|
|
4248
|
+
${this.tagText ? l`<o-tag bgstyle="background-emphasis">${this.tagText}</o-tag>` : ""}
|
|
4248
4249
|
${this.titleProduct ? l`<div class="title">${this.titleProduct}</div>` : ""}
|
|
4249
4250
|
<div class="details">
|
|
4250
4251
|
${this.volume ? l`<span class="volume-info">${this.volume}</span>` : ""}
|
|
@@ -4257,7 +4258,7 @@ const Jt = class Jt extends u {
|
|
|
4257
4258
|
`;
|
|
4258
4259
|
}
|
|
4259
4260
|
};
|
|
4260
|
-
|
|
4261
|
+
te.styles = v`
|
|
4261
4262
|
:host {
|
|
4262
4263
|
display: block;
|
|
4263
4264
|
max-width: 100%;
|
|
@@ -4330,6 +4331,11 @@ Jt.styles = f`
|
|
|
4330
4331
|
}
|
|
4331
4332
|
}
|
|
4332
4333
|
|
|
4334
|
+
.info o-tag {
|
|
4335
|
+
margin-bottom: var(--spacing-xs);
|
|
4336
|
+
display: flex;
|
|
4337
|
+
}
|
|
4338
|
+
|
|
4333
4339
|
.main-price {
|
|
4334
4340
|
font-family: var(--font-family-loccitane-sans);
|
|
4335
4341
|
color: var(--colors-noir-des-terres-500);
|
|
@@ -4349,41 +4355,44 @@ Jt.styles = f`
|
|
|
4349
4355
|
cursor: pointer;
|
|
4350
4356
|
}
|
|
4351
4357
|
`;
|
|
4352
|
-
let
|
|
4353
|
-
|
|
4358
|
+
let C = te;
|
|
4359
|
+
j([
|
|
4354
4360
|
a({ type: String })
|
|
4355
|
-
],
|
|
4356
|
-
|
|
4361
|
+
], C.prototype, "type");
|
|
4362
|
+
j([
|
|
4357
4363
|
a({ type: String })
|
|
4358
|
-
],
|
|
4359
|
-
|
|
4364
|
+
], C.prototype, "titleProduct");
|
|
4365
|
+
j([
|
|
4360
4366
|
a({ type: String })
|
|
4361
|
-
],
|
|
4362
|
-
|
|
4367
|
+
], C.prototype, "volume");
|
|
4368
|
+
j([
|
|
4363
4369
|
a({ type: String })
|
|
4364
|
-
],
|
|
4365
|
-
|
|
4370
|
+
], C.prototype, "perLiter");
|
|
4371
|
+
j([
|
|
4366
4372
|
a({ type: String })
|
|
4367
|
-
],
|
|
4368
|
-
|
|
4373
|
+
], C.prototype, "mainPrice");
|
|
4374
|
+
j([
|
|
4369
4375
|
a({ type: String })
|
|
4370
|
-
],
|
|
4371
|
-
|
|
4376
|
+
], C.prototype, "imageUrl");
|
|
4377
|
+
j([
|
|
4372
4378
|
a({ type: String })
|
|
4373
|
-
],
|
|
4374
|
-
|
|
4379
|
+
], C.prototype, "altImage");
|
|
4380
|
+
j([
|
|
4375
4381
|
a({ type: Boolean })
|
|
4376
|
-
],
|
|
4377
|
-
|
|
4382
|
+
], C.prototype, "fullwidth");
|
|
4383
|
+
j([
|
|
4384
|
+
a({ type: String })
|
|
4385
|
+
], C.prototype, "tagText");
|
|
4386
|
+
j([
|
|
4378
4387
|
a({ type: Function })
|
|
4379
|
-
],
|
|
4380
|
-
customElements.define("mini-tile",
|
|
4381
|
-
var
|
|
4382
|
-
for (var i =
|
|
4383
|
-
(s = o[
|
|
4384
|
-
return
|
|
4388
|
+
], C.prototype, "onClickTile");
|
|
4389
|
+
customElements.define("mini-tile", C);
|
|
4390
|
+
var vi = Object.defineProperty, fi = Object.getOwnPropertyDescriptor, Qt = (o, t, e, r) => {
|
|
4391
|
+
for (var i = r > 1 ? void 0 : r ? fi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4392
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4393
|
+
return r && i && vi(t, e, i), i;
|
|
4385
4394
|
};
|
|
4386
|
-
let mt = class extends
|
|
4395
|
+
let mt = class extends p {
|
|
4387
4396
|
constructor() {
|
|
4388
4397
|
super(...arguments), this.variant = "cart", this.text = "";
|
|
4389
4398
|
}
|
|
@@ -4395,7 +4404,7 @@ let mt = class extends u {
|
|
|
4395
4404
|
`;
|
|
4396
4405
|
}
|
|
4397
4406
|
};
|
|
4398
|
-
mt.styles =
|
|
4407
|
+
mt.styles = v`
|
|
4399
4408
|
:host([variant]) {
|
|
4400
4409
|
--badge-width: 19px;
|
|
4401
4410
|
display: inline-block;
|
|
@@ -4430,21 +4439,21 @@ mt.styles = f`
|
|
|
4430
4439
|
}
|
|
4431
4440
|
|
|
4432
4441
|
`;
|
|
4433
|
-
|
|
4442
|
+
Qt([
|
|
4434
4443
|
a({ type: String, reflect: !0 })
|
|
4435
4444
|
], mt.prototype, "variant", 2);
|
|
4436
|
-
|
|
4445
|
+
Qt([
|
|
4437
4446
|
a({ type: String })
|
|
4438
4447
|
], mt.prototype, "text", 2);
|
|
4439
|
-
mt =
|
|
4440
|
-
|
|
4448
|
+
mt = Qt([
|
|
4449
|
+
b("o-badge")
|
|
4441
4450
|
], mt);
|
|
4442
|
-
var
|
|
4443
|
-
for (var i =
|
|
4444
|
-
(s = o[
|
|
4445
|
-
return
|
|
4451
|
+
var bi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, I = (o, t, e, r) => {
|
|
4452
|
+
for (var i = r > 1 ? void 0 : r ? gi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4453
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4454
|
+
return r && i && bi(t, e, i), i;
|
|
4446
4455
|
};
|
|
4447
|
-
let $ = class extends
|
|
4456
|
+
let $ = class extends p {
|
|
4448
4457
|
constructor() {
|
|
4449
4458
|
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;
|
|
4450
4459
|
}
|
|
@@ -4476,11 +4485,11 @@ let $ = class extends u {
|
|
|
4476
4485
|
}, 600);
|
|
4477
4486
|
}
|
|
4478
4487
|
firstUpdated() {
|
|
4479
|
-
var
|
|
4488
|
+
var r, i;
|
|
4480
4489
|
var o = this;
|
|
4481
|
-
const t = (
|
|
4490
|
+
const t = (r = this.renderRoot) == null ? void 0 : r.querySelector("o-icon-button"), e = (i = this.renderRoot) == null ? void 0 : i.querySelector(".o-toast-text");
|
|
4482
4491
|
if (e != null) {
|
|
4483
|
-
const
|
|
4492
|
+
const n = window.getComputedStyle(e), s = parseInt(n.getPropertyValue("line-height").replace("px", "")), h = parseInt(n.getPropertyValue("height").replace("px", ""));
|
|
4484
4493
|
!isNaN(s) && !isNaN(h) && h > s && (this.multiline = !0);
|
|
4485
4494
|
}
|
|
4486
4495
|
t != null && t.addEventListener("click", function() {
|
|
@@ -4488,11 +4497,11 @@ let $ = class extends u {
|
|
|
4488
4497
|
});
|
|
4489
4498
|
}
|
|
4490
4499
|
render() {
|
|
4491
|
-
const t =
|
|
4500
|
+
const t = wo[this.icon].replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g, '<path part="icon-path"').replace(/<g\b/g, '<g part="icon-group"').replace(/<circle\b/g, '<circle part="icon-circle"');
|
|
4492
4501
|
return l`
|
|
4493
4502
|
<div class="o-toast">
|
|
4494
4503
|
<div class="o-toast-icon">
|
|
4495
|
-
${
|
|
4504
|
+
${_(t)}
|
|
4496
4505
|
</div>
|
|
4497
4506
|
<div class="o-toast-text">
|
|
4498
4507
|
${this.text}
|
|
@@ -4508,7 +4517,7 @@ let $ = class extends u {
|
|
|
4508
4517
|
`;
|
|
4509
4518
|
}
|
|
4510
4519
|
};
|
|
4511
|
-
$.styles =
|
|
4520
|
+
$.styles = v`
|
|
4512
4521
|
:host {
|
|
4513
4522
|
--vertical-offset: 24px;
|
|
4514
4523
|
--horizontal-offset: 24px;
|
|
@@ -4586,50 +4595,50 @@ $.styles = f`
|
|
|
4586
4595
|
height: 16px;
|
|
4587
4596
|
}
|
|
4588
4597
|
`;
|
|
4589
|
-
|
|
4598
|
+
I([
|
|
4590
4599
|
a({ type: String, reflect: !0 })
|
|
4591
4600
|
], $.prototype, "icon", 2);
|
|
4592
|
-
|
|
4601
|
+
I([
|
|
4593
4602
|
a({ type: String, reflect: !0 })
|
|
4594
4603
|
], $.prototype, "text", 2);
|
|
4595
|
-
|
|
4604
|
+
I([
|
|
4596
4605
|
a({ type: String, reflect: !0 })
|
|
4597
4606
|
], $.prototype, "verticalanchor", 2);
|
|
4598
|
-
|
|
4607
|
+
I([
|
|
4599
4608
|
a({ type: String, reflect: !0 })
|
|
4600
4609
|
], $.prototype, "horizontalanchor", 2);
|
|
4601
|
-
|
|
4610
|
+
I([
|
|
4602
4611
|
a({ type: Number, reflect: !0 })
|
|
4603
4612
|
], $.prototype, "verticaloffset", 2);
|
|
4604
|
-
|
|
4613
|
+
I([
|
|
4605
4614
|
a({ type: Number, reflect: !0 })
|
|
4606
4615
|
], $.prototype, "horizontaloffset", 2);
|
|
4607
|
-
|
|
4616
|
+
I([
|
|
4608
4617
|
a({ type: Number, reflect: !0 })
|
|
4609
4618
|
], $.prototype, "animationduration", 2);
|
|
4610
|
-
|
|
4619
|
+
I([
|
|
4611
4620
|
a({ type: String, reflect: !0 })
|
|
4612
4621
|
], $.prototype, "animationaxis", 2);
|
|
4613
|
-
|
|
4622
|
+
I([
|
|
4614
4623
|
a({ type: Boolean, reflect: !0 })
|
|
4615
4624
|
], $.prototype, "animated", 2);
|
|
4616
|
-
|
|
4625
|
+
I([
|
|
4617
4626
|
a({ type: Number, reflect: !0 })
|
|
4618
4627
|
], $.prototype, "lifeduration", 2);
|
|
4619
|
-
|
|
4628
|
+
I([
|
|
4620
4629
|
a({ type: Boolean, reflect: !0 })
|
|
4621
4630
|
], $.prototype, "multiline", 2);
|
|
4622
|
-
$ =
|
|
4623
|
-
|
|
4631
|
+
$ = I([
|
|
4632
|
+
b("o-toast")
|
|
4624
4633
|
], $);
|
|
4625
|
-
var
|
|
4626
|
-
for (var i =
|
|
4627
|
-
(s = o[
|
|
4628
|
-
return
|
|
4634
|
+
var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, B = (o, t, e, r) => {
|
|
4635
|
+
for (var i = r > 1 ? void 0 : r ? mi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4636
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4637
|
+
return r && i && yi(t, e, i), i;
|
|
4629
4638
|
};
|
|
4630
|
-
let
|
|
4639
|
+
let xi = 0, k = class extends p {
|
|
4631
4640
|
constructor() {
|
|
4632
|
-
super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++
|
|
4641
|
+
super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++xi}`);
|
|
4633
4642
|
}
|
|
4634
4643
|
toggle() {
|
|
4635
4644
|
this.disabled || (this.indeterminate ? (this.indeterminate = !1, this.checked = !0) : this.checked = !this.checked, this.syncInput(), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
@@ -4644,7 +4653,7 @@ let gi = 0, _ = class extends u {
|
|
|
4644
4653
|
this.disabled || (o.key === " " || o.key === "Enter") && (o.preventDefault(), this.toggle());
|
|
4645
4654
|
}
|
|
4646
4655
|
render() {
|
|
4647
|
-
const o =
|
|
4656
|
+
const o = _(F.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = _(F.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
|
|
4648
4657
|
return l`
|
|
4649
4658
|
<input
|
|
4650
4659
|
type="checkbox"
|
|
@@ -4654,8 +4663,8 @@ let gi = 0, _ = class extends u {
|
|
|
4654
4663
|
name=${this.name}
|
|
4655
4664
|
value=${this.value}
|
|
4656
4665
|
@change=${(e) => {
|
|
4657
|
-
const
|
|
4658
|
-
this.checked =
|
|
4666
|
+
const r = e.target;
|
|
4667
|
+
this.checked = r.checked, this.indeterminate = r.indeterminate, this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 }));
|
|
4659
4668
|
}}
|
|
4660
4669
|
/>
|
|
4661
4670
|
|
|
@@ -4667,7 +4676,7 @@ let gi = 0, _ = class extends u {
|
|
|
4667
4676
|
`;
|
|
4668
4677
|
}
|
|
4669
4678
|
};
|
|
4670
|
-
|
|
4679
|
+
k.styles = v`
|
|
4671
4680
|
:host {
|
|
4672
4681
|
display: inline-flex;
|
|
4673
4682
|
align-items: center;
|
|
@@ -4773,45 +4782,45 @@ _.styles = f`
|
|
|
4773
4782
|
`;
|
|
4774
4783
|
B([
|
|
4775
4784
|
a({ type: Boolean, reflect: !0 })
|
|
4776
|
-
],
|
|
4785
|
+
], k.prototype, "checked", 2);
|
|
4777
4786
|
B([
|
|
4778
4787
|
a({ type: Boolean, reflect: !0 })
|
|
4779
|
-
],
|
|
4788
|
+
], k.prototype, "indeterminate", 2);
|
|
4780
4789
|
B([
|
|
4781
4790
|
a({ type: Boolean, reflect: !0 })
|
|
4782
|
-
],
|
|
4791
|
+
], k.prototype, "disabled", 2);
|
|
4783
4792
|
B([
|
|
4784
4793
|
a({ type: String, reflect: !0 })
|
|
4785
|
-
],
|
|
4794
|
+
], k.prototype, "size", 2);
|
|
4786
4795
|
B([
|
|
4787
4796
|
a({ type: Boolean })
|
|
4788
|
-
],
|
|
4797
|
+
], k.prototype, "showLabel", 2);
|
|
4789
4798
|
B([
|
|
4790
4799
|
a({ type: String })
|
|
4791
|
-
],
|
|
4800
|
+
], k.prototype, "label", 2);
|
|
4792
4801
|
B([
|
|
4793
4802
|
a({ type: String })
|
|
4794
|
-
],
|
|
4803
|
+
], k.prototype, "name", 2);
|
|
4795
4804
|
B([
|
|
4796
4805
|
a({ type: String })
|
|
4797
|
-
],
|
|
4806
|
+
], k.prototype, "value", 2);
|
|
4798
4807
|
B([
|
|
4799
4808
|
a({ type: String, reflect: !0 })
|
|
4800
|
-
],
|
|
4809
|
+
], k.prototype, "inputId", 2);
|
|
4801
4810
|
B([
|
|
4802
|
-
|
|
4803
|
-
],
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
],
|
|
4807
|
-
var
|
|
4808
|
-
for (var i =
|
|
4809
|
-
(s = o[
|
|
4810
|
-
return
|
|
4811
|
+
ye("input")
|
|
4812
|
+
], k.prototype, "inputEl", 2);
|
|
4813
|
+
k = B([
|
|
4814
|
+
b("o-checkbox")
|
|
4815
|
+
], k);
|
|
4816
|
+
var wi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, R = (o, t, e, r) => {
|
|
4817
|
+
for (var i = r > 1 ? void 0 : r ? $i(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4818
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4819
|
+
return r && i && wi(t, e, i), i;
|
|
4811
4820
|
};
|
|
4812
|
-
let
|
|
4821
|
+
let _i = 0, O = class extends p {
|
|
4813
4822
|
constructor() {
|
|
4814
|
-
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-${++
|
|
4823
|
+
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-${++_i}`);
|
|
4815
4824
|
}
|
|
4816
4825
|
handleClick() {
|
|
4817
4826
|
this.disabled || this.checked || (this.checked = !0, this.syncInput(), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
@@ -4822,8 +4831,8 @@ let xi = 0, I = class extends u {
|
|
|
4822
4831
|
updated(o) {
|
|
4823
4832
|
if (o.has("checked") && this.checked) {
|
|
4824
4833
|
const t = this.parentElement;
|
|
4825
|
-
t && Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach((
|
|
4826
|
-
|
|
4834
|
+
t && Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach((r) => {
|
|
4835
|
+
r !== this && (r.checked = !1);
|
|
4827
4836
|
});
|
|
4828
4837
|
}
|
|
4829
4838
|
this.syncInput();
|
|
@@ -4843,7 +4852,7 @@ let xi = 0, I = class extends u {
|
|
|
4843
4852
|
`;
|
|
4844
4853
|
}
|
|
4845
4854
|
};
|
|
4846
|
-
|
|
4855
|
+
O.styles = v`
|
|
4847
4856
|
:host {
|
|
4848
4857
|
display: inline-flex;
|
|
4849
4858
|
align-items: center;
|
|
@@ -4933,33 +4942,143 @@ I.styles = f`
|
|
|
4933
4942
|
height: 0;
|
|
4934
4943
|
}
|
|
4935
4944
|
`;
|
|
4936
|
-
|
|
4945
|
+
R([
|
|
4937
4946
|
a({ type: Boolean, reflect: !0 })
|
|
4938
|
-
],
|
|
4939
|
-
|
|
4947
|
+
], O.prototype, "checked", 2);
|
|
4948
|
+
R([
|
|
4940
4949
|
a({ type: Boolean, reflect: !0 })
|
|
4941
|
-
],
|
|
4942
|
-
|
|
4950
|
+
], O.prototype, "disabled", 2);
|
|
4951
|
+
R([
|
|
4943
4952
|
a({ type: String, reflect: !0 })
|
|
4944
|
-
],
|
|
4945
|
-
|
|
4953
|
+
], O.prototype, "size", 2);
|
|
4954
|
+
R([
|
|
4946
4955
|
a({ type: Boolean })
|
|
4947
|
-
],
|
|
4948
|
-
|
|
4956
|
+
], O.prototype, "showLabel", 2);
|
|
4957
|
+
R([
|
|
4949
4958
|
a({ type: String })
|
|
4950
|
-
],
|
|
4951
|
-
|
|
4959
|
+
], O.prototype, "label", 2);
|
|
4960
|
+
R([
|
|
4952
4961
|
a({ type: String })
|
|
4953
|
-
],
|
|
4954
|
-
|
|
4962
|
+
], O.prototype, "name", 2);
|
|
4963
|
+
R([
|
|
4955
4964
|
a({ type: String })
|
|
4956
|
-
],
|
|
4957
|
-
|
|
4965
|
+
], O.prototype, "value", 2);
|
|
4966
|
+
R([
|
|
4958
4967
|
a({ type: String, reflect: !0 })
|
|
4959
|
-
],
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
],
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
],
|
|
4968
|
+
], O.prototype, "inputId", 2);
|
|
4969
|
+
R([
|
|
4970
|
+
ye("input")
|
|
4971
|
+
], O.prototype, "inputEl", 2);
|
|
4972
|
+
O = R([
|
|
4973
|
+
b("o-radio")
|
|
4974
|
+
], O);
|
|
4975
|
+
var Ci = Object.getOwnPropertyDescriptor, ki = (o, t, e, r) => {
|
|
4976
|
+
for (var i = r > 1 ? void 0 : r ? Ci(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4977
|
+
(s = o[n]) && (i = s(i) || i);
|
|
4978
|
+
return i;
|
|
4979
|
+
};
|
|
4980
|
+
let Mt = class extends p {
|
|
4981
|
+
render() {
|
|
4982
|
+
return l`
|
|
4983
|
+
<nav aria-label="Breadcrumbs">
|
|
4984
|
+
<ul>
|
|
4985
|
+
<slot></slot>
|
|
4986
|
+
</ul>
|
|
4987
|
+
</nav>
|
|
4988
|
+
`;
|
|
4989
|
+
}
|
|
4990
|
+
};
|
|
4991
|
+
Mt.styles = v`
|
|
4992
|
+
nav {
|
|
4993
|
+
max-width: 144rem;
|
|
4994
|
+
margin: auto;
|
|
4995
|
+
padding: var(--spacing-3-xl) var(--spacing-xl);
|
|
4996
|
+
}
|
|
4997
|
+
|
|
4998
|
+
ul {
|
|
4999
|
+
margin: var(--spacing-4-xs);
|
|
5000
|
+
padding: var(--spacing-4-xs);
|
|
5001
|
+
}
|
|
5002
|
+
`;
|
|
5003
|
+
Mt = ki([
|
|
5004
|
+
b("o-breadcrumbs")
|
|
5005
|
+
], Mt);
|
|
5006
|
+
var Si = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, Yt = (o, t, e, r) => {
|
|
5007
|
+
for (var i = r > 1 ? void 0 : r ? Ai(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
5008
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
5009
|
+
return r && i && Si(t, e, i), i;
|
|
5010
|
+
};
|
|
5011
|
+
let xt = class extends p {
|
|
5012
|
+
constructor() {
|
|
5013
|
+
super(...arguments), this.href = "", this.active = !1;
|
|
5014
|
+
}
|
|
5015
|
+
_handleClick(o) {
|
|
5016
|
+
(!this.href || this.href === "#") && o.preventDefault();
|
|
5017
|
+
}
|
|
5018
|
+
render() {
|
|
5019
|
+
return this.active ? l`<span aria-current="page"><slot></slot></span>` : l`
|
|
5020
|
+
<li>
|
|
5021
|
+
<a
|
|
5022
|
+
href="${this.href}"
|
|
5023
|
+
@click="${this._handleClick}"
|
|
5024
|
+
@keydown="${this._handleClick}"
|
|
5025
|
+
>
|
|
5026
|
+
<slot></slot>
|
|
5027
|
+
</a>
|
|
5028
|
+
</li>
|
|
5029
|
+
`;
|
|
5030
|
+
}
|
|
5031
|
+
};
|
|
5032
|
+
xt.styles = v`
|
|
5033
|
+
li {
|
|
5034
|
+
display: inline-block;
|
|
5035
|
+
}
|
|
5036
|
+
|
|
5037
|
+
li::after {
|
|
5038
|
+
content: "/";
|
|
5039
|
+
margin: var(--spacing-4-xs) var(--spacing-2-xs);
|
|
5040
|
+
color: var(--color-content-description);
|
|
5041
|
+
}
|
|
5042
|
+
|
|
5043
|
+
a, span {
|
|
5044
|
+
color: var(--color-content-description);
|
|
5045
|
+
font-family: var(--font-family-loccitane-sans);
|
|
5046
|
+
font-size: var(--font-size-100);
|
|
5047
|
+
font-weight: var(--font-weight-400);
|
|
5048
|
+
line-height: var(--line-height-160);
|
|
5049
|
+
letter-spacing: var(--letter-spacing-400);
|
|
5050
|
+
text-decoration: none;
|
|
5051
|
+
}
|
|
5052
|
+
|
|
5053
|
+
a:hover {
|
|
5054
|
+
text-decoration: underline;
|
|
5055
|
+
text-underline-offset: var(--spacing-2-xs);
|
|
5056
|
+
}
|
|
5057
|
+
|
|
5058
|
+
a:focus-visible {
|
|
5059
|
+
${ot};
|
|
5060
|
+
}
|
|
5061
|
+
|
|
5062
|
+
:host(.a--tabfocus) {
|
|
5063
|
+
outline: none !important;
|
|
5064
|
+
}
|
|
5065
|
+
|
|
5066
|
+
:host([active]) {
|
|
5067
|
+
span {
|
|
5068
|
+
color: var(--color-content-body);
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5071
|
+
li::after {
|
|
5072
|
+
content: "";
|
|
5073
|
+
}
|
|
5074
|
+
}
|
|
5075
|
+
`;
|
|
5076
|
+
Yt([
|
|
5077
|
+
a({ type: String })
|
|
5078
|
+
], xt.prototype, "href", 2);
|
|
5079
|
+
Yt([
|
|
5080
|
+
a({ type: Boolean, reflect: !0 })
|
|
5081
|
+
], xt.prototype, "active", 2);
|
|
5082
|
+
xt = Yt([
|
|
5083
|
+
b("o-breadcrumb")
|
|
5084
|
+
], xt);
|