@openvoxproject/voxblocks 0.10.0 → 0.12.0
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/README.md +1 -1
- package/dist/cdn/voxblocks.css +1 -1
- package/dist/cdn/voxblocks.js +1691 -1051
- package/dist/types/components/code-block/languages.d.ts +28 -0
- package/dist/types/components/code-block/vox-code-block.d.ts +34 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/voxblocks.css +1 -1
- package/dist/voxblocks.js +1692 -1052
- package/package.json +1 -1
- package/src/components/code-block/languages.ts +259 -0
- package/src/components/code-block/vox-code-block.ts +302 -0
- package/src/index.ts +2 -0
- package/src/tokens/tokens.css +17 -0
package/dist/cdn/voxblocks.js
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
7
|
-
let
|
|
6
|
+
const Je = globalThis, jt = Je.ShadowRoot && (Je.ShadyCSS === void 0 || Je.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, zt = Symbol(), Qt = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let bo = class {
|
|
8
8
|
constructor(e, o, s) {
|
|
9
|
-
if (this._$cssResult$ = !0, s !==
|
|
9
|
+
if (this._$cssResult$ = !0, s !== zt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
10
10
|
this.cssText = e, this.t = o;
|
|
11
11
|
}
|
|
12
12
|
get styleSheet() {
|
|
13
13
|
let e = this.o;
|
|
14
14
|
const o = this.t;
|
|
15
|
-
if (
|
|
15
|
+
if (jt && e === void 0) {
|
|
16
16
|
const s = o !== void 0 && o.length === 1;
|
|
17
|
-
s && (e =
|
|
17
|
+
s && (e = Qt.get(o)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), s && Qt.set(o, e));
|
|
18
18
|
}
|
|
19
19
|
return e;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let oo = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const Do = (r) => new bo(typeof r == "string" ? r : r + "", void 0, zt), d = (r, ...e) => {
|
|
26
26
|
const o = r.length === 1 ? r[0] : e.reduce((s, t, a) => s + ((i) => {
|
|
27
27
|
if (i._$cssResult$ === !0) return i.cssText;
|
|
28
28
|
if (typeof i == "number") return i;
|
|
29
29
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + i + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
30
|
})(t) + r[a + 1], r[0]);
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (
|
|
31
|
+
return new bo(o, r, zt);
|
|
32
|
+
}, Ho = (r, e) => {
|
|
33
|
+
if (jt) r.adoptedStyleSheets = e.map((o) => o instanceof CSSStyleSheet ? o : o.styleSheet);
|
|
34
34
|
else for (const o of e) {
|
|
35
|
-
const s = document.createElement("style"), t =
|
|
35
|
+
const s = document.createElement("style"), t = Je.litNonce;
|
|
36
36
|
t !== void 0 && s.setAttribute("nonce", t), s.textContent = o.cssText, r.appendChild(s);
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, eo = jt ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((e) => {
|
|
39
39
|
let o = "";
|
|
40
40
|
for (const s of e.cssRules) o += s.cssText;
|
|
41
|
-
return
|
|
41
|
+
return Do(o);
|
|
42
42
|
})(r) : r;
|
|
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: To, defineProperty: Bo, getOwnPropertyDescriptor: No, getOwnPropertyNames: Ro, getOwnPropertySymbols: Uo, getPrototypeOf: Io } = Object, P = globalThis, to = P.trustedTypes, qo = to ? to.emptyScript : "", $t = P.reactiveElementPolyfillSupport, de = (r, e) => r, Qe = { toAttribute(r, e) {
|
|
49
49
|
switch (e) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
r = r ?
|
|
51
|
+
r = r ? qo : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,44 +73,44 @@ const { is: $o, defineProperty: wo, getOwnPropertyDescriptor: _o, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return o;
|
|
76
|
-
} },
|
|
77
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
78
|
-
let
|
|
76
|
+
} }, Vt = (r, e) => !To(r, e), oo = { attribute: !0, type: String, converter: Qe, reflect: !1, useDefault: !1, hasChanged: Vt };
|
|
77
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), P.litPropertyMetadata ?? (P.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
|
+
let Y = class extends HTMLElement {
|
|
79
79
|
static addInitializer(e) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(e);
|
|
81
81
|
}
|
|
82
82
|
static get observedAttributes() {
|
|
83
83
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
84
84
|
}
|
|
85
|
-
static createProperty(e, o =
|
|
85
|
+
static createProperty(e, o = oo) {
|
|
86
86
|
if (o.state && (o.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((o = Object.create(o)).wrapped = !0), this.elementProperties.set(e, o), !o.noAccessor) {
|
|
87
87
|
const s = Symbol(), t = this.getPropertyDescriptor(e, s, o);
|
|
88
|
-
t !== void 0 &&
|
|
88
|
+
t !== void 0 && Bo(this.prototype, e, t);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(e, o, s) {
|
|
92
|
-
const { get: t, set: a } =
|
|
92
|
+
const { get: t, set: a } = No(this.prototype, e) ?? { get() {
|
|
93
93
|
return this[o];
|
|
94
94
|
}, set(i) {
|
|
95
95
|
this[o] = i;
|
|
96
96
|
} };
|
|
97
97
|
return { get: t, set(i) {
|
|
98
|
-
const
|
|
99
|
-
a == null || a.call(this, i), this.requestUpdate(e,
|
|
98
|
+
const v = t == null ? void 0 : t.call(this);
|
|
99
|
+
a == null || a.call(this, i), this.requestUpdate(e, v, s);
|
|
100
100
|
}, configurable: !0, enumerable: !0 };
|
|
101
101
|
}
|
|
102
102
|
static getPropertyOptions(e) {
|
|
103
|
-
return this.elementProperties.get(e) ??
|
|
103
|
+
return this.elementProperties.get(e) ?? oo;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
|
-
if (this.hasOwnProperty(
|
|
107
|
-
const e =
|
|
106
|
+
if (this.hasOwnProperty(de("elementProperties"))) return;
|
|
107
|
+
const e = Io(this);
|
|
108
108
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
109
109
|
}
|
|
110
110
|
static finalize() {
|
|
111
|
-
if (this.hasOwnProperty(
|
|
112
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
113
|
-
const o = this.properties, s = [...
|
|
111
|
+
if (this.hasOwnProperty(de("finalized"))) return;
|
|
112
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(de("properties"))) {
|
|
113
|
+
const o = this.properties, s = [...Ro(o), ...Uo(o)];
|
|
114
114
|
for (const t of s) this.createProperty(t, o[t]);
|
|
115
115
|
}
|
|
116
116
|
const e = this[Symbol.metadata];
|
|
@@ -129,8 +129,8 @@ let q = class extends HTMLElement {
|
|
|
129
129
|
const o = [];
|
|
130
130
|
if (Array.isArray(e)) {
|
|
131
131
|
const s = new Set(e.flat(1 / 0).reverse());
|
|
132
|
-
for (const t of s) o.unshift(
|
|
133
|
-
} else e !== void 0 && o.push(
|
|
132
|
+
for (const t of s) o.unshift(eo(t));
|
|
133
|
+
} else e !== void 0 && o.push(eo(e));
|
|
134
134
|
return o;
|
|
135
135
|
}
|
|
136
136
|
static _$Eu(e, o) {
|
|
@@ -159,7 +159,7 @@ let q = class extends HTMLElement {
|
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return Ho(e, this.constructor.elementStyles), e;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var e;
|
|
@@ -184,7 +184,7 @@ let q = class extends HTMLElement {
|
|
|
184
184
|
var a;
|
|
185
185
|
const s = this.constructor.elementProperties.get(e), t = this.constructor._$Eu(e, s);
|
|
186
186
|
if (t !== void 0 && s.reflect === !0) {
|
|
187
|
-
const i = (((a = s.converter) == null ? void 0 : a.toAttribute) !== void 0 ? s.converter :
|
|
187
|
+
const i = (((a = s.converter) == null ? void 0 : a.toAttribute) !== void 0 ? s.converter : Qe).toAttribute(o, s.type);
|
|
188
188
|
this._$Em = e, i == null ? this.removeAttribute(t) : this.setAttribute(t, i), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -192,17 +192,17 @@ let q = class extends HTMLElement {
|
|
|
192
192
|
var a, i;
|
|
193
193
|
const s = this.constructor, t = s._$Eh.get(e);
|
|
194
194
|
if (t !== void 0 && this._$Em !== t) {
|
|
195
|
-
const
|
|
195
|
+
const v = s.getPropertyOptions(t), u = typeof v.converter == "function" ? { fromAttribute: v.converter } : ((a = v.converter) == null ? void 0 : a.fromAttribute) !== void 0 ? v.converter : Qe;
|
|
196
196
|
this._$Em = t;
|
|
197
|
-
const f =
|
|
197
|
+
const f = u.fromAttribute(o, v.type);
|
|
198
198
|
this[t] = f ?? ((i = this._$Ej) == null ? void 0 : i.get(t)) ?? f, this._$Em = null;
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
requestUpdate(e, o, s, t = !1, a) {
|
|
202
202
|
var i;
|
|
203
203
|
if (e !== void 0) {
|
|
204
|
-
const
|
|
205
|
-
if (t === !1 && (a = this[e]), s ?? (s =
|
|
204
|
+
const v = this.constructor;
|
|
205
|
+
if (t === !1 && (a = this[e]), s ?? (s = v.getPropertyOptions(e)), !((s.hasChanged ?? Vt)(a, o) || s.useDefault && s.reflect && a === ((i = this._$Ej) == null ? void 0 : i.get(e)) && !this.hasAttribute(v._$Eu(e, s)))) return;
|
|
206
206
|
this.C(e, o, s);
|
|
207
207
|
}
|
|
208
208
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -233,8 +233,8 @@ let q = class extends HTMLElement {
|
|
|
233
233
|
}
|
|
234
234
|
const t = this.constructor.elementProperties;
|
|
235
235
|
if (t.size > 0) for (const [a, i] of t) {
|
|
236
|
-
const { wrapped:
|
|
237
|
-
|
|
236
|
+
const { wrapped: v } = i, u = this[a];
|
|
237
|
+
v !== !0 || this._$AL.has(a) || u === void 0 || this.C(a, void 0, i, u);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
let e = !1;
|
|
@@ -278,76 +278,76 @@ let q = class extends HTMLElement {
|
|
|
278
278
|
firstUpdated(e) {
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
-
|
|
281
|
+
Y.elementStyles = [], Y.shadowRootOptions = { mode: "open" }, Y[de("elementProperties")] = /* @__PURE__ */ new Map(), Y[de("finalized")] = /* @__PURE__ */ new Map(), $t == null || $t({ ReactiveElement: Y }), (P.reactiveElementVersions ?? (P.reactiveElementVersions = [])).push("2.1.2");
|
|
282
282
|
/**
|
|
283
283
|
* @license
|
|
284
284
|
* Copyright 2017 Google LLC
|
|
285
285
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
286
286
|
*/
|
|
287
|
-
const
|
|
288
|
-
\f\r]`,
|
|
289
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
290
|
-
function
|
|
291
|
-
if (!
|
|
292
|
-
return
|
|
287
|
+
const pe = globalThis, ro = (r) => r, et = pe.trustedTypes, so = et ? et.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, yo = "$lit$", A = `lit$${Math.random().toFixed(9).slice(2)}$`, mo = "?" + A, Zo = `<${mo}>`, H = document, he = () => H.createComment(""), ve = (r) => r === null || typeof r != "object" && typeof r != "function", Dt = Array.isArray, Fo = (r) => Dt(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", wt = `[
|
|
288
|
+
\f\r]`, ce = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ao = /-->/g, io = />/g, j = RegExp(`>|${wt}(?:([^\\s"'>=/]+)(${wt}*=${wt}*(?:[^
|
|
289
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), no = /'/g, lo = /"/g, $o = /^(?:script|style|textarea|title)$/i, wo = (r) => (e, ...o) => ({ _$litType$: r, strings: e, values: o }), l = wo(1), c = wo(2), m = Symbol.for("lit-noChange"), x = Symbol.for("lit-nothing"), co = /* @__PURE__ */ new WeakMap(), V = H.createTreeWalker(H, 129);
|
|
290
|
+
function _o(r, e) {
|
|
291
|
+
if (!Dt(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
292
|
+
return so !== void 0 ? so.createHTML(e) : e;
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const Ko = (r, e) => {
|
|
295
295
|
const o = r.length - 1, s = [];
|
|
296
|
-
let t, a = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", i =
|
|
297
|
-
for (let
|
|
298
|
-
const
|
|
299
|
-
let f, b, g = -1,
|
|
300
|
-
for (;
|
|
301
|
-
const
|
|
302
|
-
a += i ===
|
|
303
|
-
}
|
|
304
|
-
return [
|
|
296
|
+
let t, a = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", i = ce;
|
|
297
|
+
for (let v = 0; v < o; v++) {
|
|
298
|
+
const u = r[v];
|
|
299
|
+
let f, b, g = -1, _ = 0;
|
|
300
|
+
for (; _ < u.length && (i.lastIndex = _, b = i.exec(u), b !== null); ) _ = i.lastIndex, i === ce ? b[1] === "!--" ? i = ao : b[1] !== void 0 ? i = io : b[2] !== void 0 ? ($o.test(b[2]) && (t = RegExp("</" + b[2], "g")), i = j) : b[3] !== void 0 && (i = j) : i === j ? b[0] === ">" ? (i = t ?? ce, g = -1) : b[1] === void 0 ? g = -2 : (g = i.lastIndex - b[2].length, f = b[1], i = b[3] === void 0 ? j : b[3] === '"' ? lo : no) : i === lo || i === no ? i = j : i === ao || i === io ? i = ce : (i = j, t = void 0);
|
|
301
|
+
const M = i === j && r[v + 1].startsWith("/>") ? " " : "";
|
|
302
|
+
a += i === ce ? u + Zo : g >= 0 ? (s.push(f), u.slice(0, g) + yo + u.slice(g) + A + M) : u + A + (g === -2 ? v : M);
|
|
303
|
+
}
|
|
304
|
+
return [_o(r, a + (r[o] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
|
|
305
305
|
};
|
|
306
|
-
class
|
|
306
|
+
class ue {
|
|
307
307
|
constructor({ strings: e, _$litType$: o }, s) {
|
|
308
308
|
let t;
|
|
309
309
|
this.parts = [];
|
|
310
310
|
let a = 0, i = 0;
|
|
311
|
-
const
|
|
312
|
-
if (this.el =
|
|
311
|
+
const v = e.length - 1, u = this.parts, [f, b] = Ko(e, o);
|
|
312
|
+
if (this.el = ue.createElement(f, s), V.currentNode = this.el.content, o === 2 || o === 3) {
|
|
313
313
|
const g = this.el.content.firstChild;
|
|
314
314
|
g.replaceWith(...g.childNodes);
|
|
315
315
|
}
|
|
316
|
-
for (; (t =
|
|
316
|
+
for (; (t = V.nextNode()) !== null && u.length < v; ) {
|
|
317
317
|
if (t.nodeType === 1) {
|
|
318
|
-
if (t.hasAttributes()) for (const g of t.getAttributeNames()) if (g.endsWith(
|
|
319
|
-
const
|
|
320
|
-
|
|
321
|
-
} else g.startsWith(
|
|
322
|
-
if (
|
|
323
|
-
const g = t.textContent.split(
|
|
324
|
-
if (
|
|
325
|
-
t.textContent =
|
|
326
|
-
for (let
|
|
327
|
-
t.append(g[
|
|
318
|
+
if (t.hasAttributes()) for (const g of t.getAttributeNames()) if (g.endsWith(yo)) {
|
|
319
|
+
const _ = b[i++], M = t.getAttribute(g).split(A), Ge = /([.?@])?(.*)/.exec(_);
|
|
320
|
+
u.push({ type: 1, index: a, name: Ge[2], strings: M, ctor: Ge[1] === "." ? Yo : Ge[1] === "?" ? Wo : Ge[1] === "@" ? Xo : pt }), t.removeAttribute(g);
|
|
321
|
+
} else g.startsWith(A) && (u.push({ type: 6, index: a }), t.removeAttribute(g));
|
|
322
|
+
if ($o.test(t.tagName)) {
|
|
323
|
+
const g = t.textContent.split(A), _ = g.length - 1;
|
|
324
|
+
if (_ > 0) {
|
|
325
|
+
t.textContent = et ? et.emptyScript : "";
|
|
326
|
+
for (let M = 0; M < _; M++) t.append(g[M], he()), V.nextNode(), u.push({ type: 2, index: ++a });
|
|
327
|
+
t.append(g[_], he());
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
} else if (t.nodeType === 8) if (t.data ===
|
|
330
|
+
} else if (t.nodeType === 8) if (t.data === mo) u.push({ type: 2, index: a });
|
|
331
331
|
else {
|
|
332
332
|
let g = -1;
|
|
333
|
-
for (; (g = t.data.indexOf(
|
|
333
|
+
for (; (g = t.data.indexOf(A, g + 1)) !== -1; ) u.push({ type: 7, index: a }), g += A.length - 1;
|
|
334
334
|
}
|
|
335
335
|
a++;
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
338
|
static createElement(e, o) {
|
|
339
|
-
const s =
|
|
339
|
+
const s = H.createElement("template");
|
|
340
340
|
return s.innerHTML = e, s;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
var i,
|
|
343
|
+
function W(r, e, o = r, s) {
|
|
344
|
+
var i, v;
|
|
345
345
|
if (e === m) return e;
|
|
346
346
|
let t = s !== void 0 ? (i = o._$Co) == null ? void 0 : i[s] : o._$Cl;
|
|
347
|
-
const a =
|
|
348
|
-
return (t == null ? void 0 : t.constructor) !== a && ((
|
|
347
|
+
const a = ve(e) ? void 0 : e._$litDirective$;
|
|
348
|
+
return (t == null ? void 0 : t.constructor) !== a && ((v = t == null ? void 0 : t._$AO) == null || v.call(t, !1), a === void 0 ? t = void 0 : (t = new a(r), t._$AT(r, o, s)), s !== void 0 ? (o._$Co ?? (o._$Co = []))[s] = t : o._$Cl = t), t !== void 0 && (e = W(r, t._$AS(r, e.values), t, s)), e;
|
|
349
349
|
}
|
|
350
|
-
class
|
|
350
|
+
class Go {
|
|
351
351
|
constructor(e, o) {
|
|
352
352
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = o;
|
|
353
353
|
}
|
|
@@ -358,24 +358,24 @@ class Eo {
|
|
|
358
358
|
return this._$AM._$AU;
|
|
359
359
|
}
|
|
360
360
|
u(e) {
|
|
361
|
-
const { el: { content: o }, parts: s } = this._$AD, t = ((e == null ? void 0 : e.creationScope) ??
|
|
362
|
-
|
|
363
|
-
let a =
|
|
364
|
-
for (;
|
|
365
|
-
if (i ===
|
|
361
|
+
const { el: { content: o }, parts: s } = this._$AD, t = ((e == null ? void 0 : e.creationScope) ?? H).importNode(o, !0);
|
|
362
|
+
V.currentNode = t;
|
|
363
|
+
let a = V.nextNode(), i = 0, v = 0, u = s[0];
|
|
364
|
+
for (; u !== void 0; ) {
|
|
365
|
+
if (i === u.index) {
|
|
366
366
|
let f;
|
|
367
|
-
|
|
367
|
+
u.type === 2 ? f = new De(a, a.nextSibling, this, e) : u.type === 1 ? f = new u.ctor(a, u.name, u.strings, this, e) : u.type === 6 && (f = new Jo(a, this, e)), this._$AV.push(f), u = s[++v];
|
|
368
368
|
}
|
|
369
|
-
i !== (
|
|
369
|
+
i !== (u == null ? void 0 : u.index) && (a = V.nextNode(), i++);
|
|
370
370
|
}
|
|
371
|
-
return
|
|
371
|
+
return V.currentNode = H, t;
|
|
372
372
|
}
|
|
373
373
|
p(e) {
|
|
374
374
|
let o = 0;
|
|
375
375
|
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(e, s, o), o += s.strings.length - 2) : s._$AI(e[o])), o++;
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
class
|
|
378
|
+
class De {
|
|
379
379
|
get _$AU() {
|
|
380
380
|
var e;
|
|
381
381
|
return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
|
|
@@ -395,7 +395,7 @@ class Le {
|
|
|
395
395
|
return this._$AB;
|
|
396
396
|
}
|
|
397
397
|
_$AI(e, o = this) {
|
|
398
|
-
e =
|
|
398
|
+
e = W(this, e, o), ve(e) ? e === x || e == null || e === "" ? (this._$AH !== x && this._$AR(), this._$AH = x) : e !== this._$AH && e !== m && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Fo(e) ? this.k(e) : this._(e);
|
|
399
399
|
}
|
|
400
400
|
O(e) {
|
|
401
401
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -404,33 +404,33 @@ class Le {
|
|
|
404
404
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
405
405
|
}
|
|
406
406
|
_(e) {
|
|
407
|
-
this._$AH !== x &&
|
|
407
|
+
this._$AH !== x && ve(this._$AH) ? this._$AA.nextSibling.data = e : this.T(H.createTextNode(e)), this._$AH = e;
|
|
408
408
|
}
|
|
409
409
|
$(e) {
|
|
410
410
|
var a;
|
|
411
|
-
const { values: o, _$litType$: s } = e, t = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el =
|
|
411
|
+
const { values: o, _$litType$: s } = e, t = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = ue.createElement(_o(s.h, s.h[0]), this.options)), s);
|
|
412
412
|
if (((a = this._$AH) == null ? void 0 : a._$AD) === t) this._$AH.p(o);
|
|
413
413
|
else {
|
|
414
|
-
const i = new
|
|
415
|
-
i.p(o), this.T(
|
|
414
|
+
const i = new Go(t, this), v = i.u(this.options);
|
|
415
|
+
i.p(o), this.T(v), this._$AH = i;
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
_$AC(e) {
|
|
419
|
-
let o =
|
|
420
|
-
return o === void 0 &&
|
|
419
|
+
let o = co.get(e.strings);
|
|
420
|
+
return o === void 0 && co.set(e.strings, o = new ue(e)), o;
|
|
421
421
|
}
|
|
422
422
|
k(e) {
|
|
423
|
-
|
|
423
|
+
Dt(this._$AH) || (this._$AH = [], this._$AR());
|
|
424
424
|
const o = this._$AH;
|
|
425
425
|
let s, t = 0;
|
|
426
|
-
for (const a of e) t === o.length ? o.push(s = new
|
|
426
|
+
for (const a of e) t === o.length ? o.push(s = new De(this.O(he()), this.O(he()), this, this.options)) : s = o[t], s._$AI(a), t++;
|
|
427
427
|
t < o.length && (this._$AR(s && s._$AB.nextSibling, t), o.length = t);
|
|
428
428
|
}
|
|
429
429
|
_$AR(e = this._$AA.nextSibling, o) {
|
|
430
430
|
var s;
|
|
431
431
|
for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, o); e !== this._$AB; ) {
|
|
432
|
-
const t =
|
|
433
|
-
|
|
432
|
+
const t = ro(e).nextSibling;
|
|
433
|
+
ro(e).remove(), e = t;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
setConnected(e) {
|
|
@@ -438,7 +438,7 @@ class Le {
|
|
|
438
438
|
this._$AM === void 0 && (this._$Cv = e, (o = this._$AP) == null || o.call(this, e));
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
class
|
|
441
|
+
class pt {
|
|
442
442
|
get tagName() {
|
|
443
443
|
return this.element.tagName;
|
|
444
444
|
}
|
|
@@ -451,11 +451,11 @@ class ot {
|
|
|
451
451
|
_$AI(e, o = this, s, t) {
|
|
452
452
|
const a = this.strings;
|
|
453
453
|
let i = !1;
|
|
454
|
-
if (a === void 0) e =
|
|
454
|
+
if (a === void 0) e = W(this, e, o, 0), i = !ve(e) || e !== this._$AH && e !== m, i && (this._$AH = e);
|
|
455
455
|
else {
|
|
456
|
-
const
|
|
457
|
-
let
|
|
458
|
-
for (e = a[0],
|
|
456
|
+
const v = e;
|
|
457
|
+
let u, f;
|
|
458
|
+
for (e = a[0], u = 0; u < a.length - 1; u++) f = W(this, v[s + u], o, u), f === m && (f = this._$AH[u]), i || (i = !ve(f) || f !== this._$AH[u]), f === x ? e = x : e !== x && (e += (f ?? "") + a[u + 1]), this._$AH[u] = f;
|
|
459
459
|
}
|
|
460
460
|
i && !t && this.j(e);
|
|
461
461
|
}
|
|
@@ -463,7 +463,7 @@ class ot {
|
|
|
463
463
|
e === x ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
class
|
|
466
|
+
class Yo extends pt {
|
|
467
467
|
constructor() {
|
|
468
468
|
super(...arguments), this.type = 3;
|
|
469
469
|
}
|
|
@@ -471,7 +471,7 @@ class So extends ot {
|
|
|
471
471
|
this.element[this.name] = e === x ? void 0 : e;
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
class
|
|
474
|
+
class Wo extends pt {
|
|
475
475
|
constructor() {
|
|
476
476
|
super(...arguments), this.type = 4;
|
|
477
477
|
}
|
|
@@ -479,12 +479,12 @@ class Vo extends ot {
|
|
|
479
479
|
this.element.toggleAttribute(this.name, !!e && e !== x);
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
class
|
|
482
|
+
class Xo extends pt {
|
|
483
483
|
constructor(e, o, s, t, a) {
|
|
484
484
|
super(e, o, s, t, a), this.type = 5;
|
|
485
485
|
}
|
|
486
486
|
_$AI(e, o = this) {
|
|
487
|
-
if ((e =
|
|
487
|
+
if ((e = W(this, e, o, 0) ?? x) === m) return;
|
|
488
488
|
const s = this._$AH, t = e === x && s !== x || e.capture !== s.capture || e.once !== s.once || e.passive !== s.passive, a = e !== x && (s === x || t);
|
|
489
489
|
t && this.element.removeEventListener(this.name, this, s), a && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
490
490
|
}
|
|
@@ -493,7 +493,7 @@ class jo extends ot {
|
|
|
493
493
|
typeof this._$AH == "function" ? this._$AH.call(((o = this.options) == null ? void 0 : o.host) ?? this.element, e) : this._$AH.handleEvent(e);
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
class
|
|
496
|
+
class Jo {
|
|
497
497
|
constructor(e, o, s) {
|
|
498
498
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = o, this.options = s;
|
|
499
499
|
}
|
|
@@ -501,17 +501,17 @@ class Do {
|
|
|
501
501
|
return this._$AM._$AU;
|
|
502
502
|
}
|
|
503
503
|
_$AI(e) {
|
|
504
|
-
|
|
504
|
+
W(this, e);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
const
|
|
508
|
-
|
|
509
|
-
const
|
|
507
|
+
const _t = pe.litHtmlPolyfillSupport;
|
|
508
|
+
_t == null || _t(ue, De), (pe.litHtmlVersions ?? (pe.litHtmlVersions = [])).push("3.3.3");
|
|
509
|
+
const Qo = (r, e, o) => {
|
|
510
510
|
const s = (o == null ? void 0 : o.renderBefore) ?? e;
|
|
511
511
|
let t = s._$litPart$;
|
|
512
512
|
if (t === void 0) {
|
|
513
513
|
const a = (o == null ? void 0 : o.renderBefore) ?? null;
|
|
514
|
-
s._$litPart$ = t = new
|
|
514
|
+
s._$litPart$ = t = new De(e.insertBefore(he(), a), a, void 0, o ?? {});
|
|
515
515
|
}
|
|
516
516
|
return t._$AI(r), t;
|
|
517
517
|
};
|
|
@@ -520,8 +520,8 @@ const Ho = (r, e, o) => {
|
|
|
520
520
|
* Copyright 2017 Google LLC
|
|
521
521
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
522
522
|
*/
|
|
523
|
-
const
|
|
524
|
-
let
|
|
523
|
+
const D = globalThis;
|
|
524
|
+
let h = class extends Y {
|
|
525
525
|
constructor() {
|
|
526
526
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
527
527
|
}
|
|
@@ -532,7 +532,7 @@ let p = class extends q {
|
|
|
532
532
|
}
|
|
533
533
|
update(e) {
|
|
534
534
|
const o = this.render();
|
|
535
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
535
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Qo(o, this.renderRoot, this.renderOptions);
|
|
536
536
|
}
|
|
537
537
|
connectedCallback() {
|
|
538
538
|
var e;
|
|
@@ -546,17 +546,17 @@ let p = class extends q {
|
|
|
546
546
|
return m;
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
|
-
var
|
|
550
|
-
|
|
551
|
-
const
|
|
552
|
-
|
|
553
|
-
(
|
|
549
|
+
var go;
|
|
550
|
+
h._$litElement$ = !0, h.finalized = !0, (go = D.litElementHydrateSupport) == null || go.call(D, { LitElement: h });
|
|
551
|
+
const Ct = D.litElementPolyfillSupport;
|
|
552
|
+
Ct == null || Ct({ LitElement: h });
|
|
553
|
+
(D.litElementVersions ?? (D.litElementVersions = [])).push("4.2.2");
|
|
554
554
|
/**
|
|
555
555
|
* @license
|
|
556
556
|
* Copyright 2017 Google LLC
|
|
557
557
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
558
558
|
*/
|
|
559
|
-
const
|
|
559
|
+
const p = (r) => (e, o) => {
|
|
560
560
|
o !== void 0 ? o.addInitializer(() => {
|
|
561
561
|
customElements.define(r, e);
|
|
562
562
|
}) : customElements.define(r, e);
|
|
@@ -566,29 +566,29 @@ const h = (r) => (e, o) => {
|
|
|
566
566
|
* Copyright 2017 Google LLC
|
|
567
567
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
568
568
|
*/
|
|
569
|
-
const
|
|
569
|
+
const er = { attribute: !0, type: String, converter: Qe, reflect: !1, hasChanged: Vt }, tr = (r = er, e, o) => {
|
|
570
570
|
const { kind: s, metadata: t } = o;
|
|
571
571
|
let a = globalThis.litPropertyMetadata.get(t);
|
|
572
572
|
if (a === void 0 && globalThis.litPropertyMetadata.set(t, a = /* @__PURE__ */ new Map()), s === "setter" && ((r = Object.create(r)).wrapped = !0), a.set(o.name, r), s === "accessor") {
|
|
573
573
|
const { name: i } = o;
|
|
574
|
-
return { set(
|
|
575
|
-
const
|
|
576
|
-
e.set.call(this,
|
|
577
|
-
}, init(
|
|
578
|
-
return
|
|
574
|
+
return { set(v) {
|
|
575
|
+
const u = e.get.call(this);
|
|
576
|
+
e.set.call(this, v), this.requestUpdate(i, u, r, !0, v);
|
|
577
|
+
}, init(v) {
|
|
578
|
+
return v !== void 0 && this.C(i, void 0, r, v), v;
|
|
579
579
|
} };
|
|
580
580
|
}
|
|
581
581
|
if (s === "setter") {
|
|
582
582
|
const { name: i } = o;
|
|
583
|
-
return function(
|
|
584
|
-
const
|
|
585
|
-
e.call(this,
|
|
583
|
+
return function(v) {
|
|
584
|
+
const u = this[i];
|
|
585
|
+
e.call(this, v), this.requestUpdate(i, u, r, !0, v);
|
|
586
586
|
};
|
|
587
587
|
}
|
|
588
588
|
throw Error("Unsupported decorator location: " + s);
|
|
589
589
|
};
|
|
590
590
|
function n(r) {
|
|
591
|
-
return (e, o) => typeof o == "object" ?
|
|
591
|
+
return (e, o) => typeof o == "object" ? tr(r, e, o) : ((s, t, a) => {
|
|
592
592
|
const i = t.hasOwnProperty(a);
|
|
593
593
|
return t.constructor.createProperty(a, s), i ? Object.getOwnPropertyDescriptor(t, a) : void 0;
|
|
594
594
|
})(r, e, o);
|
|
@@ -598,7 +598,7 @@ function n(r) {
|
|
|
598
598
|
* Copyright 2017 Google LLC
|
|
599
599
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
600
600
|
*/
|
|
601
|
-
function
|
|
601
|
+
function ie(r) {
|
|
602
602
|
return n({ ...r, state: !0, attribute: !1 });
|
|
603
603
|
}
|
|
604
604
|
/**
|
|
@@ -606,19 +606,19 @@ function rt(r) {
|
|
|
606
606
|
* Copyright 2017 Google LLC
|
|
607
607
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
608
608
|
*/
|
|
609
|
-
const
|
|
609
|
+
const or = (r, e, o) => (o.configurable = !0, o.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(r, e, o), o);
|
|
610
610
|
/**
|
|
611
611
|
* @license
|
|
612
612
|
* Copyright 2017 Google LLC
|
|
613
613
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
614
614
|
*/
|
|
615
|
-
function
|
|
615
|
+
function Ht(r, e) {
|
|
616
616
|
return (o, s, t) => {
|
|
617
617
|
const a = (i) => {
|
|
618
|
-
var
|
|
619
|
-
return ((
|
|
618
|
+
var v;
|
|
619
|
+
return ((v = i.renderRoot) == null ? void 0 : v.querySelector(r)) ?? null;
|
|
620
620
|
};
|
|
621
|
-
return
|
|
621
|
+
return or(o, s, { get() {
|
|
622
622
|
return a(this);
|
|
623
623
|
} });
|
|
624
624
|
};
|
|
@@ -628,8 +628,8 @@ function Pt(r, e) {
|
|
|
628
628
|
* Copyright 2017 Google LLC
|
|
629
629
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
630
630
|
*/
|
|
631
|
-
const
|
|
632
|
-
class
|
|
631
|
+
const z = { ATTRIBUTE: 1, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4 }, Co = (r) => (...e) => ({ _$litDirective$: r, values: e });
|
|
632
|
+
class Oo {
|
|
633
633
|
constructor(e) {
|
|
634
634
|
}
|
|
635
635
|
get _$AU() {
|
|
@@ -650,10 +650,10 @@ class co {
|
|
|
650
650
|
* Copyright 2018 Google LLC
|
|
651
651
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
652
652
|
*/
|
|
653
|
-
const
|
|
653
|
+
const rr = Co(class extends Oo {
|
|
654
654
|
constructor(r) {
|
|
655
655
|
var e;
|
|
656
|
-
if (super(r), r.type !==
|
|
656
|
+
if (super(r), r.type !== z.ATTRIBUTE || r.name !== "class" || ((e = r.strings) == null ? void 0 : e.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
657
657
|
}
|
|
658
658
|
render(r) {
|
|
659
659
|
return " " + Object.keys(r).filter((e) => r[e]).join(" ") + " ";
|
|
@@ -679,39 +679,39 @@ const No = lo(class extends co {
|
|
|
679
679
|
* Copyright 2018 Google LLC
|
|
680
680
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
681
681
|
*/
|
|
682
|
-
const
|
|
683
|
-
var
|
|
684
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
682
|
+
const X = (r) => r ?? x;
|
|
683
|
+
var sr = Object.defineProperty, ar = Object.getOwnPropertyDescriptor, q = (r, e, o, s) => {
|
|
684
|
+
for (var t = s > 1 ? void 0 : s ? ar(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
685
685
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
686
|
-
return s && t &&
|
|
686
|
+
return s && t && sr(e, o, t), t;
|
|
687
687
|
};
|
|
688
|
-
let
|
|
688
|
+
let C = class extends h {
|
|
689
689
|
constructor() {
|
|
690
690
|
super(...arguments), this.variant = "brand", this.size = "md", this.type = "button", this.disabled = !1;
|
|
691
691
|
}
|
|
692
692
|
render() {
|
|
693
|
-
const r =
|
|
693
|
+
const r = rr({
|
|
694
694
|
button: !0,
|
|
695
695
|
[this.variant]: !0,
|
|
696
696
|
[this.size]: !0
|
|
697
697
|
});
|
|
698
|
-
return this.href !== void 0 && !this.disabled ?
|
|
698
|
+
return this.href !== void 0 && !this.disabled ? l`
|
|
699
699
|
<a
|
|
700
700
|
class=${r}
|
|
701
701
|
href=${this.href}
|
|
702
|
-
target=${
|
|
703
|
-
rel=${
|
|
702
|
+
target=${X(this.target)}
|
|
703
|
+
rel=${X(this.target === "_blank" ? "noreferrer" : void 0)}
|
|
704
704
|
>
|
|
705
705
|
<slot></slot>
|
|
706
706
|
</a>
|
|
707
|
-
` :
|
|
707
|
+
` : l`
|
|
708
708
|
<button class=${r} type=${this.type} ?disabled=${this.disabled}>
|
|
709
709
|
<slot></slot>
|
|
710
710
|
</button>
|
|
711
711
|
`;
|
|
712
712
|
}
|
|
713
713
|
};
|
|
714
|
-
|
|
714
|
+
C.styles = d`
|
|
715
715
|
:host {
|
|
716
716
|
display: inline-block;
|
|
717
717
|
}
|
|
@@ -819,38 +819,38 @@ _.styles = d`
|
|
|
819
819
|
border-radius: 0 var(--vox-radius-md) var(--vox-radius-md) 0;
|
|
820
820
|
}
|
|
821
821
|
`;
|
|
822
|
-
|
|
822
|
+
q([
|
|
823
823
|
n()
|
|
824
|
-
],
|
|
825
|
-
|
|
824
|
+
], C.prototype, "variant", 2);
|
|
825
|
+
q([
|
|
826
826
|
n()
|
|
827
|
-
],
|
|
828
|
-
|
|
827
|
+
], C.prototype, "size", 2);
|
|
828
|
+
q([
|
|
829
829
|
n()
|
|
830
|
-
],
|
|
831
|
-
|
|
830
|
+
], C.prototype, "href", 2);
|
|
831
|
+
q([
|
|
832
832
|
n()
|
|
833
|
-
],
|
|
834
|
-
|
|
833
|
+
], C.prototype, "target", 2);
|
|
834
|
+
q([
|
|
835
835
|
n()
|
|
836
|
-
],
|
|
837
|
-
|
|
836
|
+
], C.prototype, "type", 2);
|
|
837
|
+
q([
|
|
838
838
|
n({ type: Boolean, reflect: !0 })
|
|
839
|
-
],
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
],
|
|
843
|
-
var
|
|
844
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
839
|
+
], C.prototype, "disabled", 2);
|
|
840
|
+
C = q([
|
|
841
|
+
p("vox-button")
|
|
842
|
+
], C);
|
|
843
|
+
var ir = Object.defineProperty, nr = Object.getOwnPropertyDescriptor, Tt = (r, e, o, s) => {
|
|
844
|
+
for (var t = s > 1 ? void 0 : s ? nr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
845
845
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
846
|
-
return s && t &&
|
|
846
|
+
return s && t && ir(e, o, t), t;
|
|
847
847
|
};
|
|
848
|
-
let
|
|
848
|
+
let xe = class extends h {
|
|
849
849
|
constructor() {
|
|
850
850
|
super(...arguments), this.href = "#";
|
|
851
851
|
}
|
|
852
852
|
render() {
|
|
853
|
-
return
|
|
853
|
+
return l`
|
|
854
854
|
<a href=${this.href} target=${this.target ?? ""}>
|
|
855
855
|
<slot></slot>
|
|
856
856
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
@@ -861,7 +861,7 @@ let ce = class extends p {
|
|
|
861
861
|
`;
|
|
862
862
|
}
|
|
863
863
|
};
|
|
864
|
-
|
|
864
|
+
xe.styles = d`
|
|
865
865
|
:host {
|
|
866
866
|
display: inline-block;
|
|
867
867
|
font-family: var(--vox-font-family-base);
|
|
@@ -898,31 +898,31 @@ ce.styles = d`
|
|
|
898
898
|
transform: translateX(3px);
|
|
899
899
|
}
|
|
900
900
|
`;
|
|
901
|
-
|
|
901
|
+
Tt([
|
|
902
902
|
n()
|
|
903
|
-
],
|
|
904
|
-
|
|
903
|
+
], xe.prototype, "href", 2);
|
|
904
|
+
Tt([
|
|
905
905
|
n()
|
|
906
|
-
],
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
],
|
|
910
|
-
var
|
|
911
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
906
|
+
], xe.prototype, "target", 2);
|
|
907
|
+
xe = Tt([
|
|
908
|
+
p("vox-cta")
|
|
909
|
+
], xe);
|
|
910
|
+
var lr = Object.defineProperty, cr = Object.getOwnPropertyDescriptor, ht = (r, e, o, s) => {
|
|
911
|
+
for (var t = s > 1 ? void 0 : s ? cr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
912
912
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
913
|
-
return s && t &&
|
|
913
|
+
return s && t && lr(e, o, t), t;
|
|
914
914
|
};
|
|
915
|
-
const
|
|
916
|
-
let
|
|
915
|
+
const po = "vox-theme", Ye = "data-vox-theme";
|
|
916
|
+
let J = class extends h {
|
|
917
917
|
constructor() {
|
|
918
918
|
super(...arguments), this.lightLabel = "Switch to dark theme", this.darkLabel = "Switch to light theme", this.dark = !1, this.media = window.matchMedia("(prefers-color-scheme: dark)"), this.handleSystemChange = (r) => {
|
|
919
|
-
localStorage.getItem(
|
|
919
|
+
localStorage.getItem(po) || document.documentElement.setAttribute(Ye, r.matches ? "dark" : "light");
|
|
920
920
|
};
|
|
921
921
|
}
|
|
922
922
|
connectedCallback() {
|
|
923
923
|
super.connectedCallback(), this.syncFromDocument(), this.observer = new MutationObserver(() => this.syncFromDocument()), this.observer.observe(document.documentElement, {
|
|
924
924
|
attributes: !0,
|
|
925
|
-
attributeFilter: [
|
|
925
|
+
attributeFilter: [Ye]
|
|
926
926
|
}), this.media.addEventListener("change", this.handleSystemChange);
|
|
927
927
|
}
|
|
928
928
|
disconnectedCallback() {
|
|
@@ -930,12 +930,12 @@ let K = class extends p {
|
|
|
930
930
|
super.disconnectedCallback(), (r = this.observer) == null || r.disconnect(), this.media.removeEventListener("change", this.handleSystemChange);
|
|
931
931
|
}
|
|
932
932
|
syncFromDocument() {
|
|
933
|
-
const r = document.documentElement.getAttribute(
|
|
933
|
+
const r = document.documentElement.getAttribute(Ye) === "dark";
|
|
934
934
|
this.dark = r, this.toggleAttribute("dark", r);
|
|
935
935
|
}
|
|
936
936
|
handleClick() {
|
|
937
937
|
const r = this.dark ? "light" : "dark";
|
|
938
|
-
document.documentElement.setAttribute(
|
|
938
|
+
document.documentElement.setAttribute(Ye, r), localStorage.setItem(po, r), this.dispatchEvent(
|
|
939
939
|
new CustomEvent("vox-theme-change", {
|
|
940
940
|
detail: { theme: r },
|
|
941
941
|
bubbles: !0,
|
|
@@ -945,7 +945,7 @@ let K = class extends p {
|
|
|
945
945
|
}
|
|
946
946
|
render() {
|
|
947
947
|
const r = this.dark ? this.darkLabel : this.lightLabel;
|
|
948
|
-
return
|
|
948
|
+
return l`
|
|
949
949
|
<button
|
|
950
950
|
type="button"
|
|
951
951
|
role="switch"
|
|
@@ -968,7 +968,7 @@ let K = class extends p {
|
|
|
968
968
|
`;
|
|
969
969
|
}
|
|
970
970
|
};
|
|
971
|
-
|
|
971
|
+
J.styles = d`
|
|
972
972
|
:host {
|
|
973
973
|
display: inline-flex;
|
|
974
974
|
}
|
|
@@ -1027,118 +1027,118 @@ K.styles = d`
|
|
|
1027
1027
|
transform: translateX(20px);
|
|
1028
1028
|
}
|
|
1029
1029
|
`;
|
|
1030
|
-
|
|
1030
|
+
ht([
|
|
1031
1031
|
n({ attribute: "light-label" })
|
|
1032
|
-
],
|
|
1033
|
-
|
|
1032
|
+
], J.prototype, "lightLabel", 2);
|
|
1033
|
+
ht([
|
|
1034
1034
|
n({ attribute: "dark-label" })
|
|
1035
|
-
],
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
],
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
],
|
|
1042
|
-
const
|
|
1035
|
+
], J.prototype, "darkLabel", 2);
|
|
1036
|
+
ht([
|
|
1037
|
+
ie()
|
|
1038
|
+
], J.prototype, "dark", 2);
|
|
1039
|
+
J = ht([
|
|
1040
|
+
p("vox-theme-toggle")
|
|
1041
|
+
], J);
|
|
1042
|
+
const k = {
|
|
1043
1043
|
// Phase 1: shared UI baseline -----------------------------------------
|
|
1044
|
-
search:
|
|
1045
|
-
close:
|
|
1046
|
-
menu:
|
|
1047
|
-
"chevron-up":
|
|
1048
|
-
"chevron-down":
|
|
1049
|
-
"chevron-left":
|
|
1050
|
-
"chevron-right":
|
|
1051
|
-
"external-link":
|
|
1052
|
-
copy:
|
|
1053
|
-
check:
|
|
1054
|
-
warning:
|
|
1055
|
-
info:
|
|
1056
|
-
add:
|
|
1057
|
-
remove:
|
|
1058
|
-
edit:
|
|
1059
|
-
delete:
|
|
1060
|
-
filter:
|
|
1061
|
-
sort:
|
|
1062
|
-
calendar:
|
|
1063
|
-
clock:
|
|
1064
|
-
person:
|
|
1065
|
-
people:
|
|
1066
|
-
lock:
|
|
1067
|
-
eye:
|
|
1068
|
-
"eye-slash":
|
|
1069
|
-
refresh:
|
|
1044
|
+
search: c`<circle cx="21" cy="21" r="13"/><path d="M30.5 30.5 L41 41"/>`,
|
|
1045
|
+
close: c`<path d="M14 14 L34 34 M34 14 L14 34"/>`,
|
|
1046
|
+
menu: c`<path d="M8 14 H40 M8 24 H40 M8 34 H40"/>`,
|
|
1047
|
+
"chevron-up": c`<path d="M14 28 L24 18 L34 28"/>`,
|
|
1048
|
+
"chevron-down": c`<path d="M14 20 L24 30 L34 20"/>`,
|
|
1049
|
+
"chevron-left": c`<path d="M28 14 L18 24 L28 34"/>`,
|
|
1050
|
+
"chevron-right": c`<path d="M20 14 L30 24 L20 34"/>`,
|
|
1051
|
+
"external-link": c`<path d="M36 26 V38 A4 4 0 0 1 32 42 H10 A4 4 0 0 1 6 38 V16 A4 4 0 0 1 10 12 H22"/><path d="M30 6 H42 V18"/><path d="M20 28 L42 6"/>`,
|
|
1052
|
+
copy: c`<rect x="8" y="14" width="24" height="24" rx="3"/><path d="M16 14 V10 A2 2 0 0 1 18 8 H38 A2 2 0 0 1 40 10 V30 A2 2 0 0 1 38 32 H34"/>`,
|
|
1053
|
+
check: c`<path d="M10 25 L20 35 L38 13"/>`,
|
|
1054
|
+
warning: c`<path d="M24 8 L44 40 H4 Z"/><path d="M24 20 V28"/><circle cx="24" cy="34" r="1.6" fill="currentColor" stroke="none"/>`,
|
|
1055
|
+
info: c`<circle cx="24" cy="24" r="17"/><path d="M24 22 V33"/><circle cx="24" cy="15.5" r="1.8" fill="currentColor" stroke="none"/>`,
|
|
1056
|
+
add: c`<path d="M24 10 V38 M10 24 H38"/>`,
|
|
1057
|
+
remove: c`<path d="M10 24 H38"/>`,
|
|
1058
|
+
edit: c`<path d="M30 8 L40 18 L18 40 L7 41 L8 30 Z"/><path d="M26 12 L36 22"/>`,
|
|
1059
|
+
delete: c`<path d="M10 14 H38"/><path d="M17 14 V9 A2 2 0 0 1 19 7 H29 A2 2 0 0 1 31 9 V14"/><path d="M13 14 L15 40 A2 2 0 0 0 17 42 H31 A2 2 0 0 0 33 40 L35 14"/><path d="M20 21 V35 M28 21 V35"/>`,
|
|
1060
|
+
filter: c`<path d="M6 10 H42 L28 26 V38 L20 42 V26 Z"/>`,
|
|
1061
|
+
sort: c`<path d="M14 30 V10 M14 10 L8 16 M14 10 L20 16"/><path d="M34 18 V38 M34 38 L28 32 M34 38 L40 32"/>`,
|
|
1062
|
+
calendar: c`<rect x="6" y="10" width="36" height="32" rx="3"/><path d="M6 20 H42"/><path d="M15 6 V14 M33 6 V14"/><circle cx="15" cy="28" r="1.6" fill="currentColor" stroke="none"/><circle cx="24" cy="28" r="1.6" fill="currentColor" stroke="none"/><circle cx="33" cy="28" r="1.6" fill="currentColor" stroke="none"/>`,
|
|
1063
|
+
clock: c`<circle cx="24" cy="24" r="17"/><path d="M24 14 V24 L32 29"/>`,
|
|
1064
|
+
person: c`<circle cx="24" cy="16" r="8"/><path d="M8 42 C8 31 15 26 24 26 C33 26 40 31 40 42"/>`,
|
|
1065
|
+
people: c`<circle cx="17" cy="16" r="7"/><circle cx="33" cy="18" r="6"/><path d="M4 41 C4 31 10 27 17 27 C21 27 24 28.3 26.3 30.5"/><path d="M24 41 C24 32 29 28 37 28 C43 28 44 32 44 41"/>`,
|
|
1066
|
+
lock: c`<rect x="10" y="21" width="28" height="21" rx="3"/><path d="M16 21 V15 A8 8 0 0 1 32 15 V21"/><circle cx="24" cy="31" r="2.2" fill="currentColor" stroke="none"/>`,
|
|
1067
|
+
eye: c`<path d="M4 24 C10 12 20 8 24 8 C28 8 38 12 44 24 C38 36 28 40 24 40 C20 40 10 36 4 24 Z"/><circle cx="24" cy="24" r="6"/>`,
|
|
1068
|
+
"eye-slash": c`<path d="M4 24 C10 12 20 8 24 8 C28 8 38 12 44 24 C38 36 28 40 24 40 C20 40 10 36 4 24 Z"/><circle cx="24" cy="24" r="6"/><path d="M6 6 L42 42"/>`,
|
|
1069
|
+
refresh: c`<path d="M46 8 L46 20 L34 20"/><path d="M2 40 L2 28 L14 28"/><path d="M7.02 18 A18 18 0 0 1 36.72 11.28 L46 20"/><path d="M2 28 L11.28 36.72 A18 18 0 0 0 40.98 30"/>`,
|
|
1070
1070
|
// Phase 2: OpenVox marketing site --------------------------------------
|
|
1071
|
-
community:
|
|
1072
|
-
book:
|
|
1073
|
-
terminal:
|
|
1074
|
-
shield:
|
|
1075
|
-
roadmap:
|
|
1076
|
-
help:
|
|
1077
|
-
repository:
|
|
1078
|
-
star:
|
|
1079
|
-
chat:
|
|
1080
|
-
heart:
|
|
1071
|
+
community: c`<circle cx="24" cy="10" r="5"/><circle cx="10" cy="34" r="5"/><circle cx="38" cy="34" r="5"/><path d="M24 15 L14 30 M24 15 L34 30 M15 34 H33"/>`,
|
|
1072
|
+
book: c`<path d="M24 12 C20 8 12 7 6 9 V37 C12 35 20 36 24 40 C28 36 36 35 42 37 V9 C36 7 28 8 24 12 Z"/><path d="M24 12 V40"/>`,
|
|
1073
|
+
terminal: c`<rect x="6" y="9" width="36" height="30" rx="3"/><path d="M14 19 L21 24 L14 29"/><path d="M25 30 H33"/>`,
|
|
1074
|
+
shield: c`<path d="M24 6 L40 12 V22 C40 33 33 40 24 43 C15 40 8 33 8 22 V12 Z"/><path d="M17 23 L22 28 L32 17"/>`,
|
|
1075
|
+
roadmap: c`<path d="M6 38 C14 38 14 26 22 26 C30 26 30 14 38 14"/><circle cx="6" cy="38" r="3" fill="currentColor" stroke="none"/><circle cx="22" cy="26" r="3" fill="currentColor" stroke="none"/><circle cx="38" cy="14" r="3" fill="currentColor" stroke="none"/>`,
|
|
1076
|
+
help: c`<circle cx="24" cy="24" r="17"/><path d="M18 18 C18 13 30 13 30 19 C30 24 24 23 24 29"/><circle cx="24" cy="35" r="1.8" fill="currentColor" stroke="none"/>`,
|
|
1077
|
+
repository: c`<rect x="7" y="10" width="34" height="28" rx="3"/><path d="M18 20 L13 24 L18 28 M30 20 L35 24 L30 28"/>`,
|
|
1078
|
+
star: c`<path d="M24 6 L29 19 L43 19 L32 28 L36 42 L24 34 L12 42 L16 28 L5 19 L19 19 Z"/>`,
|
|
1079
|
+
chat: c`<path d="M8 10 H40 A2 2 0 0 1 42 12 V30 A2 2 0 0 1 40 32 H20 L12 40 V32 H8 A2 2 0 0 1 6 30 V12 A2 2 0 0 1 8 10 Z"/><path d="M14 18 H34 M14 24 H28"/>`,
|
|
1080
|
+
heart: c`<path d="M24 41 C10 32 4 23 4 15.5 C4 9 9 5 15 5 C19.5 5 22.5 7.5 24 11 C25.5 7.5 28.5 5 33 5 C39 5 44 9 44 15.5 C44 23 38 32 24 41 Z"/>`,
|
|
1081
1081
|
// Phase 3: module registry (Forge replacement) -------------------------
|
|
1082
|
-
module:
|
|
1083
|
-
tag:
|
|
1084
|
-
dependency:
|
|
1085
|
-
verified:
|
|
1086
|
-
archived:
|
|
1087
|
-
publish:
|
|
1088
|
-
changelog:
|
|
1089
|
-
vulnerability:
|
|
1090
|
-
gauge:
|
|
1091
|
-
"file-tree":
|
|
1092
|
-
"check-circle":
|
|
1093
|
-
"x-circle":
|
|
1094
|
-
fork:
|
|
1095
|
-
trending:
|
|
1096
|
-
collection:
|
|
1082
|
+
module: c`<rect x="8" y="16" width="32" height="24" rx="3"/><path d="M8 24 H40"/><path d="M20 16 L24 24 L28 16"/>`,
|
|
1083
|
+
tag: c`<path d="M6 10 H26 L42 26 L26 42 H6 Z"/><circle cx="15" cy="19" r="3" fill="currentColor" stroke="none"/>`,
|
|
1084
|
+
dependency: c`<rect x="6" y="19" width="20" height="10" rx="5"/><rect x="22" y="19" width="20" height="10" rx="5"/>`,
|
|
1085
|
+
verified: c`<path d="M24 5 L31 10 L39 9 L40 17 L46 24 L40 31 L39 39 L31 38 L24 43 L17 38 L9 39 L8 31 L2 24 L8 17 L9 9 L17 10 Z"/><path d="M16 24 L21 29 L32 18"/>`,
|
|
1086
|
+
archived: c`<rect x="6" y="6" width="36" height="10" rx="2"/><rect x="10" y="16" width="28" height="26" rx="2"/><path d="M20 26 H28"/>`,
|
|
1087
|
+
publish: c`<path d="M24 6 V28 M24 6 L16 14 M24 6 L32 14"/><path d="M8 32 V38 A2 2 0 0 0 10 40 H38 A2 2 0 0 0 40 38 V32"/>`,
|
|
1088
|
+
changelog: c`<path d="M10 6 H28 L36 14 V42 H10 Z"/><path d="M28 6 V14 H36"/><path d="M16 24 H24"/><circle cx="34" cy="34" r="7"/><path d="M34 30 V34 L37 36"/>`,
|
|
1089
|
+
vulnerability: c`<path d="M24 6 L40 12 V22 C40 33 33 40 24 43 C15 40 8 33 8 22 V12 Z"/><path d="M24 16 V26"/><circle cx="24" cy="32" r="1.8" fill="currentColor" stroke="none"/>`,
|
|
1090
|
+
gauge: c`<path d="M6 34 A18 18 0 0 1 42 34"/><path d="M24 34 L34 20"/><circle cx="24" cy="34" r="2.2" fill="currentColor" stroke="none"/>`,
|
|
1091
|
+
"file-tree": c`<path d="M6 12 H18 L22 17 H42 V38 H6 Z"/><path d="M26 24 H36 M26 30 H36"/>`,
|
|
1092
|
+
"check-circle": c`<circle cx="24" cy="24" r="17"/><path d="M15 24 L21 30 L33 17"/>`,
|
|
1093
|
+
"x-circle": c`<circle cx="24" cy="24" r="17"/><path d="M18 18 L30 30 M30 18 L18 30"/>`,
|
|
1094
|
+
fork: c`<circle cx="14" cy="10" r="4"/><circle cx="34" cy="10" r="4"/><circle cx="24" cy="38" r="4"/><path d="M14 14 V22 L24 32 M34 14 V22 L24 32 M24 32 V34"/>`,
|
|
1095
|
+
trending: c`<path d="M6 34 L18 22 L26 28 L42 10"/><path d="M32 10 H42 V20"/>`,
|
|
1096
|
+
collection: c`<rect x="10" y="6" width="28" height="10" rx="2"/><rect x="6" y="19" width="36" height="10" rx="2"/><rect x="10" y="32" width="28" height="10" rx="2"/>`,
|
|
1097
1097
|
// Phase 4: fleet console (Puppet Enterprise replacement) ---------------
|
|
1098
|
-
dashboard:
|
|
1099
|
-
node:
|
|
1100
|
-
"node-group":
|
|
1101
|
-
pulse:
|
|
1102
|
-
compliance:
|
|
1103
|
-
report:
|
|
1104
|
-
"activity-log":
|
|
1105
|
-
bell:
|
|
1106
|
-
orchestrate:
|
|
1107
|
-
plan:
|
|
1108
|
-
badge:
|
|
1109
|
-
audit:
|
|
1110
|
-
key:
|
|
1111
|
-
layers:
|
|
1112
|
-
classifier:
|
|
1113
|
-
deploy:
|
|
1114
|
-
metrics:
|
|
1115
|
-
schedule:
|
|
1116
|
-
backup:
|
|
1117
|
-
webhook:
|
|
1118
|
-
organization:
|
|
1119
|
-
drift:
|
|
1098
|
+
dashboard: c`<rect x="6" y="6" width="18" height="14" rx="2"/><rect x="28" y="6" width="14" height="8" rx="2"/><rect x="28" y="18" width="14" height="14" rx="2"/><rect x="6" y="24" width="18" height="18" rx="2"/>`,
|
|
1099
|
+
node: c`<rect x="10" y="14" width="28" height="20" rx="3"/><path d="M16 22 H22 M16 27 H22"/><circle cx="32" cy="24" r="2" fill="currentColor" stroke="none"/>`,
|
|
1100
|
+
"node-group": c`<rect x="6" y="10" width="24" height="9" rx="2"/><rect x="12" y="21" width="24" height="9" rx="2"/><rect x="18" y="32" width="24" height="9" rx="2"/>`,
|
|
1101
|
+
pulse: c`<path d="M4 24 H14 L19 12 L27 36 L32 24 H44"/>`,
|
|
1102
|
+
compliance: c`<rect x="9" y="6" width="30" height="36" rx="3"/><path d="M16 16 L19 19 L26 12 M16 26 L19 29 L26 22 M16 36 H30"/>`,
|
|
1103
|
+
report: c`<path d="M10 6 H28 L36 14 V42 H10 Z"/><path d="M28 6 V14 H36"/><path d="M16 34 V28 M22 34 V24 M28 34 V30"/>`,
|
|
1104
|
+
"activity-log": c`<path d="M14 8 V40"/><circle cx="14" cy="12" r="3" fill="currentColor" stroke="none"/><circle cx="14" cy="24" r="3" fill="currentColor" stroke="none"/><circle cx="14" cy="36" r="3" fill="currentColor" stroke="none"/><path d="M22 12 H40 M22 24 H40 M22 36 H34"/>`,
|
|
1105
|
+
bell: c`<path d="M12 32 V22 A12 12 0 0 1 36 22 V32 L40 38 H8 Z"/><path d="M20 38 A4 4 0 0 0 28 38"/>`,
|
|
1106
|
+
orchestrate: c`<circle cx="24" cy="24" r="17"/><path d="M19 15 L33 24 L19 33 Z"/>`,
|
|
1107
|
+
plan: c`<rect x="6" y="8" width="24" height="32" rx="3"/><path d="M12 16 H24 M12 22 H24 M12 28 H20"/><path d="M32 24 H44 M38 18 L44 24 L38 30"/>`,
|
|
1108
|
+
badge: c`<rect x="6" y="10" width="36" height="28" rx="3"/><circle cx="17" cy="21" r="5"/><path d="M10 32 C10 26 13 24 17 24 C21 24 24 26 24 32"/><path d="M30 18 H38 M30 24 H38 M30 30 H36"/>`,
|
|
1109
|
+
audit: c`<path d="M10 6 H26 L34 14 V42 H10 Z"/><path d="M26 6 V14 H34"/><path d="M16 24 H24 M16 30 H22"/><circle cx="33" cy="33" r="6"/><path d="M37.5 37.5 L43 43"/>`,
|
|
1110
|
+
key: c`<circle cx="16" cy="24" r="9"/><path d="M23 24 H42 M34 24 V31 M40 24 V29"/>`,
|
|
1111
|
+
layers: c`<path d="M24 6 L44 16 L24 26 L4 16 Z"/><path d="M4 26 L24 36 L44 26"/><path d="M4 34 L24 44 L44 34"/>`,
|
|
1112
|
+
classifier: c`<path d="M6 10 H24 L40 26 L24 42 H6 Z"/><circle cx="14" cy="18" r="3" fill="currentColor" stroke="none"/><circle cx="32" cy="26" r="3" fill="currentColor" stroke="none"/>`,
|
|
1113
|
+
deploy: c`<path d="M24 8 V34"/><path d="M24 8 L15 20 M24 8 L33 20"/><path d="M10 40 H38"/>`,
|
|
1114
|
+
metrics: c`<path d="M6 40 H42"/><path d="M6 40 V6"/><path d="M10 30 L18 22 L26 27 L38 12"/>`,
|
|
1115
|
+
schedule: c`<rect x="6" y="10" width="28" height="30" rx="3"/><path d="M6 18 H34"/><path d="M14 6 V14 M26 6 V14"/><circle cx="34" cy="34" r="10"/><path d="M34 28 V34 L38 37"/>`,
|
|
1116
|
+
backup: c`<path d="M24 6 V26 M24 26 L16 18 M24 26 L32 18"/><rect x="8" y="30" width="32" height="12" rx="2"/><path d="M8 36 H40"/>`,
|
|
1117
|
+
webhook: c`<circle cx="12" cy="14" r="6"/><circle cx="36" cy="34" r="6"/><path d="M17 17 L31 31"/><path d="M22 22 L20 28 L26 26 L24 32"/>`,
|
|
1118
|
+
organization: c`<rect x="10" y="10" width="28" height="32" rx="2"/><path d="M17 18 H21 M27 18 H31 M17 26 H21 M27 26 H31 M17 34 H21 M27 34 H31"/>`,
|
|
1119
|
+
drift: c`<rect x="6" y="12" width="20" height="20" rx="3"/><rect x="22" y="16" width="20" height="20" rx="3"/><path d="M20 24 H28"/>`,
|
|
1120
1120
|
// Added later: consolidated from docs pages that predated vox-icon ------
|
|
1121
|
-
blocks:
|
|
1122
|
-
plug:
|
|
1123
|
-
ballot:
|
|
1124
|
-
sun:
|
|
1125
|
-
moon:
|
|
1126
|
-
github:
|
|
1127
|
-
accessibility:
|
|
1128
|
-
settings:
|
|
1121
|
+
blocks: c`<rect x="7" y="7" width="15" height="15" rx="2.5"/><rect x="26" y="7" width="15" height="15" rx="2.5"/><rect x="7" y="26" width="15" height="15" rx="2.5"/><rect x="26" y="26" width="15" height="15" rx="2.5"/>`,
|
|
1122
|
+
plug: c`<path d="M16 6 V18 M32 6 V18 M12 18 H36 V28 C36 34 30 38 24 38 C18 38 12 34 12 28 Z"/><path d="M24 38 V44"/>`,
|
|
1123
|
+
ballot: c`<rect x="8" y="18" width="32" height="24" rx="2.5"/><path d="M8 26 H40"/><path d="M24 10 V26"/><path d="M18 6 L24 12 L30 6"/>`,
|
|
1124
|
+
sun: c`<circle cx="24" cy="24" r="8"/><path d="M24 4v4M24 40v4M9.86 9.86l2.82 2.82M35.32 35.32l2.82 2.82M4 24h4M40 24h4M12.68 35.32l-2.82 2.82M38.14 9.86l-2.82 2.82"/>`,
|
|
1125
|
+
moon: c`<path d="M42 25.58A18 18 0 1 1 22.42 6 14 14 0 0 0 42 25.58Z"/>`,
|
|
1126
|
+
github: c`<g transform="translate(4,4) scale(2.5)" fill="currentColor" stroke="none"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></g>`,
|
|
1127
|
+
accessibility: c`<circle cx="24" cy="24" r="18"/><circle cx="24" cy="16" r="2.6" fill="currentColor" stroke="none"/><path d="M14 21 H34 M24 21 V32 M24 25 L18 34 M24 25 L30 34"/>`,
|
|
1128
|
+
settings: c`<circle cx="24" cy="24" r="7"/><path d="M24 6 V12 M24 36 V42 M6 24 H12 M36 24 H42 M11 11 L15.2 15.2 M32.8 32.8 L37 37 M37 11 L32.8 15.2 M15.2 32.8 L11 37"/>`
|
|
1129
1129
|
};
|
|
1130
|
-
var
|
|
1131
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
1130
|
+
var dr = Object.defineProperty, pr = Object.getOwnPropertyDescriptor, vt = (r, e, o, s) => {
|
|
1131
|
+
for (var t = s > 1 ? void 0 : s ? pr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
1132
1132
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
1133
|
-
return s && t &&
|
|
1133
|
+
return s && t && dr(e, o, t), t;
|
|
1134
1134
|
};
|
|
1135
|
-
let
|
|
1135
|
+
let Q = class extends h {
|
|
1136
1136
|
constructor() {
|
|
1137
1137
|
super(...arguments), this.name = "info", this.size = "md";
|
|
1138
1138
|
}
|
|
1139
1139
|
render() {
|
|
1140
|
-
const r =
|
|
1141
|
-
return r ?
|
|
1140
|
+
const r = k[this.name];
|
|
1141
|
+
return r ? l`
|
|
1142
1142
|
<svg
|
|
1143
1143
|
viewBox="0 0 48 48"
|
|
1144
1144
|
fill="none"
|
|
@@ -1155,7 +1155,7 @@ let G = class extends p {
|
|
|
1155
1155
|
` : x;
|
|
1156
1156
|
}
|
|
1157
1157
|
};
|
|
1158
|
-
|
|
1158
|
+
Q.styles = d`
|
|
1159
1159
|
:host {
|
|
1160
1160
|
display: inline-flex;
|
|
1161
1161
|
flex: none;
|
|
@@ -1186,24 +1186,24 @@ G.styles = d`
|
|
|
1186
1186
|
height: 48px;
|
|
1187
1187
|
}
|
|
1188
1188
|
`;
|
|
1189
|
-
|
|
1189
|
+
vt([
|
|
1190
1190
|
n()
|
|
1191
|
-
],
|
|
1192
|
-
|
|
1191
|
+
], Q.prototype, "name", 2);
|
|
1192
|
+
vt([
|
|
1193
1193
|
n({ reflect: !0 })
|
|
1194
|
-
],
|
|
1195
|
-
|
|
1194
|
+
], Q.prototype, "size", 2);
|
|
1195
|
+
vt([
|
|
1196
1196
|
n()
|
|
1197
|
-
],
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
],
|
|
1201
|
-
var
|
|
1197
|
+
], Q.prototype, "label", 2);
|
|
1198
|
+
Q = vt([
|
|
1199
|
+
p("vox-icon")
|
|
1200
|
+
], Q);
|
|
1201
|
+
var hr = Object.defineProperty, He = (r, e, o, s) => {
|
|
1202
1202
|
for (var t = void 0, a = r.length - 1, i; a >= 0; a--)
|
|
1203
1203
|
(i = r[a]) && (t = i(e, o, t) || t);
|
|
1204
|
-
return t &&
|
|
1204
|
+
return t && hr(e, o, t), t;
|
|
1205
1205
|
};
|
|
1206
|
-
const
|
|
1206
|
+
const Jt = class Jt extends h {
|
|
1207
1207
|
constructor() {
|
|
1208
1208
|
super(), this.name = "", this.label = "", this.note = "", this.disabled = !1, this.required = !1, this.internals = this.attachInternals();
|
|
1209
1209
|
}
|
|
@@ -1227,34 +1227,34 @@ const Ut = class Ut extends p {
|
|
|
1227
1227
|
this.internals.setValidity(e.validity, e.validationMessage, e);
|
|
1228
1228
|
}
|
|
1229
1229
|
renderLabel(e) {
|
|
1230
|
-
return this.label ?
|
|
1230
|
+
return this.label ? l`
|
|
1231
1231
|
<label class="label" for=${e}>
|
|
1232
|
-
${this.label}${this.required ?
|
|
1232
|
+
${this.label}${this.required ? l`<span class="required-mark" aria-hidden="true"> *</span>` : x}
|
|
1233
1233
|
</label>
|
|
1234
1234
|
` : x;
|
|
1235
1235
|
}
|
|
1236
1236
|
renderNote() {
|
|
1237
|
-
return this.note ?
|
|
1237
|
+
return this.note ? l`<p class="note">${this.note}</p>` : x;
|
|
1238
1238
|
}
|
|
1239
1239
|
};
|
|
1240
|
-
|
|
1241
|
-
let y =
|
|
1242
|
-
|
|
1240
|
+
Jt.formAssociated = !0;
|
|
1241
|
+
let y = Jt;
|
|
1242
|
+
He([
|
|
1243
1243
|
n()
|
|
1244
1244
|
], y.prototype, "name");
|
|
1245
|
-
|
|
1245
|
+
He([
|
|
1246
1246
|
n()
|
|
1247
1247
|
], y.prototype, "label");
|
|
1248
|
-
|
|
1248
|
+
He([
|
|
1249
1249
|
n()
|
|
1250
1250
|
], y.prototype, "note");
|
|
1251
|
-
|
|
1251
|
+
He([
|
|
1252
1252
|
n({ type: Boolean, reflect: !0 })
|
|
1253
1253
|
], y.prototype, "disabled");
|
|
1254
|
-
|
|
1254
|
+
He([
|
|
1255
1255
|
n({ type: Boolean, reflect: !0 })
|
|
1256
1256
|
], y.prototype, "required");
|
|
1257
|
-
const
|
|
1257
|
+
const Te = d`
|
|
1258
1258
|
:host {
|
|
1259
1259
|
display: block;
|
|
1260
1260
|
font-family: var(--vox-font-family-base);
|
|
@@ -1321,7 +1321,7 @@ const Se = d`
|
|
|
1321
1321
|
:host([data-vox-group='end']) .control {
|
|
1322
1322
|
border-radius: 0 var(--vox-radius-md) var(--vox-radius-md) 0;
|
|
1323
1323
|
}
|
|
1324
|
-
`,
|
|
1324
|
+
`, Mo = d`
|
|
1325
1325
|
:host {
|
|
1326
1326
|
display: block;
|
|
1327
1327
|
font-family: var(--vox-font-family-base);
|
|
@@ -1350,12 +1350,12 @@ const Se = d`
|
|
|
1350
1350
|
margin: 0;
|
|
1351
1351
|
}
|
|
1352
1352
|
`;
|
|
1353
|
-
var
|
|
1354
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
1353
|
+
var vr = Object.defineProperty, ur = Object.getOwnPropertyDescriptor, Bt = (r, e, o, s) => {
|
|
1354
|
+
for (var t = s > 1 ? void 0 : s ? ur(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
1355
1355
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
1356
|
-
return s && t &&
|
|
1356
|
+
return s && t && vr(e, o, t), t;
|
|
1357
1357
|
};
|
|
1358
|
-
let
|
|
1358
|
+
let fe = class extends y {
|
|
1359
1359
|
constructor() {
|
|
1360
1360
|
super(...arguments), this.checked = !1, this.value = "on";
|
|
1361
1361
|
}
|
|
@@ -1373,7 +1373,7 @@ let de = class extends y {
|
|
|
1373
1373
|
this.checked = r.target.checked, this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
1374
1374
|
}
|
|
1375
1375
|
render() {
|
|
1376
|
-
return
|
|
1376
|
+
return l`
|
|
1377
1377
|
<label class="check">
|
|
1378
1378
|
<input
|
|
1379
1379
|
type="checkbox"
|
|
@@ -1391,8 +1391,8 @@ let de = class extends y {
|
|
|
1391
1391
|
`;
|
|
1392
1392
|
}
|
|
1393
1393
|
};
|
|
1394
|
-
|
|
1395
|
-
|
|
1394
|
+
fe.styles = [
|
|
1395
|
+
Mo,
|
|
1396
1396
|
d`
|
|
1397
1397
|
.box {
|
|
1398
1398
|
flex: none;
|
|
@@ -1432,21 +1432,21 @@ de.styles = [
|
|
|
1432
1432
|
}
|
|
1433
1433
|
`
|
|
1434
1434
|
];
|
|
1435
|
-
|
|
1435
|
+
Bt([
|
|
1436
1436
|
n({ type: Boolean, reflect: !0 })
|
|
1437
|
-
],
|
|
1438
|
-
|
|
1437
|
+
], fe.prototype, "checked", 2);
|
|
1438
|
+
Bt([
|
|
1439
1439
|
n()
|
|
1440
|
-
],
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
],
|
|
1444
|
-
var
|
|
1445
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
1440
|
+
], fe.prototype, "value", 2);
|
|
1441
|
+
fe = Bt([
|
|
1442
|
+
p("vox-checkbox")
|
|
1443
|
+
], fe);
|
|
1444
|
+
var xr = Object.defineProperty, fr = Object.getOwnPropertyDescriptor, ne = (r, e, o, s) => {
|
|
1445
|
+
for (var t = s > 1 ? void 0 : s ? fr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
1446
1446
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
1447
|
-
return s && t &&
|
|
1447
|
+
return s && t && xr(e, o, t), t;
|
|
1448
1448
|
};
|
|
1449
|
-
let
|
|
1449
|
+
let L = class extends y {
|
|
1450
1450
|
constructor() {
|
|
1451
1451
|
super(...arguments), this.multiple = !1, this.buttonLabel = "Choose a file", this.fileNames = [];
|
|
1452
1452
|
}
|
|
@@ -1465,14 +1465,14 @@ let P = class extends y {
|
|
|
1465
1465
|
), this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
1466
1466
|
}
|
|
1467
1467
|
render() {
|
|
1468
|
-
return
|
|
1468
|
+
return l`
|
|
1469
1469
|
<div class="field">
|
|
1470
1470
|
${this.renderLabel("file")}
|
|
1471
1471
|
<label>
|
|
1472
1472
|
<input
|
|
1473
1473
|
id="file"
|
|
1474
1474
|
type="file"
|
|
1475
|
-
accept=${
|
|
1475
|
+
accept=${X(this.accept)}
|
|
1476
1476
|
?multiple=${this.multiple}
|
|
1477
1477
|
?disabled=${this.disabled}
|
|
1478
1478
|
@change=${this.handleChange}
|
|
@@ -1489,8 +1489,8 @@ let P = class extends y {
|
|
|
1489
1489
|
`;
|
|
1490
1490
|
}
|
|
1491
1491
|
};
|
|
1492
|
-
|
|
1493
|
-
|
|
1492
|
+
L.styles = [
|
|
1493
|
+
Te,
|
|
1494
1494
|
d`
|
|
1495
1495
|
input {
|
|
1496
1496
|
position: absolute;
|
|
@@ -1539,39 +1539,39 @@ P.styles = [
|
|
|
1539
1539
|
}
|
|
1540
1540
|
`
|
|
1541
1541
|
];
|
|
1542
|
-
|
|
1542
|
+
ne([
|
|
1543
1543
|
n()
|
|
1544
|
-
],
|
|
1545
|
-
|
|
1544
|
+
], L.prototype, "accept", 2);
|
|
1545
|
+
ne([
|
|
1546
1546
|
n({ type: Boolean })
|
|
1547
|
-
],
|
|
1548
|
-
|
|
1547
|
+
], L.prototype, "multiple", 2);
|
|
1548
|
+
ne([
|
|
1549
1549
|
n({ attribute: "button-label" })
|
|
1550
|
-
],
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
],
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
],
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
],
|
|
1550
|
+
], L.prototype, "buttonLabel", 2);
|
|
1551
|
+
ne([
|
|
1552
|
+
ie()
|
|
1553
|
+
], L.prototype, "fileNames", 2);
|
|
1554
|
+
ne([
|
|
1555
|
+
Ht("input")
|
|
1556
|
+
], L.prototype, "inputEl", 2);
|
|
1557
|
+
L = ne([
|
|
1558
|
+
p("vox-file-input")
|
|
1559
|
+
], L);
|
|
1560
1560
|
/**
|
|
1561
1561
|
* @license
|
|
1562
1562
|
* Copyright 2020 Google LLC
|
|
1563
1563
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1564
1564
|
*/
|
|
1565
|
-
const
|
|
1565
|
+
const gr = (r) => r.strings === void 0, br = {}, yr = (r, e = br) => r._$AH = e;
|
|
1566
1566
|
/**
|
|
1567
1567
|
* @license
|
|
1568
1568
|
* Copyright 2020 Google LLC
|
|
1569
1569
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1570
1570
|
*/
|
|
1571
|
-
const
|
|
1571
|
+
const Ao = Co(class extends Oo {
|
|
1572
1572
|
constructor(r) {
|
|
1573
|
-
if (super(r), r.type !==
|
|
1574
|
-
if (!
|
|
1573
|
+
if (super(r), r.type !== z.PROPERTY && r.type !== z.ATTRIBUTE && r.type !== z.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
|
|
1574
|
+
if (!gr(r)) throw Error("`live` bindings can only contain a single expression");
|
|
1575
1575
|
}
|
|
1576
1576
|
render(r) {
|
|
1577
1577
|
return r;
|
|
@@ -1579,20 +1579,20 @@ const po = lo(class extends co {
|
|
|
1579
1579
|
update(r, [e]) {
|
|
1580
1580
|
if (e === m || e === x) return e;
|
|
1581
1581
|
const o = r.element, s = r.name;
|
|
1582
|
-
if (r.type ===
|
|
1582
|
+
if (r.type === z.PROPERTY) {
|
|
1583
1583
|
if (e === o[s]) return m;
|
|
1584
|
-
} else if (r.type ===
|
|
1584
|
+
} else if (r.type === z.BOOLEAN_ATTRIBUTE) {
|
|
1585
1585
|
if (!!e === o.hasAttribute(s)) return m;
|
|
1586
|
-
} else if (r.type ===
|
|
1587
|
-
return
|
|
1586
|
+
} else if (r.type === z.ATTRIBUTE && o.getAttribute(s) === e + "") return m;
|
|
1587
|
+
return yr(r), e;
|
|
1588
1588
|
}
|
|
1589
1589
|
});
|
|
1590
|
-
var
|
|
1591
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
1590
|
+
var mr = Object.defineProperty, $r = Object.getOwnPropertyDescriptor, le = (r, e, o, s) => {
|
|
1591
|
+
for (var t = s > 1 ? void 0 : s ? $r(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
1592
1592
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
1593
|
-
return s && t &&
|
|
1593
|
+
return s && t && mr(e, o, t), t;
|
|
1594
1594
|
};
|
|
1595
|
-
let
|
|
1595
|
+
let E = class extends y {
|
|
1596
1596
|
constructor() {
|
|
1597
1597
|
super(...arguments), this.type = "text", this.value = "", this.readonly = !1;
|
|
1598
1598
|
}
|
|
@@ -1615,16 +1615,16 @@ let A = class extends y {
|
|
|
1615
1615
|
this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
1616
1616
|
}
|
|
1617
1617
|
render() {
|
|
1618
|
-
return
|
|
1618
|
+
return l`
|
|
1619
1619
|
<div class="field">
|
|
1620
1620
|
${this.renderLabel("input")}
|
|
1621
1621
|
<input
|
|
1622
1622
|
id="input"
|
|
1623
1623
|
class="control"
|
|
1624
1624
|
type=${this.type}
|
|
1625
|
-
.value=${
|
|
1626
|
-
placeholder=${
|
|
1627
|
-
autocomplete=${
|
|
1625
|
+
.value=${Ao(this.value)}
|
|
1626
|
+
placeholder=${X(this.placeholder)}
|
|
1627
|
+
autocomplete=${X(this.autocomplete)}
|
|
1628
1628
|
?required=${this.required}
|
|
1629
1629
|
?readonly=${this.readonly}
|
|
1630
1630
|
?disabled=${this.disabled}
|
|
@@ -1637,31 +1637,31 @@ let A = class extends y {
|
|
|
1637
1637
|
`;
|
|
1638
1638
|
}
|
|
1639
1639
|
};
|
|
1640
|
-
|
|
1641
|
-
|
|
1640
|
+
E.styles = Te;
|
|
1641
|
+
le([
|
|
1642
1642
|
n()
|
|
1643
|
-
],
|
|
1644
|
-
|
|
1643
|
+
], E.prototype, "type", 2);
|
|
1644
|
+
le([
|
|
1645
1645
|
n()
|
|
1646
|
-
],
|
|
1647
|
-
|
|
1646
|
+
], E.prototype, "value", 2);
|
|
1647
|
+
le([
|
|
1648
1648
|
n()
|
|
1649
|
-
],
|
|
1650
|
-
|
|
1649
|
+
], E.prototype, "placeholder", 2);
|
|
1650
|
+
le([
|
|
1651
1651
|
n()
|
|
1652
|
-
],
|
|
1653
|
-
|
|
1652
|
+
], E.prototype, "autocomplete", 2);
|
|
1653
|
+
le([
|
|
1654
1654
|
n({ type: Boolean, reflect: !0 })
|
|
1655
|
-
],
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
],
|
|
1659
|
-
var
|
|
1660
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
1655
|
+
], E.prototype, "readonly", 2);
|
|
1656
|
+
E = le([
|
|
1657
|
+
p("vox-input")
|
|
1658
|
+
], E);
|
|
1659
|
+
var wr = Object.getOwnPropertyDescriptor, _r = (r, e, o, s) => {
|
|
1660
|
+
for (var t = s > 1 ? void 0 : s ? wr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
1661
1661
|
(i = r[a]) && (t = i(t) || t);
|
|
1662
1662
|
return t;
|
|
1663
1663
|
};
|
|
1664
|
-
let
|
|
1664
|
+
let Ot = class extends h {
|
|
1665
1665
|
handleSlotChange(r) {
|
|
1666
1666
|
const e = r.target.assignedElements();
|
|
1667
1667
|
e.forEach((o, s) => {
|
|
@@ -1670,14 +1670,14 @@ let ft = class extends p {
|
|
|
1670
1670
|
});
|
|
1671
1671
|
}
|
|
1672
1672
|
render() {
|
|
1673
|
-
return
|
|
1673
|
+
return l`
|
|
1674
1674
|
<div class="group" role="group">
|
|
1675
1675
|
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
1676
1676
|
</div>
|
|
1677
1677
|
`;
|
|
1678
1678
|
}
|
|
1679
1679
|
};
|
|
1680
|
-
|
|
1680
|
+
Ot.styles = d`
|
|
1681
1681
|
:host {
|
|
1682
1682
|
display: block;
|
|
1683
1683
|
font-family: var(--vox-font-family-base);
|
|
@@ -1719,15 +1719,15 @@ ft.styles = d`
|
|
|
1719
1719
|
border-left: none;
|
|
1720
1720
|
}
|
|
1721
1721
|
`;
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
],
|
|
1725
|
-
var
|
|
1726
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
1722
|
+
Ot = _r([
|
|
1723
|
+
p("vox-input-group")
|
|
1724
|
+
], Ot);
|
|
1725
|
+
var Cr = Object.defineProperty, Or = Object.getOwnPropertyDescriptor, ut = (r, e, o, s) => {
|
|
1726
|
+
for (var t = s > 1 ? void 0 : s ? Or(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
1727
1727
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
1728
|
-
return s && t &&
|
|
1728
|
+
return s && t && Cr(e, o, t), t;
|
|
1729
1729
|
};
|
|
1730
|
-
let
|
|
1730
|
+
let ee = class extends h {
|
|
1731
1731
|
constructor() {
|
|
1732
1732
|
super(...arguments), this.value = "", this.checked = !1, this.disabled = !1;
|
|
1733
1733
|
}
|
|
@@ -1740,7 +1740,7 @@ let W = class extends p {
|
|
|
1740
1740
|
(r.key === " " || r.key === "Enter") && (r.preventDefault(), this.select());
|
|
1741
1741
|
}
|
|
1742
1742
|
render() {
|
|
1743
|
-
return
|
|
1743
|
+
return l`
|
|
1744
1744
|
<span
|
|
1745
1745
|
class="radio"
|
|
1746
1746
|
role="radio"
|
|
@@ -1756,7 +1756,7 @@ let W = class extends p {
|
|
|
1756
1756
|
`;
|
|
1757
1757
|
}
|
|
1758
1758
|
};
|
|
1759
|
-
|
|
1759
|
+
ee.styles = d`
|
|
1760
1760
|
:host {
|
|
1761
1761
|
display: block;
|
|
1762
1762
|
font-family: var(--vox-font-family-base);
|
|
@@ -1805,24 +1805,24 @@ W.styles = d`
|
|
|
1805
1805
|
outline-offset: 2px;
|
|
1806
1806
|
}
|
|
1807
1807
|
`;
|
|
1808
|
-
|
|
1808
|
+
ut([
|
|
1809
1809
|
n()
|
|
1810
|
-
],
|
|
1811
|
-
|
|
1810
|
+
], ee.prototype, "value", 2);
|
|
1811
|
+
ut([
|
|
1812
1812
|
n({ type: Boolean, reflect: !0 })
|
|
1813
|
-
],
|
|
1814
|
-
|
|
1813
|
+
], ee.prototype, "checked", 2);
|
|
1814
|
+
ut([
|
|
1815
1815
|
n({ type: Boolean, reflect: !0 })
|
|
1816
|
-
],
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
],
|
|
1820
|
-
var
|
|
1821
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
1816
|
+
], ee.prototype, "disabled", 2);
|
|
1817
|
+
ee = ut([
|
|
1818
|
+
p("vox-radio")
|
|
1819
|
+
], ee);
|
|
1820
|
+
var Mr = Object.defineProperty, Ar = Object.getOwnPropertyDescriptor, Po = (r, e, o, s) => {
|
|
1821
|
+
for (var t = s > 1 ? void 0 : s ? Ar(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
1822
1822
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
1823
|
-
return s && t &&
|
|
1823
|
+
return s && t && Mr(e, o, t), t;
|
|
1824
1824
|
};
|
|
1825
|
-
let
|
|
1825
|
+
let tt = class extends y {
|
|
1826
1826
|
constructor() {
|
|
1827
1827
|
super(...arguments), this.value = "";
|
|
1828
1828
|
}
|
|
@@ -1853,7 +1853,7 @@ let Ze = class extends y {
|
|
|
1853
1853
|
!(e instanceof HTMLElement) || e.tagName !== "VOX-RADIO" || (r.stopPropagation(), this.value !== e.value && (this.value = e.value, this.dispatchEvent(new Event("change", { bubbles: !0 }))));
|
|
1854
1854
|
}
|
|
1855
1855
|
handleKeydown(r) {
|
|
1856
|
-
var
|
|
1856
|
+
var v, u;
|
|
1857
1857
|
const o = {
|
|
1858
1858
|
ArrowDown: 1,
|
|
1859
1859
|
ArrowRight: 1,
|
|
@@ -1865,13 +1865,13 @@ let Ze = class extends y {
|
|
|
1865
1865
|
const s = this.radios.filter((f) => !f.disabled);
|
|
1866
1866
|
if (s.length === 0) return;
|
|
1867
1867
|
const t = s.findIndex((f) => f.checked), a = (Math.max(t, 0) + o + s.length) % s.length, i = s[a];
|
|
1868
|
-
i.select(), (
|
|
1868
|
+
i.select(), (u = (v = i.shadowRoot) == null ? void 0 : v.querySelector(".radio")) == null || u.focus();
|
|
1869
1869
|
}
|
|
1870
1870
|
render() {
|
|
1871
|
-
return
|
|
1871
|
+
return l`
|
|
1872
1872
|
<div class="field" role="radiogroup" aria-label=${this.label}>
|
|
1873
|
-
${this.label ?
|
|
1874
|
-
${this.label}${this.required ?
|
|
1873
|
+
${this.label ? l`<span class="label">
|
|
1874
|
+
${this.label}${this.required ? l`<span class="required-mark" aria-hidden="true"> *</span>` : ""}
|
|
1875
1875
|
</span>` : ""}
|
|
1876
1876
|
<div
|
|
1877
1877
|
class="options"
|
|
@@ -1885,8 +1885,8 @@ let Ze = class extends y {
|
|
|
1885
1885
|
`;
|
|
1886
1886
|
}
|
|
1887
1887
|
};
|
|
1888
|
-
|
|
1889
|
-
|
|
1888
|
+
tt.styles = [
|
|
1889
|
+
Te,
|
|
1890
1890
|
d`
|
|
1891
1891
|
.options {
|
|
1892
1892
|
display: flex;
|
|
@@ -1896,18 +1896,18 @@ Ze.styles = [
|
|
|
1896
1896
|
}
|
|
1897
1897
|
`
|
|
1898
1898
|
];
|
|
1899
|
-
|
|
1899
|
+
Po([
|
|
1900
1900
|
n()
|
|
1901
|
-
],
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
],
|
|
1905
|
-
var
|
|
1906
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
1901
|
+
], tt.prototype, "value", 2);
|
|
1902
|
+
tt = Po([
|
|
1903
|
+
p("vox-radio-group")
|
|
1904
|
+
], tt);
|
|
1905
|
+
var Pr = Object.defineProperty, kr = Object.getOwnPropertyDescriptor, Nt = (r, e, o, s) => {
|
|
1906
|
+
for (var t = s > 1 ? void 0 : s ? kr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
1907
1907
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
1908
|
-
return s && t &&
|
|
1908
|
+
return s && t && Pr(e, o, t), t;
|
|
1909
1909
|
};
|
|
1910
|
-
let
|
|
1910
|
+
let ge = class extends y {
|
|
1911
1911
|
constructor() {
|
|
1912
1912
|
super(...arguments), this.value = "";
|
|
1913
1913
|
}
|
|
@@ -1928,7 +1928,7 @@ let he = class extends y {
|
|
|
1928
1928
|
this.value = this.selectEl.value, this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
1929
1929
|
}
|
|
1930
1930
|
render() {
|
|
1931
|
-
return
|
|
1931
|
+
return l`
|
|
1932
1932
|
<div class="field">
|
|
1933
1933
|
${this.renderLabel("select")}
|
|
1934
1934
|
<select
|
|
@@ -1944,8 +1944,8 @@ let he = class extends y {
|
|
|
1944
1944
|
`;
|
|
1945
1945
|
}
|
|
1946
1946
|
};
|
|
1947
|
-
|
|
1948
|
-
|
|
1947
|
+
ge.styles = [
|
|
1948
|
+
Te,
|
|
1949
1949
|
d`
|
|
1950
1950
|
select.control {
|
|
1951
1951
|
appearance: none;
|
|
@@ -1957,21 +1957,21 @@ he.styles = [
|
|
|
1957
1957
|
}
|
|
1958
1958
|
`
|
|
1959
1959
|
];
|
|
1960
|
-
|
|
1960
|
+
Nt([
|
|
1961
1961
|
n()
|
|
1962
|
-
],
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
],
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
],
|
|
1969
|
-
var
|
|
1970
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
1962
|
+
], ge.prototype, "value", 2);
|
|
1963
|
+
Nt([
|
|
1964
|
+
Ht("select")
|
|
1965
|
+
], ge.prototype, "selectEl", 2);
|
|
1966
|
+
ge = Nt([
|
|
1967
|
+
p("vox-select")
|
|
1968
|
+
], ge);
|
|
1969
|
+
var Lr = Object.defineProperty, Er = Object.getOwnPropertyDescriptor, Rt = (r, e, o, s) => {
|
|
1970
|
+
for (var t = s > 1 ? void 0 : s ? Er(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
1971
1971
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
1972
|
-
return s && t &&
|
|
1972
|
+
return s && t && Lr(e, o, t), t;
|
|
1973
1973
|
};
|
|
1974
|
-
let
|
|
1974
|
+
let be = class extends y {
|
|
1975
1975
|
constructor() {
|
|
1976
1976
|
super(...arguments), this.checked = !1, this.value = "on";
|
|
1977
1977
|
}
|
|
@@ -1985,7 +1985,7 @@ let pe = class extends y {
|
|
|
1985
1985
|
this.checked = r.target.checked, this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
1986
1986
|
}
|
|
1987
1987
|
render() {
|
|
1988
|
-
return
|
|
1988
|
+
return l`
|
|
1989
1989
|
<label class="check">
|
|
1990
1990
|
<input
|
|
1991
1991
|
type="checkbox"
|
|
@@ -2000,8 +2000,8 @@ let pe = class extends y {
|
|
|
2000
2000
|
`;
|
|
2001
2001
|
}
|
|
2002
2002
|
};
|
|
2003
|
-
|
|
2004
|
-
|
|
2003
|
+
be.styles = [
|
|
2004
|
+
Mo,
|
|
2005
2005
|
d`
|
|
2006
2006
|
.track {
|
|
2007
2007
|
flex: none;
|
|
@@ -2040,21 +2040,21 @@ pe.styles = [
|
|
|
2040
2040
|
}
|
|
2041
2041
|
`
|
|
2042
2042
|
];
|
|
2043
|
-
|
|
2043
|
+
Rt([
|
|
2044
2044
|
n({ type: Boolean, reflect: !0 })
|
|
2045
|
-
],
|
|
2046
|
-
|
|
2045
|
+
], be.prototype, "checked", 2);
|
|
2046
|
+
Rt([
|
|
2047
2047
|
n()
|
|
2048
|
-
],
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
],
|
|
2052
|
-
var
|
|
2053
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
2048
|
+
], be.prototype, "value", 2);
|
|
2049
|
+
be = Rt([
|
|
2050
|
+
p("vox-switch")
|
|
2051
|
+
], be);
|
|
2052
|
+
var Sr = Object.defineProperty, jr = Object.getOwnPropertyDescriptor, Be = (r, e, o, s) => {
|
|
2053
|
+
for (var t = s > 1 ? void 0 : s ? jr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
2054
2054
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
2055
|
-
return s && t &&
|
|
2055
|
+
return s && t && Sr(e, o, t), t;
|
|
2056
2056
|
};
|
|
2057
|
-
let
|
|
2057
|
+
let T = class extends y {
|
|
2058
2058
|
constructor() {
|
|
2059
2059
|
super(...arguments), this.value = "", this.rows = 4, this.readonly = !1;
|
|
2060
2060
|
}
|
|
@@ -2077,15 +2077,15 @@ let D = class extends y {
|
|
|
2077
2077
|
this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
2078
2078
|
}
|
|
2079
2079
|
render() {
|
|
2080
|
-
return
|
|
2080
|
+
return l`
|
|
2081
2081
|
<div class="field">
|
|
2082
2082
|
${this.renderLabel("textarea")}
|
|
2083
2083
|
<textarea
|
|
2084
2084
|
id="textarea"
|
|
2085
2085
|
class="control"
|
|
2086
2086
|
rows=${this.rows}
|
|
2087
|
-
.value=${
|
|
2088
|
-
placeholder=${
|
|
2087
|
+
.value=${Ao(this.value)}
|
|
2088
|
+
placeholder=${X(this.placeholder)}
|
|
2089
2089
|
?required=${this.required}
|
|
2090
2090
|
?readonly=${this.readonly}
|
|
2091
2091
|
?disabled=${this.disabled}
|
|
@@ -2097,8 +2097,8 @@ let D = class extends y {
|
|
|
2097
2097
|
`;
|
|
2098
2098
|
}
|
|
2099
2099
|
};
|
|
2100
|
-
|
|
2101
|
-
|
|
2100
|
+
T.styles = [
|
|
2101
|
+
Te,
|
|
2102
2102
|
d`
|
|
2103
2103
|
textarea.control {
|
|
2104
2104
|
resize: vertical;
|
|
@@ -2106,39 +2106,39 @@ D.styles = [
|
|
|
2106
2106
|
}
|
|
2107
2107
|
`
|
|
2108
2108
|
];
|
|
2109
|
-
|
|
2109
|
+
Be([
|
|
2110
2110
|
n()
|
|
2111
|
-
],
|
|
2112
|
-
|
|
2111
|
+
], T.prototype, "value", 2);
|
|
2112
|
+
Be([
|
|
2113
2113
|
n()
|
|
2114
|
-
],
|
|
2115
|
-
|
|
2114
|
+
], T.prototype, "placeholder", 2);
|
|
2115
|
+
Be([
|
|
2116
2116
|
n({ type: Number })
|
|
2117
|
-
],
|
|
2118
|
-
|
|
2117
|
+
], T.prototype, "rows", 2);
|
|
2118
|
+
Be([
|
|
2119
2119
|
n({ type: Boolean, reflect: !0 })
|
|
2120
|
-
],
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
],
|
|
2124
|
-
var
|
|
2125
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
2120
|
+
], T.prototype, "readonly", 2);
|
|
2121
|
+
T = Be([
|
|
2122
|
+
p("vox-textarea")
|
|
2123
|
+
], T);
|
|
2124
|
+
var zr = Object.defineProperty, Vr = Object.getOwnPropertyDescriptor, Ne = (r, e, o, s) => {
|
|
2125
|
+
for (var t = s > 1 ? void 0 : s ? Vr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
2126
2126
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
2127
|
-
return s && t &&
|
|
2127
|
+
return s && t && zr(e, o, t), t;
|
|
2128
2128
|
};
|
|
2129
|
-
let
|
|
2129
|
+
let B = class extends h {
|
|
2130
2130
|
constructor() {
|
|
2131
2131
|
super(...arguments), this.alt = "", this.initials = "", this.size = "md";
|
|
2132
2132
|
}
|
|
2133
2133
|
render() {
|
|
2134
|
-
return
|
|
2134
|
+
return l`
|
|
2135
2135
|
<span class="avatar" role=${this.src ? "presentation" : "img"} aria-label=${this.alt}>
|
|
2136
|
-
${this.src ?
|
|
2136
|
+
${this.src ? l`<img src=${this.src} alt=${this.alt} />` : this.initials}
|
|
2137
2137
|
</span>
|
|
2138
2138
|
`;
|
|
2139
2139
|
}
|
|
2140
2140
|
};
|
|
2141
|
-
|
|
2141
|
+
B.styles = d`
|
|
2142
2142
|
:host {
|
|
2143
2143
|
display: inline-block;
|
|
2144
2144
|
}
|
|
@@ -2186,27 +2186,27 @@ H.styles = d`
|
|
|
2186
2186
|
font-size: 28px;
|
|
2187
2187
|
}
|
|
2188
2188
|
`;
|
|
2189
|
-
|
|
2189
|
+
Ne([
|
|
2190
2190
|
n()
|
|
2191
|
-
],
|
|
2192
|
-
|
|
2191
|
+
], B.prototype, "src", 2);
|
|
2192
|
+
Ne([
|
|
2193
2193
|
n()
|
|
2194
|
-
],
|
|
2195
|
-
|
|
2194
|
+
], B.prototype, "alt", 2);
|
|
2195
|
+
Ne([
|
|
2196
2196
|
n()
|
|
2197
|
-
],
|
|
2198
|
-
|
|
2197
|
+
], B.prototype, "initials", 2);
|
|
2198
|
+
Ne([
|
|
2199
2199
|
n({ reflect: !0 })
|
|
2200
|
-
],
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
],
|
|
2204
|
-
var
|
|
2205
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
2200
|
+
], B.prototype, "size", 2);
|
|
2201
|
+
B = Ne([
|
|
2202
|
+
p("vox-avatar")
|
|
2203
|
+
], B);
|
|
2204
|
+
var Dr = Object.defineProperty, Hr = Object.getOwnPropertyDescriptor, Ut = (r, e, o, s) => {
|
|
2205
|
+
for (var t = s > 1 ? void 0 : s ? Hr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
2206
2206
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
2207
|
-
return s && t &&
|
|
2207
|
+
return s && t && Dr(e, o, t), t;
|
|
2208
2208
|
};
|
|
2209
|
-
let
|
|
2209
|
+
let ye = class extends h {
|
|
2210
2210
|
constructor() {
|
|
2211
2211
|
super(...arguments), this.heading = "", this.reverse = !1, this.hasActions = !1;
|
|
2212
2212
|
}
|
|
@@ -2215,7 +2215,7 @@ let ve = class extends p {
|
|
|
2215
2215
|
this.hasActions = e.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
2216
2216
|
}
|
|
2217
2217
|
render() {
|
|
2218
|
-
return
|
|
2218
|
+
return l`
|
|
2219
2219
|
<div class="billboard">
|
|
2220
2220
|
<div class="media"><slot name="media"></slot></div>
|
|
2221
2221
|
<div class="content">
|
|
@@ -2229,7 +2229,7 @@ let ve = class extends p {
|
|
|
2229
2229
|
`;
|
|
2230
2230
|
}
|
|
2231
2231
|
};
|
|
2232
|
-
|
|
2232
|
+
ye.styles = d`
|
|
2233
2233
|
:host {
|
|
2234
2234
|
display: block;
|
|
2235
2235
|
font-family: var(--vox-font-family-base);
|
|
@@ -2291,30 +2291,30 @@ ve.styles = d`
|
|
|
2291
2291
|
display: none;
|
|
2292
2292
|
}
|
|
2293
2293
|
`;
|
|
2294
|
-
|
|
2294
|
+
Ut([
|
|
2295
2295
|
n()
|
|
2296
|
-
],
|
|
2297
|
-
|
|
2296
|
+
], ye.prototype, "heading", 2);
|
|
2297
|
+
Ut([
|
|
2298
2298
|
n({ type: Boolean, reflect: !0 })
|
|
2299
|
-
],
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
],
|
|
2303
|
-
var
|
|
2304
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
2299
|
+
], ye.prototype, "reverse", 2);
|
|
2300
|
+
ye = Ut([
|
|
2301
|
+
p("vox-billboard")
|
|
2302
|
+
], ye);
|
|
2303
|
+
var Tr = Object.getOwnPropertyDescriptor, Br = (r, e, o, s) => {
|
|
2304
|
+
for (var t = s > 1 ? void 0 : s ? Tr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
2305
2305
|
(i = r[a]) && (t = i(t) || t);
|
|
2306
2306
|
return t;
|
|
2307
2307
|
};
|
|
2308
|
-
let
|
|
2308
|
+
let Mt = class extends h {
|
|
2309
2309
|
render() {
|
|
2310
|
-
return
|
|
2310
|
+
return l`
|
|
2311
2311
|
<nav aria-label="Breadcrumbs">
|
|
2312
2312
|
<slot></slot>
|
|
2313
2313
|
</nav>
|
|
2314
2314
|
`;
|
|
2315
2315
|
}
|
|
2316
2316
|
};
|
|
2317
|
-
|
|
2317
|
+
Mt.styles = d`
|
|
2318
2318
|
:host {
|
|
2319
2319
|
display: block;
|
|
2320
2320
|
font-family: var(--vox-font-family-base);
|
|
@@ -2348,15 +2348,15 @@ gt.styles = d`
|
|
|
2348
2348
|
color: var(--vox-color-text-3);
|
|
2349
2349
|
}
|
|
2350
2350
|
`;
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
],
|
|
2354
|
-
var
|
|
2355
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
2351
|
+
Mt = Br([
|
|
2352
|
+
p("vox-breadcrumbs")
|
|
2353
|
+
], Mt);
|
|
2354
|
+
var Nr = Object.defineProperty, Rr = Object.getOwnPropertyDescriptor, xt = (r, e, o, s) => {
|
|
2355
|
+
for (var t = s > 1 ? void 0 : s ? Rr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
2356
2356
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
2357
|
-
return s && t &&
|
|
2357
|
+
return s && t && Nr(e, o, t), t;
|
|
2358
2358
|
};
|
|
2359
|
-
let
|
|
2359
|
+
let te = class extends h {
|
|
2360
2360
|
constructor() {
|
|
2361
2361
|
super(...arguments), this.siteTitle = "", this.href = "/", this.mobileOpen = !1, this.handleOutsideClick = (r) => {
|
|
2362
2362
|
this.mobileOpen && !r.composedPath().includes(this) && (this.mobileOpen = !1);
|
|
@@ -2376,11 +2376,11 @@ let X = class extends p {
|
|
|
2376
2376
|
super.disconnectedCallback(), document.removeEventListener("click", this.handleOutsideClick), this.removeEventListener("keydown", this.handleKeydown);
|
|
2377
2377
|
}
|
|
2378
2378
|
render() {
|
|
2379
|
-
return
|
|
2379
|
+
return l`
|
|
2380
2380
|
<header class="header">
|
|
2381
2381
|
<a class="brand" href=${this.href}>
|
|
2382
2382
|
<slot name="logo"></slot>
|
|
2383
|
-
${this.siteTitle ?
|
|
2383
|
+
${this.siteTitle ? l`<span>${this.siteTitle}</span>` : x}
|
|
2384
2384
|
</a>
|
|
2385
2385
|
<button
|
|
2386
2386
|
type="button"
|
|
@@ -2400,7 +2400,7 @@ let X = class extends p {
|
|
|
2400
2400
|
stroke-linejoin="round"
|
|
2401
2401
|
aria-hidden="true"
|
|
2402
2402
|
>
|
|
2403
|
-
${this.mobileOpen ?
|
|
2403
|
+
${this.mobileOpen ? k.close : k.menu}
|
|
2404
2404
|
</svg>
|
|
2405
2405
|
</button>
|
|
2406
2406
|
<div id="nav-wrap" class="nav-wrap${this.mobileOpen ? " open" : ""}">
|
|
@@ -2415,7 +2415,7 @@ let X = class extends p {
|
|
|
2415
2415
|
`;
|
|
2416
2416
|
}
|
|
2417
2417
|
};
|
|
2418
|
-
|
|
2418
|
+
te.styles = d`
|
|
2419
2419
|
:host {
|
|
2420
2420
|
display: block;
|
|
2421
2421
|
font-family: var(--vox-font-family-base);
|
|
@@ -2545,37 +2545,37 @@ X.styles = d`
|
|
|
2545
2545
|
}
|
|
2546
2546
|
}
|
|
2547
2547
|
`;
|
|
2548
|
-
|
|
2548
|
+
xt([
|
|
2549
2549
|
n({ attribute: "site-title" })
|
|
2550
|
-
],
|
|
2551
|
-
|
|
2550
|
+
], te.prototype, "siteTitle", 2);
|
|
2551
|
+
xt([
|
|
2552
2552
|
n()
|
|
2553
|
-
],
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
],
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
],
|
|
2560
|
-
var
|
|
2561
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
2553
|
+
], te.prototype, "href", 2);
|
|
2554
|
+
xt([
|
|
2555
|
+
ie()
|
|
2556
|
+
], te.prototype, "mobileOpen", 2);
|
|
2557
|
+
te = xt([
|
|
2558
|
+
p("vox-header")
|
|
2559
|
+
], te);
|
|
2560
|
+
var Ur = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor, Re = (r, e, o, s) => {
|
|
2561
|
+
for (var t = s > 1 ? void 0 : s ? Ir(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
2562
2562
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
2563
|
-
return s && t &&
|
|
2563
|
+
return s && t && Ur(e, o, t), t;
|
|
2564
2564
|
};
|
|
2565
|
-
let
|
|
2565
|
+
let N = class extends h {
|
|
2566
2566
|
constructor() {
|
|
2567
2567
|
super(...arguments), this.previousLabel = "", this.nextLabel = "";
|
|
2568
2568
|
}
|
|
2569
2569
|
render() {
|
|
2570
|
-
return
|
|
2570
|
+
return l`
|
|
2571
2571
|
<nav aria-label="Series">
|
|
2572
|
-
${this.previousHref ?
|
|
2572
|
+
${this.previousHref ? l`
|
|
2573
2573
|
<a href=${this.previousHref} rel="prev">
|
|
2574
2574
|
<span class="direction">← Previous</span>
|
|
2575
2575
|
<span class="title">${this.previousLabel}</span>
|
|
2576
2576
|
</a>
|
|
2577
2577
|
` : x}
|
|
2578
|
-
${this.nextHref ?
|
|
2578
|
+
${this.nextHref ? l`
|
|
2579
2579
|
<a class="next" href=${this.nextHref} rel="next">
|
|
2580
2580
|
<span class="direction">Next →</span>
|
|
2581
2581
|
<span class="title">${this.nextLabel}</span>
|
|
@@ -2585,7 +2585,7 @@ let z = class extends p {
|
|
|
2585
2585
|
`;
|
|
2586
2586
|
}
|
|
2587
2587
|
};
|
|
2588
|
-
|
|
2588
|
+
N.styles = d`
|
|
2589
2589
|
:host {
|
|
2590
2590
|
display: block;
|
|
2591
2591
|
font-family: var(--vox-font-family-base);
|
|
@@ -2635,27 +2635,27 @@ z.styles = d`
|
|
|
2635
2635
|
color: var(--vox-color-brand-1);
|
|
2636
2636
|
}
|
|
2637
2637
|
`;
|
|
2638
|
-
|
|
2638
|
+
Re([
|
|
2639
2639
|
n({ attribute: "previous-href" })
|
|
2640
|
-
],
|
|
2641
|
-
|
|
2640
|
+
], N.prototype, "previousHref", 2);
|
|
2641
|
+
Re([
|
|
2642
2642
|
n({ attribute: "previous-label" })
|
|
2643
|
-
],
|
|
2644
|
-
|
|
2643
|
+
], N.prototype, "previousLabel", 2);
|
|
2644
|
+
Re([
|
|
2645
2645
|
n({ attribute: "next-href" })
|
|
2646
|
-
],
|
|
2647
|
-
|
|
2646
|
+
], N.prototype, "nextHref", 2);
|
|
2647
|
+
Re([
|
|
2648
2648
|
n({ attribute: "next-label" })
|
|
2649
|
-
],
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
],
|
|
2653
|
-
var
|
|
2654
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
2649
|
+
], N.prototype, "nextLabel", 2);
|
|
2650
|
+
N = Re([
|
|
2651
|
+
p("vox-series-nav")
|
|
2652
|
+
], N);
|
|
2653
|
+
var qr = Object.defineProperty, Zr = Object.getOwnPropertyDescriptor, w = (r, e, o, s) => {
|
|
2654
|
+
for (var t = s > 1 ? void 0 : s ? Zr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
2655
2655
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
2656
|
-
return s && t &&
|
|
2656
|
+
return s && t && qr(e, o, t), t;
|
|
2657
2657
|
};
|
|
2658
|
-
let
|
|
2658
|
+
let oe = class extends h {
|
|
2659
2659
|
constructor() {
|
|
2660
2660
|
super(...arguments), this.label = "Section", this.toggleLabel = "Menu", this.mobileOpen = !1, this.handleOutsideClick = (r) => {
|
|
2661
2661
|
this.mobileOpen && !r.composedPath().includes(this) && (this.mobileOpen = !1);
|
|
@@ -2675,7 +2675,7 @@ let Y = class extends p {
|
|
|
2675
2675
|
super.disconnectedCallback(), document.removeEventListener("click", this.handleOutsideClick), this.removeEventListener("keydown", this.handleKeydown);
|
|
2676
2676
|
}
|
|
2677
2677
|
render() {
|
|
2678
|
-
return
|
|
2678
|
+
return l`
|
|
2679
2679
|
<button
|
|
2680
2680
|
type="button"
|
|
2681
2681
|
class="toggle"
|
|
@@ -2694,7 +2694,7 @@ let Y = class extends p {
|
|
|
2694
2694
|
stroke-linejoin="round"
|
|
2695
2695
|
aria-hidden="true"
|
|
2696
2696
|
>
|
|
2697
|
-
${this.mobileOpen ?
|
|
2697
|
+
${this.mobileOpen ? k.close : k.menu}
|
|
2698
2698
|
</svg>
|
|
2699
2699
|
</button>
|
|
2700
2700
|
<nav
|
|
@@ -2708,7 +2708,7 @@ let Y = class extends p {
|
|
|
2708
2708
|
`;
|
|
2709
2709
|
}
|
|
2710
2710
|
};
|
|
2711
|
-
|
|
2711
|
+
oe.styles = d`
|
|
2712
2712
|
:host {
|
|
2713
2713
|
display: block;
|
|
2714
2714
|
font-family: var(--vox-font-family-base);
|
|
@@ -2768,19 +2768,19 @@ Y.styles = d`
|
|
|
2768
2768
|
}
|
|
2769
2769
|
}
|
|
2770
2770
|
`;
|
|
2771
|
-
|
|
2771
|
+
w([
|
|
2772
2772
|
n()
|
|
2773
|
-
],
|
|
2774
|
-
|
|
2773
|
+
], oe.prototype, "label", 2);
|
|
2774
|
+
w([
|
|
2775
2775
|
n({ attribute: "toggle-label" })
|
|
2776
|
-
],
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
],
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
],
|
|
2783
|
-
let
|
|
2776
|
+
], oe.prototype, "toggleLabel", 2);
|
|
2777
|
+
w([
|
|
2778
|
+
ie()
|
|
2779
|
+
], oe.prototype, "mobileOpen", 2);
|
|
2780
|
+
oe = w([
|
|
2781
|
+
p("vox-sidenav")
|
|
2782
|
+
], oe);
|
|
2783
|
+
let me = class extends h {
|
|
2784
2784
|
constructor() {
|
|
2785
2785
|
super(...arguments), this.heading = "", this.open = !1;
|
|
2786
2786
|
}
|
|
@@ -2788,7 +2788,7 @@ let ue = class extends p {
|
|
|
2788
2788
|
this.open = !this.open;
|
|
2789
2789
|
}
|
|
2790
2790
|
render() {
|
|
2791
|
-
return
|
|
2791
|
+
return l`
|
|
2792
2792
|
<button
|
|
2793
2793
|
class="trigger"
|
|
2794
2794
|
aria-expanded=${this.open ? "true" : "false"}
|
|
@@ -2803,7 +2803,7 @@ let ue = class extends p {
|
|
|
2803
2803
|
`;
|
|
2804
2804
|
}
|
|
2805
2805
|
};
|
|
2806
|
-
|
|
2806
|
+
me.styles = d`
|
|
2807
2807
|
:host {
|
|
2808
2808
|
display: block;
|
|
2809
2809
|
font-family: var(--vox-font-family-base);
|
|
@@ -2860,16 +2860,16 @@ ue.styles = d`
|
|
|
2860
2860
|
display: flex;
|
|
2861
2861
|
}
|
|
2862
2862
|
`;
|
|
2863
|
-
|
|
2863
|
+
w([
|
|
2864
2864
|
n()
|
|
2865
|
-
],
|
|
2866
|
-
|
|
2865
|
+
], me.prototype, "heading", 2);
|
|
2866
|
+
w([
|
|
2867
2867
|
n({ type: Boolean, reflect: !0 })
|
|
2868
|
-
],
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
],
|
|
2872
|
-
let
|
|
2868
|
+
], me.prototype, "open", 2);
|
|
2869
|
+
me = w([
|
|
2870
|
+
p("vox-sidenav-group")
|
|
2871
|
+
], me);
|
|
2872
|
+
let $e = class extends h {
|
|
2873
2873
|
constructor() {
|
|
2874
2874
|
super(...arguments), this.href = "#", this.current = !1, this.hasIcon = !1;
|
|
2875
2875
|
}
|
|
@@ -2878,7 +2878,7 @@ let xe = class extends p {
|
|
|
2878
2878
|
this.hasIcon = e.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
2879
2879
|
}
|
|
2880
2880
|
render() {
|
|
2881
|
-
return
|
|
2881
|
+
return l`
|
|
2882
2882
|
<a href=${this.href} aria-current=${this.current ? "page" : "false"}>
|
|
2883
2883
|
<span class="icon ${this.hasIcon ? "has-icon" : ""}">
|
|
2884
2884
|
<slot name="icon" @slotchange=${this.handleIconSlotChange}></slot>
|
|
@@ -2888,7 +2888,7 @@ let xe = class extends p {
|
|
|
2888
2888
|
`;
|
|
2889
2889
|
}
|
|
2890
2890
|
};
|
|
2891
|
-
|
|
2891
|
+
$e.styles = d`
|
|
2892
2892
|
:host {
|
|
2893
2893
|
display: block;
|
|
2894
2894
|
font-family: var(--vox-font-family-base);
|
|
@@ -2932,33 +2932,33 @@ xe.styles = d`
|
|
|
2932
2932
|
display: none;
|
|
2933
2933
|
}
|
|
2934
2934
|
`;
|
|
2935
|
-
|
|
2935
|
+
w([
|
|
2936
2936
|
n()
|
|
2937
|
-
],
|
|
2938
|
-
|
|
2937
|
+
], $e.prototype, "href", 2);
|
|
2938
|
+
w([
|
|
2939
2939
|
n({ type: Boolean, reflect: !0 })
|
|
2940
|
-
],
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
],
|
|
2944
|
-
var
|
|
2945
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
2940
|
+
], $e.prototype, "current", 2);
|
|
2941
|
+
$e = w([
|
|
2942
|
+
p("vox-sidenav-item")
|
|
2943
|
+
], $e);
|
|
2944
|
+
var Fr = Object.defineProperty, Kr = Object.getOwnPropertyDescriptor, ko = (r, e, o, s) => {
|
|
2945
|
+
for (var t = s > 1 ? void 0 : s ? Kr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
2946
2946
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
2947
|
-
return s && t &&
|
|
2947
|
+
return s && t && Fr(e, o, t), t;
|
|
2948
2948
|
};
|
|
2949
|
-
let
|
|
2949
|
+
let ot = class extends h {
|
|
2950
2950
|
constructor() {
|
|
2951
2951
|
super(...arguments), this.label = "Secondary";
|
|
2952
2952
|
}
|
|
2953
2953
|
render() {
|
|
2954
|
-
return
|
|
2954
|
+
return l`
|
|
2955
2955
|
<nav aria-label=${this.label}>
|
|
2956
2956
|
<slot></slot>
|
|
2957
2957
|
</nav>
|
|
2958
2958
|
`;
|
|
2959
2959
|
}
|
|
2960
2960
|
};
|
|
2961
|
-
|
|
2961
|
+
ot.styles = d`
|
|
2962
2962
|
:host {
|
|
2963
2963
|
display: block;
|
|
2964
2964
|
font-family: var(--vox-font-family-base);
|
|
@@ -2993,18 +2993,18 @@ Ke.styles = d`
|
|
|
2993
2993
|
border-bottom-color: var(--vox-color-brand-1);
|
|
2994
2994
|
}
|
|
2995
2995
|
`;
|
|
2996
|
-
|
|
2996
|
+
ko([
|
|
2997
2997
|
n()
|
|
2998
|
-
],
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
],
|
|
3002
|
-
var
|
|
3003
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
2998
|
+
], ot.prototype, "label", 2);
|
|
2999
|
+
ot = ko([
|
|
3000
|
+
p("vox-subnav")
|
|
3001
|
+
], ot);
|
|
3002
|
+
var Gr = Object.defineProperty, Yr = Object.getOwnPropertyDescriptor, Z = (r, e, o, s) => {
|
|
3003
|
+
for (var t = s > 1 ? void 0 : s ? Yr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
3004
3004
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
3005
|
-
return s && t &&
|
|
3005
|
+
return s && t && Gr(e, o, t), t;
|
|
3006
3006
|
};
|
|
3007
|
-
let
|
|
3007
|
+
let At = class extends h {
|
|
3008
3008
|
get tabs() {
|
|
3009
3009
|
return [...this.querySelectorAll("vox-tab")];
|
|
3010
3010
|
}
|
|
@@ -3037,7 +3037,7 @@ let bt = class extends p {
|
|
|
3037
3037
|
a.select(), a.focusTab();
|
|
3038
3038
|
}
|
|
3039
3039
|
render() {
|
|
3040
|
-
return
|
|
3040
|
+
return l`
|
|
3041
3041
|
<div
|
|
3042
3042
|
class="tablist"
|
|
3043
3043
|
role="tablist"
|
|
@@ -3050,7 +3050,7 @@ let bt = class extends p {
|
|
|
3050
3050
|
`;
|
|
3051
3051
|
}
|
|
3052
3052
|
};
|
|
3053
|
-
|
|
3053
|
+
At.styles = d`
|
|
3054
3054
|
:host {
|
|
3055
3055
|
display: block;
|
|
3056
3056
|
}
|
|
@@ -3061,10 +3061,10 @@ bt.styles = d`
|
|
|
3061
3061
|
border-bottom: 1px solid var(--vox-color-divider);
|
|
3062
3062
|
}
|
|
3063
3063
|
`;
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
],
|
|
3067
|
-
let
|
|
3064
|
+
At = Z([
|
|
3065
|
+
p("vox-tabs")
|
|
3066
|
+
], At);
|
|
3067
|
+
let we = class extends h {
|
|
3068
3068
|
constructor() {
|
|
3069
3069
|
super(...arguments), this.panel = "", this.selected = !1;
|
|
3070
3070
|
}
|
|
@@ -3078,7 +3078,7 @@ let fe = class extends p {
|
|
|
3078
3078
|
(r = this.renderRoot.querySelector(".tab")) == null || r.focus();
|
|
3079
3079
|
}
|
|
3080
3080
|
render() {
|
|
3081
|
-
return
|
|
3081
|
+
return l`
|
|
3082
3082
|
<button
|
|
3083
3083
|
class="tab"
|
|
3084
3084
|
role="tab"
|
|
@@ -3091,7 +3091,7 @@ let fe = class extends p {
|
|
|
3091
3091
|
`;
|
|
3092
3092
|
}
|
|
3093
3093
|
};
|
|
3094
|
-
|
|
3094
|
+
we.styles = d`
|
|
3095
3095
|
:host {
|
|
3096
3096
|
display: block;
|
|
3097
3097
|
font-family: var(--vox-font-family-base);
|
|
@@ -3126,24 +3126,24 @@ fe.styles = d`
|
|
|
3126
3126
|
border-bottom-color: var(--vox-color-brand-1);
|
|
3127
3127
|
}
|
|
3128
3128
|
`;
|
|
3129
|
-
|
|
3129
|
+
Z([
|
|
3130
3130
|
n()
|
|
3131
|
-
],
|
|
3132
|
-
|
|
3131
|
+
], we.prototype, "panel", 2);
|
|
3132
|
+
Z([
|
|
3133
3133
|
n({ type: Boolean, reflect: !0 })
|
|
3134
|
-
],
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
],
|
|
3138
|
-
let
|
|
3134
|
+
], we.prototype, "selected", 2);
|
|
3135
|
+
we = Z([
|
|
3136
|
+
p("vox-tab")
|
|
3137
|
+
], we);
|
|
3138
|
+
let _e = class extends h {
|
|
3139
3139
|
constructor() {
|
|
3140
3140
|
super(...arguments), this.name = "", this.active = !1;
|
|
3141
3141
|
}
|
|
3142
3142
|
render() {
|
|
3143
|
-
return
|
|
3143
|
+
return l`<div role="tabpanel"><slot></slot></div>`;
|
|
3144
3144
|
}
|
|
3145
3145
|
};
|
|
3146
|
-
|
|
3146
|
+
_e.styles = d`
|
|
3147
3147
|
:host {
|
|
3148
3148
|
display: none;
|
|
3149
3149
|
font-family: var(--vox-font-family-base);
|
|
@@ -3157,26 +3157,26 @@ ge.styles = d`
|
|
|
3157
3157
|
display: block;
|
|
3158
3158
|
}
|
|
3159
3159
|
`;
|
|
3160
|
-
|
|
3160
|
+
Z([
|
|
3161
3161
|
n()
|
|
3162
|
-
],
|
|
3163
|
-
|
|
3162
|
+
], _e.prototype, "name", 2);
|
|
3163
|
+
Z([
|
|
3164
3164
|
n({ type: Boolean, reflect: !0 })
|
|
3165
|
-
],
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
],
|
|
3169
|
-
var
|
|
3170
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
3165
|
+
], _e.prototype, "active", 2);
|
|
3166
|
+
_e = Z([
|
|
3167
|
+
p("vox-tab-panel")
|
|
3168
|
+
], _e);
|
|
3169
|
+
var Wr = Object.defineProperty, Xr = Object.getOwnPropertyDescriptor, Ue = (r, e, o, s) => {
|
|
3170
|
+
for (var t = s > 1 ? void 0 : s ? Xr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
3171
3171
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
3172
|
-
return s && t &&
|
|
3172
|
+
return s && t && Wr(e, o, t), t;
|
|
3173
3173
|
};
|
|
3174
|
-
let
|
|
3174
|
+
let rt = class extends h {
|
|
3175
3175
|
constructor() {
|
|
3176
3176
|
super(...arguments), this.heading = "On this page";
|
|
3177
3177
|
}
|
|
3178
3178
|
render() {
|
|
3179
|
-
return
|
|
3179
|
+
return l`
|
|
3180
3180
|
<div class="heading" id="vox-toc-heading">${this.heading}</div>
|
|
3181
3181
|
<nav aria-labelledby="vox-toc-heading">
|
|
3182
3182
|
<slot></slot>
|
|
@@ -3184,7 +3184,7 @@ let Ge = class extends p {
|
|
|
3184
3184
|
`;
|
|
3185
3185
|
}
|
|
3186
3186
|
};
|
|
3187
|
-
|
|
3187
|
+
rt.styles = d`
|
|
3188
3188
|
:host {
|
|
3189
3189
|
display: block;
|
|
3190
3190
|
font-family: var(--vox-font-family-base);
|
|
@@ -3205,13 +3205,13 @@ Ge.styles = d`
|
|
|
3205
3205
|
border-left: 1px solid var(--vox-color-divider);
|
|
3206
3206
|
}
|
|
3207
3207
|
`;
|
|
3208
|
-
|
|
3208
|
+
Ue([
|
|
3209
3209
|
n()
|
|
3210
|
-
],
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
],
|
|
3214
|
-
let
|
|
3210
|
+
], rt.prototype, "heading", 2);
|
|
3211
|
+
rt = Ue([
|
|
3212
|
+
p("vox-toc")
|
|
3213
|
+
], rt);
|
|
3214
|
+
let Ce = class extends h {
|
|
3215
3215
|
constructor() {
|
|
3216
3216
|
super(...arguments), this.href = "#", this.current = !1, this.hasChildren = !1;
|
|
3217
3217
|
}
|
|
@@ -3220,7 +3220,7 @@ let be = class extends p {
|
|
|
3220
3220
|
this.hasChildren = e.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
3221
3221
|
}
|
|
3222
3222
|
render() {
|
|
3223
|
-
return
|
|
3223
|
+
return l`
|
|
3224
3224
|
<a href=${this.href} aria-current=${this.current ? "true" : "false"}>
|
|
3225
3225
|
<slot></slot>
|
|
3226
3226
|
</a>
|
|
@@ -3230,7 +3230,7 @@ let be = class extends p {
|
|
|
3230
3230
|
`;
|
|
3231
3231
|
}
|
|
3232
3232
|
};
|
|
3233
|
-
|
|
3233
|
+
Ce.styles = d`
|
|
3234
3234
|
:host {
|
|
3235
3235
|
display: block;
|
|
3236
3236
|
font-family: var(--vox-font-family-base);
|
|
@@ -3276,21 +3276,21 @@ be.styles = d`
|
|
|
3276
3276
|
display: none;
|
|
3277
3277
|
}
|
|
3278
3278
|
`;
|
|
3279
|
-
|
|
3279
|
+
Ue([
|
|
3280
3280
|
n()
|
|
3281
|
-
],
|
|
3282
|
-
|
|
3281
|
+
], Ce.prototype, "href", 2);
|
|
3282
|
+
Ue([
|
|
3283
3283
|
n({ type: Boolean, reflect: !0 })
|
|
3284
|
-
],
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
],
|
|
3288
|
-
var
|
|
3289
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
3284
|
+
], Ce.prototype, "current", 2);
|
|
3285
|
+
Ce = Ue([
|
|
3286
|
+
p("vox-toc-item")
|
|
3287
|
+
], Ce);
|
|
3288
|
+
var Jr = Object.defineProperty, Qr = Object.getOwnPropertyDescriptor, Ie = (r, e, o, s) => {
|
|
3289
|
+
for (var t = s > 1 ? void 0 : s ? Qr(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
3290
3290
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
3291
|
-
return s && t &&
|
|
3291
|
+
return s && t && Jr(e, o, t), t;
|
|
3292
3292
|
};
|
|
3293
|
-
let
|
|
3293
|
+
let R = class extends h {
|
|
3294
3294
|
constructor() {
|
|
3295
3295
|
super(...arguments), this.heading = "", this.open = !1, this.lightDismiss = !1, this.hasFooter = !1;
|
|
3296
3296
|
}
|
|
@@ -3316,7 +3316,7 @@ let T = class extends p {
|
|
|
3316
3316
|
this.hasFooter = e.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
3317
3317
|
}
|
|
3318
3318
|
render() {
|
|
3319
|
-
return
|
|
3319
|
+
return l`
|
|
3320
3320
|
<dialog
|
|
3321
3321
|
aria-label=${this.heading || x}
|
|
3322
3322
|
@close=${this.handleNativeClose}
|
|
@@ -3338,7 +3338,7 @@ let T = class extends p {
|
|
|
3338
3338
|
`;
|
|
3339
3339
|
}
|
|
3340
3340
|
};
|
|
3341
|
-
|
|
3341
|
+
R.styles = d`
|
|
3342
3342
|
dialog {
|
|
3343
3343
|
box-sizing: border-box;
|
|
3344
3344
|
width: min(90vw, 480px);
|
|
@@ -3425,27 +3425,27 @@ T.styles = d`
|
|
|
3425
3425
|
margin-bottom: 0;
|
|
3426
3426
|
}
|
|
3427
3427
|
`;
|
|
3428
|
-
|
|
3428
|
+
Ie([
|
|
3429
3429
|
n()
|
|
3430
|
-
],
|
|
3431
|
-
|
|
3430
|
+
], R.prototype, "heading", 2);
|
|
3431
|
+
Ie([
|
|
3432
3432
|
n({ type: Boolean })
|
|
3433
|
-
],
|
|
3434
|
-
|
|
3433
|
+
], R.prototype, "open", 2);
|
|
3434
|
+
Ie([
|
|
3435
3435
|
n({ type: Boolean, attribute: "light-dismiss" })
|
|
3436
|
-
],
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
],
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
],
|
|
3443
|
-
var
|
|
3444
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
3436
|
+
], R.prototype, "lightDismiss", 2);
|
|
3437
|
+
Ie([
|
|
3438
|
+
Ht("dialog")
|
|
3439
|
+
], R.prototype, "dialogEl", 2);
|
|
3440
|
+
R = Ie([
|
|
3441
|
+
p("vox-dialog")
|
|
3442
|
+
], R);
|
|
3443
|
+
var es = Object.defineProperty, ts = Object.getOwnPropertyDescriptor, It = (r, e, o, s) => {
|
|
3444
|
+
for (var t = s > 1 ? void 0 : s ? ts(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
3445
3445
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
3446
|
-
return s && t &&
|
|
3446
|
+
return s && t && es(e, o, t), t;
|
|
3447
3447
|
};
|
|
3448
|
-
let
|
|
3448
|
+
let Oe = class extends h {
|
|
3449
3449
|
constructor() {
|
|
3450
3450
|
super(...arguments), this.summary = "Show details", this.open = !1;
|
|
3451
3451
|
}
|
|
@@ -3455,7 +3455,7 @@ let ye = class extends p {
|
|
|
3455
3455
|
);
|
|
3456
3456
|
}
|
|
3457
3457
|
render() {
|
|
3458
|
-
return
|
|
3458
|
+
return l`
|
|
3459
3459
|
<button
|
|
3460
3460
|
class="trigger"
|
|
3461
3461
|
aria-expanded=${this.open ? "true" : "false"}
|
|
@@ -3472,7 +3472,7 @@ let ye = class extends p {
|
|
|
3472
3472
|
`;
|
|
3473
3473
|
}
|
|
3474
3474
|
};
|
|
3475
|
-
|
|
3475
|
+
Oe.styles = d`
|
|
3476
3476
|
:host {
|
|
3477
3477
|
display: block;
|
|
3478
3478
|
font-family: var(--vox-font-family-base);
|
|
@@ -3524,21 +3524,21 @@ ye.styles = d`
|
|
|
3524
3524
|
display: none;
|
|
3525
3525
|
}
|
|
3526
3526
|
`;
|
|
3527
|
-
|
|
3527
|
+
It([
|
|
3528
3528
|
n()
|
|
3529
|
-
],
|
|
3530
|
-
|
|
3529
|
+
], Oe.prototype, "summary", 2);
|
|
3530
|
+
It([
|
|
3531
3531
|
n({ type: Boolean, reflect: !0 })
|
|
3532
|
-
],
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
],
|
|
3536
|
-
var
|
|
3537
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
3532
|
+
], Oe.prototype, "open", 2);
|
|
3533
|
+
Oe = It([
|
|
3534
|
+
p("vox-disclosure")
|
|
3535
|
+
], Oe);
|
|
3536
|
+
var os = Object.defineProperty, rs = Object.getOwnPropertyDescriptor, qt = (r, e, o, s) => {
|
|
3537
|
+
for (var t = s > 1 ? void 0 : s ? rs(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
3538
3538
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
3539
|
-
return s && t &&
|
|
3539
|
+
return s && t && os(e, o, t), t;
|
|
3540
3540
|
};
|
|
3541
|
-
let
|
|
3541
|
+
let Me = class extends h {
|
|
3542
3542
|
constructor() {
|
|
3543
3543
|
super(...arguments), this.label = "Menu", this.open = !1, this.handleOutsideClick = (r) => {
|
|
3544
3544
|
this.open && !r.composedPath().includes(this) && (this.open = !1);
|
|
@@ -3567,7 +3567,7 @@ let me = class extends p {
|
|
|
3567
3567
|
this.open = !this.open;
|
|
3568
3568
|
}
|
|
3569
3569
|
render() {
|
|
3570
|
-
return
|
|
3570
|
+
return l`
|
|
3571
3571
|
<button
|
|
3572
3572
|
class="trigger"
|
|
3573
3573
|
aria-expanded=${this.open ? "true" : "false"}
|
|
@@ -3585,7 +3585,7 @@ let me = class extends p {
|
|
|
3585
3585
|
`;
|
|
3586
3586
|
}
|
|
3587
3587
|
};
|
|
3588
|
-
|
|
3588
|
+
Me.styles = d`
|
|
3589
3589
|
:host {
|
|
3590
3590
|
position: relative;
|
|
3591
3591
|
display: inline-block;
|
|
@@ -3684,21 +3684,21 @@ me.styles = d`
|
|
|
3684
3684
|
border-top: 1px solid var(--vox-color-divider);
|
|
3685
3685
|
}
|
|
3686
3686
|
`;
|
|
3687
|
-
|
|
3687
|
+
qt([
|
|
3688
3688
|
n()
|
|
3689
|
-
],
|
|
3690
|
-
|
|
3689
|
+
], Me.prototype, "label", 2);
|
|
3690
|
+
qt([
|
|
3691
3691
|
n({ type: Boolean, reflect: !0 })
|
|
3692
|
-
],
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
],
|
|
3696
|
-
var
|
|
3697
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
3692
|
+
], Me.prototype, "open", 2);
|
|
3693
|
+
Me = qt([
|
|
3694
|
+
p("vox-dropdown")
|
|
3695
|
+
], Me);
|
|
3696
|
+
var ss = Object.defineProperty, as = Object.getOwnPropertyDescriptor, qe = (r, e, o, s) => {
|
|
3697
|
+
for (var t = s > 1 ? void 0 : s ? as(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
3698
3698
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
3699
|
-
return s && t &&
|
|
3699
|
+
return s && t && ss(e, o, t), t;
|
|
3700
3700
|
};
|
|
3701
|
-
let
|
|
3701
|
+
let st = class extends h {
|
|
3702
3702
|
constructor() {
|
|
3703
3703
|
super(...arguments), this.single = !1;
|
|
3704
3704
|
}
|
|
@@ -3712,10 +3712,10 @@ let We = class extends p {
|
|
|
3712
3712
|
);
|
|
3713
3713
|
}
|
|
3714
3714
|
render() {
|
|
3715
|
-
return
|
|
3715
|
+
return l`<slot @vox-toggle=${this.handleToggle}></slot>`;
|
|
3716
3716
|
}
|
|
3717
3717
|
};
|
|
3718
|
-
|
|
3718
|
+
st.styles = d`
|
|
3719
3719
|
:host {
|
|
3720
3720
|
display: block;
|
|
3721
3721
|
border: 1px solid var(--vox-color-divider);
|
|
@@ -3727,13 +3727,13 @@ We.styles = d`
|
|
|
3727
3727
|
border-top: 1px solid var(--vox-color-divider);
|
|
3728
3728
|
}
|
|
3729
3729
|
`;
|
|
3730
|
-
|
|
3730
|
+
qe([
|
|
3731
3731
|
n({ type: Boolean })
|
|
3732
|
-
],
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
],
|
|
3736
|
-
let
|
|
3732
|
+
], st.prototype, "single", 2);
|
|
3733
|
+
st = qe([
|
|
3734
|
+
p("vox-accordion")
|
|
3735
|
+
], st);
|
|
3736
|
+
let Ae = class extends h {
|
|
3737
3737
|
constructor() {
|
|
3738
3738
|
super(...arguments), this.heading = "", this.open = !1;
|
|
3739
3739
|
}
|
|
@@ -3743,7 +3743,7 @@ let $e = class extends p {
|
|
|
3743
3743
|
);
|
|
3744
3744
|
}
|
|
3745
3745
|
render() {
|
|
3746
|
-
return
|
|
3746
|
+
return l`
|
|
3747
3747
|
<h3 style="margin:0">
|
|
3748
3748
|
<button
|
|
3749
3749
|
class="trigger"
|
|
@@ -3762,7 +3762,7 @@ let $e = class extends p {
|
|
|
3762
3762
|
`;
|
|
3763
3763
|
}
|
|
3764
3764
|
};
|
|
3765
|
-
|
|
3765
|
+
Ae.styles = d`
|
|
3766
3766
|
:host {
|
|
3767
3767
|
display: block;
|
|
3768
3768
|
font-family: var(--vox-font-family-base);
|
|
@@ -3824,27 +3824,27 @@ $e.styles = d`
|
|
|
3824
3824
|
margin-bottom: 0;
|
|
3825
3825
|
}
|
|
3826
3826
|
`;
|
|
3827
|
-
|
|
3827
|
+
qe([
|
|
3828
3828
|
n()
|
|
3829
|
-
],
|
|
3830
|
-
|
|
3829
|
+
], Ae.prototype, "heading", 2);
|
|
3830
|
+
qe([
|
|
3831
3831
|
n({ type: Boolean, reflect: !0 })
|
|
3832
|
-
],
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
],
|
|
3836
|
-
var
|
|
3837
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
3832
|
+
], Ae.prototype, "open", 2);
|
|
3833
|
+
Ae = qe([
|
|
3834
|
+
p("vox-accordion-item")
|
|
3835
|
+
], Ae);
|
|
3836
|
+
var is = Object.defineProperty, ns = Object.getOwnPropertyDescriptor, Ze = (r, e, o, s) => {
|
|
3837
|
+
for (var t = s > 1 ? void 0 : s ? ns(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
3838
3838
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
3839
|
-
return s && t &&
|
|
3839
|
+
return s && t && is(e, o, t), t;
|
|
3840
3840
|
};
|
|
3841
|
-
const
|
|
3841
|
+
const ls = {
|
|
3842
3842
|
info: "info",
|
|
3843
3843
|
success: "check-circle",
|
|
3844
3844
|
warning: "warning",
|
|
3845
3845
|
danger: "x-circle"
|
|
3846
3846
|
};
|
|
3847
|
-
let
|
|
3847
|
+
let U = class extends h {
|
|
3848
3848
|
constructor() {
|
|
3849
3849
|
super(...arguments), this.variant = "info", this.heading = "", this.dismissible = !1, this.open = !0;
|
|
3850
3850
|
}
|
|
@@ -3854,7 +3854,7 @@ let B = class extends p {
|
|
|
3854
3854
|
);
|
|
3855
3855
|
}
|
|
3856
3856
|
render() {
|
|
3857
|
-
return
|
|
3857
|
+
return l`
|
|
3858
3858
|
<div class="alert ${this.variant}" role="alert">
|
|
3859
3859
|
<svg
|
|
3860
3860
|
class="icon"
|
|
@@ -3866,13 +3866,13 @@ let B = class extends p {
|
|
|
3866
3866
|
stroke-linejoin="round"
|
|
3867
3867
|
aria-hidden="true"
|
|
3868
3868
|
>
|
|
3869
|
-
${
|
|
3869
|
+
${k[ls[this.variant]]}
|
|
3870
3870
|
</svg>
|
|
3871
3871
|
<div class="body">
|
|
3872
|
-
${this.heading ?
|
|
3872
|
+
${this.heading ? l`<p class="heading">${this.heading}</p>` : x}
|
|
3873
3873
|
<slot></slot>
|
|
3874
3874
|
</div>
|
|
3875
|
-
${this.dismissible ?
|
|
3875
|
+
${this.dismissible ? l`
|
|
3876
3876
|
<button class="close" aria-label="Dismiss" @click=${this.dismiss}>
|
|
3877
3877
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" aria-hidden="true">
|
|
3878
3878
|
<path d="M18 6 6 18M6 6l12 12" />
|
|
@@ -3883,7 +3883,7 @@ let B = class extends p {
|
|
|
3883
3883
|
`;
|
|
3884
3884
|
}
|
|
3885
3885
|
};
|
|
3886
|
-
|
|
3886
|
+
U.styles = d`
|
|
3887
3887
|
:host {
|
|
3888
3888
|
display: block;
|
|
3889
3889
|
font-family: var(--vox-font-family-base);
|
|
@@ -4002,35 +4002,35 @@ B.styles = d`
|
|
|
4002
4002
|
margin-bottom: 0;
|
|
4003
4003
|
}
|
|
4004
4004
|
`;
|
|
4005
|
-
|
|
4005
|
+
Ze([
|
|
4006
4006
|
n()
|
|
4007
|
-
],
|
|
4008
|
-
|
|
4007
|
+
], U.prototype, "variant", 2);
|
|
4008
|
+
Ze([
|
|
4009
4009
|
n()
|
|
4010
|
-
],
|
|
4011
|
-
|
|
4010
|
+
], U.prototype, "heading", 2);
|
|
4011
|
+
Ze([
|
|
4012
4012
|
n({ type: Boolean })
|
|
4013
|
-
],
|
|
4014
|
-
|
|
4013
|
+
], U.prototype, "dismissible", 2);
|
|
4014
|
+
Ze([
|
|
4015
4015
|
n({ type: Boolean, reflect: !0 })
|
|
4016
|
-
],
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
],
|
|
4020
|
-
var
|
|
4021
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
4016
|
+
], U.prototype, "open", 2);
|
|
4017
|
+
U = Ze([
|
|
4018
|
+
p("vox-alert")
|
|
4019
|
+
], U);
|
|
4020
|
+
var cs = Object.defineProperty, ds = Object.getOwnPropertyDescriptor, Lo = (r, e, o, s) => {
|
|
4021
|
+
for (var t = s > 1 ? void 0 : s ? ds(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4022
4022
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4023
|
-
return s && t &&
|
|
4023
|
+
return s && t && cs(e, o, t), t;
|
|
4024
4024
|
};
|
|
4025
|
-
let
|
|
4025
|
+
let at = class extends h {
|
|
4026
4026
|
constructor() {
|
|
4027
4027
|
super(...arguments), this.variant = "brand";
|
|
4028
4028
|
}
|
|
4029
4029
|
render() {
|
|
4030
|
-
return
|
|
4030
|
+
return l`<span class="badge ${this.variant}"><slot></slot></span>`;
|
|
4031
4031
|
}
|
|
4032
4032
|
};
|
|
4033
|
-
|
|
4033
|
+
at.styles = d`
|
|
4034
4034
|
:host {
|
|
4035
4035
|
display: inline-block;
|
|
4036
4036
|
}
|
|
@@ -4072,24 +4072,24 @@ Xe.styles = d`
|
|
|
4072
4072
|
color: var(--vox-color-text-2);
|
|
4073
4073
|
}
|
|
4074
4074
|
`;
|
|
4075
|
-
|
|
4075
|
+
Lo([
|
|
4076
4076
|
n()
|
|
4077
|
-
],
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
],
|
|
4081
|
-
var
|
|
4082
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
4077
|
+
], at.prototype, "variant", 2);
|
|
4078
|
+
at = Lo([
|
|
4079
|
+
p("vox-badge")
|
|
4080
|
+
], at);
|
|
4081
|
+
var ps = Object.defineProperty, hs = Object.getOwnPropertyDescriptor, Zt = (r, e, o, s) => {
|
|
4082
|
+
for (var t = s > 1 ? void 0 : s ? hs(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4083
4083
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4084
|
-
return s && t &&
|
|
4084
|
+
return s && t && ps(e, o, t), t;
|
|
4085
4085
|
};
|
|
4086
|
-
let
|
|
4086
|
+
let Pe = class extends h {
|
|
4087
4087
|
constructor() {
|
|
4088
4088
|
super(...arguments), this.date = "";
|
|
4089
4089
|
}
|
|
4090
4090
|
render() {
|
|
4091
4091
|
const r = /* @__PURE__ */ new Date(`${this.date}T00:00:00`), e = !Number.isNaN(r.getTime()), o = e ? r.toLocaleString(this.locale, { month: "short" }) : "—", s = e ? r.getDate() : "–";
|
|
4092
|
-
return
|
|
4092
|
+
return l`
|
|
4093
4093
|
<time class="tile" datetime=${this.date}>
|
|
4094
4094
|
<span class="month">${o}</span>
|
|
4095
4095
|
<span class="day">${s}</span>
|
|
@@ -4097,7 +4097,7 @@ let we = class extends p {
|
|
|
4097
4097
|
`;
|
|
4098
4098
|
}
|
|
4099
4099
|
};
|
|
4100
|
-
|
|
4100
|
+
Pe.styles = d`
|
|
4101
4101
|
:host {
|
|
4102
4102
|
display: inline-block;
|
|
4103
4103
|
font-family: var(--vox-font-family-base);
|
|
@@ -4133,37 +4133,37 @@ we.styles = d`
|
|
|
4133
4133
|
color: var(--vox-color-text-1);
|
|
4134
4134
|
}
|
|
4135
4135
|
`;
|
|
4136
|
-
|
|
4136
|
+
Zt([
|
|
4137
4137
|
n()
|
|
4138
|
-
],
|
|
4139
|
-
|
|
4138
|
+
], Pe.prototype, "date", 2);
|
|
4139
|
+
Zt([
|
|
4140
4140
|
n()
|
|
4141
|
-
],
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
],
|
|
4145
|
-
var
|
|
4146
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
4141
|
+
], Pe.prototype, "locale", 2);
|
|
4142
|
+
Pe = Zt([
|
|
4143
|
+
p("vox-calendar-tile")
|
|
4144
|
+
], Pe);
|
|
4145
|
+
var vs = Object.defineProperty, us = Object.getOwnPropertyDescriptor, Ft = (r, e, o, s) => {
|
|
4146
|
+
for (var t = s > 1 ? void 0 : s ? us(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4147
4147
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4148
|
-
return s && t &&
|
|
4148
|
+
return s && t && vs(e, o, t), t;
|
|
4149
4149
|
};
|
|
4150
|
-
const
|
|
4150
|
+
const xs = {
|
|
4151
4151
|
info: "Info",
|
|
4152
4152
|
tip: "Tip",
|
|
4153
4153
|
warning: "Warning",
|
|
4154
4154
|
danger: "Danger"
|
|
4155
|
-
},
|
|
4155
|
+
}, fs = {
|
|
4156
4156
|
info: "info",
|
|
4157
4157
|
tip: "check-circle",
|
|
4158
4158
|
warning: "warning",
|
|
4159
4159
|
danger: "x-circle"
|
|
4160
4160
|
};
|
|
4161
|
-
let
|
|
4161
|
+
let ke = class extends h {
|
|
4162
4162
|
constructor() {
|
|
4163
4163
|
super(...arguments), this.variant = "info";
|
|
4164
4164
|
}
|
|
4165
4165
|
render() {
|
|
4166
|
-
return
|
|
4166
|
+
return l`
|
|
4167
4167
|
<div class="callout ${this.variant}" role="note">
|
|
4168
4168
|
<svg
|
|
4169
4169
|
class="icon"
|
|
@@ -4175,17 +4175,17 @@ let _e = class extends p {
|
|
|
4175
4175
|
stroke-linejoin="round"
|
|
4176
4176
|
aria-hidden="true"
|
|
4177
4177
|
>
|
|
4178
|
-
${
|
|
4178
|
+
${k[fs[this.variant]]}
|
|
4179
4179
|
</svg>
|
|
4180
4180
|
<div class="content">
|
|
4181
|
-
<p class="heading">${this.heading ??
|
|
4181
|
+
<p class="heading">${this.heading ?? xs[this.variant]}</p>
|
|
4182
4182
|
<slot></slot>
|
|
4183
4183
|
</div>
|
|
4184
4184
|
</div>
|
|
4185
4185
|
`;
|
|
4186
4186
|
}
|
|
4187
4187
|
};
|
|
4188
|
-
|
|
4188
|
+
ke.styles = d`
|
|
4189
4189
|
:host {
|
|
4190
4190
|
display: block;
|
|
4191
4191
|
}
|
|
@@ -4268,21 +4268,21 @@ _e.styles = d`
|
|
|
4268
4268
|
margin-bottom: 0;
|
|
4269
4269
|
}
|
|
4270
4270
|
`;
|
|
4271
|
-
|
|
4271
|
+
Ft([
|
|
4272
4272
|
n()
|
|
4273
|
-
],
|
|
4274
|
-
|
|
4273
|
+
], ke.prototype, "variant", 2);
|
|
4274
|
+
Ft([
|
|
4275
4275
|
n()
|
|
4276
|
-
],
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
],
|
|
4280
|
-
var
|
|
4281
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
4276
|
+
], ke.prototype, "heading", 2);
|
|
4277
|
+
ke = Ft([
|
|
4278
|
+
p("vox-callout")
|
|
4279
|
+
], ke);
|
|
4280
|
+
var gs = Object.defineProperty, bs = Object.getOwnPropertyDescriptor, ft = (r, e, o, s) => {
|
|
4281
|
+
for (var t = s > 1 ? void 0 : s ? bs(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4282
4282
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4283
|
-
return s && t &&
|
|
4283
|
+
return s && t && gs(e, o, t), t;
|
|
4284
4284
|
};
|
|
4285
|
-
let
|
|
4285
|
+
let re = class extends h {
|
|
4286
4286
|
constructor() {
|
|
4287
4287
|
super(...arguments), this.heading = "", this.hasIcon = !1, this.hasBadge = !1, this.hasFooter = !1;
|
|
4288
4288
|
}
|
|
@@ -4299,7 +4299,7 @@ let J = class extends p {
|
|
|
4299
4299
|
this.hasFooter = e.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
4300
4300
|
}
|
|
4301
4301
|
render() {
|
|
4302
|
-
const r =
|
|
4302
|
+
const r = l`
|
|
4303
4303
|
<div class="badge ${this.hasBadge ? "has-badge" : ""}">
|
|
4304
4304
|
<slot name="badge" @slotchange=${this.handleBadgeSlotChange}></slot>
|
|
4305
4305
|
</div>
|
|
@@ -4312,10 +4312,10 @@ let J = class extends p {
|
|
|
4312
4312
|
<slot name="footer" @slotchange=${this.handleFooterSlotChange}></slot>
|
|
4313
4313
|
</div>
|
|
4314
4314
|
`;
|
|
4315
|
-
return this.href !== void 0 ?
|
|
4315
|
+
return this.href !== void 0 ? l`<a class="card" href=${this.href} target=${this.target ?? x}>${r}</a>` : l`<div class="card">${r}</div>`;
|
|
4316
4316
|
}
|
|
4317
4317
|
};
|
|
4318
|
-
|
|
4318
|
+
re.styles = d`
|
|
4319
4319
|
:host {
|
|
4320
4320
|
display: block;
|
|
4321
4321
|
}
|
|
@@ -4400,24 +4400,663 @@ J.styles = d`
|
|
|
4400
4400
|
display: none;
|
|
4401
4401
|
}
|
|
4402
4402
|
`;
|
|
4403
|
-
|
|
4403
|
+
ft([
|
|
4404
4404
|
n()
|
|
4405
|
-
],
|
|
4406
|
-
|
|
4405
|
+
], re.prototype, "heading", 2);
|
|
4406
|
+
ft([
|
|
4407
4407
|
n()
|
|
4408
|
-
],
|
|
4409
|
-
|
|
4408
|
+
], re.prototype, "href", 2);
|
|
4409
|
+
ft([
|
|
4410
4410
|
n()
|
|
4411
|
-
],
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
],
|
|
4415
|
-
|
|
4416
|
-
|
|
4411
|
+
], re.prototype, "target", 2);
|
|
4412
|
+
re = ft([
|
|
4413
|
+
p("vox-card")
|
|
4414
|
+
], re);
|
|
4415
|
+
function Eo(r, e) {
|
|
4416
|
+
let o = e;
|
|
4417
|
+
for (; o < r.length && (r[o] === " " || r[o] === " "); ) o++;
|
|
4418
|
+
return o;
|
|
4419
|
+
}
|
|
4420
|
+
function F(r, e) {
|
|
4421
|
+
return {
|
|
4422
|
+
re: r,
|
|
4423
|
+
type: (o, s, t) => e.has(o) ? "keyword" : s[Eo(s, t)] === "(" ? "function" : "plain"
|
|
4424
|
+
};
|
|
4425
|
+
}
|
|
4426
|
+
function Pt(r) {
|
|
4427
|
+
return {
|
|
4428
|
+
re: r,
|
|
4429
|
+
type: (e, o, s) => o[Eo(o, s)] === ":" ? "property" : "string"
|
|
4430
|
+
};
|
|
4431
|
+
}
|
|
4432
|
+
const Fe = /-?\b\d+\.?\d*(?:[eE][+-]?\d+)?\b/y, S = /"(?:\\.|[^"\\])*"/y, K = /'(?:\\.|[^'\\])*'/y, gt = /#.*/y, ys = /\/\/.*/y, So = /\/\*[\s\S]*?\*\//y;
|
|
4433
|
+
function ho(r, e, o) {
|
|
4434
|
+
const s = r[r.length - 1];
|
|
4435
|
+
s && s.type === e ? s.text += o : r.push({ type: e, text: o });
|
|
4436
|
+
}
|
|
4437
|
+
function ms(r, e) {
|
|
4438
|
+
const o = [];
|
|
4439
|
+
let s = 0;
|
|
4440
|
+
for (; s < r.length; ) {
|
|
4441
|
+
let t = !1;
|
|
4442
|
+
for (const a of e) {
|
|
4443
|
+
a.re.lastIndex = s;
|
|
4444
|
+
const i = a.re.exec(r);
|
|
4445
|
+
if (i && i.index === s && i[0].length > 0) {
|
|
4446
|
+
const v = i[0], u = typeof a.type == "function" ? a.type(v, r, s + v.length) : a.type;
|
|
4447
|
+
ho(o, u, v), s += v.length, t = !0;
|
|
4448
|
+
break;
|
|
4449
|
+
}
|
|
4450
|
+
}
|
|
4451
|
+
t || (ho(o, "plain", r[s]), s++);
|
|
4452
|
+
}
|
|
4453
|
+
return o;
|
|
4454
|
+
}
|
|
4455
|
+
const $s = /* @__PURE__ */ new Set([
|
|
4456
|
+
"if",
|
|
4457
|
+
"then",
|
|
4458
|
+
"elif",
|
|
4459
|
+
"else",
|
|
4460
|
+
"fi",
|
|
4461
|
+
"for",
|
|
4462
|
+
"while",
|
|
4463
|
+
"until",
|
|
4464
|
+
"do",
|
|
4465
|
+
"done",
|
|
4466
|
+
"case",
|
|
4467
|
+
"esac",
|
|
4468
|
+
"in",
|
|
4469
|
+
"function",
|
|
4470
|
+
"select",
|
|
4471
|
+
"time",
|
|
4472
|
+
"return",
|
|
4473
|
+
"exit",
|
|
4474
|
+
"break",
|
|
4475
|
+
"continue",
|
|
4476
|
+
"local",
|
|
4477
|
+
"export",
|
|
4478
|
+
"readonly",
|
|
4479
|
+
"declare",
|
|
4480
|
+
"unset",
|
|
4481
|
+
"shift",
|
|
4482
|
+
"eval",
|
|
4483
|
+
"exec",
|
|
4484
|
+
"trap",
|
|
4485
|
+
"set",
|
|
4486
|
+
"source",
|
|
4487
|
+
"alias",
|
|
4488
|
+
"unalias",
|
|
4489
|
+
"true",
|
|
4490
|
+
"false"
|
|
4491
|
+
]), We = [
|
|
4492
|
+
{ re: gt, type: "comment" },
|
|
4493
|
+
{ re: /\$\{[^}]*\}|\$[A-Za-z_]\w*|\$[0-9@#?$!*_-]/y, type: "function" },
|
|
4494
|
+
{ re: S, type: "string" },
|
|
4495
|
+
{ re: K, type: "string" },
|
|
4496
|
+
{ re: Fe, type: "number" },
|
|
4497
|
+
F(/[A-Za-z_][\w-]*/y, $s)
|
|
4498
|
+
], ws = /* @__PURE__ */ new Set([
|
|
4499
|
+
"true",
|
|
4500
|
+
"false",
|
|
4501
|
+
"yes",
|
|
4502
|
+
"no",
|
|
4503
|
+
"null",
|
|
4504
|
+
"on",
|
|
4505
|
+
"off",
|
|
4506
|
+
"True",
|
|
4507
|
+
"False",
|
|
4508
|
+
"Yes",
|
|
4509
|
+
"No",
|
|
4510
|
+
"Null",
|
|
4511
|
+
"On",
|
|
4512
|
+
"Off",
|
|
4513
|
+
"TRUE",
|
|
4514
|
+
"FALSE",
|
|
4515
|
+
"YES",
|
|
4516
|
+
"NO",
|
|
4517
|
+
"NULL",
|
|
4518
|
+
"ON",
|
|
4519
|
+
"OFF"
|
|
4520
|
+
]), vo = [
|
|
4521
|
+
{ re: gt, type: "comment" },
|
|
4522
|
+
Pt(S),
|
|
4523
|
+
Pt(K),
|
|
4524
|
+
{ re: /[A-Za-z_][\w .-]*?(?=:(\s|$))/y, type: "property" },
|
|
4525
|
+
{ re: /[&*!][A-Za-z_][\w:.]*/y, type: "function" },
|
|
4526
|
+
{ re: Fe, type: "number" },
|
|
4527
|
+
F(/[A-Za-z_][\w-]*/y, ws)
|
|
4528
|
+
], _s = [
|
|
4529
|
+
Pt(S),
|
|
4530
|
+
{ re: Fe, type: "number" },
|
|
4531
|
+
F(/[A-Za-z_]\w*/y, /* @__PURE__ */ new Set(["true", "false", "null"]))
|
|
4532
|
+
], Cs = /* @__PURE__ */ new Set([
|
|
4533
|
+
"const",
|
|
4534
|
+
"let",
|
|
4535
|
+
"var",
|
|
4536
|
+
"function",
|
|
4537
|
+
"return",
|
|
4538
|
+
"if",
|
|
4539
|
+
"else",
|
|
4540
|
+
"for",
|
|
4541
|
+
"while",
|
|
4542
|
+
"do",
|
|
4543
|
+
"switch",
|
|
4544
|
+
"case",
|
|
4545
|
+
"default",
|
|
4546
|
+
"break",
|
|
4547
|
+
"continue",
|
|
4548
|
+
"class",
|
|
4549
|
+
"extends",
|
|
4550
|
+
"super",
|
|
4551
|
+
"new",
|
|
4552
|
+
"this",
|
|
4553
|
+
"import",
|
|
4554
|
+
"export",
|
|
4555
|
+
"from",
|
|
4556
|
+
"as",
|
|
4557
|
+
"async",
|
|
4558
|
+
"await",
|
|
4559
|
+
"try",
|
|
4560
|
+
"catch",
|
|
4561
|
+
"finally",
|
|
4562
|
+
"throw",
|
|
4563
|
+
"typeof",
|
|
4564
|
+
"instanceof",
|
|
4565
|
+
"in",
|
|
4566
|
+
"of",
|
|
4567
|
+
"yield",
|
|
4568
|
+
"static",
|
|
4569
|
+
"get",
|
|
4570
|
+
"set",
|
|
4571
|
+
"void",
|
|
4572
|
+
"delete",
|
|
4573
|
+
"null",
|
|
4574
|
+
"undefined",
|
|
4575
|
+
"true",
|
|
4576
|
+
"false",
|
|
4577
|
+
"public",
|
|
4578
|
+
"private",
|
|
4579
|
+
"protected",
|
|
4580
|
+
"readonly",
|
|
4581
|
+
"interface",
|
|
4582
|
+
"type",
|
|
4583
|
+
"enum",
|
|
4584
|
+
"implements",
|
|
4585
|
+
"namespace",
|
|
4586
|
+
"declare",
|
|
4587
|
+
"abstract",
|
|
4588
|
+
"keyof",
|
|
4589
|
+
"satisfies"
|
|
4590
|
+
]), Xe = [
|
|
4591
|
+
{ re: ys, type: "comment" },
|
|
4592
|
+
{ re: So, type: "comment" },
|
|
4593
|
+
{ re: S, type: "string" },
|
|
4594
|
+
{ re: K, type: "string" },
|
|
4595
|
+
{ re: /`(?:\\.|[^`\\])*`/y, type: "string" },
|
|
4596
|
+
{ re: /-?\b0[xXbBoO][0-9a-fA-F]+\b|-?\b\d+\.?\d*(?:[eE][+-]?\d+)?\b/y, type: "number" },
|
|
4597
|
+
F(/[A-Za-z_$][\w$]*/y, Cs)
|
|
4598
|
+
], Os = [
|
|
4599
|
+
{ re: So, type: "comment" },
|
|
4600
|
+
{ re: S, type: "string" },
|
|
4601
|
+
{ re: K, type: "string" },
|
|
4602
|
+
{ re: /@[\w-]+/y, type: "keyword" },
|
|
4603
|
+
{ re: /!important/y, type: "keyword" },
|
|
4604
|
+
{ re: /#[0-9a-fA-F]{3,8}\b/y, type: "number" },
|
|
4605
|
+
{ re: /-?\b\d+\.?\d*[a-zA-Z%]*\b/y, type: "number" },
|
|
4606
|
+
{ re: /[a-zA-Z-]+(?=\s*:)/y, type: "property" },
|
|
4607
|
+
F(/[a-zA-Z-]+/y, /* @__PURE__ */ new Set())
|
|
4608
|
+
], uo = [
|
|
4609
|
+
{ re: /<!--[\s\S]*?-->/y, type: "comment" },
|
|
4610
|
+
{ re: /<\/?[a-zA-Z][\w:-]*/y, type: "tag" },
|
|
4611
|
+
{ re: /[a-zA-Z-][\w-]*(?=\s*=)/y, type: "property" },
|
|
4612
|
+
{ re: S, type: "string" },
|
|
4613
|
+
{ re: K, type: "string" },
|
|
4614
|
+
{ re: /&[\w#]+;/y, type: "keyword" }
|
|
4615
|
+
], Ms = /* @__PURE__ */ new Set([
|
|
4616
|
+
"def",
|
|
4617
|
+
"end",
|
|
4618
|
+
"if",
|
|
4619
|
+
"elsif",
|
|
4620
|
+
"else",
|
|
4621
|
+
"unless",
|
|
4622
|
+
"while",
|
|
4623
|
+
"until",
|
|
4624
|
+
"for",
|
|
4625
|
+
"in",
|
|
4626
|
+
"do",
|
|
4627
|
+
"class",
|
|
4628
|
+
"module",
|
|
4629
|
+
"begin",
|
|
4630
|
+
"rescue",
|
|
4631
|
+
"ensure",
|
|
4632
|
+
"raise",
|
|
4633
|
+
"return",
|
|
4634
|
+
"yield",
|
|
4635
|
+
"break",
|
|
4636
|
+
"next",
|
|
4637
|
+
"redo",
|
|
4638
|
+
"retry",
|
|
4639
|
+
"case",
|
|
4640
|
+
"when",
|
|
4641
|
+
"then",
|
|
4642
|
+
"and",
|
|
4643
|
+
"or",
|
|
4644
|
+
"not",
|
|
4645
|
+
"nil",
|
|
4646
|
+
"true",
|
|
4647
|
+
"false",
|
|
4648
|
+
"self",
|
|
4649
|
+
"super",
|
|
4650
|
+
"require",
|
|
4651
|
+
"require_relative",
|
|
4652
|
+
"include",
|
|
4653
|
+
"extend",
|
|
4654
|
+
"attr_accessor",
|
|
4655
|
+
"attr_reader",
|
|
4656
|
+
"attr_writer",
|
|
4657
|
+
"private",
|
|
4658
|
+
"protected",
|
|
4659
|
+
"public",
|
|
4660
|
+
"lambda",
|
|
4661
|
+
"proc",
|
|
4662
|
+
"new"
|
|
4663
|
+
]), xo = [
|
|
4664
|
+
{ re: gt, type: "comment" },
|
|
4665
|
+
{ re: /:[A-Za-z_]\w*[?!]?/y, type: "string" },
|
|
4666
|
+
{ re: /@{1,2}[A-Za-z_]\w*|\$[A-Za-z_]\w*/y, type: "function" },
|
|
4667
|
+
{ re: S, type: "string" },
|
|
4668
|
+
{ re: K, type: "string" },
|
|
4669
|
+
{ re: Fe, type: "number" },
|
|
4670
|
+
{ re: /[A-Z]\w*/y, type: "property" },
|
|
4671
|
+
F(/[a-z_]\w*[?!]?/y, Ms)
|
|
4672
|
+
], As = /* @__PURE__ */ new Set([
|
|
4673
|
+
"class",
|
|
4674
|
+
"define",
|
|
4675
|
+
"node",
|
|
4676
|
+
"inherits",
|
|
4677
|
+
"if",
|
|
4678
|
+
"elsif",
|
|
4679
|
+
"else",
|
|
4680
|
+
"unless",
|
|
4681
|
+
"case",
|
|
4682
|
+
"and",
|
|
4683
|
+
"or",
|
|
4684
|
+
"in",
|
|
4685
|
+
"undef",
|
|
4686
|
+
"true",
|
|
4687
|
+
"false",
|
|
4688
|
+
"default",
|
|
4689
|
+
"import",
|
|
4690
|
+
"include",
|
|
4691
|
+
"require",
|
|
4692
|
+
"contain",
|
|
4693
|
+
"function",
|
|
4694
|
+
"type",
|
|
4695
|
+
"application",
|
|
4696
|
+
"produces",
|
|
4697
|
+
"consumes",
|
|
4698
|
+
"private",
|
|
4699
|
+
"return",
|
|
4700
|
+
"break",
|
|
4701
|
+
"next",
|
|
4702
|
+
"each",
|
|
4703
|
+
"map",
|
|
4704
|
+
"filter",
|
|
4705
|
+
"reduce",
|
|
4706
|
+
"with",
|
|
4707
|
+
"String",
|
|
4708
|
+
"Integer",
|
|
4709
|
+
"Boolean",
|
|
4710
|
+
"Array",
|
|
4711
|
+
"Hash",
|
|
4712
|
+
"Optional",
|
|
4713
|
+
"Enum",
|
|
4714
|
+
"Variant",
|
|
4715
|
+
"Numeric",
|
|
4716
|
+
"Float",
|
|
4717
|
+
"Undef",
|
|
4718
|
+
"Any",
|
|
4719
|
+
"Pattern",
|
|
4720
|
+
"Regexp",
|
|
4721
|
+
"Sensitive",
|
|
4722
|
+
"Struct",
|
|
4723
|
+
"Tuple",
|
|
4724
|
+
"Type",
|
|
4725
|
+
"Callable",
|
|
4726
|
+
"Data",
|
|
4727
|
+
"Scalar"
|
|
4728
|
+
]), fo = [
|
|
4729
|
+
{ re: gt, type: "comment" },
|
|
4730
|
+
{ re: S, type: "string" },
|
|
4731
|
+
{ re: K, type: "string" },
|
|
4732
|
+
{ re: /\$[\w:]+/y, type: "function" },
|
|
4733
|
+
{ re: /[a-zA-Z_][\w:]*(?=\s*\{)/y, type: "tag" },
|
|
4734
|
+
{ re: /[a-z_]\w*(?=\s*=>)/y, type: "property" },
|
|
4735
|
+
{ re: Fe, type: "number" },
|
|
4736
|
+
F(/[A-Za-z_][\w:]*/y, As)
|
|
4737
|
+
], Ps = {
|
|
4738
|
+
bash: We,
|
|
4739
|
+
sh: We,
|
|
4740
|
+
shell: We,
|
|
4741
|
+
zsh: We,
|
|
4742
|
+
yaml: vo,
|
|
4743
|
+
yml: vo,
|
|
4744
|
+
json: _s,
|
|
4745
|
+
javascript: Xe,
|
|
4746
|
+
js: Xe,
|
|
4747
|
+
typescript: Xe,
|
|
4748
|
+
ts: Xe,
|
|
4749
|
+
css: Os,
|
|
4750
|
+
html: uo,
|
|
4751
|
+
xml: uo,
|
|
4752
|
+
ruby: xo,
|
|
4753
|
+
rb: xo,
|
|
4754
|
+
puppet: fo,
|
|
4755
|
+
pp: fo
|
|
4756
|
+
}, ks = {
|
|
4757
|
+
bash: "Bash",
|
|
4758
|
+
sh: "Shell",
|
|
4759
|
+
shell: "Shell",
|
|
4760
|
+
zsh: "Zsh",
|
|
4761
|
+
yaml: "YAML",
|
|
4762
|
+
yml: "YAML",
|
|
4763
|
+
json: "JSON",
|
|
4764
|
+
javascript: "JavaScript",
|
|
4765
|
+
js: "JavaScript",
|
|
4766
|
+
typescript: "TypeScript",
|
|
4767
|
+
ts: "TypeScript",
|
|
4768
|
+
css: "CSS",
|
|
4769
|
+
html: "HTML",
|
|
4770
|
+
xml: "XML",
|
|
4771
|
+
ruby: "Ruby",
|
|
4772
|
+
rb: "Ruby",
|
|
4773
|
+
puppet: "Puppet",
|
|
4774
|
+
pp: "Puppet",
|
|
4775
|
+
plaintext: "Plain Text",
|
|
4776
|
+
text: "Plain Text"
|
|
4777
|
+
};
|
|
4778
|
+
function Ls(r, e) {
|
|
4779
|
+
const o = Ps[e];
|
|
4780
|
+
return o ? ms(r, o) : [{ type: "plain", text: r }];
|
|
4781
|
+
}
|
|
4782
|
+
var Es = Object.defineProperty, Ss = Object.getOwnPropertyDescriptor, O = (r, e, o, s) => {
|
|
4783
|
+
for (var t = s > 1 ? void 0 : s ? Ss(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4417
4784
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4418
|
-
return s && t &&
|
|
4785
|
+
return s && t && Es(e, o, t), t;
|
|
4786
|
+
};
|
|
4787
|
+
function js(r) {
|
|
4788
|
+
const e = r.split(`
|
|
4789
|
+
`);
|
|
4790
|
+
for (; e.length && e[0].trim() === ""; ) e.shift();
|
|
4791
|
+
for (; e.length && e[e.length - 1].trim() === ""; ) e.pop();
|
|
4792
|
+
const o = e.filter((t) => t.trim() !== "").map((t) => {
|
|
4793
|
+
var a;
|
|
4794
|
+
return ((a = t.match(/^[ \t]*/)) == null ? void 0 : a[0].length) ?? 0;
|
|
4795
|
+
}), s = o.length ? Math.min(...o) : 0;
|
|
4796
|
+
return e.map((t) => t.slice(s)).join(`
|
|
4797
|
+
`);
|
|
4798
|
+
}
|
|
4799
|
+
function zs(r) {
|
|
4800
|
+
const e = [[]];
|
|
4801
|
+
for (const o of r)
|
|
4802
|
+
o.text.split(`
|
|
4803
|
+
`).forEach((s, t) => {
|
|
4804
|
+
t > 0 && e.push([]), s && e[e.length - 1].push({ type: o.type, text: s });
|
|
4805
|
+
});
|
|
4806
|
+
return e;
|
|
4807
|
+
}
|
|
4808
|
+
let $ = class extends h {
|
|
4809
|
+
constructor() {
|
|
4810
|
+
super(...arguments), this.language = "", this.filename = "", this.lineNumbers = !1, this.noCopy = !1, this.noHeader = !1, this.noBorder = !1, this._code = "", this._copied = !1;
|
|
4811
|
+
}
|
|
4812
|
+
disconnectedCallback() {
|
|
4813
|
+
super.disconnectedCallback(), clearTimeout(this._copyResetTimer);
|
|
4814
|
+
}
|
|
4815
|
+
_handleSlotChange(r) {
|
|
4816
|
+
const o = r.target.assignedNodes({ flatten: !0 }).map((s) => s.textContent ?? "").join("");
|
|
4817
|
+
this._code = js(o);
|
|
4818
|
+
}
|
|
4819
|
+
async _copy() {
|
|
4820
|
+
var r;
|
|
4821
|
+
try {
|
|
4822
|
+
await navigator.clipboard.writeText(this._code);
|
|
4823
|
+
} catch {
|
|
4824
|
+
const e = document.createElement("textarea");
|
|
4825
|
+
e.value = this._code, e.style.position = "fixed", e.style.opacity = "0", (r = this.shadowRoot) == null || r.appendChild(e), e.select(), document.execCommand("copy"), e.remove();
|
|
4826
|
+
}
|
|
4827
|
+
this._copied = !0, clearTimeout(this._copyResetTimer), this._copyResetTimer = setTimeout(() => {
|
|
4828
|
+
this._copied = !1;
|
|
4829
|
+
}, 1500);
|
|
4830
|
+
}
|
|
4831
|
+
render() {
|
|
4832
|
+
const r = ks[this.language] ?? this.language, e = zs(Ls(this._code, this.language));
|
|
4833
|
+
return l`
|
|
4834
|
+
<div class="block">
|
|
4835
|
+
${this.noHeader ? x : l`
|
|
4836
|
+
<div class="header">
|
|
4837
|
+
<span class="meta">
|
|
4838
|
+
${this.filename ? l`<span class="filename">${this.filename}</span>` : x}
|
|
4839
|
+
${r ? l`<span class="lang">${r}</span>` : x}
|
|
4840
|
+
</span>
|
|
4841
|
+
${this.noCopy ? x : l`
|
|
4842
|
+
<button
|
|
4843
|
+
class="copy"
|
|
4844
|
+
type="button"
|
|
4845
|
+
@click=${this._copy}
|
|
4846
|
+
aria-label=${this._copied ? "Copied" : "Copy code"}
|
|
4847
|
+
>
|
|
4848
|
+
<svg viewBox="0 0 48 48" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
4849
|
+
${k[this._copied ? "check" : "copy"]}
|
|
4850
|
+
</svg>
|
|
4851
|
+
</button>
|
|
4852
|
+
`}
|
|
4853
|
+
</div>
|
|
4854
|
+
`}
|
|
4855
|
+
<pre tabindex="0"><code>${e.map(
|
|
4856
|
+
(o) => l`<span class="line">${o.map(
|
|
4857
|
+
(s) => s.type === "plain" ? s.text : l`<span class="tok-${s.type}">${s.text}</span>`
|
|
4858
|
+
)}</span>`
|
|
4859
|
+
)}</code></pre>
|
|
4860
|
+
<span class="visually-hidden" aria-live="polite">${this._copied ? "Copied to clipboard" : ""}</span>
|
|
4861
|
+
</div>
|
|
4862
|
+
<slot @slotchange=${this._handleSlotChange}></slot>
|
|
4863
|
+
`;
|
|
4864
|
+
}
|
|
4419
4865
|
};
|
|
4420
|
-
|
|
4866
|
+
$.styles = d`
|
|
4867
|
+
:host {
|
|
4868
|
+
display: block;
|
|
4869
|
+
font-family: var(--vox-font-family-base);
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
.block {
|
|
4873
|
+
border: 1px solid var(--vox-color-border);
|
|
4874
|
+
border-radius: var(--vox-radius-md);
|
|
4875
|
+
background-color: var(--vox-color-bg-alt);
|
|
4876
|
+
overflow: hidden;
|
|
4877
|
+
}
|
|
4878
|
+
|
|
4879
|
+
:host([no-border]) .block {
|
|
4880
|
+
border: none;
|
|
4881
|
+
}
|
|
4882
|
+
|
|
4883
|
+
.header {
|
|
4884
|
+
display: flex;
|
|
4885
|
+
align-items: center;
|
|
4886
|
+
justify-content: space-between;
|
|
4887
|
+
gap: var(--vox-space-3);
|
|
4888
|
+
padding: var(--vox-space-2) var(--vox-space-2) var(--vox-space-2) var(--vox-space-4);
|
|
4889
|
+
border-bottom: 1px solid var(--vox-color-divider);
|
|
4890
|
+
font-size: 12px;
|
|
4891
|
+
}
|
|
4892
|
+
|
|
4893
|
+
.meta {
|
|
4894
|
+
display: flex;
|
|
4895
|
+
align-items: baseline;
|
|
4896
|
+
gap: var(--vox-space-3);
|
|
4897
|
+
min-width: 0;
|
|
4898
|
+
overflow: hidden;
|
|
4899
|
+
color: var(--vox-color-text-2);
|
|
4900
|
+
}
|
|
4901
|
+
|
|
4902
|
+
.filename {
|
|
4903
|
+
color: var(--vox-color-text-1);
|
|
4904
|
+
font-family: var(--vox-font-family-mono);
|
|
4905
|
+
font-weight: 600;
|
|
4906
|
+
white-space: nowrap;
|
|
4907
|
+
overflow: hidden;
|
|
4908
|
+
text-overflow: ellipsis;
|
|
4909
|
+
}
|
|
4910
|
+
|
|
4911
|
+
.lang {
|
|
4912
|
+
flex: none;
|
|
4913
|
+
text-transform: uppercase;
|
|
4914
|
+
letter-spacing: 0.04em;
|
|
4915
|
+
}
|
|
4916
|
+
|
|
4917
|
+
.copy {
|
|
4918
|
+
flex: none;
|
|
4919
|
+
display: inline-flex;
|
|
4920
|
+
align-items: center;
|
|
4921
|
+
justify-content: center;
|
|
4922
|
+
width: 28px;
|
|
4923
|
+
height: 28px;
|
|
4924
|
+
padding: 0;
|
|
4925
|
+
border: none;
|
|
4926
|
+
border-radius: var(--vox-radius-sm);
|
|
4927
|
+
background: none;
|
|
4928
|
+
color: var(--vox-color-text-2);
|
|
4929
|
+
cursor: pointer;
|
|
4930
|
+
}
|
|
4931
|
+
|
|
4932
|
+
.copy:hover {
|
|
4933
|
+
background-color: var(--vox-color-brand-soft);
|
|
4934
|
+
color: var(--vox-color-brand-1);
|
|
4935
|
+
}
|
|
4936
|
+
|
|
4937
|
+
.copy:focus-visible {
|
|
4938
|
+
outline: 2px solid var(--vox-color-brand-1);
|
|
4939
|
+
outline-offset: 2px;
|
|
4940
|
+
}
|
|
4941
|
+
|
|
4942
|
+
.copy svg {
|
|
4943
|
+
width: 15px;
|
|
4944
|
+
height: 15px;
|
|
4945
|
+
}
|
|
4946
|
+
|
|
4947
|
+
pre {
|
|
4948
|
+
margin: 0;
|
|
4949
|
+
padding: var(--vox-space-4);
|
|
4950
|
+
overflow-x: auto;
|
|
4951
|
+
white-space: pre;
|
|
4952
|
+
tab-size: 2;
|
|
4953
|
+
}
|
|
4954
|
+
|
|
4955
|
+
pre:focus-visible {
|
|
4956
|
+
outline: 2px solid var(--vox-color-brand-1);
|
|
4957
|
+
outline-offset: -2px;
|
|
4958
|
+
}
|
|
4959
|
+
|
|
4960
|
+
code {
|
|
4961
|
+
font-family: var(--vox-font-family-mono);
|
|
4962
|
+
font-size: 13px;
|
|
4963
|
+
line-height: 1.7;
|
|
4964
|
+
color: var(--vox-color-text-1);
|
|
4965
|
+
}
|
|
4966
|
+
|
|
4967
|
+
.line {
|
|
4968
|
+
display: block;
|
|
4969
|
+
}
|
|
4970
|
+
|
|
4971
|
+
:host([line-numbers]) code {
|
|
4972
|
+
counter-reset: line;
|
|
4973
|
+
}
|
|
4974
|
+
|
|
4975
|
+
:host([line-numbers]) .line {
|
|
4976
|
+
padding-left: 3.5ch;
|
|
4977
|
+
position: relative;
|
|
4978
|
+
}
|
|
4979
|
+
|
|
4980
|
+
:host([line-numbers]) .line::before {
|
|
4981
|
+
counter-increment: line;
|
|
4982
|
+
content: counter(line);
|
|
4983
|
+
position: absolute;
|
|
4984
|
+
left: 0;
|
|
4985
|
+
width: 2.5ch;
|
|
4986
|
+
text-align: right;
|
|
4987
|
+
color: var(--vox-color-text-3);
|
|
4988
|
+
user-select: none;
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4991
|
+
.tok-comment {
|
|
4992
|
+
color: var(--vox-code-comment);
|
|
4993
|
+
font-style: italic;
|
|
4994
|
+
}
|
|
4995
|
+
.tok-keyword {
|
|
4996
|
+
color: var(--vox-code-keyword);
|
|
4997
|
+
}
|
|
4998
|
+
.tok-string {
|
|
4999
|
+
color: var(--vox-code-string);
|
|
5000
|
+
}
|
|
5001
|
+
.tok-number {
|
|
5002
|
+
color: var(--vox-code-number);
|
|
5003
|
+
}
|
|
5004
|
+
.tok-function {
|
|
5005
|
+
color: var(--vox-code-function);
|
|
5006
|
+
}
|
|
5007
|
+
.tok-property {
|
|
5008
|
+
color: var(--vox-code-property);
|
|
5009
|
+
}
|
|
5010
|
+
.tok-tag {
|
|
5011
|
+
color: var(--vox-code-tag);
|
|
5012
|
+
}
|
|
5013
|
+
|
|
5014
|
+
slot {
|
|
5015
|
+
display: none;
|
|
5016
|
+
}
|
|
5017
|
+
|
|
5018
|
+
.visually-hidden {
|
|
5019
|
+
position: absolute;
|
|
5020
|
+
width: 1px;
|
|
5021
|
+
height: 1px;
|
|
5022
|
+
overflow: hidden;
|
|
5023
|
+
clip: rect(0 0 0 0);
|
|
5024
|
+
white-space: nowrap;
|
|
5025
|
+
}
|
|
5026
|
+
`;
|
|
5027
|
+
O([
|
|
5028
|
+
n()
|
|
5029
|
+
], $.prototype, "language", 2);
|
|
5030
|
+
O([
|
|
5031
|
+
n()
|
|
5032
|
+
], $.prototype, "filename", 2);
|
|
5033
|
+
O([
|
|
5034
|
+
n({ type: Boolean, attribute: "line-numbers", reflect: !0 })
|
|
5035
|
+
], $.prototype, "lineNumbers", 2);
|
|
5036
|
+
O([
|
|
5037
|
+
n({ type: Boolean, attribute: "no-copy" })
|
|
5038
|
+
], $.prototype, "noCopy", 2);
|
|
5039
|
+
O([
|
|
5040
|
+
n({ type: Boolean, attribute: "no-header" })
|
|
5041
|
+
], $.prototype, "noHeader", 2);
|
|
5042
|
+
O([
|
|
5043
|
+
n({ type: Boolean, attribute: "no-border", reflect: !0 })
|
|
5044
|
+
], $.prototype, "noBorder", 2);
|
|
5045
|
+
O([
|
|
5046
|
+
ie()
|
|
5047
|
+
], $.prototype, "_code", 2);
|
|
5048
|
+
O([
|
|
5049
|
+
ie()
|
|
5050
|
+
], $.prototype, "_copied", 2);
|
|
5051
|
+
$ = O([
|
|
5052
|
+
p("vox-code-block")
|
|
5053
|
+
], $);
|
|
5054
|
+
var Vs = Object.defineProperty, Ds = Object.getOwnPropertyDescriptor, jo = (r, e, o, s) => {
|
|
5055
|
+
for (var t = s > 1 ? void 0 : s ? Ds(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
5056
|
+
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
5057
|
+
return s && t && Vs(e, o, t), t;
|
|
5058
|
+
};
|
|
5059
|
+
let it = class extends h {
|
|
4421
5060
|
constructor() {
|
|
4422
5061
|
super(...arguments), this.heading = "", this.hasBody = !1, this.hasActions = !1;
|
|
4423
5062
|
}
|
|
@@ -4430,9 +5069,9 @@ let Ye = class extends p {
|
|
|
4430
5069
|
this.hasActions = e.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
4431
5070
|
}
|
|
4432
5071
|
render() {
|
|
4433
|
-
return
|
|
5072
|
+
return l`
|
|
4434
5073
|
<div class="band">
|
|
4435
|
-
${this.heading ?
|
|
5074
|
+
${this.heading ? l`<h2 class="heading">${this.heading}</h2>` : x}
|
|
4436
5075
|
<div class="body ${this.hasBody ? "has-content" : ""}">
|
|
4437
5076
|
<slot @slotchange=${this.handleBodySlotChange}></slot>
|
|
4438
5077
|
</div>
|
|
@@ -4443,7 +5082,7 @@ let Ye = class extends p {
|
|
|
4443
5082
|
`;
|
|
4444
5083
|
}
|
|
4445
5084
|
};
|
|
4446
|
-
|
|
5085
|
+
it.styles = d`
|
|
4447
5086
|
:host {
|
|
4448
5087
|
display: block;
|
|
4449
5088
|
font-family: var(--vox-font-family-base);
|
|
@@ -4498,23 +5137,23 @@ Ye.styles = d`
|
|
|
4498
5137
|
display: none;
|
|
4499
5138
|
}
|
|
4500
5139
|
`;
|
|
4501
|
-
|
|
5140
|
+
jo([
|
|
4502
5141
|
n()
|
|
4503
|
-
],
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
],
|
|
4507
|
-
var
|
|
4508
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
5142
|
+
], it.prototype, "heading", 2);
|
|
5143
|
+
it = jo([
|
|
5144
|
+
p("vox-cta-band")
|
|
5145
|
+
], it);
|
|
5146
|
+
var Hs = Object.defineProperty, Ts = Object.getOwnPropertyDescriptor, zo = (r, e, o, s) => {
|
|
5147
|
+
for (var t = s > 1 ? void 0 : s ? Ts(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4509
5148
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4510
|
-
return s && t &&
|
|
5149
|
+
return s && t && Hs(e, o, t), t;
|
|
4511
5150
|
};
|
|
4512
|
-
let
|
|
5151
|
+
let nt = class extends h {
|
|
4513
5152
|
constructor() {
|
|
4514
5153
|
super(...arguments), this.heading = "";
|
|
4515
5154
|
}
|
|
4516
5155
|
render() {
|
|
4517
|
-
return
|
|
5156
|
+
return l`
|
|
4518
5157
|
<div class="empty">
|
|
4519
5158
|
<div class="icon"><slot name="icon"></slot></div>
|
|
4520
5159
|
<h3 class="heading">${this.heading}</h3>
|
|
@@ -4524,7 +5163,7 @@ let Je = class extends p {
|
|
|
4524
5163
|
`;
|
|
4525
5164
|
}
|
|
4526
5165
|
};
|
|
4527
|
-
|
|
5166
|
+
nt.styles = d`
|
|
4528
5167
|
:host {
|
|
4529
5168
|
display: block;
|
|
4530
5169
|
font-family: var(--vox-font-family-base);
|
|
@@ -4568,20 +5207,20 @@ Je.styles = d`
|
|
|
4568
5207
|
margin-top: var(--vox-space-4);
|
|
4569
5208
|
}
|
|
4570
5209
|
`;
|
|
4571
|
-
|
|
5210
|
+
zo([
|
|
4572
5211
|
n()
|
|
4573
|
-
],
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
],
|
|
4577
|
-
var
|
|
4578
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
5212
|
+
], nt.prototype, "heading", 2);
|
|
5213
|
+
nt = zo([
|
|
5214
|
+
p("vox-empty-state")
|
|
5215
|
+
], nt);
|
|
5216
|
+
var Bs = Object.defineProperty, Ns = Object.getOwnPropertyDescriptor, Kt = (r, e, o, s) => {
|
|
5217
|
+
for (var t = s > 1 ? void 0 : s ? Ns(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4579
5218
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4580
|
-
return s && t &&
|
|
5219
|
+
return s && t && Bs(e, o, t), t;
|
|
4581
5220
|
};
|
|
4582
|
-
let
|
|
5221
|
+
let kt = class extends h {
|
|
4583
5222
|
render() {
|
|
4584
|
-
return
|
|
5223
|
+
return l`
|
|
4585
5224
|
<footer>
|
|
4586
5225
|
<div class="inner">
|
|
4587
5226
|
<div class="columns"><slot></slot></div>
|
|
@@ -4591,7 +5230,7 @@ let yt = class extends p {
|
|
|
4591
5230
|
`;
|
|
4592
5231
|
}
|
|
4593
5232
|
};
|
|
4594
|
-
|
|
5233
|
+
kt.styles = d`
|
|
4595
5234
|
:host {
|
|
4596
5235
|
display: block;
|
|
4597
5236
|
font-family: var(--vox-font-family-base);
|
|
@@ -4619,21 +5258,21 @@ yt.styles = d`
|
|
|
4619
5258
|
color: var(--vox-color-text-3);
|
|
4620
5259
|
}
|
|
4621
5260
|
`;
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
],
|
|
4625
|
-
let
|
|
5261
|
+
kt = Kt([
|
|
5262
|
+
p("vox-footer")
|
|
5263
|
+
], kt);
|
|
5264
|
+
let lt = class extends h {
|
|
4626
5265
|
constructor() {
|
|
4627
5266
|
super(...arguments), this.heading = "";
|
|
4628
5267
|
}
|
|
4629
5268
|
render() {
|
|
4630
|
-
return
|
|
5269
|
+
return l`
|
|
4631
5270
|
<h3 class="heading">${this.heading}</h3>
|
|
4632
5271
|
<div class="links"><slot></slot></div>
|
|
4633
5272
|
`;
|
|
4634
5273
|
}
|
|
4635
5274
|
};
|
|
4636
|
-
|
|
5275
|
+
lt.styles = d`
|
|
4637
5276
|
:host {
|
|
4638
5277
|
display: block;
|
|
4639
5278
|
font-family: var(--vox-font-family-base);
|
|
@@ -4665,18 +5304,18 @@ Qe.styles = d`
|
|
|
4665
5304
|
text-decoration: underline;
|
|
4666
5305
|
}
|
|
4667
5306
|
`;
|
|
4668
|
-
|
|
5307
|
+
Kt([
|
|
4669
5308
|
n()
|
|
4670
|
-
],
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
],
|
|
4674
|
-
var
|
|
4675
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
5309
|
+
], lt.prototype, "heading", 2);
|
|
5310
|
+
lt = Kt([
|
|
5311
|
+
p("vox-footer-column")
|
|
5312
|
+
], lt);
|
|
5313
|
+
var Rs = Object.defineProperty, Us = Object.getOwnPropertyDescriptor, bt = (r, e, o, s) => {
|
|
5314
|
+
for (var t = s > 1 ? void 0 : s ? Us(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4676
5315
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4677
|
-
return s && t &&
|
|
5316
|
+
return s && t && Rs(e, o, t), t;
|
|
4678
5317
|
};
|
|
4679
|
-
let
|
|
5318
|
+
let se = class extends h {
|
|
4680
5319
|
constructor() {
|
|
4681
5320
|
super(...arguments), this.cols = 0, this.min = "240px", this.gap = "md";
|
|
4682
5321
|
}
|
|
@@ -4684,10 +5323,10 @@ let Q = class extends p {
|
|
|
4684
5323
|
this.style.gridTemplateColumns = this.cols > 0 ? `repeat(${this.cols}, minmax(0, 1fr))` : `repeat(auto-fit, minmax(min(${this.min}, 100%), 1fr))`;
|
|
4685
5324
|
}
|
|
4686
5325
|
render() {
|
|
4687
|
-
return
|
|
5326
|
+
return l`<slot></slot>`;
|
|
4688
5327
|
}
|
|
4689
5328
|
};
|
|
4690
|
-
|
|
5329
|
+
se.styles = d`
|
|
4691
5330
|
:host {
|
|
4692
5331
|
display: grid;
|
|
4693
5332
|
}
|
|
@@ -4704,24 +5343,24 @@ Q.styles = d`
|
|
|
4704
5343
|
gap: var(--vox-space-6);
|
|
4705
5344
|
}
|
|
4706
5345
|
`;
|
|
4707
|
-
|
|
5346
|
+
bt([
|
|
4708
5347
|
n({ type: Number })
|
|
4709
|
-
],
|
|
4710
|
-
|
|
5348
|
+
], se.prototype, "cols", 2);
|
|
5349
|
+
bt([
|
|
4711
5350
|
n()
|
|
4712
|
-
],
|
|
4713
|
-
|
|
5351
|
+
], se.prototype, "min", 2);
|
|
5352
|
+
bt([
|
|
4714
5353
|
n({ reflect: !0 })
|
|
4715
|
-
],
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
],
|
|
4719
|
-
var
|
|
4720
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
5354
|
+
], se.prototype, "gap", 2);
|
|
5355
|
+
se = bt([
|
|
5356
|
+
p("vox-grid")
|
|
5357
|
+
], se);
|
|
5358
|
+
var Is = Object.defineProperty, qs = Object.getOwnPropertyDescriptor, Gt = (r, e, o, s) => {
|
|
5359
|
+
for (var t = s > 1 ? void 0 : s ? qs(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4721
5360
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4722
|
-
return s && t &&
|
|
5361
|
+
return s && t && Is(e, o, t), t;
|
|
4723
5362
|
};
|
|
4724
|
-
let
|
|
5363
|
+
let Le = class extends h {
|
|
4725
5364
|
constructor() {
|
|
4726
5365
|
super(...arguments), this.eyebrow = "", this.heading = "", this.hasActions = !1;
|
|
4727
5366
|
}
|
|
@@ -4730,9 +5369,9 @@ let Ce = class extends p {
|
|
|
4730
5369
|
this.hasActions = e.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
4731
5370
|
}
|
|
4732
5371
|
render() {
|
|
4733
|
-
return
|
|
5372
|
+
return l`
|
|
4734
5373
|
<header class="hero">
|
|
4735
|
-
${this.eyebrow ?
|
|
5374
|
+
${this.eyebrow ? l`<p class="eyebrow">${this.eyebrow}</p>` : x}
|
|
4736
5375
|
<h1 class="heading">${this.heading}</h1>
|
|
4737
5376
|
<div class="body"><slot></slot></div>
|
|
4738
5377
|
<div class="actions ${this.hasActions ? "has-content" : ""}">
|
|
@@ -4742,7 +5381,7 @@ let Ce = class extends p {
|
|
|
4742
5381
|
`;
|
|
4743
5382
|
}
|
|
4744
5383
|
};
|
|
4745
|
-
|
|
5384
|
+
Le.styles = d`
|
|
4746
5385
|
:host {
|
|
4747
5386
|
display: block;
|
|
4748
5387
|
font-family: var(--vox-font-family-base);
|
|
@@ -4799,36 +5438,36 @@ Ce.styles = d`
|
|
|
4799
5438
|
display: none;
|
|
4800
5439
|
}
|
|
4801
5440
|
`;
|
|
4802
|
-
|
|
5441
|
+
Gt([
|
|
4803
5442
|
n()
|
|
4804
|
-
],
|
|
4805
|
-
|
|
5443
|
+
], Le.prototype, "eyebrow", 2);
|
|
5444
|
+
Gt([
|
|
4806
5445
|
n()
|
|
4807
|
-
],
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
],
|
|
4811
|
-
var
|
|
4812
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
5446
|
+
], Le.prototype, "heading", 2);
|
|
5447
|
+
Le = Gt([
|
|
5448
|
+
p("vox-hero")
|
|
5449
|
+
], Le);
|
|
5450
|
+
var Zs = Object.defineProperty, Fs = Object.getOwnPropertyDescriptor, yt = (r, e, o, s) => {
|
|
5451
|
+
for (var t = s > 1 ? void 0 : s ? Fs(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4813
5452
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4814
|
-
return s && t &&
|
|
5453
|
+
return s && t && Zs(e, o, t), t;
|
|
4815
5454
|
};
|
|
4816
|
-
let
|
|
5455
|
+
let Lt = class extends h {
|
|
4817
5456
|
render() {
|
|
4818
|
-
return
|
|
5457
|
+
return l`<slot></slot>`;
|
|
4819
5458
|
}
|
|
4820
5459
|
};
|
|
4821
|
-
|
|
5460
|
+
Lt.styles = d`
|
|
4822
5461
|
:host {
|
|
4823
5462
|
display: grid;
|
|
4824
5463
|
grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
|
|
4825
5464
|
gap: var(--vox-space-4);
|
|
4826
5465
|
}
|
|
4827
5466
|
`;
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
],
|
|
4831
|
-
let
|
|
5467
|
+
Lt = yt([
|
|
5468
|
+
p("vox-link-hub")
|
|
5469
|
+
], Lt);
|
|
5470
|
+
let Ee = class extends h {
|
|
4832
5471
|
constructor() {
|
|
4833
5472
|
super(...arguments), this.href = "#", this.heading = "", this.hasIcon = !1;
|
|
4834
5473
|
}
|
|
@@ -4837,7 +5476,7 @@ let Oe = class extends p {
|
|
|
4837
5476
|
this.hasIcon = e.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
4838
5477
|
}
|
|
4839
5478
|
render() {
|
|
4840
|
-
return
|
|
5479
|
+
return l`
|
|
4841
5480
|
<a href=${this.href}>
|
|
4842
5481
|
<span class="heading">
|
|
4843
5482
|
<span class="icon ${this.hasIcon ? "has-icon" : ""}">
|
|
@@ -4854,7 +5493,7 @@ let Oe = class extends p {
|
|
|
4854
5493
|
`;
|
|
4855
5494
|
}
|
|
4856
5495
|
};
|
|
4857
|
-
|
|
5496
|
+
Ee.styles = d`
|
|
4858
5497
|
:host {
|
|
4859
5498
|
display: block;
|
|
4860
5499
|
font-family: var(--vox-font-family-base);
|
|
@@ -4915,26 +5554,26 @@ Oe.styles = d`
|
|
|
4915
5554
|
color: var(--vox-color-text-2);
|
|
4916
5555
|
}
|
|
4917
5556
|
`;
|
|
4918
|
-
|
|
5557
|
+
yt([
|
|
4919
5558
|
n()
|
|
4920
|
-
],
|
|
4921
|
-
|
|
5559
|
+
], Ee.prototype, "href", 2);
|
|
5560
|
+
yt([
|
|
4922
5561
|
n()
|
|
4923
|
-
],
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
],
|
|
4927
|
-
var
|
|
4928
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
5562
|
+
], Ee.prototype, "heading", 2);
|
|
5563
|
+
Ee = yt([
|
|
5564
|
+
p("vox-link-hub-item")
|
|
5565
|
+
], Ee);
|
|
5566
|
+
var Ks = Object.defineProperty, Gs = Object.getOwnPropertyDescriptor, Yt = (r, e, o, s) => {
|
|
5567
|
+
for (var t = s > 1 ? void 0 : s ? Gs(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
4929
5568
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
4930
|
-
return s && t &&
|
|
5569
|
+
return s && t && Ks(e, o, t), t;
|
|
4931
5570
|
};
|
|
4932
|
-
let
|
|
5571
|
+
let Se = class extends h {
|
|
4933
5572
|
constructor() {
|
|
4934
5573
|
super(...arguments), this.size = "md", this.label = "Loading";
|
|
4935
5574
|
}
|
|
4936
5575
|
render() {
|
|
4937
|
-
return
|
|
5576
|
+
return l`
|
|
4938
5577
|
<div role="status">
|
|
4939
5578
|
<div class="spinner"></div>
|
|
4940
5579
|
<span class="visually-hidden">${this.label}</span>
|
|
@@ -4942,7 +5581,7 @@ let Me = class extends p {
|
|
|
4942
5581
|
`;
|
|
4943
5582
|
}
|
|
4944
5583
|
};
|
|
4945
|
-
|
|
5584
|
+
Se.styles = d`
|
|
4946
5585
|
:host {
|
|
4947
5586
|
display: inline-block;
|
|
4948
5587
|
}
|
|
@@ -4995,33 +5634,33 @@ Me.styles = d`
|
|
|
4995
5634
|
white-space: nowrap;
|
|
4996
5635
|
}
|
|
4997
5636
|
`;
|
|
4998
|
-
|
|
5637
|
+
Yt([
|
|
4999
5638
|
n({ reflect: !0 })
|
|
5000
|
-
],
|
|
5001
|
-
|
|
5639
|
+
], Se.prototype, "size", 2);
|
|
5640
|
+
Yt([
|
|
5002
5641
|
n()
|
|
5003
|
-
],
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
],
|
|
5007
|
-
var
|
|
5008
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
5642
|
+
], Se.prototype, "label", 2);
|
|
5643
|
+
Se = Yt([
|
|
5644
|
+
p("vox-loader")
|
|
5645
|
+
], Se);
|
|
5646
|
+
var Ys = Object.defineProperty, Ws = Object.getOwnPropertyDescriptor, Vo = (r, e, o, s) => {
|
|
5647
|
+
for (var t = s > 1 ? void 0 : s ? Ws(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
5009
5648
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
5010
|
-
return s && t &&
|
|
5649
|
+
return s && t && Ys(e, o, t), t;
|
|
5011
5650
|
};
|
|
5012
|
-
let
|
|
5651
|
+
let ct = class extends h {
|
|
5013
5652
|
constructor() {
|
|
5014
5653
|
super(...arguments), this.label = "Pagination";
|
|
5015
5654
|
}
|
|
5016
5655
|
render() {
|
|
5017
|
-
return
|
|
5656
|
+
return l`
|
|
5018
5657
|
<nav aria-label=${this.label}>
|
|
5019
5658
|
<slot></slot>
|
|
5020
5659
|
</nav>
|
|
5021
5660
|
`;
|
|
5022
5661
|
}
|
|
5023
5662
|
};
|
|
5024
|
-
|
|
5663
|
+
ct.styles = d`
|
|
5025
5664
|
:host {
|
|
5026
5665
|
display: block;
|
|
5027
5666
|
font-family: var(--vox-font-family-base);
|
|
@@ -5061,36 +5700,36 @@ et.styles = d`
|
|
|
5061
5700
|
font-weight: 600;
|
|
5062
5701
|
}
|
|
5063
5702
|
`;
|
|
5064
|
-
|
|
5703
|
+
Vo([
|
|
5065
5704
|
n()
|
|
5066
|
-
],
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
],
|
|
5070
|
-
var
|
|
5071
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
5705
|
+
], ct.prototype, "label", 2);
|
|
5706
|
+
ct = Vo([
|
|
5707
|
+
p("vox-pagination")
|
|
5708
|
+
], ct);
|
|
5709
|
+
var Xs = Object.defineProperty, Js = Object.getOwnPropertyDescriptor, Wt = (r, e, o, s) => {
|
|
5710
|
+
for (var t = s > 1 ? void 0 : s ? Js(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
5072
5711
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
5073
|
-
return s && t &&
|
|
5712
|
+
return s && t && Xs(e, o, t), t;
|
|
5074
5713
|
};
|
|
5075
|
-
let
|
|
5714
|
+
let je = class extends h {
|
|
5076
5715
|
constructor() {
|
|
5077
5716
|
super(...arguments), this.attribution = "", this.detail = "";
|
|
5078
5717
|
}
|
|
5079
5718
|
render() {
|
|
5080
|
-
return
|
|
5719
|
+
return l`
|
|
5081
5720
|
<blockquote>
|
|
5082
5721
|
<div class="text"><slot></slot></div>
|
|
5083
|
-
${this.attribution ?
|
|
5722
|
+
${this.attribution ? l`
|
|
5084
5723
|
<footer>
|
|
5085
5724
|
<span class="attribution">${this.attribution}</span>
|
|
5086
|
-
${this.detail ?
|
|
5725
|
+
${this.detail ? l`<span class="detail"> — ${this.detail}</span>` : x}
|
|
5087
5726
|
</footer>
|
|
5088
5727
|
` : x}
|
|
5089
5728
|
</blockquote>
|
|
5090
5729
|
`;
|
|
5091
5730
|
}
|
|
5092
5731
|
};
|
|
5093
|
-
|
|
5732
|
+
je.styles = d`
|
|
5094
5733
|
:host {
|
|
5095
5734
|
display: block;
|
|
5096
5735
|
font-family: var(--vox-font-family-base);
|
|
@@ -5132,21 +5771,21 @@ Pe.styles = d`
|
|
|
5132
5771
|
color: var(--vox-color-text-2);
|
|
5133
5772
|
}
|
|
5134
5773
|
`;
|
|
5135
|
-
|
|
5774
|
+
Wt([
|
|
5136
5775
|
n()
|
|
5137
|
-
],
|
|
5138
|
-
|
|
5776
|
+
], je.prototype, "attribution", 2);
|
|
5777
|
+
Wt([
|
|
5139
5778
|
n()
|
|
5140
|
-
],
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
],
|
|
5144
|
-
var
|
|
5145
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
5779
|
+
], je.prototype, "detail", 2);
|
|
5780
|
+
je = Wt([
|
|
5781
|
+
p("vox-quote")
|
|
5782
|
+
], je);
|
|
5783
|
+
var Qs = Object.defineProperty, ea = Object.getOwnPropertyDescriptor, G = (r, e, o, s) => {
|
|
5784
|
+
for (var t = s > 1 ? void 0 : s ? ea(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
5146
5785
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
5147
|
-
return s && t &&
|
|
5786
|
+
return s && t && Qs(e, o, t), t;
|
|
5148
5787
|
};
|
|
5149
|
-
let
|
|
5788
|
+
let dt = class extends h {
|
|
5150
5789
|
constructor() {
|
|
5151
5790
|
super(...arguments), this.heading = "", this.hasDescription = !1;
|
|
5152
5791
|
}
|
|
@@ -5155,7 +5794,7 @@ let tt = class extends p {
|
|
|
5155
5794
|
this.hasDescription = e.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
5156
5795
|
}
|
|
5157
5796
|
render() {
|
|
5158
|
-
return
|
|
5797
|
+
return l`
|
|
5159
5798
|
<h2 class="heading">${this.heading}</h2>
|
|
5160
5799
|
<div class="description ${this.hasDescription ? "has-content" : ""}">
|
|
5161
5800
|
<slot
|
|
@@ -5169,7 +5808,7 @@ let tt = class extends p {
|
|
|
5169
5808
|
`;
|
|
5170
5809
|
}
|
|
5171
5810
|
};
|
|
5172
|
-
|
|
5811
|
+
dt.styles = d`
|
|
5173
5812
|
:host {
|
|
5174
5813
|
display: block;
|
|
5175
5814
|
font-family: var(--vox-font-family-base);
|
|
@@ -5201,13 +5840,13 @@ tt.styles = d`
|
|
|
5201
5840
|
margin-top: var(--vox-space-6);
|
|
5202
5841
|
}
|
|
5203
5842
|
`;
|
|
5204
|
-
|
|
5843
|
+
G([
|
|
5205
5844
|
n()
|
|
5206
|
-
],
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
],
|
|
5210
|
-
let
|
|
5845
|
+
], dt.prototype, "heading", 2);
|
|
5846
|
+
dt = G([
|
|
5847
|
+
p("vox-sponsor-tier")
|
|
5848
|
+
], dt);
|
|
5849
|
+
let I = class extends h {
|
|
5211
5850
|
constructor() {
|
|
5212
5851
|
super(...arguments), this.name = "", this.hasBody = !1;
|
|
5213
5852
|
}
|
|
@@ -5216,24 +5855,24 @@ let N = class extends p {
|
|
|
5216
5855
|
this.hasBody = e.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
5217
5856
|
}
|
|
5218
5857
|
render() {
|
|
5219
|
-
const r =
|
|
5858
|
+
const r = l`
|
|
5220
5859
|
<div class="logo ${this.logo ? "has-logo" : ""}">
|
|
5221
|
-
${this.logo ?
|
|
5860
|
+
${this.logo ? l`<img src=${this.logo} alt=${this.name} />` : x}
|
|
5222
5861
|
</div>
|
|
5223
5862
|
<span class="name">${this.name}</span>
|
|
5224
5863
|
<div class="body ${this.hasBody ? "has-content" : ""}">
|
|
5225
5864
|
<slot @slotchange=${this.handleBodySlotChange}></slot>
|
|
5226
5865
|
</div>
|
|
5227
5866
|
`;
|
|
5228
|
-
return this.href !== void 0 ?
|
|
5867
|
+
return this.href !== void 0 ? l`<a
|
|
5229
5868
|
class="sponsor"
|
|
5230
5869
|
href=${this.href}
|
|
5231
5870
|
target=${this.target ?? x}
|
|
5232
5871
|
>${r}</a
|
|
5233
|
-
>` :
|
|
5872
|
+
>` : l`<div class="sponsor">${r}</div>`;
|
|
5234
5873
|
}
|
|
5235
5874
|
};
|
|
5236
|
-
|
|
5875
|
+
I.styles = d`
|
|
5237
5876
|
:host {
|
|
5238
5877
|
display: block;
|
|
5239
5878
|
}
|
|
@@ -5299,39 +5938,39 @@ N.styles = d`
|
|
|
5299
5938
|
display: none;
|
|
5300
5939
|
}
|
|
5301
5940
|
`;
|
|
5302
|
-
|
|
5941
|
+
G([
|
|
5303
5942
|
n()
|
|
5304
|
-
],
|
|
5305
|
-
|
|
5943
|
+
], I.prototype, "name", 2);
|
|
5944
|
+
G([
|
|
5306
5945
|
n()
|
|
5307
|
-
],
|
|
5308
|
-
|
|
5946
|
+
], I.prototype, "href", 2);
|
|
5947
|
+
G([
|
|
5309
5948
|
n()
|
|
5310
|
-
],
|
|
5311
|
-
|
|
5949
|
+
], I.prototype, "logo", 2);
|
|
5950
|
+
G([
|
|
5312
5951
|
n()
|
|
5313
|
-
],
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
],
|
|
5317
|
-
var
|
|
5318
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
5952
|
+
], I.prototype, "target", 2);
|
|
5953
|
+
I = G([
|
|
5954
|
+
p("vox-sponsor")
|
|
5955
|
+
], I);
|
|
5956
|
+
var ta = Object.defineProperty, oa = Object.getOwnPropertyDescriptor, Xt = (r, e, o, s) => {
|
|
5957
|
+
for (var t = s > 1 ? void 0 : s ? oa(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
5319
5958
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
5320
|
-
return s && t &&
|
|
5959
|
+
return s && t && ta(e, o, t), t;
|
|
5321
5960
|
};
|
|
5322
|
-
let
|
|
5961
|
+
let ze = class extends h {
|
|
5323
5962
|
constructor() {
|
|
5324
5963
|
super(...arguments), this.value = "", this.label = "";
|
|
5325
5964
|
}
|
|
5326
5965
|
render() {
|
|
5327
|
-
return
|
|
5966
|
+
return l`
|
|
5328
5967
|
<div class="value">${this.value}</div>
|
|
5329
5968
|
<div class="label">${this.label}</div>
|
|
5330
5969
|
<div class="description"><slot></slot></div>
|
|
5331
5970
|
`;
|
|
5332
5971
|
}
|
|
5333
5972
|
};
|
|
5334
|
-
|
|
5973
|
+
ze.styles = d`
|
|
5335
5974
|
:host {
|
|
5336
5975
|
display: block;
|
|
5337
5976
|
font-family: var(--vox-font-family-base);
|
|
@@ -5358,35 +5997,35 @@ Ae.styles = d`
|
|
|
5358
5997
|
color: var(--vox-color-text-2);
|
|
5359
5998
|
}
|
|
5360
5999
|
`;
|
|
5361
|
-
|
|
6000
|
+
Xt([
|
|
5362
6001
|
n()
|
|
5363
|
-
],
|
|
5364
|
-
|
|
6002
|
+
], ze.prototype, "value", 2);
|
|
6003
|
+
Xt([
|
|
5365
6004
|
n()
|
|
5366
|
-
],
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
],
|
|
5370
|
-
var
|
|
5371
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
6005
|
+
], ze.prototype, "label", 2);
|
|
6006
|
+
ze = Xt([
|
|
6007
|
+
p("vox-stat")
|
|
6008
|
+
], ze);
|
|
6009
|
+
var ra = Object.defineProperty, sa = Object.getOwnPropertyDescriptor, Ke = (r, e, o, s) => {
|
|
6010
|
+
for (var t = s > 1 ? void 0 : s ? sa(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
5372
6011
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
5373
|
-
return s && t &&
|
|
6012
|
+
return s && t && ra(e, o, t), t;
|
|
5374
6013
|
};
|
|
5375
|
-
let
|
|
6014
|
+
let Et = class extends h {
|
|
5376
6015
|
numberSteps() {
|
|
5377
6016
|
this.querySelectorAll("vox-step").forEach((r, e) => {
|
|
5378
6017
|
r.number = e + 1;
|
|
5379
6018
|
});
|
|
5380
6019
|
}
|
|
5381
6020
|
render() {
|
|
5382
|
-
return
|
|
6021
|
+
return l`
|
|
5383
6022
|
<div class="steps" role="list" aria-label="Progress">
|
|
5384
6023
|
<slot @slotchange=${this.numberSteps}></slot>
|
|
5385
6024
|
</div>
|
|
5386
6025
|
`;
|
|
5387
6026
|
}
|
|
5388
6027
|
};
|
|
5389
|
-
|
|
6028
|
+
Et.styles = d`
|
|
5390
6029
|
:host {
|
|
5391
6030
|
display: block;
|
|
5392
6031
|
}
|
|
@@ -5400,22 +6039,22 @@ $t.styles = d`
|
|
|
5400
6039
|
flex: 1 1 0;
|
|
5401
6040
|
}
|
|
5402
6041
|
`;
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
],
|
|
5406
|
-
let
|
|
6042
|
+
Et = Ke([
|
|
6043
|
+
p("vox-step-indicator")
|
|
6044
|
+
], Et);
|
|
6045
|
+
let ae = class extends h {
|
|
5407
6046
|
constructor() {
|
|
5408
6047
|
super(...arguments), this.label = "", this.state = "upcoming", this.number = 1;
|
|
5409
6048
|
}
|
|
5410
6049
|
render() {
|
|
5411
|
-
return
|
|
6050
|
+
return l`
|
|
5412
6051
|
<div
|
|
5413
6052
|
class="step"
|
|
5414
6053
|
role="listitem"
|
|
5415
6054
|
aria-current=${this.state === "current" ? "step" : "false"}
|
|
5416
6055
|
>
|
|
5417
6056
|
<span class="marker">
|
|
5418
|
-
${this.state === "complete" ?
|
|
6057
|
+
${this.state === "complete" ? l`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
5419
6058
|
<path d="m4 12 5 5L20 6" />
|
|
5420
6059
|
</svg>` : this.number}
|
|
5421
6060
|
</span>
|
|
@@ -5424,7 +6063,7 @@ let ee = class extends p {
|
|
|
5424
6063
|
`;
|
|
5425
6064
|
}
|
|
5426
6065
|
};
|
|
5427
|
-
|
|
6066
|
+
ae.styles = d`
|
|
5428
6067
|
:host {
|
|
5429
6068
|
display: block;
|
|
5430
6069
|
font-family: var(--vox-font-family-base);
|
|
@@ -5498,52 +6137,52 @@ ee.styles = d`
|
|
|
5498
6137
|
color: var(--vox-color-text-1);
|
|
5499
6138
|
}
|
|
5500
6139
|
`;
|
|
5501
|
-
|
|
6140
|
+
Ke([
|
|
5502
6141
|
n()
|
|
5503
|
-
],
|
|
5504
|
-
|
|
6142
|
+
], ae.prototype, "label", 2);
|
|
6143
|
+
Ke([
|
|
5505
6144
|
n({ reflect: !0 })
|
|
5506
|
-
],
|
|
5507
|
-
|
|
6145
|
+
], ae.prototype, "state", 2);
|
|
6146
|
+
Ke([
|
|
5508
6147
|
n({ type: Number })
|
|
5509
|
-
],
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
],
|
|
5513
|
-
var
|
|
5514
|
-
for (var t = s > 1 ? void 0 : s ?
|
|
6148
|
+
], ae.prototype, "number", 2);
|
|
6149
|
+
ae = Ke([
|
|
6150
|
+
p("vox-step")
|
|
6151
|
+
], ae);
|
|
6152
|
+
var aa = Object.defineProperty, ia = Object.getOwnPropertyDescriptor, mt = (r, e, o, s) => {
|
|
6153
|
+
for (var t = s > 1 ? void 0 : s ? ia(e, o) : e, a = r.length - 1, i; a >= 0; a--)
|
|
5515
6154
|
(i = r[a]) && (t = (s ? i(e, o, t) : i(t)) || t);
|
|
5516
|
-
return s && t &&
|
|
6155
|
+
return s && t && aa(e, o, t), t;
|
|
5517
6156
|
};
|
|
5518
|
-
let
|
|
6157
|
+
let St = class extends h {
|
|
5519
6158
|
render() {
|
|
5520
|
-
return
|
|
6159
|
+
return l`<slot></slot>`;
|
|
5521
6160
|
}
|
|
5522
6161
|
};
|
|
5523
|
-
|
|
6162
|
+
St.styles = d`
|
|
5524
6163
|
:host {
|
|
5525
6164
|
display: block;
|
|
5526
6165
|
}
|
|
5527
6166
|
`;
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
],
|
|
5531
|
-
let
|
|
6167
|
+
St = mt([
|
|
6168
|
+
p("vox-timeline")
|
|
6169
|
+
], St);
|
|
6170
|
+
let Ve = class extends h {
|
|
5532
6171
|
constructor() {
|
|
5533
6172
|
super(...arguments), this.heading = "", this.date = "";
|
|
5534
6173
|
}
|
|
5535
6174
|
render() {
|
|
5536
|
-
return
|
|
6175
|
+
return l`
|
|
5537
6176
|
<div class="item">
|
|
5538
6177
|
<span class="dot" aria-hidden="true"></span>
|
|
5539
|
-
${this.date ?
|
|
6178
|
+
${this.date ? l`<div class="date">${this.date}</div>` : x}
|
|
5540
6179
|
<h3 class="heading">${this.heading}</h3>
|
|
5541
6180
|
<div class="body"><slot></slot></div>
|
|
5542
6181
|
</div>
|
|
5543
6182
|
`;
|
|
5544
6183
|
}
|
|
5545
6184
|
};
|
|
5546
|
-
|
|
6185
|
+
Ve.styles = d`
|
|
5547
6186
|
:host {
|
|
5548
6187
|
display: block;
|
|
5549
6188
|
font-family: var(--vox-font-family-base);
|
|
@@ -5593,69 +6232,70 @@ ke.styles = d`
|
|
|
5593
6232
|
color: var(--vox-color-text-2);
|
|
5594
6233
|
}
|
|
5595
6234
|
`;
|
|
5596
|
-
|
|
6235
|
+
mt([
|
|
5597
6236
|
n()
|
|
5598
|
-
],
|
|
5599
|
-
|
|
6237
|
+
], Ve.prototype, "heading", 2);
|
|
6238
|
+
mt([
|
|
5600
6239
|
n()
|
|
5601
|
-
],
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
],
|
|
6240
|
+
], Ve.prototype, "date", 2);
|
|
6241
|
+
Ve = mt([
|
|
6242
|
+
p("vox-timeline-item")
|
|
6243
|
+
], Ve);
|
|
5605
6244
|
export {
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
6245
|
+
st as VoxAccordion,
|
|
6246
|
+
Ae as VoxAccordionItem,
|
|
6247
|
+
U as VoxAlert,
|
|
6248
|
+
B as VoxAvatar,
|
|
6249
|
+
at as VoxBadge,
|
|
6250
|
+
ye as VoxBillboard,
|
|
6251
|
+
Mt as VoxBreadcrumbs,
|
|
6252
|
+
C as VoxButton,
|
|
6253
|
+
Pe as VoxCalendarTile,
|
|
6254
|
+
ke as VoxCallout,
|
|
6255
|
+
re as VoxCard,
|
|
6256
|
+
fe as VoxCheckbox,
|
|
6257
|
+
$ as VoxCodeBlock,
|
|
6258
|
+
xe as VoxCta,
|
|
6259
|
+
it as VoxCtaBand,
|
|
6260
|
+
R as VoxDialog,
|
|
6261
|
+
Oe as VoxDisclosure,
|
|
6262
|
+
Me as VoxDropdown,
|
|
6263
|
+
nt as VoxEmptyState,
|
|
6264
|
+
L as VoxFileInput,
|
|
6265
|
+
kt as VoxFooter,
|
|
6266
|
+
lt as VoxFooterColumn,
|
|
6267
|
+
se as VoxGrid,
|
|
6268
|
+
te as VoxHeader,
|
|
6269
|
+
Le as VoxHero,
|
|
6270
|
+
Q as VoxIcon,
|
|
6271
|
+
E as VoxInput,
|
|
6272
|
+
Ot as VoxInputGroup,
|
|
6273
|
+
Lt as VoxLinkHub,
|
|
6274
|
+
Ee as VoxLinkHubItem,
|
|
6275
|
+
Se as VoxLoader,
|
|
6276
|
+
ct as VoxPagination,
|
|
6277
|
+
je as VoxQuote,
|
|
6278
|
+
ee as VoxRadio,
|
|
6279
|
+
tt as VoxRadioGroup,
|
|
6280
|
+
ge as VoxSelect,
|
|
6281
|
+
N as VoxSeriesNav,
|
|
6282
|
+
oe as VoxSidenav,
|
|
6283
|
+
me as VoxSidenavGroup,
|
|
6284
|
+
$e as VoxSidenavItem,
|
|
6285
|
+
I as VoxSponsor,
|
|
6286
|
+
dt as VoxSponsorTier,
|
|
6287
|
+
ze as VoxStat,
|
|
6288
|
+
ae as VoxStep,
|
|
6289
|
+
Et as VoxStepIndicator,
|
|
6290
|
+
ot as VoxSubnav,
|
|
6291
|
+
be as VoxSwitch,
|
|
6292
|
+
we as VoxTab,
|
|
6293
|
+
_e as VoxTabPanel,
|
|
6294
|
+
At as VoxTabs,
|
|
6295
|
+
T as VoxTextarea,
|
|
6296
|
+
J as VoxThemeToggle,
|
|
6297
|
+
St as VoxTimeline,
|
|
6298
|
+
Ve as VoxTimelineItem,
|
|
6299
|
+
rt as VoxToc,
|
|
6300
|
+
Ce as VoxTocItem
|
|
5661
6301
|
};
|