@supersoniks/concorde 3.1.43 → 3.1.44
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/build-infos.json +1 -1
- package/concorde-core.bundle.js +99 -96
- package/concorde-core.es.js +390 -377
- package/dist/concorde-core.bundle.js +99 -96
- package/dist/concorde-core.es.js +390 -377
- package/package.json +1 -1
- package/src/core/components/functional/translation/translation.ts +2 -1
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +14 -1
- package/src/core/directives/DataProvider.ts +1 -1
- package/src/core/mixins/FormElement.ts +2 -2
package/concorde-core.es.js
CHANGED
|
@@ -162,25 +162,25 @@ let As = class {
|
|
|
162
162
|
setTimeout(s, t);
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
|
-
},
|
|
166
|
-
typeof __SONIC_PREFIX__ < "u" && (
|
|
167
|
-
let
|
|
165
|
+
}, Vr = "sonic";
|
|
166
|
+
typeof __SONIC_PREFIX__ < "u" && (Vr = __SONIC_PREFIX__);
|
|
167
|
+
let rr = Vr.replace(
|
|
168
168
|
/-([a-z])/g,
|
|
169
169
|
(r) => r[1].toUpperCase()
|
|
170
170
|
);
|
|
171
|
-
const Cs =
|
|
171
|
+
const Cs = rr.charAt(0).toUpperCase() + rr.slice(1);
|
|
172
172
|
function ys(r) {
|
|
173
173
|
return Object.prototype.hasOwnProperty.call(
|
|
174
174
|
r,
|
|
175
175
|
"__value"
|
|
176
176
|
);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function We(r) {
|
|
179
179
|
return typeof r == "object" && r != null;
|
|
180
180
|
}
|
|
181
181
|
let Ee = "sonic";
|
|
182
182
|
typeof __SONIC_PREFIX__ > "u" && (Ee = "sonic" + Math.floor(Math.random() * 1e6));
|
|
183
|
-
const
|
|
183
|
+
const ti = Ee == "sonic" ? "publisher-proxies-data" : Ee + "-publisher-proxies-data";
|
|
184
184
|
var Ot;
|
|
185
185
|
let Ni = (Ot = class {
|
|
186
186
|
constructor(t, s, i) {
|
|
@@ -343,7 +343,7 @@ let Ni = (Ot = class {
|
|
|
343
343
|
var e, o, n;
|
|
344
344
|
if (this._value_ === t || this._value_ && t && ys(this._value_) && ys(t) && this._value_.__value === t.__value)
|
|
345
345
|
return !0;
|
|
346
|
-
this._value_ =
|
|
346
|
+
this._value_ = We(t) ? t : { __value: t }, this._cachedGet_ = void 0;
|
|
347
347
|
const i = ys(this._value_);
|
|
348
348
|
if (this._parentKey_ && this.parent) {
|
|
349
349
|
const a = ys(this._value_) ? this._value_.__value : this._value_;
|
|
@@ -370,9 +370,9 @@ let Ni = (Ot = class {
|
|
|
370
370
|
}), this._publishAssignement_(), this.parent && this._parentKey_ && this.parent._publishDynamicFilling_(
|
|
371
371
|
this._parentKey_,
|
|
372
372
|
this._value_
|
|
373
|
-
),
|
|
373
|
+
), We(this._value_))
|
|
374
374
|
for (const a in this._value_) {
|
|
375
|
-
const c = t[a], d =
|
|
375
|
+
const c = t[a], d = We(c) ? c : { __value: c };
|
|
376
376
|
if (!this._proxies_.has(a)) {
|
|
377
377
|
this._publishDynamicFilling_(a, c);
|
|
378
378
|
continue;
|
|
@@ -406,7 +406,7 @@ let T = (k = class {
|
|
|
406
406
|
return new Promise((t) => {
|
|
407
407
|
(async () => {
|
|
408
408
|
try {
|
|
409
|
-
let i = localStorage.getItem(
|
|
409
|
+
let i = localStorage.getItem(ti), e = null;
|
|
410
410
|
if (i && (e = await this.decompress(i, "gzip")), e)
|
|
411
411
|
try {
|
|
412
412
|
this.localStorageData = JSON.parse(e);
|
|
@@ -414,7 +414,7 @@ let T = (k = class {
|
|
|
414
414
|
this.localStorageData = {};
|
|
415
415
|
}
|
|
416
416
|
else
|
|
417
|
-
i = await this.compress("{}", "gzip"), localStorage.setItem(
|
|
417
|
+
i = await this.compress("{}", "gzip"), localStorage.setItem(ti, i), this.localStorageData = {};
|
|
418
418
|
const o = (/* @__PURE__ */ new Date()).getTime() - 1e3 * 60 * 60 * 12;
|
|
419
419
|
for (const n in this.localStorageData)
|
|
420
420
|
this.localStorageData[n].lastModifiationMS < o && delete this.localStorageData[n];
|
|
@@ -479,7 +479,7 @@ let T = (k = class {
|
|
|
479
479
|
get(t, s) {
|
|
480
480
|
const i = (s == null ? void 0 : s.localStorageMode) === "enabled";
|
|
481
481
|
if (!this.publishers.has(t)) {
|
|
482
|
-
const o = {}, n = new
|
|
482
|
+
const o = {}, n = new Xe(o);
|
|
483
483
|
this.set(t, n);
|
|
484
484
|
}
|
|
485
485
|
const e = this.publishers.get(t);
|
|
@@ -527,7 +527,7 @@ let T = (k = class {
|
|
|
527
527
|
JSON.stringify(this.localStorageData),
|
|
528
528
|
"gzip"
|
|
529
529
|
);
|
|
530
|
-
localStorage.setItem(
|
|
530
|
+
localStorage.setItem(ti, e);
|
|
531
531
|
}
|
|
532
532
|
if (k.saving = !1, k.changed) {
|
|
533
533
|
k.saveId++;
|
|
@@ -556,7 +556,7 @@ let T = (k = class {
|
|
|
556
556
|
const h = await new Response(a.readable).arrayBuffer();
|
|
557
557
|
return new TextDecoder().decode(h);
|
|
558
558
|
}
|
|
559
|
-
}, k.buildDate = "Fri Nov 15 2024
|
|
559
|
+
}, k.buildDate = "Fri Nov 15 2024 11:59:24 GMT+0100 (Central European Standard Time)", k.changed = !1, k.saving = !1, k.saveId = 0, k.instance = null, k.instances = /* @__PURE__ */ new Map(), k.modifiedCollectore = [], k);
|
|
560
560
|
if (typeof window < "u") {
|
|
561
561
|
const r = window;
|
|
562
562
|
r[Cs + "PublisherManager"] = r[Cs + "PublisherManager"] || T;
|
|
@@ -603,7 +603,7 @@ const No = /* @__PURE__ */ new Set([
|
|
|
603
603
|
"_instanceCounter_",
|
|
604
604
|
"_assignmentId_"
|
|
605
605
|
]);
|
|
606
|
-
class
|
|
606
|
+
class Xe extends Ni {
|
|
607
607
|
constructor(t, s = null, i) {
|
|
608
608
|
super(t, s, i);
|
|
609
609
|
const e = new Proxy(this, {
|
|
@@ -617,8 +617,8 @@ class Ne extends Ni {
|
|
|
617
617
|
if (n == Symbol.toPrimitive)
|
|
618
618
|
return () => e.get();
|
|
619
619
|
if (!o._proxies_.has(n)) {
|
|
620
|
-
const a = o._value_[n], c = new
|
|
621
|
-
|
|
620
|
+
const a = o._value_[n], c = new Xe(
|
|
621
|
+
We(a) ? a : { __value: a },
|
|
622
622
|
o,
|
|
623
623
|
n
|
|
624
624
|
);
|
|
@@ -643,10 +643,10 @@ class Ne extends Ni {
|
|
|
643
643
|
if (n == "_instanceCounter_")
|
|
644
644
|
return o._instanceCounter_ = a, !0;
|
|
645
645
|
if (!o._proxies_.has(n)) {
|
|
646
|
-
const d = new
|
|
646
|
+
const d = new Xe({}, o, n);
|
|
647
647
|
d._proxies_.set("_parent_", e), o._proxies_.set(n, d);
|
|
648
648
|
}
|
|
649
|
-
return o._value_[n] !== a && (o._value_[n] = a, o._publishDynamicFilling_(n, a), (h = o._proxies_.get(n)) == null || h.set(
|
|
649
|
+
return o._value_[n] !== a && (o._value_[n] = a, o._publishDynamicFilling_(n, a), (h = o._proxies_.get(n)) == null || h.set(We(a) ? a : { __value: a })), !0;
|
|
650
650
|
},
|
|
651
651
|
/**
|
|
652
652
|
* Autres propriétés classiques d'un objet implémentées par le proxy
|
|
@@ -703,7 +703,7 @@ try {
|
|
|
703
703
|
} catch {
|
|
704
704
|
}
|
|
705
705
|
var L;
|
|
706
|
-
let
|
|
706
|
+
let Bs = (L = class {
|
|
707
707
|
static disable() {
|
|
708
708
|
this.enabled && (this.enabled = !1, Array.from(L.observedElements.keys()).forEach(
|
|
709
709
|
(t) => L.unObserve(t)
|
|
@@ -857,8 +857,8 @@ let Hs = (L = class {
|
|
|
857
857
|
}), L.publisherListeners.set(t, o);
|
|
858
858
|
}
|
|
859
859
|
}, L.observedElements = /* @__PURE__ */ new Map(), L.enabled = !0, L.publisherListeners = /* @__PURE__ */ new Map(), L);
|
|
860
|
-
|
|
861
|
-
window.SonicDataBindObserver || (window.SonicDataBindObserver =
|
|
860
|
+
Bs.observe(document.documentElement);
|
|
861
|
+
window.SonicDataBindObserver || (window.SonicDataBindObserver = Bs);
|
|
862
862
|
let J = class Ut {
|
|
863
863
|
/**
|
|
864
864
|
* Effectue une comparaison d'égalité non profonde entre deux objets.
|
|
@@ -956,8 +956,8 @@ const w = (r) => (t, s) => {
|
|
|
956
956
|
* Copyright 2019 Google LLC
|
|
957
957
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
958
958
|
*/
|
|
959
|
-
const xs = globalThis, Ti = xs.ShadowRoot && (xs.ShadyCSS === void 0 || xs.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Mi = Symbol(),
|
|
960
|
-
let
|
|
959
|
+
const xs = globalThis, Ti = xs.ShadowRoot && (xs.ShadyCSS === void 0 || xs.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Mi = Symbol(), or = /* @__PURE__ */ new WeakMap();
|
|
960
|
+
let Hr = class {
|
|
961
961
|
constructor(t, s, i) {
|
|
962
962
|
if (this._$cssResult$ = !0, i !== Mi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
963
963
|
this.cssText = t, this.t = s;
|
|
@@ -967,7 +967,7 @@ let Vr = class {
|
|
|
967
967
|
const s = this.t;
|
|
968
968
|
if (Ti && t === void 0) {
|
|
969
969
|
const i = s !== void 0 && s.length === 1;
|
|
970
|
-
i && (t =
|
|
970
|
+
i && (t = or.get(s)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && or.set(s, t));
|
|
971
971
|
}
|
|
972
972
|
return t;
|
|
973
973
|
}
|
|
@@ -975,20 +975,20 @@ let Vr = class {
|
|
|
975
975
|
return this.cssText;
|
|
976
976
|
}
|
|
977
977
|
};
|
|
978
|
-
const Mo = (r) => new
|
|
978
|
+
const Mo = (r) => new Hr(typeof r == "string" ? r : r + "", void 0, Mi), x = (r, ...t) => {
|
|
979
979
|
const s = r.length === 1 ? r[0] : t.reduce((i, e, o) => i + ((n) => {
|
|
980
980
|
if (n._$cssResult$ === !0) return n.cssText;
|
|
981
981
|
if (typeof n == "number") return n;
|
|
982
982
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
983
983
|
})(e) + r[o + 1], r[0]);
|
|
984
|
-
return new
|
|
984
|
+
return new Hr(s, r, Mi);
|
|
985
985
|
}, Io = (r, t) => {
|
|
986
986
|
if (Ti) r.adoptedStyleSheets = t.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet);
|
|
987
987
|
else for (const s of t) {
|
|
988
988
|
const i = document.createElement("style"), e = xs.litNonce;
|
|
989
989
|
e !== void 0 && i.setAttribute("nonce", e), i.textContent = s.cssText, r.appendChild(i);
|
|
990
990
|
}
|
|
991
|
-
},
|
|
991
|
+
}, nr = Ti ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
|
992
992
|
let s = "";
|
|
993
993
|
for (const i of t.cssRules) s += i.cssText;
|
|
994
994
|
return Mo(s);
|
|
@@ -998,7 +998,7 @@ const Mo = (r) => new Vr(typeof r == "string" ? r : r + "", void 0, Mi), x = (r,
|
|
|
998
998
|
* Copyright 2017 Google LLC
|
|
999
999
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1000
1000
|
*/
|
|
1001
|
-
const { is: jo, defineProperty: Fo, getOwnPropertyDescriptor: zo, getOwnPropertyNames: Ro, getOwnPropertySymbols: Uo, getPrototypeOf: Vo } = Object, Yt = globalThis,
|
|
1001
|
+
const { is: jo, defineProperty: Fo, getOwnPropertyDescriptor: zo, getOwnPropertyNames: Ro, getOwnPropertySymbols: Uo, getPrototypeOf: Vo } = Object, Yt = globalThis, ar = Yt.trustedTypes, Ho = ar ? ar.emptyScript : "", ei = Yt.reactiveElementPolyfillSupport, Ke = (r, t) => r, Ss = { toAttribute(r, t) {
|
|
1002
1002
|
switch (t) {
|
|
1003
1003
|
case Boolean:
|
|
1004
1004
|
r = r ? Ho : null;
|
|
@@ -1026,7 +1026,7 @@ const { is: jo, defineProperty: Fo, getOwnPropertyDescriptor: zo, getOwnProperty
|
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
1028
1028
|
return s;
|
|
1029
|
-
} }, Ii = (r, t) => !jo(r, t),
|
|
1029
|
+
} }, Ii = (r, t) => !jo(r, t), lr = { attribute: !0, type: String, converter: Ss, reflect: !1, hasChanged: Ii };
|
|
1030
1030
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Yt.litPropertyMetadata ?? (Yt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1031
1031
|
let ke = class extends HTMLElement {
|
|
1032
1032
|
static addInitializer(t) {
|
|
@@ -1035,7 +1035,7 @@ let ke = class extends HTMLElement {
|
|
|
1035
1035
|
static get observedAttributes() {
|
|
1036
1036
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
1037
1037
|
}
|
|
1038
|
-
static createProperty(t, s =
|
|
1038
|
+
static createProperty(t, s = lr) {
|
|
1039
1039
|
if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
|
|
1040
1040
|
const i = Symbol(), e = this.getPropertyDescriptor(t, i, s);
|
|
1041
1041
|
e !== void 0 && Fo(this.prototype, t, e);
|
|
@@ -1055,16 +1055,16 @@ let ke = class extends HTMLElement {
|
|
|
1055
1055
|
}, configurable: !0, enumerable: !0 };
|
|
1056
1056
|
}
|
|
1057
1057
|
static getPropertyOptions(t) {
|
|
1058
|
-
return this.elementProperties.get(t) ??
|
|
1058
|
+
return this.elementProperties.get(t) ?? lr;
|
|
1059
1059
|
}
|
|
1060
1060
|
static _$Ei() {
|
|
1061
|
-
if (this.hasOwnProperty(
|
|
1061
|
+
if (this.hasOwnProperty(Ke("elementProperties"))) return;
|
|
1062
1062
|
const t = Vo(this);
|
|
1063
1063
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
1064
1064
|
}
|
|
1065
1065
|
static finalize() {
|
|
1066
|
-
if (this.hasOwnProperty(
|
|
1067
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
1066
|
+
if (this.hasOwnProperty(Ke("finalized"))) return;
|
|
1067
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Ke("properties"))) {
|
|
1068
1068
|
const s = this.properties, i = [...Ro(s), ...Uo(s)];
|
|
1069
1069
|
for (const e of i) this.createProperty(e, s[e]);
|
|
1070
1070
|
}
|
|
@@ -1084,8 +1084,8 @@ let ke = class extends HTMLElement {
|
|
|
1084
1084
|
const s = [];
|
|
1085
1085
|
if (Array.isArray(t)) {
|
|
1086
1086
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
1087
|
-
for (const e of i) s.unshift(
|
|
1088
|
-
} else t !== void 0 && s.push(
|
|
1087
|
+
for (const e of i) s.unshift(nr(e));
|
|
1088
|
+
} else t !== void 0 && s.push(nr(t));
|
|
1089
1089
|
return s;
|
|
1090
1090
|
}
|
|
1091
1091
|
static _$Eu(t, s) {
|
|
@@ -1226,7 +1226,7 @@ let ke = class extends HTMLElement {
|
|
|
1226
1226
|
firstUpdated(t) {
|
|
1227
1227
|
}
|
|
1228
1228
|
};
|
|
1229
|
-
ke.elementStyles = [], ke.shadowRootOptions = { mode: "open" }, ke[
|
|
1229
|
+
ke.elementStyles = [], ke.shadowRootOptions = { mode: "open" }, ke[Ke("elementProperties")] = /* @__PURE__ */ new Map(), ke[Ke("finalized")] = /* @__PURE__ */ new Map(), ei == null || ei({ ReactiveElement: ke }), (Yt.reactiveElementVersions ?? (Yt.reactiveElementVersions = [])).push("2.0.4");
|
|
1230
1230
|
/**
|
|
1231
1231
|
* @license
|
|
1232
1232
|
* Copyright 2017 Google LLC
|
|
@@ -1324,32 +1324,32 @@ function ht(r) {
|
|
|
1324
1324
|
* Copyright 2017 Google LLC
|
|
1325
1325
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1326
1326
|
*/
|
|
1327
|
-
const
|
|
1328
|
-
\f\r]`,
|
|
1329
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
1330
|
-
function
|
|
1327
|
+
const Ye = globalThis, Os = Ye.trustedTypes, cr = Os ? Os.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Fi = "$lit$", Vt = `lit$${Math.random().toFixed(9).slice(2)}$`, zi = "?" + Vt, Wo = `<${zi}>`, ue = document, Je = () => ue.createComment(""), ts = (r) => r === null || typeof r != "object" && typeof r != "function", Ri = Array.isArray, Br = (r) => Ri(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", si = `[
|
|
1328
|
+
\f\r]`, Ve = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, hr = /-->/g, dr = />/g, oe = RegExp(`>|${si}(?:([^\\s"'>=/]+)(${si}*=${si}*(?:[^
|
|
1329
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), pr = /'/g, ur = /"/g, qr = /^(?:script|style|textarea|title)$/i, Ko = (r) => (t, ...s) => ({ _$litType$: r, strings: t, values: s }), g = Ko(1), yt = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), fr = /* @__PURE__ */ new WeakMap(), he = ue.createTreeWalker(ue, 129);
|
|
1330
|
+
function Wr(r, t) {
|
|
1331
1331
|
if (!Ri(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1332
|
-
return
|
|
1332
|
+
return cr !== void 0 ? cr.createHTML(t) : t;
|
|
1333
1333
|
}
|
|
1334
|
-
const
|
|
1334
|
+
const Kr = (r, t) => {
|
|
1335
1335
|
const s = r.length - 1, i = [];
|
|
1336
|
-
let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
1336
|
+
let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = Ve;
|
|
1337
1337
|
for (let a = 0; a < s; a++) {
|
|
1338
1338
|
const c = r[a];
|
|
1339
1339
|
let h, d, p = -1, m = 0;
|
|
1340
|
-
for (; m < c.length && (n.lastIndex = m, d = n.exec(c), d !== null); ) m = n.lastIndex, n ===
|
|
1340
|
+
for (; m < c.length && (n.lastIndex = m, d = n.exec(c), d !== null); ) m = n.lastIndex, n === Ve ? d[1] === "!--" ? n = hr : d[1] !== void 0 ? n = dr : d[2] !== void 0 ? (qr.test(d[2]) && (e = RegExp("</" + d[2], "g")), n = oe) : d[3] !== void 0 && (n = oe) : n === oe ? d[0] === ">" ? (n = e ?? Ve, p = -1) : d[1] === void 0 ? p = -2 : (p = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? oe : d[3] === '"' ? ur : pr) : n === ur || n === pr ? n = oe : n === hr || n === dr ? n = Ve : (n = oe, e = void 0);
|
|
1341
1341
|
const b = n === oe && r[a + 1].startsWith("/>") ? " " : "";
|
|
1342
|
-
o += n ===
|
|
1342
|
+
o += n === Ve ? c + Wo : p >= 0 ? (i.push(h), c.slice(0, p) + Fi + c.slice(p) + Vt + b) : c + Vt + (p === -2 ? a : b);
|
|
1343
1343
|
}
|
|
1344
|
-
return [
|
|
1344
|
+
return [Wr(r, o + (r[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
1345
1345
|
};
|
|
1346
|
-
let
|
|
1346
|
+
let pi = class Yr {
|
|
1347
1347
|
constructor({ strings: t, _$litType$: s }, i) {
|
|
1348
1348
|
let e;
|
|
1349
1349
|
this.parts = [];
|
|
1350
1350
|
let o = 0, n = 0;
|
|
1351
|
-
const a = t.length - 1, c = this.parts, [h, d] =
|
|
1352
|
-
if (this.el =
|
|
1351
|
+
const a = t.length - 1, c = this.parts, [h, d] = Kr(t, s);
|
|
1352
|
+
if (this.el = Yr.createElement(h, i), he.currentNode = this.el.content, s === 2 || s === 3) {
|
|
1353
1353
|
const p = this.el.content.firstChild;
|
|
1354
1354
|
p.replaceWith(...p.childNodes);
|
|
1355
1355
|
}
|
|
@@ -1357,9 +1357,9 @@ let di = class Kr {
|
|
|
1357
1357
|
if (e.nodeType === 1) {
|
|
1358
1358
|
if (e.hasAttributes()) for (const p of e.getAttributeNames()) if (p.endsWith(Fi)) {
|
|
1359
1359
|
const m = d[n++], b = e.getAttribute(p).split(Vt), v = /([.?@])?(.*)/.exec(m);
|
|
1360
|
-
c.push({ type: 1, index: o, name: v[2], strings: b, ctor: v[1] === "." ?
|
|
1360
|
+
c.push({ type: 1, index: o, name: v[2], strings: b, ctor: v[1] === "." ? Qr : v[1] === "?" ? Xr : v[1] === "@" ? Jr : ls }), e.removeAttribute(p);
|
|
1361
1361
|
} else p.startsWith(Vt) && (c.push({ type: 6, index: o }), e.removeAttribute(p));
|
|
1362
|
-
if (
|
|
1362
|
+
if (qr.test(e.tagName)) {
|
|
1363
1363
|
const p = e.textContent.split(Vt), m = p.length - 1;
|
|
1364
1364
|
if (m > 0) {
|
|
1365
1365
|
e.textContent = Os ? Os.emptyScript : "";
|
|
@@ -1387,7 +1387,7 @@ function fe(r, t, s = r, i) {
|
|
|
1387
1387
|
const o = ts(t) ? void 0 : t._$litDirective$;
|
|
1388
1388
|
return (e == null ? void 0 : e.constructor) !== o && ((a = e == null ? void 0 : e._$AO) == null || a.call(e, !1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, s, i)), i !== void 0 ? (s._$Co ?? (s._$Co = []))[i] = e : s._$Cl = e), e !== void 0 && (t = fe(r, e._$AS(r, t.values), e, i)), t;
|
|
1389
1389
|
}
|
|
1390
|
-
let
|
|
1390
|
+
let Zr = class {
|
|
1391
1391
|
constructor(t, s) {
|
|
1392
1392
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = s;
|
|
1393
1393
|
}
|
|
@@ -1404,7 +1404,7 @@ let Yr = class {
|
|
|
1404
1404
|
for (; c !== void 0; ) {
|
|
1405
1405
|
if (n === c.index) {
|
|
1406
1406
|
let h;
|
|
1407
|
-
c.type === 2 ? h = new
|
|
1407
|
+
c.type === 2 ? h = new qs(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new to(o, this, t)), this._$AV.push(h), c = i[++a];
|
|
1408
1408
|
}
|
|
1409
1409
|
n !== (c == null ? void 0 : c.index) && (o = he.nextNode(), n++);
|
|
1410
1410
|
}
|
|
@@ -1414,7 +1414,7 @@ let Yr = class {
|
|
|
1414
1414
|
let s = 0;
|
|
1415
1415
|
for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++;
|
|
1416
1416
|
}
|
|
1417
|
-
},
|
|
1417
|
+
}, qs = class Gr {
|
|
1418
1418
|
get _$AU() {
|
|
1419
1419
|
var t;
|
|
1420
1420
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -1434,7 +1434,7 @@ let Yr = class {
|
|
|
1434
1434
|
return this._$AB;
|
|
1435
1435
|
}
|
|
1436
1436
|
_$AI(t, s = this) {
|
|
1437
|
-
t = fe(this, t, s), ts(t) ? t === A || t == null || t === "" ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== yt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
1437
|
+
t = fe(this, t, s), ts(t) ? t === A || t == null || t === "" ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== yt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Br(t) ? this.k(t) : this._(t);
|
|
1438
1438
|
}
|
|
1439
1439
|
O(t) {
|
|
1440
1440
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1447,22 +1447,22 @@ let Yr = class {
|
|
|
1447
1447
|
}
|
|
1448
1448
|
$(t) {
|
|
1449
1449
|
var o;
|
|
1450
|
-
const { values: s, _$litType$: i } = t, e = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
1450
|
+
const { values: s, _$litType$: i } = t, e = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = pi.createElement(Wr(i.h, i.h[0]), this.options)), i);
|
|
1451
1451
|
if (((o = this._$AH) == null ? void 0 : o._$AD) === e) this._$AH.p(s);
|
|
1452
1452
|
else {
|
|
1453
|
-
const n = new
|
|
1453
|
+
const n = new Zr(e, this), a = n.u(this.options);
|
|
1454
1454
|
n.p(s), this.T(a), this._$AH = n;
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
1457
|
_$AC(t) {
|
|
1458
|
-
let s =
|
|
1459
|
-
return s === void 0 &&
|
|
1458
|
+
let s = fr.get(t.strings);
|
|
1459
|
+
return s === void 0 && fr.set(t.strings, s = new pi(t)), s;
|
|
1460
1460
|
}
|
|
1461
1461
|
k(t) {
|
|
1462
1462
|
Ri(this._$AH) || (this._$AH = [], this._$AR());
|
|
1463
1463
|
const s = this._$AH;
|
|
1464
1464
|
let i, e = 0;
|
|
1465
|
-
for (const o of t) e === s.length ? s.push(i = new
|
|
1465
|
+
for (const o of t) e === s.length ? s.push(i = new Gr(this.O(Je()), this.O(Je()), this, this.options)) : i = s[e], i._$AI(o), e++;
|
|
1466
1466
|
e < s.length && (this._$AR(i && i._$AB.nextSibling, e), s.length = e);
|
|
1467
1467
|
}
|
|
1468
1468
|
_$AR(t = this._$AA.nextSibling, s) {
|
|
@@ -1501,7 +1501,7 @@ let Yr = class {
|
|
|
1501
1501
|
t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
1502
1502
|
}
|
|
1503
1503
|
};
|
|
1504
|
-
class
|
|
1504
|
+
class Qr extends ls {
|
|
1505
1505
|
constructor() {
|
|
1506
1506
|
super(...arguments), this.type = 3;
|
|
1507
1507
|
}
|
|
@@ -1509,7 +1509,7 @@ class Gr extends ls {
|
|
|
1509
1509
|
this.element[this.name] = t === A ? void 0 : t;
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|
|
1512
|
-
let
|
|
1512
|
+
let Xr = class extends ls {
|
|
1513
1513
|
constructor() {
|
|
1514
1514
|
super(...arguments), this.type = 4;
|
|
1515
1515
|
}
|
|
@@ -1517,7 +1517,7 @@ let Qr = class extends ls {
|
|
|
1517
1517
|
this.element.toggleAttribute(this.name, !!t && t !== A);
|
|
1518
1518
|
}
|
|
1519
1519
|
};
|
|
1520
|
-
class
|
|
1520
|
+
class Jr extends ls {
|
|
1521
1521
|
constructor(t, s, i, e, o) {
|
|
1522
1522
|
super(t, s, i, e, o), this.type = 5;
|
|
1523
1523
|
}
|
|
@@ -1531,7 +1531,7 @@ class Xr extends ls {
|
|
|
1531
1531
|
typeof this._$AH == "function" ? this._$AH.call(((s = this.options) == null ? void 0 : s.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
1532
1532
|
}
|
|
1533
1533
|
}
|
|
1534
|
-
let
|
|
1534
|
+
let to = class {
|
|
1535
1535
|
constructor(t, s, i) {
|
|
1536
1536
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = s, this.options = i;
|
|
1537
1537
|
}
|
|
@@ -1542,14 +1542,14 @@ let Jr = class {
|
|
|
1542
1542
|
fe(this, t);
|
|
1543
1543
|
}
|
|
1544
1544
|
};
|
|
1545
|
-
const Yo = { M: Fi, P: Vt, A: zi, C: 1, L:
|
|
1546
|
-
|
|
1545
|
+
const Yo = { M: Fi, P: Vt, A: zi, C: 1, L: Kr, R: Zr, D: Br, V: fe, I: qs, H: ls, N: Xr, U: Jr, B: Qr, F: to }, ii = Ye.litHtmlPolyfillSupport;
|
|
1546
|
+
ii == null || ii(pi, qs), (Ye.litHtmlVersions ?? (Ye.litHtmlVersions = [])).push("3.2.1");
|
|
1547
1547
|
const Zo = (r, t, s) => {
|
|
1548
1548
|
const i = (s == null ? void 0 : s.renderBefore) ?? t;
|
|
1549
1549
|
let e = i._$litPart$;
|
|
1550
1550
|
if (e === void 0) {
|
|
1551
1551
|
const o = (s == null ? void 0 : s.renderBefore) ?? null;
|
|
1552
|
-
i._$litPart$ = e = new
|
|
1552
|
+
i._$litPart$ = e = new qs(t.insertBefore(Je(), o), o, void 0, s ?? {});
|
|
1553
1553
|
}
|
|
1554
1554
|
return e._$AI(r), e;
|
|
1555
1555
|
};
|
|
@@ -1558,11 +1558,11 @@ const Zo = (r, t, s) => {
|
|
|
1558
1558
|
* Copyright 2020 Google LLC
|
|
1559
1559
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1560
1560
|
*/
|
|
1561
|
-
const { I: Go } = Yo, Qo = (r) => r.strings === void 0,
|
|
1561
|
+
const { I: Go } = Yo, Qo = (r) => r.strings === void 0, gr = () => document.createComment(""), He = (r, t, s) => {
|
|
1562
1562
|
var o;
|
|
1563
1563
|
const i = r._$AA.parentNode, e = t === void 0 ? r._$AB : t._$AA;
|
|
1564
1564
|
if (s === void 0) {
|
|
1565
|
-
const n = i.insertBefore(
|
|
1565
|
+
const n = i.insertBefore(gr(), e), a = i.insertBefore(gr(), e);
|
|
1566
1566
|
s = new Go(n, a, r, r.options);
|
|
1567
1567
|
} else {
|
|
1568
1568
|
const n = s._$AB.nextSibling, a = s._$AM, c = a !== r;
|
|
@@ -1579,7 +1579,7 @@ const { I: Go } = Yo, Qo = (r) => r.strings === void 0, fr = () => document.crea
|
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
1581
1581
|
return s;
|
|
1582
|
-
}, ne = (r, t, s = r) => (r._$AI(t, s), r), Xo = {}, Jo = (r, t = Xo) => r._$AH = t, tn = (r) => r._$AH,
|
|
1582
|
+
}, ne = (r, t, s = r) => (r._$AI(t, s), r), Xo = {}, Jo = (r, t = Xo) => r._$AH = t, tn = (r) => r._$AH, ri = (r) => {
|
|
1583
1583
|
var i;
|
|
1584
1584
|
(i = r._$AP) == null || i.call(r, !1, !0);
|
|
1585
1585
|
let t = r._$AA;
|
|
@@ -1594,8 +1594,8 @@ const { I: Go } = Yo, Qo = (r) => r.strings === void 0, fr = () => document.crea
|
|
|
1594
1594
|
* Copyright 2017 Google LLC
|
|
1595
1595
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1596
1596
|
*/
|
|
1597
|
-
const
|
|
1598
|
-
let
|
|
1597
|
+
const Me = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Pe = (r) => (...t) => ({ _$litDirective$: r, values: t });
|
|
1598
|
+
let Ie = class {
|
|
1599
1599
|
constructor(t) {
|
|
1600
1600
|
}
|
|
1601
1601
|
get _$AU() {
|
|
@@ -1616,11 +1616,11 @@ let je = class {
|
|
|
1616
1616
|
* Copyright 2017 Google LLC
|
|
1617
1617
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1618
1618
|
*/
|
|
1619
|
-
const
|
|
1619
|
+
const Ze = (r, t) => {
|
|
1620
1620
|
var i;
|
|
1621
1621
|
const s = r._$AN;
|
|
1622
1622
|
if (s === void 0) return !1;
|
|
1623
|
-
for (const e of s) (i = e._$AO) == null || i.call(e, t, !1),
|
|
1623
|
+
for (const e of s) (i = e._$AO) == null || i.call(e, t, !1), Ze(e, t);
|
|
1624
1624
|
return !0;
|
|
1625
1625
|
}, Ds = (r) => {
|
|
1626
1626
|
let t, s;
|
|
@@ -1628,7 +1628,7 @@ const Ge = (r, t) => {
|
|
|
1628
1628
|
if ((t = r._$AM) === void 0) break;
|
|
1629
1629
|
s = t._$AN, s.delete(r), r = t;
|
|
1630
1630
|
} while ((s == null ? void 0 : s.size) === 0);
|
|
1631
|
-
},
|
|
1631
|
+
}, eo = (r) => {
|
|
1632
1632
|
for (let t; t = r._$AM; r = t) {
|
|
1633
1633
|
let s = t._$AN;
|
|
1634
1634
|
if (s === void 0) t._$AN = s = /* @__PURE__ */ new Set();
|
|
@@ -1637,27 +1637,27 @@ const Ge = (r, t) => {
|
|
|
1637
1637
|
}
|
|
1638
1638
|
};
|
|
1639
1639
|
function en(r) {
|
|
1640
|
-
this._$AN !== void 0 ? (Ds(this), this._$AM = r,
|
|
1640
|
+
this._$AN !== void 0 ? (Ds(this), this._$AM = r, eo(this)) : this._$AM = r;
|
|
1641
1641
|
}
|
|
1642
1642
|
function sn(r, t = !1, s = 0) {
|
|
1643
1643
|
const i = this._$AH, e = this._$AN;
|
|
1644
|
-
if (e !== void 0 && e.size !== 0) if (t) if (Array.isArray(i)) for (let o = s; o < i.length; o++)
|
|
1645
|
-
else i != null && (
|
|
1646
|
-
else
|
|
1644
|
+
if (e !== void 0 && e.size !== 0) if (t) if (Array.isArray(i)) for (let o = s; o < i.length; o++) Ze(i[o], !1), Ds(i[o]);
|
|
1645
|
+
else i != null && (Ze(i, !1), Ds(i));
|
|
1646
|
+
else Ze(this, r);
|
|
1647
1647
|
}
|
|
1648
1648
|
const rn = (r) => {
|
|
1649
|
-
r.type ==
|
|
1649
|
+
r.type == Me.CHILD && (r._$AP ?? (r._$AP = sn), r._$AQ ?? (r._$AQ = en));
|
|
1650
1650
|
};
|
|
1651
|
-
let
|
|
1651
|
+
let so = class extends Ie {
|
|
1652
1652
|
constructor() {
|
|
1653
1653
|
super(...arguments), this._$AN = void 0;
|
|
1654
1654
|
}
|
|
1655
1655
|
_$AT(t, s, i) {
|
|
1656
|
-
super._$AT(t, s, i),
|
|
1656
|
+
super._$AT(t, s, i), eo(this), this.isConnected = t._$AU;
|
|
1657
1657
|
}
|
|
1658
1658
|
_$AO(t, s = !0) {
|
|
1659
1659
|
var i, e;
|
|
1660
|
-
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (e = this.disconnected) == null || e.call(this)), s && (
|
|
1660
|
+
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (e = this.disconnected) == null || e.call(this)), s && (Ze(this, t), Ds(this));
|
|
1661
1661
|
}
|
|
1662
1662
|
setValue(t) {
|
|
1663
1663
|
if (Qo(this._$Ct)) this._$Ct._$AI(t, this);
|
|
@@ -1701,12 +1701,12 @@ let _ = class extends ke {
|
|
|
1701
1701
|
return yt;
|
|
1702
1702
|
}
|
|
1703
1703
|
};
|
|
1704
|
-
var
|
|
1705
|
-
_._$litElement$ = !0, _.finalized = !0, (
|
|
1706
|
-
const
|
|
1707
|
-
|
|
1704
|
+
var Ur;
|
|
1705
|
+
_._$litElement$ = !0, _.finalized = !0, (Ur = globalThis.litElementHydrateSupport) == null || Ur.call(globalThis, { LitElement: _ });
|
|
1706
|
+
const oi = globalThis.litElementPolyfillSupport;
|
|
1707
|
+
oi == null || oi({ LitElement: _ });
|
|
1708
1708
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
|
1709
|
-
function
|
|
1709
|
+
function Ws(r) {
|
|
1710
1710
|
if (typeof r == "function") {
|
|
1711
1711
|
const t = r;
|
|
1712
1712
|
return T.collectModifiedPublisher(), t(), T.getModifiedPublishers() || /* @__PURE__ */ new Set();
|
|
@@ -1720,7 +1720,7 @@ function qs(r) {
|
|
|
1720
1720
|
}
|
|
1721
1721
|
return /* @__PURE__ */ new Set([r]);
|
|
1722
1722
|
}
|
|
1723
|
-
class on extends
|
|
1723
|
+
class on extends so {
|
|
1724
1724
|
/* eslint-disable @typescript-eslint/no-explicit-any*/
|
|
1725
1725
|
constructor(t) {
|
|
1726
1726
|
var s;
|
|
@@ -1744,7 +1744,7 @@ class on extends eo {
|
|
|
1744
1744
|
this.setValue(t());
|
|
1745
1745
|
} : this.onAssign = (s) => {
|
|
1746
1746
|
this.setValue(s);
|
|
1747
|
-
}, this.observables =
|
|
1747
|
+
}, this.observables = Ws(t), this.observables.forEach((s) => {
|
|
1748
1748
|
s.onAssign(this.onAssign);
|
|
1749
1749
|
});
|
|
1750
1750
|
}
|
|
@@ -1759,19 +1759,19 @@ class on extends eo {
|
|
|
1759
1759
|
this.observable && this.subscribe(this.observable);
|
|
1760
1760
|
}
|
|
1761
1761
|
}
|
|
1762
|
-
const
|
|
1762
|
+
const io = Pe(on), nn = io, an = io, ln = (r) => {
|
|
1763
1763
|
var t;
|
|
1764
|
-
return (t =
|
|
1765
|
-
},
|
|
1766
|
-
const s =
|
|
1764
|
+
return (t = Ws(r).values().next().value) == null ? void 0 : t.get();
|
|
1765
|
+
}, ro = (r, t) => {
|
|
1766
|
+
const s = Ws(r).values().next().value;
|
|
1767
1767
|
if (t !== void 0 && s) {
|
|
1768
1768
|
const i = s.get();
|
|
1769
1769
|
J.isEmpty(i) && s.set(t);
|
|
1770
1770
|
}
|
|
1771
|
-
return s
|
|
1772
|
-
}, cn =
|
|
1771
|
+
return s;
|
|
1772
|
+
}, cn = ro, oo = ro, hn = (r, t) => {
|
|
1773
1773
|
var s;
|
|
1774
|
-
(s =
|
|
1774
|
+
(s = Ws(r).values().next().value) == null || s.set(t);
|
|
1775
1775
|
}, F = class F {
|
|
1776
1776
|
constructor(t) {
|
|
1777
1777
|
this.addHTTPResponse = !1, this.cache = "default", this.isServiceSimulated = !1, this.blockUntilDone = !1, this.serviceURL = t.serviceURL, this.blockUntilDone = t.blockUntilDone || !1, this.serviceURL == "publisher://" && (this.isServiceSimulated = !0), this.serviceURL || (this.serviceURL = document.location.origin), this.userName = t.userName, this.password = t.password, t.token && (this.token = t.token), this.tokenProvider = t.tokenProvider, this.authToken = t.authToken, this.addHTTPResponse = t.addHTTPResponse || !1, this.credentials = t.credentials, this.cache = t.cache || "default";
|
|
@@ -2021,15 +2021,15 @@ const so = Pe(on), nn = so, an = so, ln = (r) => {
|
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
2023
|
F.loadingGetPromises = /* @__PURE__ */ new Map(), F.tokens = /* @__PURE__ */ new Map(), F.invalidTokens = [], F.failledTokenUpdates = /* @__PURE__ */ new Map(), F.firstCallDoneFlags = /* @__PURE__ */ new Map();
|
|
2024
|
-
let
|
|
2024
|
+
let Ne = F;
|
|
2025
2025
|
/**
|
|
2026
2026
|
* @license
|
|
2027
2027
|
* Copyright 2017 Google LLC
|
|
2028
2028
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2029
2029
|
*/
|
|
2030
|
-
let
|
|
2030
|
+
let ui = class extends Ie {
|
|
2031
2031
|
constructor(t) {
|
|
2032
|
-
if (super(t), this.it = A, t.type !==
|
|
2032
|
+
if (super(t), this.it = A, t.type !== Me.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
2033
2033
|
}
|
|
2034
2034
|
render(t) {
|
|
2035
2035
|
if (t === A || t == null) return this._t = void 0, this.it = t;
|
|
@@ -2041,8 +2041,8 @@ let pi = class extends je {
|
|
|
2041
2041
|
return s.raw = s, this._t = { _$litType$: this.constructor.resultType, strings: s, values: [] };
|
|
2042
2042
|
}
|
|
2043
2043
|
};
|
|
2044
|
-
|
|
2045
|
-
const z = Pe(
|
|
2044
|
+
ui.directiveName = "unsafeHTML", ui.resultType = 1;
|
|
2045
|
+
const z = Pe(ui), fi = /* @__PURE__ */ new Map(), mr = (r) => {
|
|
2046
2046
|
if (!r) return null;
|
|
2047
2047
|
const t = st.getApiConfiguration(r), s = st.getAncestorAttributeValue(
|
|
2048
2048
|
r,
|
|
@@ -2056,21 +2056,21 @@ const z = Pe(pi), ui = /* @__PURE__ */ new Map(), gr = (r) => {
|
|
|
2056
2056
|
wordingVersionProvider: i
|
|
2057
2057
|
};
|
|
2058
2058
|
let o = null;
|
|
2059
|
-
for (const [n, a] of
|
|
2059
|
+
for (const [n, a] of fi)
|
|
2060
2060
|
if (J.deepEqual(n, e)) {
|
|
2061
2061
|
o = a;
|
|
2062
2062
|
break;
|
|
2063
2063
|
}
|
|
2064
2064
|
return o || (o = {
|
|
2065
|
-
api: new
|
|
2065
|
+
api: new Ne(t),
|
|
2066
2066
|
keysToTranslate: /* @__PURE__ */ new Set(),
|
|
2067
2067
|
translatedKeys: /* @__PURE__ */ new Set(),
|
|
2068
2068
|
wordingProvider: s,
|
|
2069
2069
|
callIndex: 0,
|
|
2070
2070
|
wordingVersionProvider: i,
|
|
2071
2071
|
apiCallKey: e
|
|
2072
|
-
},
|
|
2073
|
-
},
|
|
2072
|
+
}, fi.set(e, o)), o;
|
|
2073
|
+
}, br = "", V = class V extends so {
|
|
2074
2074
|
/* eslint-disable @typescript-eslint/no-explicit-any*/
|
|
2075
2075
|
constructor(t) {
|
|
2076
2076
|
super(t), this.useUnsafeHTML = !1, this.onAssign = (s) => {
|
|
@@ -2090,19 +2090,19 @@ const z = Pe(pi), ui = /* @__PURE__ */ new Map(), gr = (r) => {
|
|
|
2090
2090
|
V.firstCall = !1, Ei(V.reloadWordings);
|
|
2091
2091
|
const d = Object.keys(V.publisher.get());
|
|
2092
2092
|
for (const p of d)
|
|
2093
|
-
V.publisher.get()[p] ===
|
|
2093
|
+
V.publisher.get()[p] === br && delete V.publisher[p];
|
|
2094
2094
|
}
|
|
2095
2095
|
if (t) {
|
|
2096
2096
|
const d = st.getAncestorAttributeValue(
|
|
2097
2097
|
t,
|
|
2098
2098
|
"wordingVersionProvider"
|
|
2099
2099
|
);
|
|
2100
|
-
d &&
|
|
2100
|
+
d && oo(d).onAssign(
|
|
2101
2101
|
V.handleVersionProvider(t)
|
|
2102
2102
|
);
|
|
2103
2103
|
}
|
|
2104
2104
|
let o = V.publisher.get()["wording_" + s] != null;
|
|
2105
|
-
const n = e ||
|
|
2105
|
+
const n = e || mr(t);
|
|
2106
2106
|
if (!n) return;
|
|
2107
2107
|
if (o && s !== "") {
|
|
2108
2108
|
n.translatedKeys.add(s);
|
|
@@ -2118,7 +2118,7 @@ const z = Pe(pi), ui = /* @__PURE__ */ new Map(), gr = (r) => {
|
|
|
2118
2118
|
}
|
|
2119
2119
|
const h = n.api;
|
|
2120
2120
|
window.queueMicrotask(async () => {
|
|
2121
|
-
if (o = V.publisher["wording_" + s].get() != null, !o && s !== "" && (n.keysToTranslate.add(s), V.publisher["wording_" + s] =
|
|
2121
|
+
if (o = V.publisher["wording_" + s].get() != null, !o && s !== "" && (n.keysToTranslate.add(s), V.publisher["wording_" + s] = br), a !== n.callIndex) return;
|
|
2122
2122
|
const d = Array.from(n.keysToTranslate);
|
|
2123
2123
|
if (!d.length) return;
|
|
2124
2124
|
const p = c.split("?"), m = p.shift(), b = (p.length > 0 ? p.join("?") + "&" : "") + "labels[]=" + d.join("&labels[]="), v = m + "?" + b;
|
|
@@ -2132,12 +2132,12 @@ const z = Pe(pi), ui = /* @__PURE__ */ new Map(), gr = (r) => {
|
|
|
2132
2132
|
});
|
|
2133
2133
|
}
|
|
2134
2134
|
static reloadWordings() {
|
|
2135
|
-
for (const t of
|
|
2135
|
+
for (const t of fi.values())
|
|
2136
2136
|
t.keysToTranslate = new Set(t.translatedKeys), t.keysToTranslate.size > 0 && V.callApi(null, "", !1, t);
|
|
2137
2137
|
}
|
|
2138
2138
|
//check if the wording version has changed
|
|
2139
2139
|
static handleVersionProvider(t) {
|
|
2140
|
-
const s =
|
|
2140
|
+
const s = mr(t), i = (o) => {
|
|
2141
2141
|
};
|
|
2142
2142
|
if (!s) return i;
|
|
2143
2143
|
if (V.versionProviderHandlers.has(s))
|
|
@@ -2185,7 +2185,7 @@ var un = Object.defineProperty, fn = Object.getOwnPropertyDescriptor, Dt = (r, t
|
|
|
2185
2185
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
2186
2186
|
return i && e && un(t, s, e), e;
|
|
2187
2187
|
};
|
|
2188
|
-
let _s = !1,
|
|
2188
|
+
let _s = !1, ni = /* @__PURE__ */ new Set();
|
|
2189
2189
|
const G = (r, t) => {
|
|
2190
2190
|
var e;
|
|
2191
2191
|
const s = (e = class extends r {
|
|
@@ -2258,7 +2258,7 @@ const G = (r, t) => {
|
|
|
2258
2258
|
this.addEventListener("click", (a) => {
|
|
2259
2259
|
a.ctrlKey && (a.preventDefault(), _s = !_s);
|
|
2260
2260
|
}), this.dataProvider && (window[this.dataProvider] = this.publisher), this.addEventListener("mouseover", () => {
|
|
2261
|
-
_s || this.removeDebugger(), document.body.appendChild(this.debug),
|
|
2261
|
+
_s || this.removeDebugger(), document.body.appendChild(this.debug), ni.add(this.debug);
|
|
2262
2262
|
}), this.addEventListener("mouseout", () => {
|
|
2263
2263
|
_s || this.removeDebugger();
|
|
2264
2264
|
}), (n = this.publisher) == null || n.onInternalMutation(() => {
|
|
@@ -2277,9 +2277,9 @@ const G = (r, t) => {
|
|
|
2277
2277
|
}
|
|
2278
2278
|
}
|
|
2279
2279
|
removeDebugger() {
|
|
2280
|
-
|
|
2280
|
+
ni.forEach((n) => {
|
|
2281
2281
|
document.body.contains(n) && document.body.removeChild(n);
|
|
2282
|
-
}),
|
|
2282
|
+
}), ni = /* @__PURE__ */ new Set();
|
|
2283
2283
|
}
|
|
2284
2284
|
/**
|
|
2285
2285
|
* Petite fonction utilitaire pour retourner la configuration a passer à l'utilitaire API
|
|
@@ -2310,7 +2310,7 @@ const G = (r, t) => {
|
|
|
2310
2310
|
if (this.noShadowDom === "" || this.getAttribute("noShadowDom") === "")
|
|
2311
2311
|
return this;
|
|
2312
2312
|
const n = super.createRenderRoot();
|
|
2313
|
-
return
|
|
2313
|
+
return Bs.observe(n), n;
|
|
2314
2314
|
}
|
|
2315
2315
|
initPublisher() {
|
|
2316
2316
|
if (!document) return;
|
|
@@ -2623,10 +2623,10 @@ let ot = (K = class {
|
|
|
2623
2623
|
* Copyright 2018 Google LLC
|
|
2624
2624
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2625
2625
|
*/
|
|
2626
|
-
const
|
|
2626
|
+
const no = "important", _n = " !" + no, ft = Pe(class extends Ie {
|
|
2627
2627
|
constructor(r) {
|
|
2628
2628
|
var t;
|
|
2629
|
-
if (super(r), r.type !==
|
|
2629
|
+
if (super(r), r.type !== Me.ATTRIBUTE || r.name !== "style" || ((t = r.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
2630
2630
|
}
|
|
2631
2631
|
render(r) {
|
|
2632
2632
|
return Object.keys(r).reduce((t, s) => {
|
|
@@ -2643,7 +2643,7 @@ const oo = "important", _n = " !" + oo, ft = Pe(class extends je {
|
|
|
2643
2643
|
if (e != null) {
|
|
2644
2644
|
this.ft.add(i);
|
|
2645
2645
|
const o = typeof e == "string" && e.endsWith(_n);
|
|
2646
|
-
i.includes("-") || o ? s.setProperty(i, o ? e.slice(0, -11) : e, o ?
|
|
2646
|
+
i.includes("-") || o ? s.setProperty(i, o ? e.slice(0, -11) : e, o ? no : "") : s[i] = e;
|
|
2647
2647
|
}
|
|
2648
2648
|
}
|
|
2649
2649
|
return yt;
|
|
@@ -2654,7 +2654,7 @@ var wn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, kt = (r, t
|
|
|
2654
2654
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
2655
2655
|
return i && e && wn(t, s, e), e;
|
|
2656
2656
|
};
|
|
2657
|
-
const ws = /* @__PURE__ */ new Map(),
|
|
2657
|
+
const ws = /* @__PURE__ */ new Map(), je = (r) => {
|
|
2658
2658
|
class t extends r {
|
|
2659
2659
|
constructor(...i) {
|
|
2660
2660
|
super(), this.touched = !1, this.error = !1, this.autofocus = !1, this.required = !1, this.forceAutoFill = !1, this.disabled = null, this.formDataProvider = "", this._name = "", this._value = "", this.onValueAssign = (e) => {
|
|
@@ -2937,7 +2937,7 @@ var Pn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2937
2937
|
function An(r) {
|
|
2938
2938
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
2939
2939
|
}
|
|
2940
|
-
var
|
|
2940
|
+
var gi = { exports: {} };
|
|
2941
2941
|
(function(r, t) {
|
|
2942
2942
|
var s = [].slice;
|
|
2943
2943
|
(function(i, e) {
|
|
@@ -3173,9 +3173,9 @@ var fi = { exports: {} };
|
|
|
3173
3173
|
return D(this.ast, u, {});
|
|
3174
3174
|
}, e.escapeForRegex = p, e.concatMap = h, e.stringConcatMap = S, e.regexGroupCount = P, e.keysAndValuesToObject = b, e.P = i, e.newParser = v, e.defaultOptions = d, e.astNodeToRegexString = a, e.astNodeToNames = n, e.getParam = m, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = D, e;
|
|
3175
3175
|
});
|
|
3176
|
-
})(
|
|
3177
|
-
var Cn =
|
|
3178
|
-
const pe = /* @__PURE__ */ An(Cn), Sn = Eo, On = xn, Dn =
|
|
3176
|
+
})(gi, gi.exports);
|
|
3177
|
+
var Cn = gi.exports;
|
|
3178
|
+
const pe = /* @__PURE__ */ An(Cn), Sn = Eo, On = xn, Dn = Bs, kn = As, ge = st, Ln = ot, hs = J, En = Xe, et = T, Nn = Ne, Tn = pe;
|
|
3179
3179
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
3180
3180
|
window["concorde-utils"] = {
|
|
3181
3181
|
Utils: Sn,
|
|
@@ -3381,7 +3381,7 @@ var jn = Object.defineProperty, Fn = Object.getOwnPropertyDescriptor, B = (r, t,
|
|
|
3381
3381
|
return i && e && jn(t, s, e), e;
|
|
3382
3382
|
};
|
|
3383
3383
|
const zn = "sonic-button";
|
|
3384
|
-
let I = class extends Ui(
|
|
3384
|
+
let I = class extends Ui(je(G(_))) {
|
|
3385
3385
|
constructor() {
|
|
3386
3386
|
super(...arguments), this.type = "default", this.variant = "default", this.shape = "default", this.direction = "row", this.alignItems = "center", this.justify = "center", this.minWidth = "0", this.icon = !1, this.download = null, this.autoActive = "partial", this.loading = !1, this.hasPrefix = !1, this.hasSuffix = !1, this._href = "", this.goBack = null, this.pushState = !1, this.active = !1, this.autoRepeat = !1, this.pointerDownTime = 0, this.lastRepeatTime = 0, this.isRepeating = !1, this.handleRepeatend = () => {
|
|
3387
3387
|
window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
|
|
@@ -3932,13 +3932,13 @@ I = B([
|
|
|
3932
3932
|
* Copyright 2017 Google LLC
|
|
3933
3933
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3934
3934
|
*/
|
|
3935
|
-
const
|
|
3935
|
+
const vr = (r, t, s) => {
|
|
3936
3936
|
const i = /* @__PURE__ */ new Map();
|
|
3937
3937
|
for (let e = t; e <= s; e++) i.set(r[e], e);
|
|
3938
3938
|
return i;
|
|
3939
|
-
},
|
|
3939
|
+
}, Ks = Pe(class extends Ie {
|
|
3940
3940
|
constructor(r) {
|
|
3941
|
-
if (super(r), r.type !==
|
|
3941
|
+
if (super(r), r.type !== Me.CHILD) throw Error("repeat() can only be used in text expressions");
|
|
3942
3942
|
}
|
|
3943
3943
|
dt(r, t, s) {
|
|
3944
3944
|
let i;
|
|
@@ -3960,24 +3960,24 @@ const br = (r, t, s) => {
|
|
|
3960
3960
|
else if (e[m] === null) m--;
|
|
3961
3961
|
else if (a[p] === n[b]) c[b] = ne(e[p], o[b]), p++, b++;
|
|
3962
3962
|
else if (a[m] === n[v]) c[v] = ne(e[m], o[v]), m--, v--;
|
|
3963
|
-
else if (a[p] === n[v]) c[v] = ne(e[p], o[v]),
|
|
3964
|
-
else if (a[m] === n[b]) c[b] = ne(e[m], o[b]),
|
|
3965
|
-
else if (h === void 0 && (h =
|
|
3963
|
+
else if (a[p] === n[v]) c[v] = ne(e[p], o[v]), He(r, c[v + 1], e[p]), p++, v--;
|
|
3964
|
+
else if (a[m] === n[b]) c[b] = ne(e[m], o[b]), He(r, e[p], e[m]), m--, b++;
|
|
3965
|
+
else if (h === void 0 && (h = vr(n, b, v), d = vr(a, p, m)), h.has(a[p])) if (h.has(a[m])) {
|
|
3966
3966
|
const P = d.get(n[b]), S = P !== void 0 ? e[P] : null;
|
|
3967
3967
|
if (S === null) {
|
|
3968
|
-
const D =
|
|
3968
|
+
const D = He(r, e[p]);
|
|
3969
3969
|
ne(D, o[b]), c[b] = D;
|
|
3970
|
-
} else c[b] = ne(S, o[b]),
|
|
3970
|
+
} else c[b] = ne(S, o[b]), He(r, e[p], S), e[P] = null;
|
|
3971
3971
|
b++;
|
|
3972
|
-
} else
|
|
3973
|
-
else
|
|
3972
|
+
} else ri(e[m]), m--;
|
|
3973
|
+
else ri(e[p]), p++;
|
|
3974
3974
|
for (; b <= v; ) {
|
|
3975
|
-
const P =
|
|
3975
|
+
const P = He(r, c[v + 1]);
|
|
3976
3976
|
ne(P, o[b]), c[b++] = P;
|
|
3977
3977
|
}
|
|
3978
3978
|
for (; p <= m; ) {
|
|
3979
3979
|
const P = e[p++];
|
|
3980
|
-
P !== null &&
|
|
3980
|
+
P !== null && ri(P);
|
|
3981
3981
|
}
|
|
3982
3982
|
return this.ut = n, Jo(r, c), yt;
|
|
3983
3983
|
}
|
|
@@ -3987,24 +3987,24 @@ const br = (r, t, s) => {
|
|
|
3987
3987
|
* Copyright 2017 Google LLC
|
|
3988
3988
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3989
3989
|
*/
|
|
3990
|
-
const
|
|
3991
|
-
\f\r]`,
|
|
3992
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
3993
|
-
function
|
|
3990
|
+
const Ge = globalThis, ks = Ge.trustedTypes, yr = ks ? ks.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ao = "$lit$", Kt = `lit$${Math.random().toFixed(9).slice(2)}$`, lo = "?" + Kt, Rn = `<${lo}>`, me = document, Ls = () => me.createComment(""), es = (r) => r === null || typeof r != "object" && typeof r != "function", Vi = Array.isArray, Un = (r) => Vi(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", ai = `[
|
|
3991
|
+
\f\r]`, Be = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _r = /-->/g, wr = />/g, ae = RegExp(`>|${ai}(?:([^\\s"'>=/]+)(${ai}*=${ai}*(?:[^
|
|
3992
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), $r = /'/g, xr = /"/g, co = /^(?:script|style|textarea|title)$/i, ss = Symbol.for("lit-noChange"), X = Symbol.for("lit-nothing"), Pr = /* @__PURE__ */ new WeakMap(), de = me.createTreeWalker(me, 129);
|
|
3993
|
+
function ho(r, t) {
|
|
3994
3994
|
if (!Vi(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
3995
|
-
return
|
|
3995
|
+
return yr !== void 0 ? yr.createHTML(t) : t;
|
|
3996
3996
|
}
|
|
3997
3997
|
const Vn = (r, t) => {
|
|
3998
3998
|
const s = r.length - 1, i = [];
|
|
3999
|
-
let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
3999
|
+
let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = Be;
|
|
4000
4000
|
for (let a = 0; a < s; a++) {
|
|
4001
4001
|
const c = r[a];
|
|
4002
4002
|
let h, d, p = -1, m = 0;
|
|
4003
|
-
for (; m < c.length && (n.lastIndex = m, d = n.exec(c), d !== null); ) m = n.lastIndex, n ===
|
|
4003
|
+
for (; m < c.length && (n.lastIndex = m, d = n.exec(c), d !== null); ) m = n.lastIndex, n === Be ? d[1] === "!--" ? n = _r : d[1] !== void 0 ? n = wr : d[2] !== void 0 ? (co.test(d[2]) && (e = RegExp("</" + d[2], "g")), n = ae) : d[3] !== void 0 && (n = ae) : n === ae ? d[0] === ">" ? (n = e ?? Be, p = -1) : d[1] === void 0 ? p = -2 : (p = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? ae : d[3] === '"' ? xr : $r) : n === xr || n === $r ? n = ae : n === _r || n === wr ? n = Be : (n = ae, e = void 0);
|
|
4004
4004
|
const b = n === ae && r[a + 1].startsWith("/>") ? " " : "";
|
|
4005
|
-
o += n ===
|
|
4005
|
+
o += n === Be ? c + Rn : p >= 0 ? (i.push(h), c.slice(0, p) + ao + c.slice(p) + Kt + b) : c + Kt + (p === -2 ? a : b);
|
|
4006
4006
|
}
|
|
4007
|
-
return [
|
|
4007
|
+
return [ho(r, o + (r[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
4008
4008
|
};
|
|
4009
4009
|
class is {
|
|
4010
4010
|
constructor({ strings: t, _$litType$: s }, i) {
|
|
@@ -4018,11 +4018,11 @@ class is {
|
|
|
4018
4018
|
}
|
|
4019
4019
|
for (; (e = de.nextNode()) !== null && c.length < a; ) {
|
|
4020
4020
|
if (e.nodeType === 1) {
|
|
4021
|
-
if (e.hasAttributes()) for (const p of e.getAttributeNames()) if (p.endsWith(
|
|
4021
|
+
if (e.hasAttributes()) for (const p of e.getAttributeNames()) if (p.endsWith(ao)) {
|
|
4022
4022
|
const m = d[n++], b = e.getAttribute(p).split(Kt), v = /([.?@])?(.*)/.exec(m);
|
|
4023
|
-
c.push({ type: 1, index: o, name: v[2], strings: b, ctor: v[1] === "." ? Bn : v[1] === "?" ? qn : v[1] === "@" ? Wn :
|
|
4023
|
+
c.push({ type: 1, index: o, name: v[2], strings: b, ctor: v[1] === "." ? Bn : v[1] === "?" ? qn : v[1] === "@" ? Wn : Zs }), e.removeAttribute(p);
|
|
4024
4024
|
} else p.startsWith(Kt) && (c.push({ type: 6, index: o }), e.removeAttribute(p));
|
|
4025
|
-
if (
|
|
4025
|
+
if (co.test(e.tagName)) {
|
|
4026
4026
|
const p = e.textContent.split(Kt), m = p.length - 1;
|
|
4027
4027
|
if (m > 0) {
|
|
4028
4028
|
e.textContent = ks ? ks.emptyScript : "";
|
|
@@ -4030,7 +4030,7 @@ class is {
|
|
|
4030
4030
|
e.append(p[m], Ls());
|
|
4031
4031
|
}
|
|
4032
4032
|
}
|
|
4033
|
-
} else if (e.nodeType === 8) if (e.data ===
|
|
4033
|
+
} else if (e.nodeType === 8) if (e.data === lo) c.push({ type: 2, index: o });
|
|
4034
4034
|
else {
|
|
4035
4035
|
let p = -1;
|
|
4036
4036
|
for (; (p = e.data.indexOf(Kt, p + 1)) !== -1; ) c.push({ type: 7, index: o }), p += Kt.length - 1;
|
|
@@ -4043,12 +4043,12 @@ class is {
|
|
|
4043
4043
|
return i.innerHTML = t, i;
|
|
4044
4044
|
}
|
|
4045
4045
|
}
|
|
4046
|
-
function
|
|
4046
|
+
function Te(r, t, s = r, i) {
|
|
4047
4047
|
var n, a;
|
|
4048
4048
|
if (t === ss) return t;
|
|
4049
4049
|
let e = i !== void 0 ? (n = s.o) == null ? void 0 : n[i] : s.l;
|
|
4050
4050
|
const o = es(t) ? void 0 : t._$litDirective$;
|
|
4051
|
-
return (e == null ? void 0 : e.constructor) !== o && ((a = e == null ? void 0 : e._$AO) == null || a.call(e, !1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, s, i)), i !== void 0 ? (s.o ?? (s.o = []))[i] = e : s.l = e), e !== void 0 && (t =
|
|
4051
|
+
return (e == null ? void 0 : e.constructor) !== o && ((a = e == null ? void 0 : e._$AO) == null || a.call(e, !1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, s, i)), i !== void 0 ? (s.o ?? (s.o = []))[i] = e : s.l = e), e !== void 0 && (t = Te(r, e._$AS(r, t.values), e, i)), t;
|
|
4052
4052
|
}
|
|
4053
4053
|
let Hn = class {
|
|
4054
4054
|
constructor(t, s) {
|
|
@@ -4067,7 +4067,7 @@ let Hn = class {
|
|
|
4067
4067
|
for (; c !== void 0; ) {
|
|
4068
4068
|
if (n === c.index) {
|
|
4069
4069
|
let h;
|
|
4070
|
-
c.type === 2 ? h = new
|
|
4070
|
+
c.type === 2 ? h = new Ys(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new Kn(o, this, t)), this._$AV.push(h), c = i[++a];
|
|
4071
4071
|
}
|
|
4072
4072
|
n !== (c == null ? void 0 : c.index) && (o = de.nextNode(), n++);
|
|
4073
4073
|
}
|
|
@@ -4078,7 +4078,7 @@ let Hn = class {
|
|
|
4078
4078
|
for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++;
|
|
4079
4079
|
}
|
|
4080
4080
|
};
|
|
4081
|
-
class
|
|
4081
|
+
class Ys {
|
|
4082
4082
|
get _$AU() {
|
|
4083
4083
|
var t;
|
|
4084
4084
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this.v;
|
|
@@ -4098,7 +4098,7 @@ class Ks {
|
|
|
4098
4098
|
return this._$AB;
|
|
4099
4099
|
}
|
|
4100
4100
|
_$AI(t, s = this) {
|
|
4101
|
-
t =
|
|
4101
|
+
t = Te(this, t, s), es(t) ? t === X || t == null || t === "" ? (this._$AH !== X && this._$AR(), this._$AH = X) : t !== this._$AH && t !== ss && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Un(t) ? this.k(t) : this._(t);
|
|
4102
4102
|
}
|
|
4103
4103
|
O(t) {
|
|
4104
4104
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -4111,7 +4111,7 @@ class Ks {
|
|
|
4111
4111
|
}
|
|
4112
4112
|
$(t) {
|
|
4113
4113
|
var o;
|
|
4114
|
-
const { values: s, _$litType$: i } = t, e = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = is.createElement(
|
|
4114
|
+
const { values: s, _$litType$: i } = t, e = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = is.createElement(ho(i.h, i.h[0]), this.options)), i);
|
|
4115
4115
|
if (((o = this._$AH) == null ? void 0 : o._$AD) === e) this._$AH.p(s);
|
|
4116
4116
|
else {
|
|
4117
4117
|
const n = new Hn(e, this), a = n.u(this.options);
|
|
@@ -4119,14 +4119,14 @@ class Ks {
|
|
|
4119
4119
|
}
|
|
4120
4120
|
}
|
|
4121
4121
|
_$AC(t) {
|
|
4122
|
-
let s =
|
|
4123
|
-
return s === void 0 &&
|
|
4122
|
+
let s = Pr.get(t.strings);
|
|
4123
|
+
return s === void 0 && Pr.set(t.strings, s = new is(t)), s;
|
|
4124
4124
|
}
|
|
4125
4125
|
k(t) {
|
|
4126
4126
|
Vi(this._$AH) || (this._$AH = [], this._$AR());
|
|
4127
4127
|
const s = this._$AH;
|
|
4128
4128
|
let i, e = 0;
|
|
4129
|
-
for (const o of t) e === s.length ? s.push(i = new
|
|
4129
|
+
for (const o of t) e === s.length ? s.push(i = new Ys(this.O(Ls()), this.O(Ls()), this, this.options)) : i = s[e], i._$AI(o), e++;
|
|
4130
4130
|
e < s.length && (this._$AR(i && i._$AB.nextSibling, e), s.length = e);
|
|
4131
4131
|
}
|
|
4132
4132
|
_$AR(t = this._$AA.nextSibling, s) {
|
|
@@ -4141,7 +4141,7 @@ class Ks {
|
|
|
4141
4141
|
this._$AM === void 0 && (this.v = t, (s = this._$AP) == null || s.call(this, t));
|
|
4142
4142
|
}
|
|
4143
4143
|
}
|
|
4144
|
-
class
|
|
4144
|
+
class Zs {
|
|
4145
4145
|
get tagName() {
|
|
4146
4146
|
return this.element.tagName;
|
|
4147
4147
|
}
|
|
@@ -4154,11 +4154,11 @@ class Ys {
|
|
|
4154
4154
|
_$AI(t, s = this, i, e) {
|
|
4155
4155
|
const o = this.strings;
|
|
4156
4156
|
let n = !1;
|
|
4157
|
-
if (o === void 0) t =
|
|
4157
|
+
if (o === void 0) t = Te(this, t, s, 0), n = !es(t) || t !== this._$AH && t !== ss, n && (this._$AH = t);
|
|
4158
4158
|
else {
|
|
4159
4159
|
const a = t;
|
|
4160
4160
|
let c, h;
|
|
4161
|
-
for (t = o[0], c = 0; c < o.length - 1; c++) h =
|
|
4161
|
+
for (t = o[0], c = 0; c < o.length - 1; c++) h = Te(this, a[i + c], s, c), h === ss && (h = this._$AH[c]), n || (n = !es(h) || h !== this._$AH[c]), h === X ? t = X : t !== X && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
|
|
4162
4162
|
}
|
|
4163
4163
|
n && !e && this.j(t);
|
|
4164
4164
|
}
|
|
@@ -4166,7 +4166,7 @@ class Ys {
|
|
|
4166
4166
|
t === X ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
4167
4167
|
}
|
|
4168
4168
|
}
|
|
4169
|
-
class Bn extends
|
|
4169
|
+
class Bn extends Zs {
|
|
4170
4170
|
constructor() {
|
|
4171
4171
|
super(...arguments), this.type = 3;
|
|
4172
4172
|
}
|
|
@@ -4174,7 +4174,7 @@ class Bn extends Ys {
|
|
|
4174
4174
|
this.element[this.name] = t === X ? void 0 : t;
|
|
4175
4175
|
}
|
|
4176
4176
|
}
|
|
4177
|
-
class qn extends
|
|
4177
|
+
class qn extends Zs {
|
|
4178
4178
|
constructor() {
|
|
4179
4179
|
super(...arguments), this.type = 4;
|
|
4180
4180
|
}
|
|
@@ -4182,12 +4182,12 @@ class qn extends Ys {
|
|
|
4182
4182
|
this.element.toggleAttribute(this.name, !!t && t !== X);
|
|
4183
4183
|
}
|
|
4184
4184
|
}
|
|
4185
|
-
class Wn extends
|
|
4185
|
+
class Wn extends Zs {
|
|
4186
4186
|
constructor(t, s, i, e, o) {
|
|
4187
4187
|
super(t, s, i, e, o), this.type = 5;
|
|
4188
4188
|
}
|
|
4189
4189
|
_$AI(t, s = this) {
|
|
4190
|
-
if ((t =
|
|
4190
|
+
if ((t = Te(this, t, s, 0) ?? X) === ss) return;
|
|
4191
4191
|
const i = this._$AH, e = t === X && i !== X || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== X && (i === X || e);
|
|
4192
4192
|
e && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
4193
4193
|
}
|
|
@@ -4204,17 +4204,17 @@ class Kn {
|
|
|
4204
4204
|
return this._$AM._$AU;
|
|
4205
4205
|
}
|
|
4206
4206
|
_$AI(t) {
|
|
4207
|
-
|
|
4207
|
+
Te(this, t);
|
|
4208
4208
|
}
|
|
4209
4209
|
}
|
|
4210
|
-
const
|
|
4211
|
-
|
|
4210
|
+
const li = Ge.litHtmlPolyfillSupport;
|
|
4211
|
+
li == null || li(is, Ys), (Ge.litHtmlVersions ?? (Ge.litHtmlVersions = [])).push("3.2.0");
|
|
4212
4212
|
/**
|
|
4213
4213
|
* @license
|
|
4214
4214
|
* Copyright 2017 Google LLC
|
|
4215
4215
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4216
4216
|
*/
|
|
4217
|
-
const
|
|
4217
|
+
const po = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Yn = (r) => (...t) => ({ _$litDirective$: r, values: t });
|
|
4218
4218
|
let Zn = class {
|
|
4219
4219
|
constructor(t) {
|
|
4220
4220
|
}
|
|
@@ -4242,11 +4242,11 @@ const Gn = (r) => r.strings === void 0;
|
|
|
4242
4242
|
* Copyright 2017 Google LLC
|
|
4243
4243
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4244
4244
|
*/
|
|
4245
|
-
const
|
|
4245
|
+
const Qe = (r, t) => {
|
|
4246
4246
|
var i;
|
|
4247
4247
|
const s = r._$AN;
|
|
4248
4248
|
if (s === void 0) return !1;
|
|
4249
|
-
for (const e of s) (i = e._$AO) == null || i.call(e, t, !1),
|
|
4249
|
+
for (const e of s) (i = e._$AO) == null || i.call(e, t, !1), Qe(e, t);
|
|
4250
4250
|
return !0;
|
|
4251
4251
|
}, Es = (r) => {
|
|
4252
4252
|
let t, s;
|
|
@@ -4254,7 +4254,7 @@ const Xe = (r, t) => {
|
|
|
4254
4254
|
if ((t = r._$AM) === void 0) break;
|
|
4255
4255
|
s = t._$AN, s.delete(r), r = t;
|
|
4256
4256
|
} while ((s == null ? void 0 : s.size) === 0);
|
|
4257
|
-
},
|
|
4257
|
+
}, uo = (r) => {
|
|
4258
4258
|
for (let t; t = r._$AM; r = t) {
|
|
4259
4259
|
let s = t._$AN;
|
|
4260
4260
|
if (s === void 0) t._$AN = s = /* @__PURE__ */ new Set();
|
|
@@ -4263,27 +4263,27 @@ const Xe = (r, t) => {
|
|
|
4263
4263
|
}
|
|
4264
4264
|
};
|
|
4265
4265
|
function Qn(r) {
|
|
4266
|
-
this._$AN !== void 0 ? (Es(this), this._$AM = r,
|
|
4266
|
+
this._$AN !== void 0 ? (Es(this), this._$AM = r, uo(this)) : this._$AM = r;
|
|
4267
4267
|
}
|
|
4268
4268
|
function Xn(r, t = !1, s = 0) {
|
|
4269
4269
|
const i = this._$AH, e = this._$AN;
|
|
4270
|
-
if (e !== void 0 && e.size !== 0) if (t) if (Array.isArray(i)) for (let o = s; o < i.length; o++)
|
|
4271
|
-
else i != null && (
|
|
4272
|
-
else
|
|
4270
|
+
if (e !== void 0 && e.size !== 0) if (t) if (Array.isArray(i)) for (let o = s; o < i.length; o++) Qe(i[o], !1), Es(i[o]);
|
|
4271
|
+
else i != null && (Qe(i, !1), Es(i));
|
|
4272
|
+
else Qe(this, r);
|
|
4273
4273
|
}
|
|
4274
4274
|
const Jn = (r) => {
|
|
4275
|
-
r.type ==
|
|
4275
|
+
r.type == po.CHILD && (r._$AP ?? (r._$AP = Xn), r._$AQ ?? (r._$AQ = Qn));
|
|
4276
4276
|
};
|
|
4277
4277
|
class ta extends Zn {
|
|
4278
4278
|
constructor() {
|
|
4279
4279
|
super(...arguments), this._$AN = void 0;
|
|
4280
4280
|
}
|
|
4281
4281
|
_$AT(t, s, i) {
|
|
4282
|
-
super._$AT(t, s, i),
|
|
4282
|
+
super._$AT(t, s, i), uo(this), this.isConnected = t._$AU;
|
|
4283
4283
|
}
|
|
4284
4284
|
_$AO(t, s = !0) {
|
|
4285
4285
|
var i, e;
|
|
4286
|
-
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (e = this.disconnected) == null || e.call(this)), s && (
|
|
4286
|
+
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (e = this.disconnected) == null || e.call(this)), s && (Qe(this, t), Es(this));
|
|
4287
4287
|
}
|
|
4288
4288
|
setValue(t) {
|
|
4289
4289
|
if (Gn(this.t)) this.t._$AI(t, this);
|
|
@@ -4298,33 +4298,33 @@ class ta extends Zn {
|
|
|
4298
4298
|
}
|
|
4299
4299
|
}
|
|
4300
4300
|
const ea = /* @__PURE__ */ new WeakMap();
|
|
4301
|
-
let
|
|
4302
|
-
const
|
|
4301
|
+
let Ar = 0;
|
|
4302
|
+
const ci = /* @__PURE__ */ new Map(), Cr = /* @__PURE__ */ new WeakSet(), Sr = () => new Promise((r) => requestAnimationFrame(r)), Or = [{ opacity: 0 }], Dr = [{ opacity: 0 }, { opacity: 1 }], kr = (r, t) => {
|
|
4303
4303
|
const s = r - t;
|
|
4304
4304
|
return s === 0 ? void 0 : s;
|
|
4305
|
-
},
|
|
4305
|
+
}, Lr = (r, t) => {
|
|
4306
4306
|
const s = r / t;
|
|
4307
4307
|
return s === 1 ? void 0 : s;
|
|
4308
|
-
},
|
|
4309
|
-
const s =
|
|
4308
|
+
}, hi = { left: (r, t) => {
|
|
4309
|
+
const s = kr(r, t);
|
|
4310
4310
|
return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateX(${s}px)` };
|
|
4311
4311
|
}, top: (r, t) => {
|
|
4312
|
-
const s =
|
|
4312
|
+
const s = kr(r, t);
|
|
4313
4313
|
return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateY(${s}px)` };
|
|
4314
4314
|
}, width: (r, t) => {
|
|
4315
4315
|
let s;
|
|
4316
4316
|
t === 0 && (t = 1, s = { width: "1px" });
|
|
4317
|
-
const i =
|
|
4317
|
+
const i = Lr(r, t);
|
|
4318
4318
|
return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
|
|
4319
4319
|
}, height: (r, t) => {
|
|
4320
4320
|
let s;
|
|
4321
4321
|
t === 0 && (t = 1, s = { height: "1px" });
|
|
4322
|
-
const i =
|
|
4322
|
+
const i = Lr(r, t);
|
|
4323
4323
|
return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
|
|
4324
|
-
} }, sa = { duration: 333, easing: "ease-in-out" }, ia = ["left", "top", "width", "height", "opacity", "color", "background"],
|
|
4324
|
+
} }, sa = { duration: 333, easing: "ease-in-out" }, ia = ["left", "top", "width", "height", "opacity", "color", "background"], Er = /* @__PURE__ */ new WeakMap();
|
|
4325
4325
|
class ra extends ta {
|
|
4326
4326
|
constructor(t) {
|
|
4327
|
-
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type ===
|
|
4327
|
+
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === po.CHILD) throw Error("The `animate` directive must be used in attribute position.");
|
|
4328
4328
|
this.createFinished();
|
|
4329
4329
|
}
|
|
4330
4330
|
createFinished() {
|
|
@@ -4350,7 +4350,7 @@ class ra extends ta {
|
|
|
4350
4350
|
update(t, [s]) {
|
|
4351
4351
|
var e;
|
|
4352
4352
|
const i = this.u === void 0;
|
|
4353
|
-
return i && (this.u = (e = t.options) == null ? void 0 : e.host, this.u.addController(this), this.u.updateComplete.then((o) => this.t = !0), this.element = t.element,
|
|
4353
|
+
return i && (this.u = (e = t.options) == null ? void 0 : e.host, this.u.addController(this), this.u.updateComplete.then((o) => this.t = !0), this.element = t.element, Er.set(this.element, this)), this.optionsOrCallback = s, (i || typeof s != "function") && this.p(s), this.render(s);
|
|
4354
4354
|
}
|
|
4355
4355
|
p(t) {
|
|
4356
4356
|
t = t ?? {};
|
|
@@ -4360,7 +4360,7 @@ class ra extends ta {
|
|
|
4360
4360
|
m() {
|
|
4361
4361
|
const t = {}, s = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
|
|
4362
4362
|
return this.options.properties.forEach((e) => {
|
|
4363
|
-
const o = s[e] ?? (
|
|
4363
|
+
const o = s[e] ?? (hi[e] ? void 0 : i[e]), n = Number(o);
|
|
4364
4364
|
t[e] = isNaN(n) ? o + "" : n;
|
|
4365
4365
|
}), t;
|
|
4366
4366
|
}
|
|
@@ -4379,17 +4379,17 @@ class ra extends ta {
|
|
|
4379
4379
|
async hostUpdated() {
|
|
4380
4380
|
if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
|
|
4381
4381
|
let t;
|
|
4382
|
-
this.prepare(), await
|
|
4382
|
+
this.prepare(), await Sr;
|
|
4383
4383
|
const s = this.O(), i = this.j(this.options.keyframeOptions, s), e = this.m();
|
|
4384
4384
|
if (this.A !== void 0) {
|
|
4385
4385
|
const { from: o, to: n } = this.N(this.A, e, s);
|
|
4386
4386
|
this.log("measured", [this.A, e, o, n]), t = this.calculateKeyframes(o, n);
|
|
4387
4387
|
} else {
|
|
4388
|
-
const o =
|
|
4388
|
+
const o = ci.get(this.options.inId);
|
|
4389
4389
|
if (o) {
|
|
4390
|
-
|
|
4390
|
+
ci.delete(this.options.inId);
|
|
4391
4391
|
const { from: n, to: a } = this.N(o, e, s);
|
|
4392
|
-
t = this.calculateKeyframes(n, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t,
|
|
4392
|
+
t = this.calculateKeyframes(n, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Ar++, t.forEach((c) => c.zIndex = Ar);
|
|
4393
4393
|
} else this.options.in && (t = [...this.options.in, {}]);
|
|
4394
4394
|
}
|
|
4395
4395
|
this.animate(t, i);
|
|
@@ -4405,8 +4405,8 @@ class ra extends ta {
|
|
|
4405
4405
|
}
|
|
4406
4406
|
async disconnected() {
|
|
4407
4407
|
var s;
|
|
4408
|
-
if (!this.h || (this.options.id !== void 0 &&
|
|
4409
|
-
if (this.prepare(), await
|
|
4408
|
+
if (!this.h || (this.options.id !== void 0 && ci.set(this.options.id, this.A), this.options.out === void 0)) return;
|
|
4409
|
+
if (this.prepare(), await Sr(), (s = this.i) == null ? void 0 : s.isConnected) {
|
|
4410
4410
|
const i = this.o && this.o.parentNode === this.i ? this.o : null;
|
|
4411
4411
|
if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
|
|
4412
4412
|
const e = this.m();
|
|
@@ -4432,15 +4432,15 @@ class ra extends ta {
|
|
|
4432
4432
|
O() {
|
|
4433
4433
|
const t = [];
|
|
4434
4434
|
for (let s = this.element.parentNode; s; s = s == null ? void 0 : s.parentNode) {
|
|
4435
|
-
const i =
|
|
4435
|
+
const i = Er.get(s);
|
|
4436
4436
|
i && !i.isDisabled() && i && t.push(i);
|
|
4437
4437
|
}
|
|
4438
4438
|
return t;
|
|
4439
4439
|
}
|
|
4440
4440
|
get isHostRendered() {
|
|
4441
|
-
const t =
|
|
4441
|
+
const t = Cr.has(this.u);
|
|
4442
4442
|
return t || this.u.updateComplete.then(() => {
|
|
4443
|
-
|
|
4443
|
+
Cr.add(this.u);
|
|
4444
4444
|
}), t;
|
|
4445
4445
|
}
|
|
4446
4446
|
j(t, s = this.O()) {
|
|
@@ -4461,8 +4461,8 @@ class ra extends ta {
|
|
|
4461
4461
|
const a = {};
|
|
4462
4462
|
for (const c in s) {
|
|
4463
4463
|
const h = t[c], d = s[c];
|
|
4464
|
-
if (c in
|
|
4465
|
-
const p =
|
|
4464
|
+
if (c in hi) {
|
|
4465
|
+
const p = hi[c];
|
|
4466
4466
|
if (h === void 0 || d === void 0) continue;
|
|
4467
4467
|
const m = p(h, d);
|
|
4468
4468
|
m.transform !== void 0 && (a[c] = m.value, n = !0, e.transform = `${e.transform ?? ""} ${m.transform}`, m.overrideFrom !== void 0 && Object.assign(e, m.overrideFrom));
|
|
@@ -4567,14 +4567,14 @@ const Ps = Yn(ra), oa = {
|
|
|
4567
4567
|
},
|
|
4568
4568
|
custom: { url: "", defaultPrefix: "" }
|
|
4569
4569
|
};
|
|
4570
|
-
let
|
|
4570
|
+
let Nr = !1;
|
|
4571
4571
|
function aa() {
|
|
4572
4572
|
var r, t;
|
|
4573
|
-
|
|
4573
|
+
Nr || (Nr = !0, Ns.custom.url = ((r = document.querySelector("[customIconLibraryPath]")) == null ? void 0 : r.getAttribute("customIconLibraryPath")) || "", Ns.custom.defaultPrefix = ((t = document.querySelector("[customIconDefaultPrefix]")) == null ? void 0 : t.getAttribute("customIconDefaultPrefix")) || "");
|
|
4574
4574
|
}
|
|
4575
|
-
const
|
|
4575
|
+
const Tr = sessionStorage.getItem("sonicIconsCache"), Wt = Tr ? JSON.parse(Tr) : { icons: {}, names: [] }, la = 100, sr = class sr {
|
|
4576
4576
|
};
|
|
4577
|
-
|
|
4577
|
+
sr.default = {
|
|
4578
4578
|
get: async (t) => {
|
|
4579
4579
|
const s = t.library;
|
|
4580
4580
|
if (!t.name) return "";
|
|
@@ -4613,7 +4613,7 @@ er.default = {
|
|
|
4613
4613
|
return z(e.core[t.name] || "");
|
|
4614
4614
|
}
|
|
4615
4615
|
};
|
|
4616
|
-
let
|
|
4616
|
+
let mi = sr;
|
|
4617
4617
|
var ca = Object.defineProperty, ha = Object.getOwnPropertyDescriptor, ds = (r, t, s, i) => {
|
|
4618
4618
|
for (var e = i > 1 ? void 0 : i ? ha(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
4619
4619
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -4625,7 +4625,7 @@ let be = class extends _ {
|
|
|
4625
4625
|
super(...arguments), this.iconText = "", this.name = "", this.prefix = "", this.library = "";
|
|
4626
4626
|
}
|
|
4627
4627
|
async updateIcon() {
|
|
4628
|
-
this.iconText = await
|
|
4628
|
+
this.iconText = await mi.default.get({
|
|
4629
4629
|
name: this.name,
|
|
4630
4630
|
prefix: this.prefix,
|
|
4631
4631
|
library: this.library
|
|
@@ -5112,7 +5112,7 @@ const ma = x`
|
|
|
5112
5112
|
--sc-base-900: #0f172a;
|
|
5113
5113
|
--sc-base-content: var(--sc-base-700);
|
|
5114
5114
|
}
|
|
5115
|
-
`,
|
|
5115
|
+
`, Mr = x`
|
|
5116
5116
|
--sc-primary: var(--sc-dark-primary, var(--sc-base-700));
|
|
5117
5117
|
--sc-info: var(--sc-dark-info, #3abff8);
|
|
5118
5118
|
--sc-danger: var(--sc-dark-danger, #f87272);
|
|
@@ -5139,12 +5139,12 @@ const ma = x`
|
|
|
5139
5139
|
--sc-base-content: var(--sc-dark-base-content, #e5e7eb);
|
|
5140
5140
|
`, va = x`
|
|
5141
5141
|
:host([theme="dark"]) {
|
|
5142
|
-
${
|
|
5142
|
+
${Mr}
|
|
5143
5143
|
}
|
|
5144
5144
|
|
|
5145
5145
|
@media (prefers-color-scheme: dark) {
|
|
5146
5146
|
:host([theme="auto"]) {
|
|
5147
|
-
${
|
|
5147
|
+
${Mr}
|
|
5148
5148
|
}
|
|
5149
5149
|
}
|
|
5150
5150
|
`;
|
|
@@ -5273,7 +5273,7 @@ us([
|
|
|
5273
5273
|
vt = us([
|
|
5274
5274
|
w(wa)
|
|
5275
5275
|
], vt);
|
|
5276
|
-
var $a = Object.defineProperty, xa = Object.getOwnPropertyDescriptor,
|
|
5276
|
+
var $a = Object.defineProperty, xa = Object.getOwnPropertyDescriptor, fo = (r, t, s, i) => {
|
|
5277
5277
|
for (var e = i > 1 ? void 0 : i ? xa(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5278
5278
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5279
5279
|
return i && e && $a(t, s, e), e;
|
|
@@ -5305,7 +5305,7 @@ let N = class extends _ {
|
|
|
5305
5305
|
maxWidth: "64ch",
|
|
5306
5306
|
flexDirection: "column-reverse"
|
|
5307
5307
|
}), N.handleExistingToastDelegation(), this.toasts ? g`<div aria-live="polite" style=${ft(s)}>
|
|
5308
|
-
${
|
|
5308
|
+
${Ks(
|
|
5309
5309
|
this.toasts,
|
|
5310
5310
|
(i) => i.id,
|
|
5311
5311
|
(i) => g`
|
|
@@ -5416,10 +5416,10 @@ let N = class extends _ {
|
|
|
5416
5416
|
}
|
|
5417
5417
|
};
|
|
5418
5418
|
N.delegateToasts = !1;
|
|
5419
|
-
|
|
5419
|
+
fo([
|
|
5420
5420
|
l({ type: Array })
|
|
5421
5421
|
], N.prototype, "toasts", 2);
|
|
5422
|
-
N =
|
|
5422
|
+
N = fo([
|
|
5423
5423
|
w(Pa)
|
|
5424
5424
|
], N);
|
|
5425
5425
|
typeof window < "u" && (window[Cs + "Toast"] = window[Cs + "Toast"] || N);
|
|
@@ -5436,7 +5436,7 @@ function Aa() {
|
|
|
5436
5436
|
(s = i.contentWindow) == null || s.postMessage({ type: "sonicToastAvailable" }, "*");
|
|
5437
5437
|
}
|
|
5438
5438
|
Aa();
|
|
5439
|
-
var Ca = Object.defineProperty, Sa = Object.getOwnPropertyDescriptor,
|
|
5439
|
+
var Ca = Object.defineProperty, Sa = Object.getOwnPropertyDescriptor, qe = (r, t, s, i) => {
|
|
5440
5440
|
for (var e = i > 1 ? void 0 : i ? Sa(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5441
5441
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5442
5442
|
return i && e && Ca(t, s, e), e;
|
|
@@ -5444,14 +5444,14 @@ var Ca = Object.defineProperty, Sa = Object.getOwnPropertyDescriptor, We = (r, t
|
|
|
5444
5444
|
const Oa = /* @__PURE__ */ new Set(), Da = /* @__PURE__ */ new Set(), ka = (r) => {
|
|
5445
5445
|
for (const t of Da)
|
|
5446
5446
|
t(r);
|
|
5447
|
-
},
|
|
5448
|
-
let
|
|
5447
|
+
}, bi = /* @__PURE__ */ new Set();
|
|
5448
|
+
let di = 0;
|
|
5449
5449
|
Ei(
|
|
5450
5450
|
async () => {
|
|
5451
|
-
|
|
5452
|
-
const r =
|
|
5451
|
+
di++;
|
|
5452
|
+
const r = di, t = Array.from(bi);
|
|
5453
5453
|
for (; t.length > 0; ) {
|
|
5454
|
-
if (r !=
|
|
5454
|
+
if (r != di) return;
|
|
5455
5455
|
const s = t.splice(0, 4);
|
|
5456
5456
|
await Promise.all(s.map((i) => i._fetchData()));
|
|
5457
5457
|
}
|
|
@@ -5481,7 +5481,7 @@ const Hi = (r, t) => {
|
|
|
5481
5481
|
* Un Toast est affiché si le chargement échoue
|
|
5482
5482
|
*/
|
|
5483
5483
|
async _fetchData() {
|
|
5484
|
-
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new
|
|
5484
|
+
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Ne(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await et.getInstance().isLocalStrorageReady, !this.isConnected)) return;
|
|
5485
5485
|
const e = et.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();
|
|
5486
5486
|
this.isLoading = !0, J.isObject(this.props) && Object.keys(this.props || {}).length > 0 && this.isFirstLoad && window.requestAnimationFrame(() => {
|
|
5487
5487
|
this.dispatchEvent(new CustomEvent("load", { detail: this })), this.isFirstLoad = !1, this.isLoading = !1;
|
|
@@ -5516,11 +5516,11 @@ const Hi = (r, t) => {
|
|
|
5516
5516
|
}
|
|
5517
5517
|
disconnectedCallback() {
|
|
5518
5518
|
var e;
|
|
5519
|
-
super.disconnectedCallback(),
|
|
5519
|
+
super.disconnectedCallback(), bi.delete(this), (e = this.publisher) == null || e.offInvalidate(this.onInvalidate), clearTimeout(this.refetchTimeOutId), this.isFirstLoad = !1;
|
|
5520
5520
|
}
|
|
5521
5521
|
connectedCallback() {
|
|
5522
5522
|
var e;
|
|
5523
|
-
this.lazyLoad = this.lazyLoad !== void 0 ? this.lazyLoad : this.hasAttribute("lazyload"),
|
|
5523
|
+
this.lazyLoad = this.lazyLoad !== void 0 ? this.lazyLoad : this.hasAttribute("lazyload"), bi.add(this), super.connectedCallback(), this.isFetchEnabled && (this.key = this.key != "" ? this.key : this.getAttribute("key"), this.props && this.publisher.set(this.props), this.onInvalidate = () => this._fetchData(), (e = this.publisher) == null || e.onInvalidate(this.onInvalidate), this.lazyLoad ? this.handleLazyLoad() : this._fetchData());
|
|
5524
5524
|
}
|
|
5525
5525
|
handleLazyLoad() {
|
|
5526
5526
|
if (!this.lazyLoad)
|
|
@@ -5565,15 +5565,15 @@ const Hi = (r, t) => {
|
|
|
5565
5565
|
}
|
|
5566
5566
|
}
|
|
5567
5567
|
}
|
|
5568
|
-
return
|
|
5568
|
+
return qe([
|
|
5569
5569
|
l()
|
|
5570
|
-
], s.prototype, "noErrorsRecordings", 2),
|
|
5570
|
+
], s.prototype, "noErrorsRecordings", 2), qe([
|
|
5571
5571
|
l()
|
|
5572
|
-
], s.prototype, "props", 1),
|
|
5572
|
+
], s.prototype, "props", 1), qe([
|
|
5573
5573
|
l({ type: String })
|
|
5574
|
-
], s.prototype, "endPoint", 1),
|
|
5574
|
+
], s.prototype, "endPoint", 1), qe([
|
|
5575
5575
|
l()
|
|
5576
|
-
], s.prototype, "requestId", 2),
|
|
5576
|
+
], s.prototype, "requestId", 2), qe([
|
|
5577
5577
|
l({ type: Number })
|
|
5578
5578
|
], s.prototype, "refetchEveryMs", 2), s;
|
|
5579
5579
|
};
|
|
@@ -5582,7 +5582,7 @@ var La = Object.defineProperty, Ea = Object.getOwnPropertyDescriptor, le = (r, t
|
|
|
5582
5582
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5583
5583
|
return i && e && La(t, s, e), e;
|
|
5584
5584
|
};
|
|
5585
|
-
const
|
|
5585
|
+
const Gs = (r) => {
|
|
5586
5586
|
class t extends r {
|
|
5587
5587
|
constructor(...i) {
|
|
5588
5588
|
super(), this.forceAutoFill = !1, this._type = "text", this.status = "default";
|
|
@@ -5628,13 +5628,13 @@ const Zs = (r) => {
|
|
|
5628
5628
|
], t.prototype, "tabindex", 2), le([
|
|
5629
5629
|
l({ type: String })
|
|
5630
5630
|
], t.prototype, "autocomplete", 2), t;
|
|
5631
|
-
},
|
|
5631
|
+
}, go = Hi, Na = Ui, mo = je, bo = Gs, ee = G, Bi = cs;
|
|
5632
5632
|
window["concorde-mixins"] = window["concorde-mixins"] || {};
|
|
5633
5633
|
window["concorde-mixins"] = {
|
|
5634
|
-
Fetcher:
|
|
5634
|
+
Fetcher: go,
|
|
5635
5635
|
FormCheckable: Na,
|
|
5636
|
-
FormElement:
|
|
5637
|
-
FormInput:
|
|
5636
|
+
FormElement: mo,
|
|
5637
|
+
FormInput: bo,
|
|
5638
5638
|
Subscriber: ee,
|
|
5639
5639
|
TemplatesContainer: Bi
|
|
5640
5640
|
};
|
|
@@ -5643,15 +5643,15 @@ window["concorde-mixins"] = {
|
|
|
5643
5643
|
* Copyright 2020 Google LLC
|
|
5644
5644
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5645
5645
|
*/
|
|
5646
|
-
const Et = Pe(class extends
|
|
5646
|
+
const Et = Pe(class extends Ie {
|
|
5647
5647
|
constructor(r) {
|
|
5648
|
-
if (super(r), r.type !==
|
|
5648
|
+
if (super(r), r.type !== Me.CHILD) throw Error("templateContent can only be used in child bindings");
|
|
5649
5649
|
}
|
|
5650
5650
|
render(r) {
|
|
5651
5651
|
return this.vt === r ? yt : (this.vt = r, document.importNode(r.content, !0));
|
|
5652
5652
|
}
|
|
5653
5653
|
});
|
|
5654
|
-
var Ta = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor,
|
|
5654
|
+
var Ta = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, vo = (r, t, s, i) => {
|
|
5655
5655
|
for (var e = i > 1 ? void 0 : i ? Ma(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5656
5656
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5657
5657
|
return i && e && Ta(t, s, e), e;
|
|
@@ -5681,13 +5681,13 @@ Ts.styles = [
|
|
|
5681
5681
|
}
|
|
5682
5682
|
`
|
|
5683
5683
|
];
|
|
5684
|
-
|
|
5684
|
+
vo([
|
|
5685
5685
|
l()
|
|
5686
5686
|
], Ts.prototype, "loader", 2);
|
|
5687
|
-
Ts =
|
|
5687
|
+
Ts = vo([
|
|
5688
5688
|
w(Ia)
|
|
5689
5689
|
], Ts);
|
|
5690
|
-
var ja = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor,
|
|
5690
|
+
var ja = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, yo = (r, t, s, i) => {
|
|
5691
5691
|
for (var e = i > 1 ? void 0 : i ? Fa(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5692
5692
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5693
5693
|
return i && e && ja(t, s, e), e;
|
|
@@ -5706,10 +5706,10 @@ Ms.styles = x`
|
|
|
5706
5706
|
display: contents;
|
|
5707
5707
|
}
|
|
5708
5708
|
`;
|
|
5709
|
-
|
|
5709
|
+
yo([
|
|
5710
5710
|
l({ type: Boolean })
|
|
5711
5711
|
], Ms.prototype, "condition", 2);
|
|
5712
|
-
Ms =
|
|
5712
|
+
Ms = yo([
|
|
5713
5713
|
w(za)
|
|
5714
5714
|
], Ms);
|
|
5715
5715
|
const Ra = x`
|
|
@@ -5911,7 +5911,7 @@ var qa = Object.defineProperty, Wa = Object.getOwnPropertyDescriptor, Ka = (r, t
|
|
|
5911
5911
|
return i && e && qa(t, s, e), e;
|
|
5912
5912
|
};
|
|
5913
5913
|
const Ya = "sonic-subscriber";
|
|
5914
|
-
let
|
|
5914
|
+
let Ir = class extends G(_) {
|
|
5915
5915
|
constructor() {
|
|
5916
5916
|
super(...arguments), this.noAutofill = !0;
|
|
5917
5917
|
}
|
|
@@ -5925,9 +5925,9 @@ let Mr = class extends G(_) {
|
|
|
5925
5925
|
return g`<slot></slot> `;
|
|
5926
5926
|
}
|
|
5927
5927
|
};
|
|
5928
|
-
|
|
5928
|
+
Ir = Ka([
|
|
5929
5929
|
w(Ya)
|
|
5930
|
-
],
|
|
5930
|
+
], Ir);
|
|
5931
5931
|
var Za = Object.defineProperty, Ga = Object.getOwnPropertyDescriptor, Ae = (r, t, s, i) => {
|
|
5932
5932
|
for (var e = i > 1 ? void 0 : i ? Ga(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5933
5933
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -6049,7 +6049,7 @@ Zt = Ae([
|
|
|
6049
6049
|
* Copyright 2021 Google LLC
|
|
6050
6050
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6051
6051
|
*/
|
|
6052
|
-
function*
|
|
6052
|
+
function* _o(r, t) {
|
|
6053
6053
|
if (r !== void 0) {
|
|
6054
6054
|
let s = 0;
|
|
6055
6055
|
for (const i of r) yield t(i, s++);
|
|
@@ -6163,7 +6163,7 @@ let it = class extends G(_) {
|
|
|
6163
6163
|
this.scrollX = window.scrollX, this.scrollY = window.scrollY;
|
|
6164
6164
|
let r = !this.noLazyload;
|
|
6165
6165
|
return this.props.length == 1 && (r = !1), this.style.display = "block", g`
|
|
6166
|
-
${
|
|
6166
|
+
${_o(this.props, (t, s) => {
|
|
6167
6167
|
var e;
|
|
6168
6168
|
const i = s == 0 ? this.templates : (e = this.templates) == null ? void 0 : e.filter(
|
|
6169
6169
|
(o) => o.getAttribute("data-value") != "no-item"
|
|
@@ -6237,7 +6237,7 @@ gt([
|
|
|
6237
6237
|
it = gt([
|
|
6238
6238
|
w(tl)
|
|
6239
6239
|
], it);
|
|
6240
|
-
var el = Object.defineProperty, sl = Object.getOwnPropertyDescriptor,
|
|
6240
|
+
var el = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Fe = (r, t, s, i) => {
|
|
6241
6241
|
for (var e = i > 1 ? void 0 : i ? sl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6242
6242
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
6243
6243
|
return i && e && el(t, s, e), e;
|
|
@@ -6290,8 +6290,8 @@ let Gt = class extends G(_) {
|
|
|
6290
6290
|
case "get":
|
|
6291
6291
|
const vs = new URLSearchParams();
|
|
6292
6292
|
if (o)
|
|
6293
|
-
for (const
|
|
6294
|
-
vs.append(
|
|
6293
|
+
for (const ir in o)
|
|
6294
|
+
vs.append(ir, o[ir]);
|
|
6295
6295
|
const Lo = "?" + vs.toString();
|
|
6296
6296
|
h = await ((E = this.api) == null ? void 0 : E.get(p + Lo, c));
|
|
6297
6297
|
break;
|
|
@@ -6334,7 +6334,7 @@ let Gt = class extends G(_) {
|
|
|
6334
6334
|
};
|
|
6335
6335
|
}
|
|
6336
6336
|
connectedCallback() {
|
|
6337
|
-
this.hasAttribute("onClick") && this.addEventListener("click", this.submit), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", this.submit), super.connectedCallback(), this.api = new
|
|
6337
|
+
this.hasAttribute("onClick") && this.addEventListener("click", this.submit), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", this.submit), super.connectedCallback(), this.api = new Ne(this.getApiConfiguration());
|
|
6338
6338
|
}
|
|
6339
6339
|
submitNativeForm() {
|
|
6340
6340
|
const r = ge.getClosestForm(this);
|
|
@@ -6373,22 +6373,22 @@ Gt.styles = x`
|
|
|
6373
6373
|
user-select: none;
|
|
6374
6374
|
}
|
|
6375
6375
|
`;
|
|
6376
|
-
|
|
6376
|
+
Fe([
|
|
6377
6377
|
l({ type: String })
|
|
6378
6378
|
], Gt.prototype, "submitResultKey", 2);
|
|
6379
|
-
|
|
6379
|
+
Fe([
|
|
6380
6380
|
l({ type: Boolean })
|
|
6381
6381
|
], Gt.prototype, "disabled", 2);
|
|
6382
|
-
|
|
6382
|
+
Fe([
|
|
6383
6383
|
l({ type: String })
|
|
6384
6384
|
], Gt.prototype, "endPoint", 2);
|
|
6385
|
-
|
|
6385
|
+
Fe([
|
|
6386
6386
|
l()
|
|
6387
6387
|
], Gt.prototype, "name", 2);
|
|
6388
|
-
|
|
6388
|
+
Fe([
|
|
6389
6389
|
l()
|
|
6390
6390
|
], Gt.prototype, "value", 2);
|
|
6391
|
-
Gt =
|
|
6391
|
+
Gt = Fe([
|
|
6392
6392
|
w(il)
|
|
6393
6393
|
], Gt);
|
|
6394
6394
|
var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, Wi = (r, t, s, i) => {
|
|
@@ -6439,7 +6439,7 @@ let Is = class extends cs(_) {
|
|
|
6439
6439
|
);
|
|
6440
6440
|
t && r.push(t);
|
|
6441
6441
|
}
|
|
6442
|
-
return g`${
|
|
6442
|
+
return g`${Ks(
|
|
6443
6443
|
r,
|
|
6444
6444
|
(t, s) => s + (/* @__PURE__ */ new Date()).getTime(),
|
|
6445
6445
|
(t) => {
|
|
@@ -6485,7 +6485,7 @@ var al = Object.defineProperty, ll = Object.getOwnPropertyDescriptor, cl = (r, t
|
|
|
6485
6485
|
return i && e && al(t, s, e), e;
|
|
6486
6486
|
};
|
|
6487
6487
|
const hl = "sonic-redirect";
|
|
6488
|
-
let
|
|
6488
|
+
let jr = class extends G(_) {
|
|
6489
6489
|
connectedCallback() {
|
|
6490
6490
|
this.noShadowDom = "", this.style.display = "none", super.connectedCallback(), this.udpateCallBack = () => this.update(), this.publisher && this.publisher.onInternalMutation(this.udpateCallBack);
|
|
6491
6491
|
}
|
|
@@ -6502,9 +6502,9 @@ let Ir = class extends G(_) {
|
|
|
6502
6502
|
t && !(J.isObject(t) && t) && ot.changeFromComponent(this);
|
|
6503
6503
|
}
|
|
6504
6504
|
};
|
|
6505
|
-
|
|
6505
|
+
jr = cl([
|
|
6506
6506
|
w(hl)
|
|
6507
|
-
],
|
|
6507
|
+
], jr);
|
|
6508
6508
|
var dl = Object.defineProperty, pl = Object.getOwnPropertyDescriptor, Ki = (r, t, s, i) => {
|
|
6509
6509
|
for (var e = i > 1 ? void 0 : i ? pl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6510
6510
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -6543,7 +6543,7 @@ let js = class extends G(cs(_)) {
|
|
|
6543
6543
|
n.names.length > 0 && n.match(e) && (s.setAttribute("mode", "patternMatching"), r.push(s));
|
|
6544
6544
|
}
|
|
6545
6545
|
}
|
|
6546
|
-
return g`${
|
|
6546
|
+
return g`${Ks(
|
|
6547
6547
|
r,
|
|
6548
6548
|
(s, i) => i + (/* @__PURE__ */ new Date()).getTime(),
|
|
6549
6549
|
(s) => {
|
|
@@ -6589,7 +6589,7 @@ var fl = Object.defineProperty, gl = Object.getOwnPropertyDescriptor, ml = (r, t
|
|
|
6589
6589
|
return i && e && fl(t, s, e), e;
|
|
6590
6590
|
};
|
|
6591
6591
|
const bl = "sonic-scope";
|
|
6592
|
-
let
|
|
6592
|
+
let Fr = class extends _ {
|
|
6593
6593
|
createRenderRoot() {
|
|
6594
6594
|
return this;
|
|
6595
6595
|
}
|
|
@@ -6597,16 +6597,16 @@ let jr = class extends _ {
|
|
|
6597
6597
|
return g`<slot></slot>`;
|
|
6598
6598
|
}
|
|
6599
6599
|
};
|
|
6600
|
-
|
|
6600
|
+
Fr = ml([
|
|
6601
6601
|
w(bl)
|
|
6602
|
-
],
|
|
6603
|
-
var vl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor,
|
|
6602
|
+
], Fr);
|
|
6603
|
+
var vl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, wo = (r, t, s, i) => {
|
|
6604
6604
|
for (var e = i > 1 ? void 0 : i ? yl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6605
6605
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
6606
6606
|
return i && e && vl(t, s, e), e;
|
|
6607
6607
|
};
|
|
6608
6608
|
const _l = "sonic-example";
|
|
6609
|
-
let
|
|
6609
|
+
let vi = class extends G(_) {
|
|
6610
6610
|
constructor() {
|
|
6611
6611
|
super(...arguments), this.text = "Example";
|
|
6612
6612
|
}
|
|
@@ -6614,12 +6614,12 @@ let bi = class extends G(_) {
|
|
|
6614
6614
|
return g`<div>${this.text}</div>`;
|
|
6615
6615
|
}
|
|
6616
6616
|
};
|
|
6617
|
-
|
|
6617
|
+
wo([
|
|
6618
6618
|
l()
|
|
6619
|
-
],
|
|
6620
|
-
|
|
6619
|
+
], vi.prototype, "text", 2);
|
|
6620
|
+
vi = wo([
|
|
6621
6621
|
w(_l)
|
|
6622
|
-
],
|
|
6622
|
+
], vi);
|
|
6623
6623
|
const wl = {
|
|
6624
6624
|
tagName: "sonic-checkbox"
|
|
6625
6625
|
}, $l = {
|
|
@@ -6891,7 +6891,7 @@ var Hl = Object.defineProperty, Bl = Object.getOwnPropertyDescriptor, Yi = (r, t
|
|
|
6891
6891
|
return i && e && Hl(t, s, e), e;
|
|
6892
6892
|
};
|
|
6893
6893
|
const ql = "sonic-sdui";
|
|
6894
|
-
let Fs = class extends
|
|
6894
|
+
let Fs = class extends go(ee(_)) {
|
|
6895
6895
|
constructor() {
|
|
6896
6896
|
super(...arguments), this.sduiDescriptor = {};
|
|
6897
6897
|
}
|
|
@@ -7048,7 +7048,7 @@ Yi([
|
|
|
7048
7048
|
Fs = Yi([
|
|
7049
7049
|
w(ql)
|
|
7050
7050
|
], Fs);
|
|
7051
|
-
var Wl = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor,
|
|
7051
|
+
var Wl = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor, $o = (r, t, s, i) => {
|
|
7052
7052
|
for (var e = i > 1 ? void 0 : i ? Kl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7053
7053
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
7054
7054
|
return i && e && Wl(t, s, e), e;
|
|
@@ -7119,10 +7119,10 @@ zs.styles = [
|
|
|
7119
7119
|
}
|
|
7120
7120
|
`
|
|
7121
7121
|
];
|
|
7122
|
-
|
|
7122
|
+
$o([
|
|
7123
7123
|
l({ type: Object })
|
|
7124
7124
|
], zs.prototype, "composition", 1);
|
|
7125
|
-
zs =
|
|
7125
|
+
zs = $o([
|
|
7126
7126
|
w("sonic-mix")
|
|
7127
7127
|
], zs);
|
|
7128
7128
|
var Yl = Object.defineProperty, Zl = Object.getOwnPropertyDescriptor, Gl = (r, t, s, i) => {
|
|
@@ -7131,7 +7131,7 @@ var Yl = Object.defineProperty, Zl = Object.getOwnPropertyDescriptor, Gl = (r, t
|
|
|
7131
7131
|
return i && e && Yl(t, s, e), e;
|
|
7132
7132
|
};
|
|
7133
7133
|
const Ql = "sonic-value";
|
|
7134
|
-
let
|
|
7134
|
+
let zr = class extends ee(_) {
|
|
7135
7135
|
connectedCallback() {
|
|
7136
7136
|
this.setAttribute("subDataProvider", this.getAttribute("key")), super.connectedCallback();
|
|
7137
7137
|
}
|
|
@@ -7140,26 +7140,29 @@ let Fr = class extends ee(_) {
|
|
|
7140
7140
|
><slot name="suffix"></slot>`;
|
|
7141
7141
|
}
|
|
7142
7142
|
};
|
|
7143
|
-
|
|
7143
|
+
zr = Gl([
|
|
7144
7144
|
w(Ql)
|
|
7145
|
-
],
|
|
7146
|
-
var Xl = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor,
|
|
7145
|
+
], zr);
|
|
7146
|
+
var Xl = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, Zi = (r, t, s, i) => {
|
|
7147
7147
|
for (var e = i > 1 ? void 0 : i ? Jl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7148
7148
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
7149
7149
|
return i && e && Xl(t, s, e), e;
|
|
7150
7150
|
};
|
|
7151
7151
|
const tc = "sonic-t";
|
|
7152
|
-
let
|
|
7152
|
+
let Rs = class extends _ {
|
|
7153
7153
|
render() {
|
|
7154
|
-
return this.key ? g`${pn(this.key)}` : A;
|
|
7154
|
+
return this.key ? g`${pn(this.key, this.unsafeHTML)}` : A;
|
|
7155
7155
|
}
|
|
7156
7156
|
};
|
|
7157
|
-
|
|
7157
|
+
Zi([
|
|
7158
7158
|
l({ type: String })
|
|
7159
|
-
],
|
|
7160
|
-
|
|
7159
|
+
], Rs.prototype, "key", 2);
|
|
7160
|
+
Zi([
|
|
7161
|
+
l({ type: Boolean })
|
|
7162
|
+
], Rs.prototype, "unsafeHTML", 2);
|
|
7163
|
+
Rs = Zi([
|
|
7161
7164
|
w(tc)
|
|
7162
|
-
],
|
|
7165
|
+
], Rs);
|
|
7163
7166
|
var ec = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, fs = (r, t, s, i) => {
|
|
7164
7167
|
for (var e = i > 1 ? void 0 : i ? sc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7165
7168
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -7345,7 +7348,7 @@ class rc {
|
|
|
7345
7348
|
});
|
|
7346
7349
|
}
|
|
7347
7350
|
}
|
|
7348
|
-
var oc = Object.defineProperty, nc = Object.getOwnPropertyDescriptor,
|
|
7351
|
+
var oc = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, ze = (r, t, s, i) => {
|
|
7349
7352
|
for (var e = i > 1 ? void 0 : i ? nc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7350
7353
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
7351
7354
|
return i && e && oc(t, s, e), e;
|
|
@@ -7407,25 +7410,25 @@ Qt.styles = [
|
|
|
7407
7410
|
}
|
|
7408
7411
|
`
|
|
7409
7412
|
];
|
|
7410
|
-
|
|
7413
|
+
ze([
|
|
7411
7414
|
l({ type: String })
|
|
7412
7415
|
], Qt.prototype, "href", 2);
|
|
7413
|
-
|
|
7416
|
+
ze([
|
|
7414
7417
|
l({ type: String, attribute: "data-aria-label" })
|
|
7415
7418
|
], Qt.prototype, "ariaLabel", 2);
|
|
7416
|
-
|
|
7419
|
+
ze([
|
|
7417
7420
|
l({ type: String })
|
|
7418
7421
|
], Qt.prototype, "autoActive", 2);
|
|
7419
|
-
|
|
7422
|
+
ze([
|
|
7420
7423
|
l({ type: String })
|
|
7421
7424
|
], Qt.prototype, "target", 1);
|
|
7422
|
-
|
|
7425
|
+
ze([
|
|
7423
7426
|
l({ type: Boolean })
|
|
7424
7427
|
], Qt.prototype, "pushState", 2);
|
|
7425
|
-
Qt =
|
|
7428
|
+
Qt = ze([
|
|
7426
7429
|
w(ac)
|
|
7427
7430
|
], Qt);
|
|
7428
|
-
var lc = Object.defineProperty, cc = Object.getOwnPropertyDescriptor,
|
|
7431
|
+
var lc = Object.defineProperty, cc = Object.getOwnPropertyDescriptor, Re = (r, t, s, i) => {
|
|
7429
7432
|
for (var e = i > 1 ? void 0 : i ? cc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7430
7433
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
7431
7434
|
return i && e && lc(t, s, e), e;
|
|
@@ -7560,22 +7563,22 @@ Xt.styles = [
|
|
|
7560
7563
|
}
|
|
7561
7564
|
`
|
|
7562
7565
|
];
|
|
7563
|
-
|
|
7566
|
+
Re([
|
|
7564
7567
|
l({ type: Number })
|
|
7565
7568
|
], Xt.prototype, "value", 2);
|
|
7566
|
-
|
|
7569
|
+
Re([
|
|
7567
7570
|
l({ type: Number })
|
|
7568
7571
|
], Xt.prototype, "max", 2);
|
|
7569
|
-
|
|
7572
|
+
Re([
|
|
7570
7573
|
l({ type: Boolean })
|
|
7571
7574
|
], Xt.prototype, "invert", 2);
|
|
7572
|
-
|
|
7575
|
+
Re([
|
|
7573
7576
|
l({ type: String, reflect: !0 })
|
|
7574
7577
|
], Xt.prototype, "type", 2);
|
|
7575
|
-
|
|
7578
|
+
Re([
|
|
7576
7579
|
l({ type: String, reflect: !0 })
|
|
7577
7580
|
], Xt.prototype, "size", 2);
|
|
7578
|
-
Xt =
|
|
7581
|
+
Xt = Re([
|
|
7579
7582
|
w(hc)
|
|
7580
7583
|
], Xt);
|
|
7581
7584
|
const dc = x`
|
|
@@ -7589,7 +7592,7 @@ const dc = x`
|
|
|
7589
7592
|
:host([inlineContent]) .has-suffix .password-toggle {
|
|
7590
7593
|
margin-right: 0;
|
|
7591
7594
|
}
|
|
7592
|
-
`,
|
|
7595
|
+
`, Qs = x`
|
|
7593
7596
|
:host {
|
|
7594
7597
|
--sc-label-fs: var(--sc-_fs, 1rem);
|
|
7595
7598
|
--sc-label-fw: var(--sc-label-font-weight, 500);
|
|
@@ -7603,14 +7606,14 @@ const dc = x`
|
|
|
7603
7606
|
margin-bottom: 0.22em;
|
|
7604
7607
|
display: block;
|
|
7605
7608
|
}
|
|
7606
|
-
`,
|
|
7609
|
+
`, Xs = x`
|
|
7607
7610
|
.form-description {
|
|
7608
7611
|
color: var(--sc-base-400, var(--sc-base-content, #000));
|
|
7609
7612
|
font-size: 0.85em;
|
|
7610
7613
|
margin-top: 0.2em;
|
|
7611
7614
|
display: block;
|
|
7612
7615
|
}
|
|
7613
|
-
`,
|
|
7616
|
+
`, Gi = x`
|
|
7614
7617
|
* {
|
|
7615
7618
|
box-sizing: border-box;
|
|
7616
7619
|
}
|
|
@@ -7961,10 +7964,10 @@ const dc = x`
|
|
|
7961
7964
|
* Copyright 2018 Google LLC
|
|
7962
7965
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7963
7966
|
*/
|
|
7964
|
-
const
|
|
7967
|
+
const Qi = Pe(class extends Ie {
|
|
7965
7968
|
constructor(r) {
|
|
7966
7969
|
var t;
|
|
7967
|
-
if (super(r), r.type !==
|
|
7970
|
+
if (super(r), r.type !== Me.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
7968
7971
|
}
|
|
7969
7972
|
render(r) {
|
|
7970
7973
|
return " " + Object.keys(r).filter((t) => r[t]).join(" ") + " ";
|
|
@@ -7991,7 +7994,7 @@ var pc = Object.defineProperty, uc = Object.getOwnPropertyDescriptor, q = (r, t,
|
|
|
7991
7994
|
return i && e && pc(t, s, e), e;
|
|
7992
7995
|
};
|
|
7993
7996
|
const fc = "sonic-input";
|
|
7994
|
-
let H = class extends
|
|
7997
|
+
let H = class extends Gs(je(G(_))) {
|
|
7995
7998
|
constructor() {
|
|
7996
7999
|
super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
|
|
7997
8000
|
}
|
|
@@ -8060,7 +8063,7 @@ let H = class extends Zs(Fe(G(_))) {
|
|
|
8060
8063
|
></slot
|
|
8061
8064
|
></label>
|
|
8062
8065
|
|
|
8063
|
-
<div @click=${this.inlineContentFocus} class="form-control ${
|
|
8066
|
+
<div @click=${this.inlineContentFocus} class="form-control ${Qi(
|
|
8064
8067
|
r
|
|
8065
8068
|
)}">
|
|
8066
8069
|
<div part="content" class="${this.inlineContent ? "form-element form-element-wrapper" : "contents"}">
|
|
@@ -8123,9 +8126,9 @@ let H = class extends Zs(Fe(G(_))) {
|
|
|
8123
8126
|
};
|
|
8124
8127
|
H.styles = [
|
|
8125
8128
|
Mt,
|
|
8126
|
-
|
|
8127
|
-
Gs,
|
|
8129
|
+
Gi,
|
|
8128
8130
|
Qs,
|
|
8131
|
+
Xs,
|
|
8129
8132
|
dc,
|
|
8130
8133
|
x`
|
|
8131
8134
|
:host([type="hidden"]) {
|
|
@@ -8425,7 +8428,7 @@ var vc = Object.defineProperty, yc = Object.getOwnPropertyDescriptor, _c = (r, t
|
|
|
8425
8428
|
return i && e && vc(t, s, e), e;
|
|
8426
8429
|
};
|
|
8427
8430
|
const wc = "sonic-menu-item";
|
|
8428
|
-
let
|
|
8431
|
+
let Rr = class extends I {
|
|
8429
8432
|
constructor() {
|
|
8430
8433
|
super();
|
|
8431
8434
|
}
|
|
@@ -8435,9 +8438,9 @@ let zr = class extends I {
|
|
|
8435
8438
|
!this.hasAttribute("align") && !r && (this.align = "left"), super.connectedCallback();
|
|
8436
8439
|
}
|
|
8437
8440
|
};
|
|
8438
|
-
|
|
8441
|
+
Rr = _c([
|
|
8439
8442
|
w(wc)
|
|
8440
|
-
],
|
|
8443
|
+
], Rr);
|
|
8441
8444
|
/**
|
|
8442
8445
|
* @license
|
|
8443
8446
|
* Copyright 2021 Google LLC
|
|
@@ -8478,7 +8481,7 @@ var $c = Object.defineProperty, xc = Object.getOwnPropertyDescriptor, mt = (r, t
|
|
|
8478
8481
|
return i && e && $c(t, s, e), e;
|
|
8479
8482
|
};
|
|
8480
8483
|
let at = class extends Bi(
|
|
8481
|
-
mo(
|
|
8484
|
+
bo(mo(ee(_)))
|
|
8482
8485
|
) {
|
|
8483
8486
|
constructor() {
|
|
8484
8487
|
super(...arguments), this.size = "md", this.placeholder = "", this.filteredFields = "", this.readonly = null, this.dataProviderExpression = "", this.minSearchLength = 0, this.key = "", this.searchParameter = "", this.propertyName = "", this.hasInputPrefix = !1, this._resizeController = new Po(this, {}), this.isPopVisible = !1, this.searchDataProvider = "", this.initSearchDataProvider = "", this.queueDataProvider = "", this.initQueueDataProvider = "", this.lastValidSearch = "", this.updateSearchParameter = (r) => {
|
|
@@ -8526,6 +8529,13 @@ let at = class extends Bi(
|
|
|
8526
8529
|
var r;
|
|
8527
8530
|
this.hasInputPrefix = !!((r = this.slotInputPrefixNodes) != null && r.length);
|
|
8528
8531
|
}
|
|
8532
|
+
get value() {
|
|
8533
|
+
return super.value;
|
|
8534
|
+
}
|
|
8535
|
+
set value(r) {
|
|
8536
|
+
var t;
|
|
8537
|
+
(t = this.searchPublisher) == null || t.set(r), super.value = r;
|
|
8538
|
+
}
|
|
8529
8539
|
connectedCallback() {
|
|
8530
8540
|
var e, o, n, a;
|
|
8531
8541
|
super.connectedCallback();
|
|
@@ -8650,7 +8660,10 @@ at.styles = [
|
|
|
8650
8660
|
:host {
|
|
8651
8661
|
display: block;
|
|
8652
8662
|
}
|
|
8653
|
-
|
|
8663
|
+
/**disable mouse if there is an attribute readonly */
|
|
8664
|
+
:host([readonly]) {
|
|
8665
|
+
pointer-events: none;
|
|
8666
|
+
}
|
|
8654
8667
|
sonic-menu {
|
|
8655
8668
|
display: block;
|
|
8656
8669
|
max-height: clamp(12rem, 20vh, 20rem);
|
|
@@ -8865,7 +8878,7 @@ var kc = Object.defineProperty, Lc = Object.getOwnPropertyDescriptor, qt = (r, t
|
|
|
8865
8878
|
};
|
|
8866
8879
|
const Ec = "sonic-checkbox";
|
|
8867
8880
|
let _t = class extends Ui(
|
|
8868
|
-
|
|
8881
|
+
Gs(je(G(_)))
|
|
8869
8882
|
) {
|
|
8870
8883
|
constructor() {
|
|
8871
8884
|
super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
|
|
@@ -9111,7 +9124,7 @@ var jc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, Q = (r, t,
|
|
|
9111
9124
|
return i && e && jc(t, s, e), e;
|
|
9112
9125
|
};
|
|
9113
9126
|
const zc = "sonic-select";
|
|
9114
|
-
let Y = class extends
|
|
9127
|
+
let Y = class extends je(G(_)) {
|
|
9115
9128
|
constructor() {
|
|
9116
9129
|
super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
|
|
9117
9130
|
const r = this.querySelectorAll(
|
|
@@ -9194,7 +9207,7 @@ let Y = class extends Fe(G(_)) {
|
|
|
9194
9207
|
></slot
|
|
9195
9208
|
></label>
|
|
9196
9209
|
|
|
9197
|
-
<div class="form-control ${
|
|
9210
|
+
<div class="form-control ${Qi(r)}">
|
|
9198
9211
|
<slot name="prefix" @slotchange=${this.hasSlotOrProps}></slot>
|
|
9199
9212
|
<div class="form-select-wrapper">
|
|
9200
9213
|
<select
|
|
@@ -9212,7 +9225,7 @@ let Y = class extends Fe(G(_)) {
|
|
|
9212
9225
|
aria-label=${$(this.ariaLabel)}
|
|
9213
9226
|
aria-labelledby=${$(this.ariaLabelledby)}
|
|
9214
9227
|
>
|
|
9215
|
-
${
|
|
9228
|
+
${Ks(
|
|
9216
9229
|
this.options,
|
|
9217
9230
|
(t) => t[this.valueKey],
|
|
9218
9231
|
(t) => {
|
|
@@ -9247,9 +9260,9 @@ let Y = class extends Fe(G(_)) {
|
|
|
9247
9260
|
};
|
|
9248
9261
|
Y.styles = [
|
|
9249
9262
|
Mt,
|
|
9250
|
-
|
|
9251
|
-
Gs,
|
|
9263
|
+
Gi,
|
|
9252
9264
|
Qs,
|
|
9265
|
+
Xs,
|
|
9253
9266
|
x`
|
|
9254
9267
|
.form-element {
|
|
9255
9268
|
appearance: none;
|
|
@@ -9363,7 +9376,7 @@ var Rc = Object.defineProperty, Uc = Object.getOwnPropertyDescriptor, bt = (r, t
|
|
|
9363
9376
|
return i && e && Rc(t, s, e), e;
|
|
9364
9377
|
};
|
|
9365
9378
|
const Vc = "sonic-textarea";
|
|
9366
|
-
let ct = class extends
|
|
9379
|
+
let ct = class extends Gs(je(G(_))) {
|
|
9367
9380
|
constructor() {
|
|
9368
9381
|
super(...arguments), this.size = "md", this.readonly = !1, this.resize = "vertical", this.hasDescription = !1, this.hasLabel = !1;
|
|
9369
9382
|
}
|
|
@@ -9442,9 +9455,9 @@ ${this.value}</textarea
|
|
|
9442
9455
|
};
|
|
9443
9456
|
ct.styles = [
|
|
9444
9457
|
Mt,
|
|
9445
|
-
|
|
9446
|
-
Gs,
|
|
9458
|
+
Gi,
|
|
9447
9459
|
Qs,
|
|
9460
|
+
Xs,
|
|
9448
9461
|
ps,
|
|
9449
9462
|
x`
|
|
9450
9463
|
textarea {
|
|
@@ -9734,7 +9747,7 @@ jt([
|
|
|
9734
9747
|
xt = jt([
|
|
9735
9748
|
w(Qc)
|
|
9736
9749
|
], xt);
|
|
9737
|
-
var Xc = Object.defineProperty, Jc = Object.getOwnPropertyDescriptor,
|
|
9750
|
+
var Xc = Object.defineProperty, Jc = Object.getOwnPropertyDescriptor, Xi = (r, t, s, i) => {
|
|
9738
9751
|
for (var e = i > 1 ? void 0 : i ? Jc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9739
9752
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
9740
9753
|
return i && e && Xc(t, s, e), e;
|
|
@@ -9754,7 +9767,7 @@ let rs = class extends G(_) {
|
|
|
9754
9767
|
"cq--md": this.offsetWidth > 440,
|
|
9755
9768
|
"one-form-element": this.oneFormElement
|
|
9756
9769
|
};
|
|
9757
|
-
return g`<div class=${
|
|
9770
|
+
return g`<div class=${Qi(r)}>
|
|
9758
9771
|
<slot @slotchange=${this.onSlotChange}></slot>
|
|
9759
9772
|
</div>`;
|
|
9760
9773
|
}
|
|
@@ -9797,16 +9810,16 @@ rs.styles = [
|
|
|
9797
9810
|
}
|
|
9798
9811
|
`
|
|
9799
9812
|
];
|
|
9800
|
-
|
|
9813
|
+
Xi([
|
|
9801
9814
|
xe({ flatten: !0 })
|
|
9802
9815
|
], rs.prototype, "slottedElements", 2);
|
|
9803
|
-
|
|
9816
|
+
Xi([
|
|
9804
9817
|
l({ type: Boolean })
|
|
9805
9818
|
], rs.prototype, "oneFormElement", 2);
|
|
9806
|
-
rs =
|
|
9819
|
+
rs = Xi([
|
|
9807
9820
|
w(th)
|
|
9808
9821
|
], rs);
|
|
9809
|
-
var eh = Object.defineProperty, sh = Object.getOwnPropertyDescriptor,
|
|
9822
|
+
var eh = Object.defineProperty, sh = Object.getOwnPropertyDescriptor, Ji = (r, t, s, i) => {
|
|
9810
9823
|
for (var e = i > 1 ? void 0 : i ? sh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9811
9824
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
9812
9825
|
return i && e && eh(t, s, e), e;
|
|
@@ -9836,13 +9849,13 @@ os.styles = [
|
|
|
9836
9849
|
}
|
|
9837
9850
|
`
|
|
9838
9851
|
];
|
|
9839
|
-
|
|
9852
|
+
Ji([
|
|
9840
9853
|
l({ type: String })
|
|
9841
9854
|
], os.prototype, "direction", 2);
|
|
9842
|
-
|
|
9855
|
+
Ji([
|
|
9843
9856
|
l({ type: String })
|
|
9844
9857
|
], os.prototype, "justify", 2);
|
|
9845
|
-
os =
|
|
9858
|
+
os = Ji([
|
|
9846
9859
|
w(ih)
|
|
9847
9860
|
], os);
|
|
9848
9861
|
var rh = Object.defineProperty, oh = Object.getOwnPropertyDescriptor, ie = (r, t, s, i) => {
|
|
@@ -9899,8 +9912,8 @@ let Nt = class extends _ {
|
|
|
9899
9912
|
};
|
|
9900
9913
|
Nt.styles = [
|
|
9901
9914
|
Mt,
|
|
9902
|
-
Gs,
|
|
9903
9915
|
Qs,
|
|
9916
|
+
Xs,
|
|
9904
9917
|
x`
|
|
9905
9918
|
:host {
|
|
9906
9919
|
display: inline-block;
|
|
@@ -10355,7 +10368,7 @@ var uh = Object.defineProperty, fh = Object.getOwnPropertyDescriptor, Ao = (r, t
|
|
|
10355
10368
|
return i && e && uh(t, s, e), e;
|
|
10356
10369
|
};
|
|
10357
10370
|
const gh = "sonic-modal-actions";
|
|
10358
|
-
let
|
|
10371
|
+
let Us = class extends _ {
|
|
10359
10372
|
firstUpdated(r) {
|
|
10360
10373
|
var t;
|
|
10361
10374
|
(t = this.buttons) == null || t.forEach((s) => {
|
|
@@ -10374,7 +10387,7 @@ let Rs = class extends _ {
|
|
|
10374
10387
|
return g`<slot></slot>`;
|
|
10375
10388
|
}
|
|
10376
10389
|
};
|
|
10377
|
-
|
|
10390
|
+
Us.styles = [
|
|
10378
10391
|
x`
|
|
10379
10392
|
:host {
|
|
10380
10393
|
display: flex;
|
|
@@ -10386,17 +10399,17 @@ Rs.styles = [
|
|
|
10386
10399
|
];
|
|
10387
10400
|
Ao([
|
|
10388
10401
|
xe({ selector: "sonic-button" })
|
|
10389
|
-
],
|
|
10390
|
-
|
|
10402
|
+
], Us.prototype, "buttons", 2);
|
|
10403
|
+
Us = Ao([
|
|
10391
10404
|
w(gh)
|
|
10392
|
-
],
|
|
10405
|
+
], Us);
|
|
10393
10406
|
var mh = Object.defineProperty, bh = Object.getOwnPropertyDescriptor, Co = (r, t, s, i) => {
|
|
10394
10407
|
for (var e = i > 1 ? void 0 : i ? bh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10395
10408
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
10396
10409
|
return i && e && mh(t, s, e), e;
|
|
10397
10410
|
};
|
|
10398
10411
|
const vh = "sonic-modal-close";
|
|
10399
|
-
let
|
|
10412
|
+
let Vs = class extends _ {
|
|
10400
10413
|
render() {
|
|
10401
10414
|
return g`<sonic-button reset=${$(this.reset)} shape="circle" @click=${this.handleClick}
|
|
10402
10415
|
><sonic-icon name="cancel" size="lg"></sonic-icon
|
|
@@ -10406,7 +10419,7 @@ let Us = class extends _ {
|
|
|
10406
10419
|
st.getClosestElement(this, "sonic-modal").hide();
|
|
10407
10420
|
}
|
|
10408
10421
|
};
|
|
10409
|
-
|
|
10422
|
+
Vs.styles = [
|
|
10410
10423
|
x`
|
|
10411
10424
|
:host {
|
|
10412
10425
|
position: sticky;
|
|
@@ -10422,10 +10435,10 @@ Us.styles = [
|
|
|
10422
10435
|
];
|
|
10423
10436
|
Co([
|
|
10424
10437
|
l()
|
|
10425
|
-
],
|
|
10426
|
-
|
|
10438
|
+
], Vs.prototype, "reset", 2);
|
|
10439
|
+
Vs = Co([
|
|
10427
10440
|
w(vh)
|
|
10428
|
-
],
|
|
10441
|
+
], Vs);
|
|
10429
10442
|
var yh = Object.defineProperty, _h = Object.getOwnPropertyDescriptor, wh = (r, t, s, i) => {
|
|
10430
10443
|
for (var e = i > 1 ? void 0 : i ? _h(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10431
10444
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -10545,8 +10558,8 @@ let j = class extends G(_) {
|
|
|
10545
10558
|
keyframeOptions: {
|
|
10546
10559
|
duration: 400
|
|
10547
10560
|
},
|
|
10548
|
-
in:
|
|
10549
|
-
out:
|
|
10561
|
+
in: Dr,
|
|
10562
|
+
out: Or
|
|
10550
10563
|
} : this.effect == "none" ? this.animation = void 0 : this.animation = {
|
|
10551
10564
|
keyframeOptions: {
|
|
10552
10565
|
duration: 400,
|
|
@@ -10589,7 +10602,7 @@ let j = class extends G(_) {
|
|
|
10589
10602
|
class="modal-wrapper"
|
|
10590
10603
|
style=${ft(t)}
|
|
10591
10604
|
${Ps({
|
|
10592
|
-
out:
|
|
10605
|
+
out: Or
|
|
10593
10606
|
})}
|
|
10594
10607
|
tabindex="0"
|
|
10595
10608
|
>
|
|
@@ -10615,7 +10628,7 @@ let j = class extends G(_) {
|
|
|
10615
10628
|
keyframeOptions: {
|
|
10616
10629
|
duration: 500
|
|
10617
10630
|
},
|
|
10618
|
-
in:
|
|
10631
|
+
in: Dr,
|
|
10619
10632
|
out: [{ opacity: 0, pointerEvents: "none" }]
|
|
10620
10633
|
})}
|
|
10621
10634
|
></div>`;
|
|
@@ -11035,7 +11048,7 @@ let ye = class extends G(_) {
|
|
|
11035
11048
|
render() {
|
|
11036
11049
|
var r;
|
|
11037
11050
|
return (r = this.messages) != null && r.length ? g`<div class="container">
|
|
11038
|
-
${
|
|
11051
|
+
${_o(this.messages, (t) => t.type == "public" ? g`<sonic-alert
|
|
11039
11052
|
status=${t.status || "default"}
|
|
11040
11053
|
text=${$(t.content)}
|
|
11041
11054
|
size=${this.size}
|
|
@@ -11449,7 +11462,7 @@ Ai.styles = [
|
|
|
11449
11462
|
Ai = Qh([
|
|
11450
11463
|
w(Xh)
|
|
11451
11464
|
], Ai);
|
|
11452
|
-
var Jh = Object.defineProperty, td = Object.getOwnPropertyDescriptor,
|
|
11465
|
+
var Jh = Object.defineProperty, td = Object.getOwnPropertyDescriptor, tr = (r, t, s, i) => {
|
|
11453
11466
|
for (var e = i > 1 ? void 0 : i ? td(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11454
11467
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
11455
11468
|
return i && e && Jh(t, s, e), e;
|
|
@@ -11510,13 +11523,13 @@ ns.styles = [
|
|
|
11510
11523
|
}
|
|
11511
11524
|
`
|
|
11512
11525
|
];
|
|
11513
|
-
|
|
11526
|
+
tr([
|
|
11514
11527
|
l()
|
|
11515
11528
|
], ns.prototype, "label", 2);
|
|
11516
|
-
|
|
11529
|
+
tr([
|
|
11517
11530
|
l()
|
|
11518
11531
|
], ns.prototype, "description", 2);
|
|
11519
|
-
ns =
|
|
11532
|
+
ns = tr([
|
|
11520
11533
|
w(ed)
|
|
11521
11534
|
], ns);
|
|
11522
11535
|
var sd = Object.defineProperty, id = Object.getOwnPropertyDescriptor, rd = (r, t, s, i) => {
|
|
@@ -11561,7 +11574,7 @@ Si.styles = [
|
|
|
11561
11574
|
Si = ld([
|
|
11562
11575
|
w(cd)
|
|
11563
11576
|
], Si);
|
|
11564
|
-
const
|
|
11577
|
+
const er = x`
|
|
11565
11578
|
:host {
|
|
11566
11579
|
--sc-_color: inherit;
|
|
11567
11580
|
color: var(--sc-_color);
|
|
@@ -11656,7 +11669,7 @@ var dd = Object.defineProperty, pd = Object.getOwnPropertyDescriptor, Do = (r, t
|
|
|
11656
11669
|
return i && e && dd(t, s, e), e;
|
|
11657
11670
|
};
|
|
11658
11671
|
const ud = "sonic-card";
|
|
11659
|
-
let
|
|
11672
|
+
let Hs = class extends _ {
|
|
11660
11673
|
constructor() {
|
|
11661
11674
|
super(...arguments), this.type = "base";
|
|
11662
11675
|
}
|
|
@@ -11664,7 +11677,7 @@ let Vs = class extends _ {
|
|
|
11664
11677
|
return g`<slot></slot> `;
|
|
11665
11678
|
}
|
|
11666
11679
|
};
|
|
11667
|
-
|
|
11680
|
+
Hs.styles = [
|
|
11668
11681
|
hd,
|
|
11669
11682
|
x`
|
|
11670
11683
|
* {
|
|
@@ -11700,10 +11713,10 @@ Vs.styles = [
|
|
|
11700
11713
|
];
|
|
11701
11714
|
Do([
|
|
11702
11715
|
l({ type: String, reflect: !0 })
|
|
11703
|
-
],
|
|
11704
|
-
|
|
11716
|
+
], Hs.prototype, "type", 2);
|
|
11717
|
+
Hs = Do([
|
|
11705
11718
|
w(ud)
|
|
11706
|
-
],
|
|
11719
|
+
], Hs);
|
|
11707
11720
|
var fd = Object.defineProperty, gd = Object.getOwnPropertyDescriptor, bs = (r, t, s, i) => {
|
|
11708
11721
|
for (var e = i > 1 ? void 0 : i ? gd(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11709
11722
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -11722,7 +11735,7 @@ let we = class extends G(_) {
|
|
|
11722
11735
|
}
|
|
11723
11736
|
};
|
|
11724
11737
|
we.styles = [
|
|
11725
|
-
|
|
11738
|
+
er,
|
|
11726
11739
|
x`
|
|
11727
11740
|
:host {
|
|
11728
11741
|
display: table-row;
|
|
@@ -11783,7 +11796,7 @@ let Bt = class extends _ {
|
|
|
11783
11796
|
}
|
|
11784
11797
|
};
|
|
11785
11798
|
Bt.styles = [
|
|
11786
|
-
|
|
11799
|
+
er,
|
|
11787
11800
|
x`
|
|
11788
11801
|
:host {
|
|
11789
11802
|
display: contents;
|
|
@@ -11851,7 +11864,7 @@ let Tt = class extends _ {
|
|
|
11851
11864
|
}
|
|
11852
11865
|
};
|
|
11853
11866
|
Tt.styles = [
|
|
11854
|
-
|
|
11867
|
+
er,
|
|
11855
11868
|
x`
|
|
11856
11869
|
:host {
|
|
11857
11870
|
display: contents;
|
|
@@ -11995,7 +12008,7 @@ Li.styles = [
|
|
|
11995
12008
|
Li = jd([
|
|
11996
12009
|
w(Fd)
|
|
11997
12010
|
], Li);
|
|
11998
|
-
var zd = Object.defineProperty, Rd = Object.getOwnPropertyDescriptor,
|
|
12011
|
+
var zd = Object.defineProperty, Rd = Object.getOwnPropertyDescriptor, Ue = (r, t, s, i) => {
|
|
11999
12012
|
for (var e = i > 1 ? void 0 : i ? Rd(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
12000
12013
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
12001
12014
|
return i && e && zd(t, s, e), e;
|
|
@@ -12068,25 +12081,25 @@ te.styles = [
|
|
|
12068
12081
|
}
|
|
12069
12082
|
`
|
|
12070
12083
|
];
|
|
12071
|
-
|
|
12084
|
+
Ue([
|
|
12072
12085
|
l({ type: String, reflect: !0 })
|
|
12073
12086
|
], te.prototype, "size", 2);
|
|
12074
|
-
|
|
12087
|
+
Ue([
|
|
12075
12088
|
l({ type: Boolean, reflect: !0 })
|
|
12076
12089
|
], te.prototype, "bordered", 2);
|
|
12077
|
-
|
|
12090
|
+
Ue([
|
|
12078
12091
|
l({ type: Boolean, reflect: !0 })
|
|
12079
12092
|
], te.prototype, "rounded", 2);
|
|
12080
|
-
|
|
12093
|
+
Ue([
|
|
12081
12094
|
l({ type: Boolean, reflect: !0 })
|
|
12082
12095
|
], te.prototype, "noCustomScroll", 2);
|
|
12083
|
-
|
|
12096
|
+
Ue([
|
|
12084
12097
|
l({ type: String })
|
|
12085
12098
|
], te.prototype, "maxHeight", 2);
|
|
12086
|
-
te =
|
|
12099
|
+
te = Ue([
|
|
12087
12100
|
w(Ud)
|
|
12088
12101
|
], te);
|
|
12089
|
-
var Vd = Object.defineProperty, Hd = Object.getOwnPropertyDescriptor,
|
|
12102
|
+
var Vd = Object.defineProperty, Hd = Object.getOwnPropertyDescriptor, Js = (r, t, s, i) => {
|
|
12090
12103
|
for (var e = i > 1 ? void 0 : i ? Hd(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
12091
12104
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
12092
12105
|
return i && e && Vd(t, s, e), e;
|
|
@@ -12132,16 +12145,16 @@ let as = class extends ee(_) {
|
|
|
12132
12145
|
return g` <slot></slot> `;
|
|
12133
12146
|
}
|
|
12134
12147
|
};
|
|
12135
|
-
|
|
12148
|
+
Js([
|
|
12136
12149
|
l()
|
|
12137
12150
|
], as.prototype, "key", 2);
|
|
12138
|
-
|
|
12151
|
+
Js([
|
|
12139
12152
|
l()
|
|
12140
12153
|
], as.prototype, "action", 2);
|
|
12141
|
-
|
|
12154
|
+
Js([
|
|
12142
12155
|
l({ type: Number })
|
|
12143
12156
|
], as.prototype, "zIndex", 2);
|
|
12144
|
-
as =
|
|
12157
|
+
as = Js([
|
|
12145
12158
|
w(Bd)
|
|
12146
12159
|
], as);
|
|
12147
12160
|
window.queueMicrotask = window.queueMicrotask || function(r) {
|
|
@@ -12221,7 +12234,7 @@ window["concorde-decorator-subscriber"] = {
|
|
|
12221
12234
|
};
|
|
12222
12235
|
window["concorde-directives-data-provider"] = window["concorde-directives-data-provider"] || {};
|
|
12223
12236
|
window["concorde-directives-data-provider"] = {
|
|
12224
|
-
dp:
|
|
12237
|
+
dp: oo,
|
|
12225
12238
|
dataProvider: cn,
|
|
12226
12239
|
sub: an,
|
|
12227
12240
|
subscribe: nn,
|