joe-header 2.0.10 → 2.0.12
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/dist/joe-header.js +444 -177
- package/dist/joe-header.js.gz +0 -0
- package/package.json +4 -3
- package/types/joe-header.d.ts +1 -0
package/dist/joe-header.js
CHANGED
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const t$
|
|
7
|
-
class o$
|
|
6
|
+
const t$2 = window, e$6 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$5 = Symbol(), n$7 = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
class o$5 {
|
|
8
8
|
constructor(t2, e2, n2) {
|
|
9
|
-
if (this._$cssResult$ = true, n2 !== s$
|
|
9
|
+
if (this._$cssResult$ = true, n2 !== s$5)
|
|
10
10
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
11
11
|
this.cssText = t2, this.t = e2;
|
|
12
12
|
}
|
|
13
13
|
get styleSheet() {
|
|
14
14
|
let t2 = this.o;
|
|
15
15
|
const s2 = this.t;
|
|
16
|
-
if (e$
|
|
16
|
+
if (e$6 && void 0 === t2) {
|
|
17
17
|
const e2 = void 0 !== s2 && 1 === s2.length;
|
|
18
|
-
e2 && (t2 = n$
|
|
18
|
+
e2 && (t2 = n$7.get(s2)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && n$7.set(s2, t2));
|
|
19
19
|
}
|
|
20
20
|
return t2;
|
|
21
21
|
}
|
|
@@ -23,36 +23,27 @@ class o$3 {
|
|
|
23
23
|
return this.cssText;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
const r$
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
return t3.cssText;
|
|
30
|
-
if ("number" == typeof t3)
|
|
31
|
-
return t3;
|
|
32
|
-
throw Error("Value passed to 'css' function must be a 'css' function result: " + t3 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
33
|
-
})(s2) + t2[n3 + 1], t2[0]);
|
|
34
|
-
return new o$3(n2, t2, s$3);
|
|
35
|
-
}, S$1 = (s2, n2) => {
|
|
36
|
-
e$4 ? s2.adoptedStyleSheets = n2.map((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet) : n2.forEach((e2) => {
|
|
37
|
-
const n3 = document.createElement("style"), o2 = t$1.litNonce;
|
|
26
|
+
const r$4 = (t2) => new o$5("string" == typeof t2 ? t2 : t2 + "", void 0, s$5), S$2 = (s2, n2) => {
|
|
27
|
+
e$6 ? s2.adoptedStyleSheets = n2.map((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet) : n2.forEach((e2) => {
|
|
28
|
+
const n3 = document.createElement("style"), o2 = t$2.litNonce;
|
|
38
29
|
void 0 !== o2 && n3.setAttribute("nonce", o2), n3.textContent = e2.cssText, s2.appendChild(n3);
|
|
39
30
|
});
|
|
40
|
-
}, c$
|
|
31
|
+
}, c$2 = e$6 ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
|
|
41
32
|
let e2 = "";
|
|
42
33
|
for (const s2 of t3.cssRules)
|
|
43
34
|
e2 += s2.cssText;
|
|
44
|
-
return r$
|
|
35
|
+
return r$4(e2);
|
|
45
36
|
})(t2) : t2;
|
|
46
37
|
/**
|
|
47
38
|
* @license
|
|
48
39
|
* Copyright 2017 Google LLC
|
|
49
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
41
|
*/
|
|
51
|
-
var s$
|
|
52
|
-
const e$
|
|
42
|
+
var s$4;
|
|
43
|
+
const e$5 = window, r$3 = e$5.trustedTypes, h$2 = r$3 ? r$3.emptyScript : "", o$4 = e$5.reactiveElementPolyfillSupport, n$6 = { toAttribute(t2, i2) {
|
|
53
44
|
switch (i2) {
|
|
54
45
|
case Boolean:
|
|
55
|
-
t2 = t2 ? h$
|
|
46
|
+
t2 = t2 ? h$2 : null;
|
|
56
47
|
break;
|
|
57
48
|
case Object:
|
|
58
49
|
case Array:
|
|
@@ -77,14 +68,14 @@ const e$3 = window, r$1 = e$3.trustedTypes, h$1 = r$1 ? r$1.emptyScript : "", o$
|
|
|
77
68
|
}
|
|
78
69
|
}
|
|
79
70
|
return s2;
|
|
80
|
-
} }, a$
|
|
81
|
-
class
|
|
71
|
+
} }, a$2 = (t2, i2) => i2 !== t2 && (i2 == i2 || t2 == t2), l$3 = { attribute: true, type: String, converter: n$6, reflect: false, hasChanged: a$2 }, d$2 = "finalized";
|
|
72
|
+
class u$1 extends HTMLElement {
|
|
82
73
|
constructor() {
|
|
83
|
-
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = false, this.hasUpdated = false, this._$El = null, this.
|
|
74
|
+
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = false, this.hasUpdated = false, this._$El = null, this._$Eu();
|
|
84
75
|
}
|
|
85
76
|
static addInitializer(t2) {
|
|
86
77
|
var i2;
|
|
87
|
-
null !== (i2 = this.h) && void 0 !== i2
|
|
78
|
+
this.finalize(), (null !== (i2 = this.h) && void 0 !== i2 ? i2 : this.h = []).push(t2);
|
|
88
79
|
}
|
|
89
80
|
static get observedAttributes() {
|
|
90
81
|
this.finalize();
|
|
@@ -94,7 +85,7 @@ class d$1 extends HTMLElement {
|
|
|
94
85
|
void 0 !== e2 && (this._$Ev.set(e2, s2), t2.push(e2));
|
|
95
86
|
}), t2;
|
|
96
87
|
}
|
|
97
|
-
static createProperty(t2, i2 = l$
|
|
88
|
+
static createProperty(t2, i2 = l$3) {
|
|
98
89
|
if (i2.state && (i2.attribute = false), this.finalize(), this.elementProperties.set(t2, i2), !i2.noAccessor && !this.prototype.hasOwnProperty(t2)) {
|
|
99
90
|
const s2 = "symbol" == typeof t2 ? Symbol() : "__" + t2, e2 = this.getPropertyDescriptor(t2, s2, i2);
|
|
100
91
|
void 0 !== e2 && Object.defineProperty(this.prototype, t2, e2);
|
|
@@ -109,14 +100,14 @@ class d$1 extends HTMLElement {
|
|
|
109
100
|
}, configurable: true, enumerable: true };
|
|
110
101
|
}
|
|
111
102
|
static getPropertyOptions(t2) {
|
|
112
|
-
return this.elementProperties.get(t2) || l$
|
|
103
|
+
return this.elementProperties.get(t2) || l$3;
|
|
113
104
|
}
|
|
114
105
|
static finalize() {
|
|
115
|
-
if (this.hasOwnProperty(
|
|
106
|
+
if (this.hasOwnProperty(d$2))
|
|
116
107
|
return false;
|
|
117
|
-
this
|
|
108
|
+
this[d$2] = true;
|
|
118
109
|
const t2 = Object.getPrototypeOf(this);
|
|
119
|
-
if (t2.finalize(), this.elementProperties = new Map(t2.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
|
|
110
|
+
if (t2.finalize(), void 0 !== t2.h && (this.h = [...t2.h]), this.elementProperties = new Map(t2.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
|
|
120
111
|
const t3 = this.properties, i2 = [...Object.getOwnPropertyNames(t3), ...Object.getOwnPropertySymbols(t3)];
|
|
121
112
|
for (const s2 of i2)
|
|
122
113
|
this.createProperty(s2, t3[s2]);
|
|
@@ -128,16 +119,16 @@ class d$1 extends HTMLElement {
|
|
|
128
119
|
if (Array.isArray(i2)) {
|
|
129
120
|
const e2 = new Set(i2.flat(1 / 0).reverse());
|
|
130
121
|
for (const i3 of e2)
|
|
131
|
-
s2.unshift(c$
|
|
122
|
+
s2.unshift(c$2(i3));
|
|
132
123
|
} else
|
|
133
|
-
void 0 !== i2 && s2.push(c$
|
|
124
|
+
void 0 !== i2 && s2.push(c$2(i2));
|
|
134
125
|
return s2;
|
|
135
126
|
}
|
|
136
127
|
static _$Ep(t2, i2) {
|
|
137
128
|
const s2 = i2.attribute;
|
|
138
129
|
return false === s2 ? void 0 : "string" == typeof s2 ? s2 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
|
|
139
130
|
}
|
|
140
|
-
|
|
131
|
+
_$Eu() {
|
|
141
132
|
var t2;
|
|
142
133
|
this._$E_ = new Promise((t3) => this.enableUpdating = t3), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), null === (t2 = this.constructor.h) || void 0 === t2 || t2.forEach((t3) => t3(this));
|
|
143
134
|
}
|
|
@@ -157,7 +148,7 @@ class d$1 extends HTMLElement {
|
|
|
157
148
|
createRenderRoot() {
|
|
158
149
|
var t2;
|
|
159
150
|
const s2 = null !== (t2 = this.shadowRoot) && void 0 !== t2 ? t2 : this.attachShadow(this.constructor.shadowRootOptions);
|
|
160
|
-
return S$
|
|
151
|
+
return S$2(s2, this.constructor.elementStyles), s2;
|
|
161
152
|
}
|
|
162
153
|
connectedCallback() {
|
|
163
154
|
var t2;
|
|
@@ -178,11 +169,11 @@ class d$1 extends HTMLElement {
|
|
|
178
169
|
attributeChangedCallback(t2, i2, s2) {
|
|
179
170
|
this._$AK(t2, s2);
|
|
180
171
|
}
|
|
181
|
-
_$EO(t2, i2, s2 = l$
|
|
172
|
+
_$EO(t2, i2, s2 = l$3) {
|
|
182
173
|
var e2;
|
|
183
174
|
const r2 = this.constructor._$Ep(t2, s2);
|
|
184
175
|
if (void 0 !== r2 && true === s2.reflect) {
|
|
185
|
-
const h2 = (void 0 !== (null === (e2 = s2.converter) || void 0 === e2 ? void 0 : e2.toAttribute) ? s2.converter : n$
|
|
176
|
+
const h2 = (void 0 !== (null === (e2 = s2.converter) || void 0 === e2 ? void 0 : e2.toAttribute) ? s2.converter : n$6).toAttribute(i2, s2.type);
|
|
186
177
|
this._$El = t2, null == h2 ? this.removeAttribute(r2) : this.setAttribute(r2, h2), this._$El = null;
|
|
187
178
|
}
|
|
188
179
|
}
|
|
@@ -190,13 +181,13 @@ class d$1 extends HTMLElement {
|
|
|
190
181
|
var s2;
|
|
191
182
|
const e2 = this.constructor, r2 = e2._$Ev.get(t2);
|
|
192
183
|
if (void 0 !== r2 && this._$El !== r2) {
|
|
193
|
-
const t3 = e2.getPropertyOptions(r2), h2 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== (null === (s2 = t3.converter) || void 0 === s2 ? void 0 : s2.fromAttribute) ? t3.converter : n$
|
|
184
|
+
const t3 = e2.getPropertyOptions(r2), h2 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== (null === (s2 = t3.converter) || void 0 === s2 ? void 0 : s2.fromAttribute) ? t3.converter : n$6;
|
|
194
185
|
this._$El = r2, this[r2] = h2.fromAttribute(i2, t3.type), this._$El = null;
|
|
195
186
|
}
|
|
196
187
|
}
|
|
197
188
|
requestUpdate(t2, i2, s2) {
|
|
198
189
|
let e2 = true;
|
|
199
|
-
void 0 !== t2 && (((s2 = s2 || this.constructor.getPropertyOptions(t2)).hasChanged || a$
|
|
190
|
+
void 0 !== t2 && (((s2 = s2 || this.constructor.getPropertyOptions(t2)).hasChanged || a$2)(this[t2], i2) ? (this._$AL.has(t2) || this._$AL.set(t2, i2), true === s2.reflect && this._$El !== t2 && (void 0 === this._$EC && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t2, s2))) : e2 = false), !this.isUpdatePending && e2 && (this._$E_ = this._$Ej());
|
|
200
191
|
}
|
|
201
192
|
async _$Ej() {
|
|
202
193
|
this.isUpdatePending = true;
|
|
@@ -257,104 +248,95 @@ class d$1 extends HTMLElement {
|
|
|
257
248
|
firstUpdated(t2) {
|
|
258
249
|
}
|
|
259
250
|
}
|
|
260
|
-
d$
|
|
251
|
+
u$1[d$2] = true, u$1.elementProperties = /* @__PURE__ */ new Map(), u$1.elementStyles = [], u$1.shadowRootOptions = { mode: "open" }, null == o$4 || o$4({ ReactiveElement: u$1 }), (null !== (s$4 = e$5.reactiveElementVersions) && void 0 !== s$4 ? s$4 : e$5.reactiveElementVersions = []).push("1.6.3");
|
|
261
252
|
/**
|
|
262
253
|
* @license
|
|
263
254
|
* Copyright 2017 Google LLC
|
|
264
255
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
265
256
|
*/
|
|
266
|
-
var t;
|
|
267
|
-
const i$
|
|
268
|
-
\f\r](?:(
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
n2._$litPart$ = l2 = new S(i2.insertBefore(r(), t3), t3, void 0, null != s2 ? s2 : {});
|
|
278
|
-
}
|
|
279
|
-
return l2._$AI(t2), l2;
|
|
280
|
-
}, E = h.createTreeWalker(h, 129, null, false), C = (t2, i2) => {
|
|
281
|
-
const s2 = t2.length - 1, n2 = [];
|
|
282
|
-
let h2, r2 = 2 === i2 ? "<svg>" : "", d2 = v;
|
|
257
|
+
var t$1;
|
|
258
|
+
const i$2 = window, s$3 = i$2.trustedTypes, e$4 = s$3 ? s$3.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, o$3 = "$lit$", n$5 = `lit$${(Math.random() + "").slice(9)}$`, l$2 = "?" + n$5, h$1 = `<${l$2}>`, r$2 = document, u = () => r$2.createComment(""), d$1 = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, c$1 = Array.isArray, v = (t2) => c$1(t2) || "function" == typeof (null == t2 ? void 0 : t2[Symbol.iterator]), a$1 = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _ = /-->/g, m = />/g, p = RegExp(`>|${a$1}(?:([^\\s"'>=/]+)(${a$1}*=${a$1}*(?:[^
|
|
259
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), g = /'/g, $ = /"/g, y = /^(?:script|style|textarea|title)$/i, w = (t2) => (i2, ...s2) => ({ _$litType$: t2, strings: i2, values: s2 }), x = w(1), T = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), E = /* @__PURE__ */ new WeakMap(), C = r$2.createTreeWalker(r$2, 129, null, false);
|
|
260
|
+
function P(t2, i2) {
|
|
261
|
+
if (!Array.isArray(t2) || !t2.hasOwnProperty("raw"))
|
|
262
|
+
throw Error("invalid template strings array");
|
|
263
|
+
return void 0 !== e$4 ? e$4.createHTML(i2) : i2;
|
|
264
|
+
}
|
|
265
|
+
const V = (t2, i2) => {
|
|
266
|
+
const s2 = t2.length - 1, e2 = [];
|
|
267
|
+
let l2, r2 = 2 === i2 ? "<svg>" : "", u2 = f;
|
|
283
268
|
for (let i3 = 0; i3 < s2; i3++) {
|
|
284
269
|
const s3 = t2[i3];
|
|
285
|
-
let
|
|
286
|
-
for (;
|
|
287
|
-
|
|
288
|
-
const
|
|
289
|
-
r2 +=
|
|
270
|
+
let d2, c2, v2 = -1, a2 = 0;
|
|
271
|
+
for (; a2 < s3.length && (u2.lastIndex = a2, c2 = u2.exec(s3), null !== c2); )
|
|
272
|
+
a2 = u2.lastIndex, u2 === f ? "!--" === c2[1] ? u2 = _ : void 0 !== c2[1] ? u2 = m : void 0 !== c2[2] ? (y.test(c2[2]) && (l2 = RegExp("</" + c2[2], "g")), u2 = p) : void 0 !== c2[3] && (u2 = p) : u2 === p ? ">" === c2[0] ? (u2 = null != l2 ? l2 : f, v2 = -1) : void 0 === c2[1] ? v2 = -2 : (v2 = u2.lastIndex - c2[2].length, d2 = c2[1], u2 = void 0 === c2[3] ? p : '"' === c2[3] ? $ : g) : u2 === $ || u2 === g ? u2 = p : u2 === _ || u2 === m ? u2 = f : (u2 = p, l2 = void 0);
|
|
273
|
+
const w2 = u2 === p && t2[i3 + 1].startsWith("/>") ? " " : "";
|
|
274
|
+
r2 += u2 === f ? s3 + h$1 : v2 >= 0 ? (e2.push(d2), s3.slice(0, v2) + o$3 + s3.slice(v2) + n$5 + w2) : s3 + n$5 + (-2 === v2 ? (e2.push(void 0), i3) : w2);
|
|
290
275
|
}
|
|
291
|
-
|
|
292
|
-
if (!Array.isArray(t2) || !t2.hasOwnProperty("raw"))
|
|
293
|
-
throw Error("invalid template strings array");
|
|
294
|
-
return [void 0 !== e$2 ? e$2.createHTML(u2) : u2, n2];
|
|
276
|
+
return [P(t2, r2 + (t2[s2] || "<?>") + (2 === i2 ? "</svg>" : "")), e2];
|
|
295
277
|
};
|
|
296
|
-
class
|
|
278
|
+
class N {
|
|
297
279
|
constructor({ strings: t2, _$litType$: i2 }, e2) {
|
|
298
|
-
let
|
|
280
|
+
let h2;
|
|
299
281
|
this.parts = [];
|
|
300
|
-
let
|
|
301
|
-
const
|
|
302
|
-
if (this.el =
|
|
282
|
+
let r2 = 0, d2 = 0;
|
|
283
|
+
const c2 = t2.length - 1, v2 = this.parts, [a2, f2] = V(t2, i2);
|
|
284
|
+
if (this.el = N.createElement(a2, e2), C.currentNode = this.el.content, 2 === i2) {
|
|
303
285
|
const t3 = this.el.content, i3 = t3.firstChild;
|
|
304
286
|
i3.remove(), t3.append(...i3.childNodes);
|
|
305
287
|
}
|
|
306
|
-
for (; null !== (
|
|
307
|
-
if (1 ===
|
|
308
|
-
if (
|
|
288
|
+
for (; null !== (h2 = C.nextNode()) && v2.length < c2; ) {
|
|
289
|
+
if (1 === h2.nodeType) {
|
|
290
|
+
if (h2.hasAttributes()) {
|
|
309
291
|
const t3 = [];
|
|
310
|
-
for (const i3 of
|
|
311
|
-
if (i3.endsWith(
|
|
312
|
-
const s2 =
|
|
292
|
+
for (const i3 of h2.getAttributeNames())
|
|
293
|
+
if (i3.endsWith(o$3) || i3.startsWith(n$5)) {
|
|
294
|
+
const s2 = f2[d2++];
|
|
313
295
|
if (t3.push(i3), void 0 !== s2) {
|
|
314
|
-
const t4 =
|
|
315
|
-
|
|
296
|
+
const t4 = h2.getAttribute(s2.toLowerCase() + o$3).split(n$5), i4 = /([.?@])?(.*)/.exec(s2);
|
|
297
|
+
v2.push({ type: 1, index: r2, name: i4[2], strings: t4, ctor: "." === i4[1] ? H : "?" === i4[1] ? L : "@" === i4[1] ? z : k });
|
|
316
298
|
} else
|
|
317
|
-
|
|
299
|
+
v2.push({ type: 6, index: r2 });
|
|
318
300
|
}
|
|
319
301
|
for (const i3 of t3)
|
|
320
|
-
|
|
302
|
+
h2.removeAttribute(i3);
|
|
321
303
|
}
|
|
322
|
-
if (
|
|
323
|
-
const t3 =
|
|
304
|
+
if (y.test(h2.tagName)) {
|
|
305
|
+
const t3 = h2.textContent.split(n$5), i3 = t3.length - 1;
|
|
324
306
|
if (i3 > 0) {
|
|
325
|
-
|
|
307
|
+
h2.textContent = s$3 ? s$3.emptyScript : "";
|
|
326
308
|
for (let s2 = 0; s2 < i3; s2++)
|
|
327
|
-
|
|
328
|
-
|
|
309
|
+
h2.append(t3[s2], u()), C.nextNode(), v2.push({ type: 2, index: ++r2 });
|
|
310
|
+
h2.append(t3[i3], u());
|
|
329
311
|
}
|
|
330
312
|
}
|
|
331
|
-
} else if (8 ===
|
|
332
|
-
if (
|
|
333
|
-
|
|
313
|
+
} else if (8 === h2.nodeType)
|
|
314
|
+
if (h2.data === l$2)
|
|
315
|
+
v2.push({ type: 2, index: r2 });
|
|
334
316
|
else {
|
|
335
317
|
let t3 = -1;
|
|
336
|
-
for (; -1 !== (t3 =
|
|
337
|
-
|
|
318
|
+
for (; -1 !== (t3 = h2.data.indexOf(n$5, t3 + 1)); )
|
|
319
|
+
v2.push({ type: 7, index: r2 }), t3 += n$5.length - 1;
|
|
338
320
|
}
|
|
339
|
-
|
|
321
|
+
r2++;
|
|
340
322
|
}
|
|
341
323
|
}
|
|
342
324
|
static createElement(t2, i2) {
|
|
343
|
-
const s2 =
|
|
325
|
+
const s2 = r$2.createElement("template");
|
|
344
326
|
return s2.innerHTML = t2, s2;
|
|
345
327
|
}
|
|
346
328
|
}
|
|
347
|
-
function
|
|
329
|
+
function S$1(t2, i2, s2 = t2, e2) {
|
|
348
330
|
var o2, n2, l2, h2;
|
|
349
|
-
if (i2 ===
|
|
331
|
+
if (i2 === T)
|
|
350
332
|
return i2;
|
|
351
|
-
let r2 = void 0 !== e2 ? null === (o2 = s2._$
|
|
352
|
-
const u2 = d(i2) ? void 0 : i2._$litDirective$;
|
|
353
|
-
return (null == r2 ? void 0 : r2.constructor) !== u2 && (null === (n2 = null == r2 ? void 0 : r2._$AO) || void 0 === n2 || n2.call(r2, false), void 0 === u2 ? r2 = void 0 : (r2 = new u2(t2), r2._$AT(t2, s2, e2)), void 0 !== e2 ? (null !== (l2 = (h2 = s2)._$
|
|
333
|
+
let r2 = void 0 !== e2 ? null === (o2 = s2._$Co) || void 0 === o2 ? void 0 : o2[e2] : s2._$Cl;
|
|
334
|
+
const u2 = d$1(i2) ? void 0 : i2._$litDirective$;
|
|
335
|
+
return (null == r2 ? void 0 : r2.constructor) !== u2 && (null === (n2 = null == r2 ? void 0 : r2._$AO) || void 0 === n2 || n2.call(r2, false), void 0 === u2 ? r2 = void 0 : (r2 = new u2(t2), r2._$AT(t2, s2, e2)), void 0 !== e2 ? (null !== (l2 = (h2 = s2)._$Co) && void 0 !== l2 ? l2 : h2._$Co = [])[e2] = r2 : s2._$Cl = r2), void 0 !== r2 && (i2 = S$1(t2, r2._$AS(t2, i2.values), r2, e2)), i2;
|
|
354
336
|
}
|
|
355
|
-
class
|
|
337
|
+
class M {
|
|
356
338
|
constructor(t2, i2) {
|
|
357
|
-
this.
|
|
339
|
+
this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i2;
|
|
358
340
|
}
|
|
359
341
|
get parentNode() {
|
|
360
342
|
return this._$AM.parentNode;
|
|
@@ -362,39 +344,39 @@ class N {
|
|
|
362
344
|
get _$AU() {
|
|
363
345
|
return this._$AM._$AU;
|
|
364
346
|
}
|
|
365
|
-
|
|
347
|
+
u(t2) {
|
|
366
348
|
var i2;
|
|
367
|
-
const { el: { content: s2 }, parts: e2 } = this._$AD, o2 = (null !== (i2 = null == t2 ? void 0 : t2.creationScope) && void 0 !== i2 ? i2 :
|
|
368
|
-
|
|
369
|
-
let n2 =
|
|
370
|
-
for (; void 0 !==
|
|
371
|
-
if (l2 ===
|
|
349
|
+
const { el: { content: s2 }, parts: e2 } = this._$AD, o2 = (null !== (i2 = null == t2 ? void 0 : t2.creationScope) && void 0 !== i2 ? i2 : r$2).importNode(s2, true);
|
|
350
|
+
C.currentNode = o2;
|
|
351
|
+
let n2 = C.nextNode(), l2 = 0, h2 = 0, u2 = e2[0];
|
|
352
|
+
for (; void 0 !== u2; ) {
|
|
353
|
+
if (l2 === u2.index) {
|
|
372
354
|
let i3;
|
|
373
|
-
2 ===
|
|
355
|
+
2 === u2.type ? i3 = new R(n2, n2.nextSibling, this, t2) : 1 === u2.type ? i3 = new u2.ctor(n2, u2.name, u2.strings, this, t2) : 6 === u2.type && (i3 = new Z(n2, this, t2)), this._$AV.push(i3), u2 = e2[++h2];
|
|
374
356
|
}
|
|
375
|
-
l2 !== (null ==
|
|
357
|
+
l2 !== (null == u2 ? void 0 : u2.index) && (n2 = C.nextNode(), l2++);
|
|
376
358
|
}
|
|
377
|
-
return o2;
|
|
359
|
+
return C.currentNode = r$2, o2;
|
|
378
360
|
}
|
|
379
|
-
|
|
361
|
+
v(t2) {
|
|
380
362
|
let i2 = 0;
|
|
381
|
-
for (const s2 of this.
|
|
363
|
+
for (const s2 of this._$AV)
|
|
382
364
|
void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t2, s2, i2), i2 += s2.strings.length - 2) : s2._$AI(t2[i2])), i2++;
|
|
383
365
|
}
|
|
384
366
|
}
|
|
385
|
-
class
|
|
367
|
+
class R {
|
|
386
368
|
constructor(t2, i2, s2, e2) {
|
|
387
369
|
var o2;
|
|
388
|
-
this.type = 2, this._$AH =
|
|
370
|
+
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t2, this._$AB = i2, this._$AM = s2, this.options = e2, this._$Cp = null === (o2 = null == e2 ? void 0 : e2.isConnected) || void 0 === o2 || o2;
|
|
389
371
|
}
|
|
390
372
|
get _$AU() {
|
|
391
373
|
var t2, i2;
|
|
392
|
-
return null !== (i2 = null === (t2 = this._$AM) || void 0 === t2 ? void 0 : t2._$AU) && void 0 !== i2 ? i2 : this._$
|
|
374
|
+
return null !== (i2 = null === (t2 = this._$AM) || void 0 === t2 ? void 0 : t2._$AU) && void 0 !== i2 ? i2 : this._$Cp;
|
|
393
375
|
}
|
|
394
376
|
get parentNode() {
|
|
395
377
|
let t2 = this._$AA.parentNode;
|
|
396
378
|
const i2 = this._$AM;
|
|
397
|
-
return void 0 !== i2 && 11 === t2.nodeType && (t2 = i2.parentNode), t2;
|
|
379
|
+
return void 0 !== i2 && 11 === (null == t2 ? void 0 : t2.nodeType) && (t2 = i2.parentNode), t2;
|
|
398
380
|
}
|
|
399
381
|
get startNode() {
|
|
400
382
|
return this._$AA;
|
|
@@ -403,37 +385,37 @@ class S {
|
|
|
403
385
|
return this._$AB;
|
|
404
386
|
}
|
|
405
387
|
_$AI(t2, i2 = this) {
|
|
406
|
-
t2 =
|
|
407
|
-
}
|
|
408
|
-
S(t2, i2 = this._$AB) {
|
|
409
|
-
return this._$AA.parentNode.insertBefore(t2, i2);
|
|
388
|
+
t2 = S$1(this, t2, i2), d$1(t2) ? t2 === A || null == t2 || "" === t2 ? (this._$AH !== A && this._$AR(), this._$AH = A) : t2 !== this._$AH && t2 !== T && this._(t2) : void 0 !== t2._$litType$ ? this.g(t2) : void 0 !== t2.nodeType ? this.$(t2) : v(t2) ? this.T(t2) : this._(t2);
|
|
410
389
|
}
|
|
411
390
|
k(t2) {
|
|
412
|
-
this._$
|
|
391
|
+
return this._$AA.parentNode.insertBefore(t2, this._$AB);
|
|
413
392
|
}
|
|
414
393
|
$(t2) {
|
|
415
|
-
this._$AH !==
|
|
394
|
+
this._$AH !== t2 && (this._$AR(), this._$AH = this.k(t2));
|
|
416
395
|
}
|
|
417
|
-
|
|
396
|
+
_(t2) {
|
|
397
|
+
this._$AH !== A && d$1(this._$AH) ? this._$AA.nextSibling.data = t2 : this.$(r$2.createTextNode(t2)), this._$AH = t2;
|
|
398
|
+
}
|
|
399
|
+
g(t2) {
|
|
418
400
|
var i2;
|
|
419
|
-
const { values: s2, _$litType$: e2 } = t2, o2 = "number" == typeof e2 ? this._$AC(t2) : (void 0 === e2.el && (e2.el =
|
|
401
|
+
const { values: s2, _$litType$: e2 } = t2, o2 = "number" == typeof e2 ? this._$AC(t2) : (void 0 === e2.el && (e2.el = N.createElement(P(e2.h, e2.h[0]), this.options)), e2);
|
|
420
402
|
if ((null === (i2 = this._$AH) || void 0 === i2 ? void 0 : i2._$AD) === o2)
|
|
421
|
-
this._$AH.
|
|
403
|
+
this._$AH.v(s2);
|
|
422
404
|
else {
|
|
423
|
-
const t3 = new
|
|
424
|
-
t3.
|
|
405
|
+
const t3 = new M(o2, this), i3 = t3.u(this.options);
|
|
406
|
+
t3.v(s2), this.$(i3), this._$AH = t3;
|
|
425
407
|
}
|
|
426
408
|
}
|
|
427
409
|
_$AC(t2) {
|
|
428
|
-
let i2 =
|
|
429
|
-
return void 0 === i2 &&
|
|
410
|
+
let i2 = E.get(t2.strings);
|
|
411
|
+
return void 0 === i2 && E.set(t2.strings, i2 = new N(t2)), i2;
|
|
430
412
|
}
|
|
431
|
-
|
|
432
|
-
|
|
413
|
+
T(t2) {
|
|
414
|
+
c$1(this._$AH) || (this._$AH = [], this._$AR());
|
|
433
415
|
const i2 = this._$AH;
|
|
434
416
|
let s2, e2 = 0;
|
|
435
417
|
for (const o2 of t2)
|
|
436
|
-
e2 === i2.length ? i2.push(s2 = new
|
|
418
|
+
e2 === i2.length ? i2.push(s2 = new R(this.k(u()), this.k(u()), this, this.options)) : s2 = i2[e2], s2._$AI(o2), e2++;
|
|
437
419
|
e2 < i2.length && (this._$AR(s2 && s2._$AB.nextSibling, e2), i2.length = e2);
|
|
438
420
|
}
|
|
439
421
|
_$AR(t2 = this._$AA.nextSibling, i2) {
|
|
@@ -445,12 +427,12 @@ class S {
|
|
|
445
427
|
}
|
|
446
428
|
setConnected(t2) {
|
|
447
429
|
var i2;
|
|
448
|
-
void 0 === this._$AM && (this._$
|
|
430
|
+
void 0 === this._$AM && (this._$Cp = t2, null === (i2 = this._$AP) || void 0 === i2 || i2.call(this, t2));
|
|
449
431
|
}
|
|
450
432
|
}
|
|
451
|
-
class
|
|
433
|
+
class k {
|
|
452
434
|
constructor(t2, i2, s2, e2, o2) {
|
|
453
|
-
this.type = 1, this._$AH =
|
|
435
|
+
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t2, this.name = i2, this._$AM = e2, this.options = o2, s2.length > 2 || "" !== s2[0] || "" !== s2[1] ? (this._$AH = Array(s2.length - 1).fill(new String()), this.strings = s2) : this._$AH = A;
|
|
454
436
|
}
|
|
455
437
|
get tagName() {
|
|
456
438
|
return this.element.tagName;
|
|
@@ -462,45 +444,45 @@ class M {
|
|
|
462
444
|
const o2 = this.strings;
|
|
463
445
|
let n2 = false;
|
|
464
446
|
if (void 0 === o2)
|
|
465
|
-
t2 =
|
|
447
|
+
t2 = S$1(this, t2, i2, 0), n2 = !d$1(t2) || t2 !== this._$AH && t2 !== T, n2 && (this._$AH = t2);
|
|
466
448
|
else {
|
|
467
449
|
const e3 = t2;
|
|
468
450
|
let l2, h2;
|
|
469
451
|
for (t2 = o2[0], l2 = 0; l2 < o2.length - 1; l2++)
|
|
470
|
-
h2 =
|
|
452
|
+
h2 = S$1(this, e3[s2 + l2], i2, l2), h2 === T && (h2 = this._$AH[l2]), n2 || (n2 = !d$1(h2) || h2 !== this._$AH[l2]), h2 === A ? t2 = A : t2 !== A && (t2 += (null != h2 ? h2 : "") + o2[l2 + 1]), this._$AH[l2] = h2;
|
|
471
453
|
}
|
|
472
|
-
n2 && !e2 && this.
|
|
454
|
+
n2 && !e2 && this.j(t2);
|
|
473
455
|
}
|
|
474
|
-
|
|
475
|
-
t2 ===
|
|
456
|
+
j(t2) {
|
|
457
|
+
t2 === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t2 ? t2 : "");
|
|
476
458
|
}
|
|
477
459
|
}
|
|
478
|
-
class
|
|
460
|
+
class H extends k {
|
|
479
461
|
constructor() {
|
|
480
462
|
super(...arguments), this.type = 3;
|
|
481
463
|
}
|
|
482
|
-
|
|
483
|
-
this.element[this.name] = t2 ===
|
|
464
|
+
j(t2) {
|
|
465
|
+
this.element[this.name] = t2 === A ? void 0 : t2;
|
|
484
466
|
}
|
|
485
467
|
}
|
|
486
|
-
const
|
|
487
|
-
class
|
|
468
|
+
const I = s$3 ? s$3.emptyScript : "";
|
|
469
|
+
class L extends k {
|
|
488
470
|
constructor() {
|
|
489
471
|
super(...arguments), this.type = 4;
|
|
490
472
|
}
|
|
491
|
-
|
|
492
|
-
t2 && t2 !==
|
|
473
|
+
j(t2) {
|
|
474
|
+
t2 && t2 !== A ? this.element.setAttribute(this.name, I) : this.element.removeAttribute(this.name);
|
|
493
475
|
}
|
|
494
476
|
}
|
|
495
|
-
class
|
|
477
|
+
class z extends k {
|
|
496
478
|
constructor(t2, i2, s2, e2, o2) {
|
|
497
479
|
super(t2, i2, s2, e2, o2), this.type = 5;
|
|
498
480
|
}
|
|
499
481
|
_$AI(t2, i2 = this) {
|
|
500
482
|
var s2;
|
|
501
|
-
if ((t2 = null !== (s2 =
|
|
483
|
+
if ((t2 = null !== (s2 = S$1(this, t2, i2, 0)) && void 0 !== s2 ? s2 : A) === T)
|
|
502
484
|
return;
|
|
503
|
-
const e2 = this._$AH, o2 = t2 ===
|
|
485
|
+
const e2 = this._$AH, o2 = t2 === A && e2 !== A || t2.capture !== e2.capture || t2.once !== e2.once || t2.passive !== e2.passive, n2 = t2 !== A && (e2 === A || o2);
|
|
504
486
|
o2 && this.element.removeEventListener(this.name, this, e2), n2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
|
|
505
487
|
}
|
|
506
488
|
handleEvent(t2) {
|
|
@@ -508,7 +490,7 @@ class I extends M {
|
|
|
508
490
|
"function" == typeof this._$AH ? this._$AH.call(null !== (s2 = null === (i2 = this.options) || void 0 === i2 ? void 0 : i2.host) && void 0 !== s2 ? s2 : this.element, t2) : this._$AH.handleEvent(t2);
|
|
509
491
|
}
|
|
510
492
|
}
|
|
511
|
-
class
|
|
493
|
+
class Z {
|
|
512
494
|
constructor(t2, i2, s2) {
|
|
513
495
|
this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i2, this.options = s2;
|
|
514
496
|
}
|
|
@@ -516,18 +498,288 @@ class L {
|
|
|
516
498
|
return this._$AM._$AU;
|
|
517
499
|
}
|
|
518
500
|
_$AI(t2) {
|
|
519
|
-
|
|
501
|
+
S$1(this, t2);
|
|
520
502
|
}
|
|
521
503
|
}
|
|
522
|
-
const
|
|
523
|
-
null ==
|
|
504
|
+
const B = i$2.litHtmlPolyfillSupport;
|
|
505
|
+
null == B || B(N, R), (null !== (t$1 = i$2.litHtmlVersions) && void 0 !== t$1 ? t$1 : i$2.litHtmlVersions = []).push("2.8.0");
|
|
506
|
+
const D = (t2, i2, s2) => {
|
|
507
|
+
var e2, o2;
|
|
508
|
+
const n2 = null !== (e2 = null == s2 ? void 0 : s2.renderBefore) && void 0 !== e2 ? e2 : i2;
|
|
509
|
+
let l2 = n2._$litPart$;
|
|
510
|
+
if (void 0 === l2) {
|
|
511
|
+
const t3 = null !== (o2 = null == s2 ? void 0 : s2.renderBefore) && void 0 !== o2 ? o2 : null;
|
|
512
|
+
n2._$litPart$ = l2 = new R(i2.insertBefore(u(), t3), t3, void 0, null != s2 ? s2 : {});
|
|
513
|
+
}
|
|
514
|
+
return l2._$AI(t2), l2;
|
|
515
|
+
};
|
|
516
|
+
/**
|
|
517
|
+
* @license
|
|
518
|
+
* Copyright 2019 Google LLC
|
|
519
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
|
+
*/
|
|
521
|
+
const t = window, e$3 = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$2 = Symbol(), n$4 = /* @__PURE__ */ new WeakMap();
|
|
522
|
+
class o$2 {
|
|
523
|
+
constructor(t2, e2, n2) {
|
|
524
|
+
if (this._$cssResult$ = true, n2 !== s$2)
|
|
525
|
+
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
526
|
+
this.cssText = t2, this.t = e2;
|
|
527
|
+
}
|
|
528
|
+
get styleSheet() {
|
|
529
|
+
let t2 = this.o;
|
|
530
|
+
const s2 = this.t;
|
|
531
|
+
if (e$3 && void 0 === t2) {
|
|
532
|
+
const e2 = void 0 !== s2 && 1 === s2.length;
|
|
533
|
+
e2 && (t2 = n$4.get(s2)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && n$4.set(s2, t2));
|
|
534
|
+
}
|
|
535
|
+
return t2;
|
|
536
|
+
}
|
|
537
|
+
toString() {
|
|
538
|
+
return this.cssText;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
const r$1 = (t2) => new o$2("string" == typeof t2 ? t2 : t2 + "", void 0, s$2), i$1 = (t2, ...e2) => {
|
|
542
|
+
const n2 = 1 === t2.length ? t2[0] : e2.reduce((e3, s2, n3) => e3 + ((t3) => {
|
|
543
|
+
if (true === t3._$cssResult$)
|
|
544
|
+
return t3.cssText;
|
|
545
|
+
if ("number" == typeof t3)
|
|
546
|
+
return t3;
|
|
547
|
+
throw Error("Value passed to 'css' function must be a 'css' function result: " + t3 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
548
|
+
})(s2) + t2[n3 + 1], t2[0]);
|
|
549
|
+
return new o$2(n2, t2, s$2);
|
|
550
|
+
}, S = (s2, n2) => {
|
|
551
|
+
e$3 ? s2.adoptedStyleSheets = n2.map((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet) : n2.forEach((e2) => {
|
|
552
|
+
const n3 = document.createElement("style"), o2 = t.litNonce;
|
|
553
|
+
void 0 !== o2 && n3.setAttribute("nonce", o2), n3.textContent = e2.cssText, s2.appendChild(n3);
|
|
554
|
+
});
|
|
555
|
+
}, c = e$3 ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
|
|
556
|
+
let e2 = "";
|
|
557
|
+
for (const s2 of t3.cssRules)
|
|
558
|
+
e2 += s2.cssText;
|
|
559
|
+
return r$1(e2);
|
|
560
|
+
})(t2) : t2;
|
|
561
|
+
/**
|
|
562
|
+
* @license
|
|
563
|
+
* Copyright 2017 Google LLC
|
|
564
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
565
|
+
*/
|
|
566
|
+
var s$1;
|
|
567
|
+
const e$2 = window, r = e$2.trustedTypes, h = r ? r.emptyScript : "", o$1 = e$2.reactiveElementPolyfillSupport, n$3 = { toAttribute(t2, i2) {
|
|
568
|
+
switch (i2) {
|
|
569
|
+
case Boolean:
|
|
570
|
+
t2 = t2 ? h : null;
|
|
571
|
+
break;
|
|
572
|
+
case Object:
|
|
573
|
+
case Array:
|
|
574
|
+
t2 = null == t2 ? t2 : JSON.stringify(t2);
|
|
575
|
+
}
|
|
576
|
+
return t2;
|
|
577
|
+
}, fromAttribute(t2, i2) {
|
|
578
|
+
let s2 = t2;
|
|
579
|
+
switch (i2) {
|
|
580
|
+
case Boolean:
|
|
581
|
+
s2 = null !== t2;
|
|
582
|
+
break;
|
|
583
|
+
case Number:
|
|
584
|
+
s2 = null === t2 ? null : Number(t2);
|
|
585
|
+
break;
|
|
586
|
+
case Object:
|
|
587
|
+
case Array:
|
|
588
|
+
try {
|
|
589
|
+
s2 = JSON.parse(t2);
|
|
590
|
+
} catch (t3) {
|
|
591
|
+
s2 = null;
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
return s2;
|
|
595
|
+
} }, a = (t2, i2) => i2 !== t2 && (i2 == i2 || t2 == t2), l$1 = { attribute: true, type: String, converter: n$3, reflect: false, hasChanged: a };
|
|
596
|
+
class d extends HTMLElement {
|
|
597
|
+
constructor() {
|
|
598
|
+
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = false, this.hasUpdated = false, this._$El = null, this.u();
|
|
599
|
+
}
|
|
600
|
+
static addInitializer(t2) {
|
|
601
|
+
var i2;
|
|
602
|
+
null !== (i2 = this.h) && void 0 !== i2 || (this.h = []), this.h.push(t2);
|
|
603
|
+
}
|
|
604
|
+
static get observedAttributes() {
|
|
605
|
+
this.finalize();
|
|
606
|
+
const t2 = [];
|
|
607
|
+
return this.elementProperties.forEach((i2, s2) => {
|
|
608
|
+
const e2 = this._$Ep(s2, i2);
|
|
609
|
+
void 0 !== e2 && (this._$Ev.set(e2, s2), t2.push(e2));
|
|
610
|
+
}), t2;
|
|
611
|
+
}
|
|
612
|
+
static createProperty(t2, i2 = l$1) {
|
|
613
|
+
if (i2.state && (i2.attribute = false), this.finalize(), this.elementProperties.set(t2, i2), !i2.noAccessor && !this.prototype.hasOwnProperty(t2)) {
|
|
614
|
+
const s2 = "symbol" == typeof t2 ? Symbol() : "__" + t2, e2 = this.getPropertyDescriptor(t2, s2, i2);
|
|
615
|
+
void 0 !== e2 && Object.defineProperty(this.prototype, t2, e2);
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
static getPropertyDescriptor(t2, i2, s2) {
|
|
619
|
+
return { get() {
|
|
620
|
+
return this[i2];
|
|
621
|
+
}, set(e2) {
|
|
622
|
+
const r2 = this[t2];
|
|
623
|
+
this[i2] = e2, this.requestUpdate(t2, r2, s2);
|
|
624
|
+
}, configurable: true, enumerable: true };
|
|
625
|
+
}
|
|
626
|
+
static getPropertyOptions(t2) {
|
|
627
|
+
return this.elementProperties.get(t2) || l$1;
|
|
628
|
+
}
|
|
629
|
+
static finalize() {
|
|
630
|
+
if (this.hasOwnProperty("finalized"))
|
|
631
|
+
return false;
|
|
632
|
+
this.finalized = true;
|
|
633
|
+
const t2 = Object.getPrototypeOf(this);
|
|
634
|
+
if (t2.finalize(), this.elementProperties = new Map(t2.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
|
|
635
|
+
const t3 = this.properties, i2 = [...Object.getOwnPropertyNames(t3), ...Object.getOwnPropertySymbols(t3)];
|
|
636
|
+
for (const s2 of i2)
|
|
637
|
+
this.createProperty(s2, t3[s2]);
|
|
638
|
+
}
|
|
639
|
+
return this.elementStyles = this.finalizeStyles(this.styles), true;
|
|
640
|
+
}
|
|
641
|
+
static finalizeStyles(i2) {
|
|
642
|
+
const s2 = [];
|
|
643
|
+
if (Array.isArray(i2)) {
|
|
644
|
+
const e2 = new Set(i2.flat(1 / 0).reverse());
|
|
645
|
+
for (const i3 of e2)
|
|
646
|
+
s2.unshift(c(i3));
|
|
647
|
+
} else
|
|
648
|
+
void 0 !== i2 && s2.push(c(i2));
|
|
649
|
+
return s2;
|
|
650
|
+
}
|
|
651
|
+
static _$Ep(t2, i2) {
|
|
652
|
+
const s2 = i2.attribute;
|
|
653
|
+
return false === s2 ? void 0 : "string" == typeof s2 ? s2 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
|
|
654
|
+
}
|
|
655
|
+
u() {
|
|
656
|
+
var t2;
|
|
657
|
+
this._$E_ = new Promise((t3) => this.enableUpdating = t3), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), null === (t2 = this.constructor.h) || void 0 === t2 || t2.forEach((t3) => t3(this));
|
|
658
|
+
}
|
|
659
|
+
addController(t2) {
|
|
660
|
+
var i2, s2;
|
|
661
|
+
(null !== (i2 = this._$ES) && void 0 !== i2 ? i2 : this._$ES = []).push(t2), void 0 !== this.renderRoot && this.isConnected && (null === (s2 = t2.hostConnected) || void 0 === s2 || s2.call(t2));
|
|
662
|
+
}
|
|
663
|
+
removeController(t2) {
|
|
664
|
+
var i2;
|
|
665
|
+
null === (i2 = this._$ES) || void 0 === i2 || i2.splice(this._$ES.indexOf(t2) >>> 0, 1);
|
|
666
|
+
}
|
|
667
|
+
_$Eg() {
|
|
668
|
+
this.constructor.elementProperties.forEach((t2, i2) => {
|
|
669
|
+
this.hasOwnProperty(i2) && (this._$Ei.set(i2, this[i2]), delete this[i2]);
|
|
670
|
+
});
|
|
671
|
+
}
|
|
672
|
+
createRenderRoot() {
|
|
673
|
+
var t2;
|
|
674
|
+
const s2 = null !== (t2 = this.shadowRoot) && void 0 !== t2 ? t2 : this.attachShadow(this.constructor.shadowRootOptions);
|
|
675
|
+
return S(s2, this.constructor.elementStyles), s2;
|
|
676
|
+
}
|
|
677
|
+
connectedCallback() {
|
|
678
|
+
var t2;
|
|
679
|
+
void 0 === this.renderRoot && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), null === (t2 = this._$ES) || void 0 === t2 || t2.forEach((t3) => {
|
|
680
|
+
var i2;
|
|
681
|
+
return null === (i2 = t3.hostConnected) || void 0 === i2 ? void 0 : i2.call(t3);
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
enableUpdating(t2) {
|
|
685
|
+
}
|
|
686
|
+
disconnectedCallback() {
|
|
687
|
+
var t2;
|
|
688
|
+
null === (t2 = this._$ES) || void 0 === t2 || t2.forEach((t3) => {
|
|
689
|
+
var i2;
|
|
690
|
+
return null === (i2 = t3.hostDisconnected) || void 0 === i2 ? void 0 : i2.call(t3);
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
attributeChangedCallback(t2, i2, s2) {
|
|
694
|
+
this._$AK(t2, s2);
|
|
695
|
+
}
|
|
696
|
+
_$EO(t2, i2, s2 = l$1) {
|
|
697
|
+
var e2;
|
|
698
|
+
const r2 = this.constructor._$Ep(t2, s2);
|
|
699
|
+
if (void 0 !== r2 && true === s2.reflect) {
|
|
700
|
+
const h2 = (void 0 !== (null === (e2 = s2.converter) || void 0 === e2 ? void 0 : e2.toAttribute) ? s2.converter : n$3).toAttribute(i2, s2.type);
|
|
701
|
+
this._$El = t2, null == h2 ? this.removeAttribute(r2) : this.setAttribute(r2, h2), this._$El = null;
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
_$AK(t2, i2) {
|
|
705
|
+
var s2;
|
|
706
|
+
const e2 = this.constructor, r2 = e2._$Ev.get(t2);
|
|
707
|
+
if (void 0 !== r2 && this._$El !== r2) {
|
|
708
|
+
const t3 = e2.getPropertyOptions(r2), h2 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== (null === (s2 = t3.converter) || void 0 === s2 ? void 0 : s2.fromAttribute) ? t3.converter : n$3;
|
|
709
|
+
this._$El = r2, this[r2] = h2.fromAttribute(i2, t3.type), this._$El = null;
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
requestUpdate(t2, i2, s2) {
|
|
713
|
+
let e2 = true;
|
|
714
|
+
void 0 !== t2 && (((s2 = s2 || this.constructor.getPropertyOptions(t2)).hasChanged || a)(this[t2], i2) ? (this._$AL.has(t2) || this._$AL.set(t2, i2), true === s2.reflect && this._$El !== t2 && (void 0 === this._$EC && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t2, s2))) : e2 = false), !this.isUpdatePending && e2 && (this._$E_ = this._$Ej());
|
|
715
|
+
}
|
|
716
|
+
async _$Ej() {
|
|
717
|
+
this.isUpdatePending = true;
|
|
718
|
+
try {
|
|
719
|
+
await this._$E_;
|
|
720
|
+
} catch (t3) {
|
|
721
|
+
Promise.reject(t3);
|
|
722
|
+
}
|
|
723
|
+
const t2 = this.scheduleUpdate();
|
|
724
|
+
return null != t2 && await t2, !this.isUpdatePending;
|
|
725
|
+
}
|
|
726
|
+
scheduleUpdate() {
|
|
727
|
+
return this.performUpdate();
|
|
728
|
+
}
|
|
729
|
+
performUpdate() {
|
|
730
|
+
var t2;
|
|
731
|
+
if (!this.isUpdatePending)
|
|
732
|
+
return;
|
|
733
|
+
this.hasUpdated, this._$Ei && (this._$Ei.forEach((t3, i3) => this[i3] = t3), this._$Ei = void 0);
|
|
734
|
+
let i2 = false;
|
|
735
|
+
const s2 = this._$AL;
|
|
736
|
+
try {
|
|
737
|
+
i2 = this.shouldUpdate(s2), i2 ? (this.willUpdate(s2), null === (t2 = this._$ES) || void 0 === t2 || t2.forEach((t3) => {
|
|
738
|
+
var i3;
|
|
739
|
+
return null === (i3 = t3.hostUpdate) || void 0 === i3 ? void 0 : i3.call(t3);
|
|
740
|
+
}), this.update(s2)) : this._$Ek();
|
|
741
|
+
} catch (t3) {
|
|
742
|
+
throw i2 = false, this._$Ek(), t3;
|
|
743
|
+
}
|
|
744
|
+
i2 && this._$AE(s2);
|
|
745
|
+
}
|
|
746
|
+
willUpdate(t2) {
|
|
747
|
+
}
|
|
748
|
+
_$AE(t2) {
|
|
749
|
+
var i2;
|
|
750
|
+
null === (i2 = this._$ES) || void 0 === i2 || i2.forEach((t3) => {
|
|
751
|
+
var i3;
|
|
752
|
+
return null === (i3 = t3.hostUpdated) || void 0 === i3 ? void 0 : i3.call(t3);
|
|
753
|
+
}), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t2)), this.updated(t2);
|
|
754
|
+
}
|
|
755
|
+
_$Ek() {
|
|
756
|
+
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
|
|
757
|
+
}
|
|
758
|
+
get updateComplete() {
|
|
759
|
+
return this.getUpdateComplete();
|
|
760
|
+
}
|
|
761
|
+
getUpdateComplete() {
|
|
762
|
+
return this._$E_;
|
|
763
|
+
}
|
|
764
|
+
shouldUpdate(t2) {
|
|
765
|
+
return true;
|
|
766
|
+
}
|
|
767
|
+
update(t2) {
|
|
768
|
+
void 0 !== this._$EC && (this._$EC.forEach((t3, i2) => this._$EO(i2, this[i2], t3)), this._$EC = void 0), this._$Ek();
|
|
769
|
+
}
|
|
770
|
+
updated(t2) {
|
|
771
|
+
}
|
|
772
|
+
firstUpdated(t2) {
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
d.finalized = true, d.elementProperties = /* @__PURE__ */ new Map(), d.elementStyles = [], d.shadowRootOptions = { mode: "open" }, null == o$1 || o$1({ ReactiveElement: d }), (null !== (s$1 = e$2.reactiveElementVersions) && void 0 !== s$1 ? s$1 : e$2.reactiveElementVersions = []).push("1.4.1");
|
|
524
776
|
/**
|
|
525
777
|
* @license
|
|
526
778
|
* Copyright 2017 Google LLC
|
|
527
779
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
528
780
|
*/
|
|
529
781
|
var l, o;
|
|
530
|
-
class s extends d
|
|
782
|
+
class s extends d {
|
|
531
783
|
constructor() {
|
|
532
784
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
533
785
|
}
|
|
@@ -538,7 +790,7 @@ class s extends d$1 {
|
|
|
538
790
|
}
|
|
539
791
|
update(t2) {
|
|
540
792
|
const i2 = this.render();
|
|
541
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do =
|
|
793
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = D(i2, this.renderRoot, this.renderOptions);
|
|
542
794
|
}
|
|
543
795
|
connectedCallback() {
|
|
544
796
|
var t2;
|
|
@@ -549,13 +801,13 @@ class s extends d$1 {
|
|
|
549
801
|
super.disconnectedCallback(), null === (t2 = this._$Do) || void 0 === t2 || t2.setConnected(false);
|
|
550
802
|
}
|
|
551
803
|
render() {
|
|
552
|
-
return
|
|
804
|
+
return T;
|
|
553
805
|
}
|
|
554
806
|
}
|
|
555
807
|
s.finalized = true, s._$litElement$ = true, null === (l = globalThis.litElementHydrateSupport) || void 0 === l || l.call(globalThis, { LitElement: s });
|
|
556
|
-
const n$
|
|
557
|
-
null == n$
|
|
558
|
-
(null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.
|
|
808
|
+
const n$2 = globalThis.litElementPolyfillSupport;
|
|
809
|
+
null == n$2 || n$2({ LitElement: s });
|
|
810
|
+
(null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.3.3");
|
|
559
811
|
/**
|
|
560
812
|
* @license
|
|
561
813
|
* Copyright 2017 Google LLC
|
|
@@ -578,11 +830,11 @@ const i = (i2, e2) => "method" === e2.kind && e2.descriptor && !("value" in e2.d
|
|
|
578
830
|
"function" == typeof e2.initializer && (this[e2.key] = e2.initializer.call(this));
|
|
579
831
|
}, finisher(n2) {
|
|
580
832
|
n2.createProperty(e2.key, i2);
|
|
581
|
-
} }
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
833
|
+
} }, e = (i2, e2, n2) => {
|
|
834
|
+
e2.constructor.createProperty(n2, i2);
|
|
835
|
+
};
|
|
836
|
+
function n$1(n2) {
|
|
837
|
+
return (t2, o2) => void 0 !== o2 ? e(n2, t2, o2) : i(n2, t2);
|
|
586
838
|
}
|
|
587
839
|
/**
|
|
588
840
|
* @license
|
|
@@ -592,11 +844,11 @@ function e(e2) {
|
|
|
592
844
|
var n;
|
|
593
845
|
null != (null === (n = window.HTMLSlotElement) || void 0 === n ? void 0 : n.prototype.assignedElements) ? (o2, n2) => o2.assignedElements(n2) : (o2, n2) => o2.assignedNodes(n2).filter((o3) => o3.nodeType === Node.ELEMENT_NODE);
|
|
594
846
|
const logo = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLjciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGRlZnM+CiAgICAgICAgPHN0eWxlPgogICAgICAgICAgICAuY2xzLTEgewogICAgICAgICAgICAgICAgZmlsbDogbm9uZTsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgLmNscy0yIHsKICAgICAgICAgICAgICAgIGZpbGw6ICNmNmMxZDk7CiAgICAgICAgICAgICAgICBmaWxsLXJ1bGU6IGV2ZW5vZGQ7CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIC5jbHMtMyB7CiAgICAgICAgICAgICAgICBjbGlwLXBhdGg6IHVybCgjY2xpcC1wYXRoKTsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgLmNscy00IHsKICAgICAgICAgICAgICAgIGNsaXAtcGF0aDogdXJsKCNjbGlwLXBhdGgtMik7CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIC5jbHMtNSB7CiAgICAgICAgICAgICAgICBmaWxsOiAjZmZmOwogICAgICAgICAgICB9CgogICAgICAgICAgICAuY2xzLTYgewogICAgICAgICAgICAgICAgZmlsbDogIzFlMWYxZDsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgLmNscy03IHsKICAgICAgICAgICAgICAgIGZpbGw6ICMxOTFkMWY7CiAgICAgICAgICAgIH0KICAgICAgICA8L3N0eWxlPgogICAgICAgIDxjbGlwUGF0aCBpZD0iY2xpcC1wYXRoIj4KICAgICAgICAgICAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSIxNjkuNDUiIHk9IjIxNS42NiIgd2lkdGg9IjEwMDAuMTYiIGhlaWdodD0iNzkxLjQiIC8+CiAgICAgICAgPC9jbGlwUGF0aD4KICAgICAgICA8Y2xpcFBhdGggaWQ9ImNsaXAtcGF0aC0yIj4KICAgICAgICAgICAgPHJlY3QgY2xhc3M9ImNscy0xIiB4PSIxNjkuNDUiIHk9IjIxNS42NiIgd2lkdGg9IjEwMDAuMTYiIGhlaWdodD0iNzkxLjQiIC8+CiAgICAgICAgPC9jbGlwUGF0aD4KICAgIDwvZGVmcz4KICAgIDxnPgogICAgICAgIDxwYXRoIGNsYXNzPSJjbHMtMiIKICAgICAgICAgICAgZD0iTTEzMzguNTcsNjcwLjNoMGMwLDM3MC4yNC0yOTkuNjgsNjcwLjQtNjY5LjMzLDY3MC40UzAsMTA0MC41NCwwLDY3MC4zLDI5OS41OCwwLDY2OS4yNCwwLDEzMzguNTcsMzAwLjA1LDEzMzguNTcsNjcwLjNaIiAvPgogICAgICAgIDxnPgogICAgICAgICAgICA8ZyBjbGFzcz0iY2xzLTMiPgogICAgICAgICAgICAgICAgPGcgY2xhc3M9ImNscy00Ij4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBjbGFzcz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YyLDAsMCwxLTIzLjYzLTcuOWMtNS40My0yLjM2LTExLjctNS4xOS0xMS45My0xMi42czYtMTAuMTIsMTEuNC0xMi44OWMxMC40NS01LjM5LDIxLjgzLTcuOTQsMzQuNTUtMTAuNjUiIC8+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggY2xhc3M9ImNscy01IgogICAgICAgICAgICAgICAgICAgICAgICBkPSJNOTgyLjQxLDg1MC40N2MzNi41OSw4LjM1LDU5Ljc5LDYyLjUxLDQwLjkxLDkyLjIybC0zNi40Ny0xMi4xMWMxMy44NS0yNy41MiwxMS44Ny01My42LTQuNDQtODAuMTEiIC8+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggY2xhc3M9ImNscy01IgogICAgICAgICAgICAgICAgICAgICAgICBkPSJNNjMwLjYyLDYzNS4xMmMtMTUuMTctMjUuOTQtMjEuNi01NS4yNS0zNi4yNS04MiwxNy4xMiw4LjgsMzYsMTIuMTEsNTMuMTUsMjItMy4wOSwyMC44LTkuNCw0MC4xMi0xNi45LDYwIiAvPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGNsYXNzPSJjbHMtNSIKICAgICAgICAgICAgICAgICAgICAgICAgZD0iTTcwMy4zMyw0OTcuNDNDNzMzLjI1LDQ1MCw3MjAuNzksNDAxLjUsNzA2LjU5LDM1M2MxOS4wOS0uMSwyMi4zNiwyLjg5LDI1LjMsMjAuODcsNC4zNiwyNi42OSwxLjgxLDUzLjI3LTEuMzcsNzkuNjktMS45NSwxNi4xNy05LjkxLDMwLjQ0LTIwLjgsNDIuNzgtMS40NywxLjY2LTMuMDksMy4xOC02LjM5LDEuMDkiIC8+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggY2xhc3M9ImNscy01IgogICAgICAgICAgICAgICAgICAgICAgICBkPSJNNzI3LjcsODk3LjgxYzEuNDMtNy42OCw0LjMzLTEyLjEzLDEwLjc1LTE0Ljg4LDguMDYtMy40NCwxMy4yNC0xMC4zMywxNS4zOS0xOC43MSwxL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MzYuNDljLTQzLjQ3LDkuNzktODQuMjksMTAtMTI4LS4yM2ExLjU4LDEuNTgsMCwwLDEtLjMtM2MyOS4xOC0xMy4xNiwxMDEuNTEtMTMsMTI4LjYzLjI1YTEuNTgsMS41OCwwLDAsMS0uMzYsMyIgLz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+";
|
|
595
|
-
const styles = i$
|
|
847
|
+
const styles = i$1`
|
|
596
848
|
:host {
|
|
597
849
|
display: flex;
|
|
598
850
|
font-display: swap;
|
|
599
|
-
font-family: "Roboto
|
|
851
|
+
font-family: "Roboto Flex", Arial, sans-serif;
|
|
600
852
|
font-weight: 400;
|
|
601
853
|
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.06);
|
|
602
854
|
align-items: center;
|
|
@@ -938,26 +1190,32 @@ let JoeHeader = class extends s {
|
|
|
938
1190
|
this.links = [
|
|
939
1191
|
{
|
|
940
1192
|
label: "Home",
|
|
1193
|
+
gtm: "nav_menu_home",
|
|
941
1194
|
href: "https://www.joejuice.com/"
|
|
942
1195
|
},
|
|
943
1196
|
{
|
|
944
1197
|
label: "Menu",
|
|
1198
|
+
gtm: "nav_menu_menu",
|
|
945
1199
|
href: "https://gtly.ink/Csp5K56vz"
|
|
946
1200
|
},
|
|
947
1201
|
{
|
|
948
1202
|
label: "Stores",
|
|
1203
|
+
gtm: "nav_menu_stores",
|
|
949
1204
|
href: "https://gtly.ink/Xh7TCljV2"
|
|
950
1205
|
},
|
|
951
1206
|
{
|
|
952
1207
|
label: "App",
|
|
1208
|
+
gtm: "nav_menu_app",
|
|
953
1209
|
href: "https://www.joejuice.com/app"
|
|
954
1210
|
},
|
|
955
1211
|
{
|
|
956
1212
|
label: "Careers",
|
|
1213
|
+
gtm: "nav_menu_careers",
|
|
957
1214
|
href: "https://www.joejuice.com/apply"
|
|
958
1215
|
},
|
|
959
1216
|
{
|
|
960
1217
|
label: "Event Bookings",
|
|
1218
|
+
gtm: "nav_menu_events",
|
|
961
1219
|
href: "https://www.joejuice.com/events",
|
|
962
1220
|
collapsed: [
|
|
963
1221
|
{
|
|
@@ -977,6 +1235,7 @@ let JoeHeader = class extends s {
|
|
|
977
1235
|
},
|
|
978
1236
|
{
|
|
979
1237
|
label: "Request Booking",
|
|
1238
|
+
gtm: "request_event_booking",
|
|
980
1239
|
href: "https://joejuice.typeform.com/events",
|
|
981
1240
|
hideMobile: true,
|
|
982
1241
|
target: "_blank"
|
|
@@ -986,6 +1245,7 @@ let JoeHeader = class extends s {
|
|
|
986
1245
|
{
|
|
987
1246
|
label: "& MORE",
|
|
988
1247
|
hideMobile: true,
|
|
1248
|
+
gtm: "nav_menu_more",
|
|
989
1249
|
collapsed: [
|
|
990
1250
|
{
|
|
991
1251
|
label: "Culture",
|
|
@@ -1004,7 +1264,7 @@ let JoeHeader = class extends s {
|
|
|
1004
1264
|
];
|
|
1005
1265
|
}
|
|
1006
1266
|
render() {
|
|
1007
|
-
return
|
|
1267
|
+
return x`
|
|
1008
1268
|
<div class="container">
|
|
1009
1269
|
<div class="navigation">
|
|
1010
1270
|
<button
|
|
@@ -1024,10 +1284,11 @@ let JoeHeader = class extends s {
|
|
|
1024
1284
|
>
|
|
1025
1285
|
<ul>
|
|
1026
1286
|
${this.links.map(
|
|
1027
|
-
(link) => link.collapsed ?
|
|
1028
|
-
${link.href ?
|
|
1287
|
+
(link) => link.collapsed ? x`<li class="collapsed">
|
|
1288
|
+
${link.href ? x`<a
|
|
1029
1289
|
href=${link.href}
|
|
1030
1290
|
target=${link.target}
|
|
1291
|
+
data-gtm-id=${link.gtm}
|
|
1031
1292
|
itemprop="url"
|
|
1032
1293
|
>
|
|
1033
1294
|
<span
|
|
@@ -1037,20 +1298,21 @@ let JoeHeader = class extends s {
|
|
|
1037
1298
|
${link.label}
|
|
1038
1299
|
<div class="arrow"></div
|
|
1039
1300
|
></span>
|
|
1040
|
-
</a>` :
|
|
1301
|
+
</a>` : x`<span
|
|
1041
1302
|
class=${link.hideMobile ? "collapsed__title hide-on-mobile" : "collapsed__title"}
|
|
1042
1303
|
>${link.label}</span
|
|
1043
1304
|
>`}
|
|
1044
1305
|
|
|
1045
1306
|
<ul class="collapsed__list">
|
|
1046
1307
|
${link.collapsed.map(
|
|
1047
|
-
(link2) =>
|
|
1308
|
+
(link2) => x`<li
|
|
1048
1309
|
itemprop="name"
|
|
1049
1310
|
class=${link2.hideMobile ? "hide-on-mobile" : ""}
|
|
1050
1311
|
>
|
|
1051
1312
|
<a
|
|
1052
1313
|
href=${link2.href}
|
|
1053
1314
|
target=${link2.target}
|
|
1315
|
+
data-gtm-id=${link2.gtm}
|
|
1054
1316
|
itemprop="url"
|
|
1055
1317
|
>
|
|
1056
1318
|
<span
|
|
@@ -1061,11 +1323,16 @@ let JoeHeader = class extends s {
|
|
|
1061
1323
|
</li>`
|
|
1062
1324
|
)}
|
|
1063
1325
|
</ul>
|
|
1064
|
-
</li>` :
|
|
1326
|
+
</li>` : x`<li
|
|
1065
1327
|
itemprop="name"
|
|
1066
1328
|
class=${link.hideMobile ? "hide-on-mobile" : ""}
|
|
1067
1329
|
>
|
|
1068
|
-
<a
|
|
1330
|
+
<a
|
|
1331
|
+
href=${link.href}
|
|
1332
|
+
target=${link.target}
|
|
1333
|
+
data-gtm-id=${link.gtm}
|
|
1334
|
+
itemprop="url"
|
|
1335
|
+
>
|
|
1069
1336
|
<span itemprop="name">
|
|
1070
1337
|
${link.label}
|
|
1071
1338
|
<div class="arrow"></div
|
|
@@ -1090,7 +1357,7 @@ let JoeHeader = class extends s {
|
|
|
1090
1357
|
|
|
1091
1358
|
<div class="slot">
|
|
1092
1359
|
<slot></slot>
|
|
1093
|
-
${this.showOrderButton ?
|
|
1360
|
+
${this.showOrderButton ? x`
|
|
1094
1361
|
<a
|
|
1095
1362
|
class="order-button"
|
|
1096
1363
|
rel="follow"
|
|
@@ -1108,13 +1375,13 @@ let JoeHeader = class extends s {
|
|
|
1108
1375
|
};
|
|
1109
1376
|
JoeHeader.styles = styles;
|
|
1110
1377
|
__decorateClass([
|
|
1111
|
-
|
|
1378
|
+
n$1()
|
|
1112
1379
|
], JoeHeader.prototype, "expanded", 2);
|
|
1113
1380
|
__decorateClass([
|
|
1114
|
-
|
|
1381
|
+
n$1()
|
|
1115
1382
|
], JoeHeader.prototype, "showOrderButton", 2);
|
|
1116
1383
|
__decorateClass([
|
|
1117
|
-
|
|
1384
|
+
n$1()
|
|
1118
1385
|
], JoeHeader.prototype, "links", 2);
|
|
1119
1386
|
JoeHeader = __decorateClass([
|
|
1120
1387
|
e$1("joe-header")
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joe-header",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/joe-header.js",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"dev": "vite",
|
|
12
|
-
"build": "tsc && vite build"
|
|
12
|
+
"build": "tsc && vite build",
|
|
13
|
+
"build:gzip": "tsc && vite build && gzip -k dist/joe-header.js"
|
|
13
14
|
},
|
|
14
15
|
"types": "types/joe-header.d.ts",
|
|
15
16
|
"files": [
|
|
@@ -22,6 +23,6 @@
|
|
|
22
23
|
"vite": "^3.0.6"
|
|
23
24
|
},
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"lit": "^2.
|
|
26
|
+
"lit": "^2.8.0"
|
|
26
27
|
}
|
|
27
28
|
}
|