@supersoniks/concorde 3.1.21 → 3.1.22

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.
@@ -1,4 +1,4 @@
1
- let tt = class Ot {
1
+ let et = class Ot {
2
2
  /**
3
3
  * retourne la langue de la page courante telle que défini via l'attribut lang de la balise html
4
4
  */
@@ -119,7 +119,7 @@ let tt = class Ot {
119
119
  return typeof t != "string" ? t : t.charAt(0).toUpperCase() + t.substring(1);
120
120
  }
121
121
  static minutesDuration(t, s = "", i = "long") {
122
- s || (s = tt.getLanguage());
122
+ s || (s = et.getLanguage());
123
123
  const e = (h, d) => [Math.floor(h / d), h % d];
124
124
  function o(h, d, f) {
125
125
  return new Intl.NumberFormat(h, { style: "unit", unit: d, unitDisplay: f }).format;
@@ -144,7 +144,7 @@ let tt = class Ot {
144
144
  function Fe(r) {
145
145
  return typeof r == "object" && r != null;
146
146
  }
147
- const Rr = async () => new Promise((r) => {
147
+ const Vr = async () => new Promise((r) => {
148
148
  window.queueMicrotask(() => r(null));
149
149
  });
150
150
  let Se = "sonic";
@@ -188,7 +188,7 @@ let ni = (Dt = class {
188
188
  async _publishAssignement_(t = !1) {
189
189
  this._assignmentId_++;
190
190
  const s = this._assignmentId_;
191
- if (await Rr(), s !== this._assignmentId_)
191
+ if (await Vr(), s !== this._assignmentId_)
192
192
  return;
193
193
  const i = this.get();
194
194
  this._assignListeners_.forEach((e) => {
@@ -447,7 +447,7 @@ let T = (k = class {
447
447
  async setLocalData(t, s) {
448
448
  var i;
449
449
  await this.isLocalStrorageReady, t.set(
450
- ((i = this.localStorageData[s + "¤lang_" + tt.getLanguage()]) == null ? void 0 : i.data) || t.get()
450
+ ((i = this.localStorageData[s + "¤lang_" + et.getLanguage()]) == null ? void 0 : i.data) || t.get()
451
451
  );
452
452
  }
453
453
  get(t, s) {
@@ -493,7 +493,7 @@ let T = (k = class {
493
493
  if (!(o != null && o._is_savable_))
494
494
  continue;
495
495
  const n = o == null ? void 0 : o.get();
496
- n && (this.localStorageData[e + "¤lang_" + tt.getLanguage()] = {
496
+ n && (this.localStorageData[e + "¤lang_" + et.getLanguage()] = {
497
497
  lastModifiationMS: (/* @__PURE__ */ new Date()).getTime(),
498
498
  data: n
499
499
  }, i = !0);
@@ -532,13 +532,13 @@ let T = (k = class {
532
532
  const h = await new Response(l.readable).arrayBuffer();
533
533
  return new TextDecoder().decode(h);
534
534
  }
535
- }, k.buildDate = "Mon Sep 02 2024 15:10:19 GMT+0200 (Central European Summer Time)", k.changed = !1, k.saving = !1, k.saveId = 0, k.instance = null, k.instances = /* @__PURE__ */ new Map(), k.modifiedCollectore = [], k);
535
+ }, k.buildDate = "Tue Sep 03 2024 17:47:20 GMT+0200 (Central European Summer Time)", k.changed = !1, k.saving = !1, k.saveId = 0, k.instance = null, k.instances = /* @__PURE__ */ new Map(), k.modifiedCollectore = [], k);
536
536
  const Bs = window;
537
537
  Bs.SonicPublisherManager || (Bs.SonicPublisherManager = T);
538
538
  Bs.SonicPublisherManager.registerInstance(
539
539
  T.getInstance()
540
540
  );
541
- const Ur = /* @__PURE__ */ new Set([
541
+ const Br = /* @__PURE__ */ new Set([
542
542
  "invalidate",
543
543
  "onInvalidate",
544
544
  "offInvalidate",
@@ -590,7 +590,7 @@ class Be extends ni {
590
590
  * Sinon un autre proxy qui a comme valeur interne la valeur corespondante à la clef dans l'objet.
591
591
  */
592
592
  get: function(o, n) {
593
- if (Ur.has(n))
593
+ if (Br.has(n))
594
594
  return o[n];
595
595
  if (n == Symbol.toPrimitive)
596
596
  return () => e.get();
@@ -658,7 +658,7 @@ class Be extends ni {
658
658
  return t[s];
659
659
  }
660
660
  }
661
- class Vr extends HTMLElement {
661
+ class qr extends HTMLElement {
662
662
  constructor() {
663
663
  super(), this.publisherId = "", this.onAssign = (t) => {
664
664
  this.innerHTML = t.toString();
@@ -676,7 +676,7 @@ class Vr extends HTMLElement {
676
676
  try {
677
677
  customElements.define(
678
678
  Se + "-publisher-proxy",
679
- Vr
679
+ qr
680
680
  );
681
681
  } catch {
682
682
  }
@@ -791,7 +791,7 @@ let As = (E = class {
791
791
  */
792
792
  static addPublisherListeners(t) {
793
793
  E.removePublisherListeners(t);
794
- const s = tt.getAncestorAttributeValue(
794
+ const s = et.getAncestorAttributeValue(
795
795
  t.parentNode || t.host || t,
796
796
  "dataProvider"
797
797
  );
@@ -940,7 +940,7 @@ const _ = (r) => (t, s) => {
940
940
  * SPDX-License-Identifier: BSD-3-Clause
941
941
  */
942
942
  const hs = globalThis, ai = hs.ShadowRoot && (hs.ShadyCSS === void 0 || hs.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, li = Symbol(), ki = /* @__PURE__ */ new WeakMap();
943
- let ar = class {
943
+ let cr = class {
944
944
  constructor(t, s, i) {
945
945
  if (this._$cssResult$ = !0, i !== li)
946
946
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -959,7 +959,7 @@ let ar = class {
959
959
  return this.cssText;
960
960
  }
961
961
  };
962
- const Br = (r) => new ar(typeof r == "string" ? r : r + "", void 0, li), $ = (r, ...t) => {
962
+ const Hr = (r) => new cr(typeof r == "string" ? r : r + "", void 0, li), $ = (r, ...t) => {
963
963
  const s = r.length === 1 ? r[0] : t.reduce((i, e, o) => i + ((n) => {
964
964
  if (n._$cssResult$ === !0)
965
965
  return n.cssText;
@@ -967,8 +967,8 @@ const Br = (r) => new ar(typeof r == "string" ? r : r + "", void 0, li), $ = (r,
967
967
  return n;
968
968
  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.");
969
969
  })(e) + r[o + 1], r[0]);
970
- return new ar(s, r, li);
971
- }, qr = (r, t) => {
970
+ return new cr(s, r, li);
971
+ }, Wr = (r, t) => {
972
972
  if (ai)
973
973
  r.adoptedStyleSheets = t.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet);
974
974
  else
@@ -980,17 +980,17 @@ const Br = (r) => new ar(typeof r == "string" ? r : r + "", void 0, li), $ = (r,
980
980
  let s = "";
981
981
  for (const i of t.cssRules)
982
982
  s += i.cssText;
983
- return Br(s);
983
+ return Hr(s);
984
984
  })(r) : r;
985
985
  /**
986
986
  * @license
987
987
  * Copyright 2017 Google LLC
988
988
  * SPDX-License-Identifier: BSD-3-Clause
989
989
  */
990
- const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Zr, getOwnPropertySymbols: Yr, getPrototypeOf: Gr } = Object, Wt = globalThis, Ei = Wt.trustedTypes, Qr = Ei ? Ei.emptyScript : "", Ms = Wt.reactiveElementPolyfillSupport, ze = (r, t) => r, us = { toAttribute(r, t) {
990
+ const { is: Kr, defineProperty: Zr, getOwnPropertyDescriptor: Yr, getOwnPropertyNames: Gr, getOwnPropertySymbols: Qr, getPrototypeOf: Jr } = Object, Wt = globalThis, Ei = Wt.trustedTypes, Xr = Ei ? Ei.emptyScript : "", Ms = Wt.reactiveElementPolyfillSupport, ze = (r, t) => r, us = { toAttribute(r, t) {
991
991
  switch (t) {
992
992
  case Boolean:
993
- r = r ? Qr : null;
993
+ r = r ? Xr : null;
994
994
  break;
995
995
  case Object:
996
996
  case Array:
@@ -1015,7 +1015,7 @@ const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnProperty
1015
1015
  }
1016
1016
  }
1017
1017
  return s;
1018
- } }, ci = (r, t) => !Hr(r, t), Ni = { attribute: !0, type: String, converter: us, reflect: !1, hasChanged: ci };
1018
+ } }, ci = (r, t) => !Kr(r, t), Ni = { attribute: !0, type: String, converter: us, reflect: !1, hasChanged: ci };
1019
1019
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Wt.litPropertyMetadata ?? (Wt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1020
1020
  let Ae = class extends HTMLElement {
1021
1021
  static addInitializer(t) {
@@ -1027,11 +1027,11 @@ let Ae = class extends HTMLElement {
1027
1027
  static createProperty(t, s = Ni) {
1028
1028
  if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
1029
1029
  const i = Symbol(), e = this.getPropertyDescriptor(t, i, s);
1030
- e !== void 0 && Wr(this.prototype, t, e);
1030
+ e !== void 0 && Zr(this.prototype, t, e);
1031
1031
  }
1032
1032
  }
1033
1033
  static getPropertyDescriptor(t, s, i) {
1034
- const { get: e, set: o } = Kr(this.prototype, t) ?? { get() {
1034
+ const { get: e, set: o } = Yr(this.prototype, t) ?? { get() {
1035
1035
  return this[s];
1036
1036
  }, set(n) {
1037
1037
  this[s] = n;
@@ -1049,14 +1049,14 @@ let Ae = class extends HTMLElement {
1049
1049
  static _$Ei() {
1050
1050
  if (this.hasOwnProperty(ze("elementProperties")))
1051
1051
  return;
1052
- const t = Gr(this);
1052
+ const t = Jr(this);
1053
1053
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
1054
1054
  }
1055
1055
  static finalize() {
1056
1056
  if (this.hasOwnProperty(ze("finalized")))
1057
1057
  return;
1058
1058
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ze("properties"))) {
1059
- const s = this.properties, i = [...Zr(s), ...Yr(s)];
1059
+ const s = this.properties, i = [...Gr(s), ...Qr(s)];
1060
1060
  for (const e of i)
1061
1061
  this.createProperty(e, s[e]);
1062
1062
  }
@@ -1111,7 +1111,7 @@ let Ae = class extends HTMLElement {
1111
1111
  }
1112
1112
  createRenderRoot() {
1113
1113
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1114
- return qr(t, this.constructor.elementStyles), t;
1114
+ return Wr(t, this.constructor.elementStyles), t;
1115
1115
  }
1116
1116
  connectedCallback() {
1117
1117
  var t;
@@ -1234,7 +1234,7 @@ Ae.elementStyles = [], Ae.shadowRootOptions = { mode: "open" }, Ae[ze("elementPr
1234
1234
  * Copyright 2017 Google LLC
1235
1235
  * SPDX-License-Identifier: BSD-3-Clause
1236
1236
  */
1237
- const Jr = { attribute: !0, type: String, converter: us, reflect: !1, hasChanged: ci }, Xr = (r = Jr, t, s) => {
1237
+ const to = { attribute: !0, type: String, converter: us, reflect: !1, hasChanged: ci }, eo = (r = to, t, s) => {
1238
1238
  const { kind: i, metadata: e } = s;
1239
1239
  let o = globalThis.litPropertyMetadata.get(e);
1240
1240
  if (o === void 0 && globalThis.litPropertyMetadata.set(e, o = /* @__PURE__ */ new Map()), o.set(s.name, r), i === "accessor") {
@@ -1256,7 +1256,7 @@ const Jr = { attribute: !0, type: String, converter: us, reflect: !1, hasChanged
1256
1256
  throw Error("Unsupported decorator location: " + i);
1257
1257
  };
1258
1258
  function a(r) {
1259
- return (t, s) => typeof s == "object" ? Xr(r, t, s) : ((i, e, o) => {
1259
+ return (t, s) => typeof s == "object" ? eo(r, t, s) : ((i, e, o) => {
1260
1260
  const n = e.hasOwnProperty(o);
1261
1261
  return e.constructor.createProperty(o, n ? { ...i, wrapped: !0 } : i), n ? Object.getOwnPropertyDescriptor(e, o) : void 0;
1262
1262
  })(r, t, s);
@@ -1326,33 +1326,33 @@ function ct(r) {
1326
1326
  * Copyright 2017 Google LLC
1327
1327
  * SPDX-License-Identifier: BSD-3-Clause
1328
1328
  */
1329
- const Re = globalThis, fs = Re.trustedTypes, Ti = fs ? fs.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, di = "$lit$", Ut = `lit$${Math.random().toFixed(9).slice(2)}$`, pi = "?" + Ut, to = `<${pi}>`, ce = document, qe = () => ce.createComment(""), He = (r) => r === null || typeof r != "object" && typeof r != "function", ui = Array.isArray, lr = (r) => ui(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", js = `[
1329
+ const Re = globalThis, fs = Re.trustedTypes, Ti = fs ? fs.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, di = "$lit$", Ut = `lit$${Math.random().toFixed(9).slice(2)}$`, pi = "?" + Ut, so = `<${pi}>`, ce = document, qe = () => ce.createComment(""), He = (r) => r === null || typeof r != "object" && typeof r != "function", ui = Array.isArray, hr = (r) => ui(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", js = `[
1330
1330
  \f\r]`, Me = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Mi = /-->/g, ji = />/g, ie = RegExp(`>|${js}(?:([^\\s"'>=/]+)(${js}*=${js}*(?:[^
1331
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Ii = /'/g, Fi = /"/g, cr = /^(?:script|style|textarea|title)$/i, eo = (r) => (t, ...s) => ({ _$litType$: r, strings: t, values: s }), g = eo(1), yt = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), zi = /* @__PURE__ */ new WeakMap(), ae = ce.createTreeWalker(ce, 129);
1332
- function hr(r, t) {
1331
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ii = /'/g, Fi = /"/g, dr = /^(?:script|style|textarea|title)$/i, io = (r) => (t, ...s) => ({ _$litType$: r, strings: t, values: s }), g = io(1), yt = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), zi = /* @__PURE__ */ new WeakMap(), ae = ce.createTreeWalker(ce, 129);
1332
+ function pr(r, t) {
1333
1333
  if (!ui(r) || !r.hasOwnProperty("raw"))
1334
1334
  throw Error("invalid template strings array");
1335
1335
  return Ti !== void 0 ? Ti.createHTML(t) : t;
1336
1336
  }
1337
- const dr = (r, t) => {
1337
+ const ur = (r, t) => {
1338
1338
  const s = r.length - 1, i = [];
1339
1339
  let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = Me;
1340
1340
  for (let l = 0; l < s; l++) {
1341
1341
  const c = r[l];
1342
1342
  let h, d, f = -1, m = 0;
1343
1343
  for (; m < c.length && (n.lastIndex = m, d = n.exec(c), d !== null); )
1344
- m = n.lastIndex, n === Me ? d[1] === "!--" ? n = Mi : d[1] !== void 0 ? n = ji : d[2] !== void 0 ? (cr.test(d[2]) && (e = RegExp("</" + d[2], "g")), n = ie) : d[3] !== void 0 && (n = ie) : n === ie ? d[0] === ">" ? (n = e ?? Me, f = -1) : d[1] === void 0 ? f = -2 : (f = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? ie : d[3] === '"' ? Fi : Ii) : n === Fi || n === Ii ? n = ie : n === Mi || n === ji ? n = Me : (n = ie, e = void 0);
1344
+ m = n.lastIndex, n === Me ? d[1] === "!--" ? n = Mi : d[1] !== void 0 ? n = ji : d[2] !== void 0 ? (dr.test(d[2]) && (e = RegExp("</" + d[2], "g")), n = ie) : d[3] !== void 0 && (n = ie) : n === ie ? d[0] === ">" ? (n = e ?? Me, f = -1) : d[1] === void 0 ? f = -2 : (f = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? ie : d[3] === '"' ? Fi : Ii) : n === Fi || n === Ii ? n = ie : n === Mi || n === ji ? n = Me : (n = ie, e = void 0);
1345
1345
  const v = n === ie && r[l + 1].startsWith("/>") ? " " : "";
1346
- o += n === Me ? c + to : f >= 0 ? (i.push(h), c.slice(0, f) + di + c.slice(f) + Ut + v) : c + Ut + (f === -2 ? l : v);
1346
+ o += n === Me ? c + so : f >= 0 ? (i.push(h), c.slice(0, f) + di + c.slice(f) + Ut + v) : c + Ut + (f === -2 ? l : v);
1347
1347
  }
1348
- return [hr(r, o + (r[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
1348
+ return [pr(r, o + (r[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
1349
1349
  };
1350
1350
  class We {
1351
1351
  constructor({ strings: t, _$litType$: s }, i) {
1352
1352
  let e;
1353
1353
  this.parts = [];
1354
1354
  let o = 0, n = 0;
1355
- const l = t.length - 1, c = this.parts, [h, d] = dr(t, s);
1355
+ const l = t.length - 1, c = this.parts, [h, d] = ur(t, s);
1356
1356
  if (this.el = We.createElement(h, i), ae.currentNode = this.el.content, s === 2 || s === 3) {
1357
1357
  const f = this.el.content.firstChild;
1358
1358
  f.replaceWith(...f.childNodes);
@@ -1363,10 +1363,10 @@ class We {
1363
1363
  for (const f of e.getAttributeNames())
1364
1364
  if (f.endsWith(di)) {
1365
1365
  const m = d[n++], v = e.getAttribute(f).split(Ut), b = /([.?@])?(.*)/.exec(m);
1366
- c.push({ type: 1, index: o, name: b[2], strings: v, ctor: b[1] === "." ? fr : b[1] === "?" ? gr : b[1] === "@" ? mr : Qe }), e.removeAttribute(f);
1366
+ c.push({ type: 1, index: o, name: b[2], strings: v, ctor: b[1] === "." ? mr : b[1] === "?" ? br : b[1] === "@" ? vr : Qe }), e.removeAttribute(f);
1367
1367
  } else
1368
1368
  f.startsWith(Ut) && (c.push({ type: 6, index: o }), e.removeAttribute(f));
1369
- if (cr.test(e.tagName)) {
1369
+ if (dr.test(e.tagName)) {
1370
1370
  const f = e.textContent.split(Ut), m = f.length - 1;
1371
1371
  if (m > 0) {
1372
1372
  e.textContent = fs ? fs.emptyScript : "";
@@ -1399,7 +1399,7 @@ function he(r, t, s = r, i) {
1399
1399
  const o = He(t) ? void 0 : t._$litDirective$;
1400
1400
  return (e == null ? void 0 : e.constructor) !== o && ((l = e == null ? void 0 : e._$AO) == null || l.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 = he(r, e._$AS(r, t.values), e, i)), t;
1401
1401
  }
1402
- let pr = class {
1402
+ let fr = class {
1403
1403
  constructor(t, s) {
1404
1404
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = s;
1405
1405
  }
@@ -1416,7 +1416,7 @@ let pr = class {
1416
1416
  for (; c !== void 0; ) {
1417
1417
  if (n === c.index) {
1418
1418
  let h;
1419
- c.type === 2 ? h = new Ss(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new br(o, this, t)), this._$AV.push(h), c = i[++l];
1419
+ c.type === 2 ? h = new Ss(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new yr(o, this, t)), this._$AV.push(h), c = i[++l];
1420
1420
  }
1421
1421
  n !== (c == null ? void 0 : c.index) && (o = ae.nextNode(), n++);
1422
1422
  }
@@ -1427,7 +1427,7 @@ let pr = class {
1427
1427
  for (const i of this._$AV)
1428
1428
  i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++;
1429
1429
  }
1430
- }, Ss = class ur {
1430
+ }, Ss = class gr {
1431
1431
  get _$AU() {
1432
1432
  var t;
1433
1433
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this.v;
@@ -1447,7 +1447,7 @@ let pr = class {
1447
1447
  return this._$AB;
1448
1448
  }
1449
1449
  _$AI(t, s = this) {
1450
- t = he(this, t, s), He(t) ? t === C || t == null || t === "" ? (this._$AH !== C && this._$AR(), this._$AH = C) : t !== this._$AH && t !== yt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : lr(t) ? this.k(t) : this._(t);
1450
+ t = he(this, t, s), He(t) ? t === C || t == null || t === "" ? (this._$AH !== C && this._$AR(), this._$AH = C) : t !== this._$AH && t !== yt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : hr(t) ? this.k(t) : this._(t);
1451
1451
  }
1452
1452
  O(t) {
1453
1453
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -1460,11 +1460,11 @@ let pr = class {
1460
1460
  }
1461
1461
  $(t) {
1462
1462
  var o;
1463
- const { values: s, _$litType$: i } = t, e = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = We.createElement(hr(i.h, i.h[0]), this.options)), i);
1463
+ const { values: s, _$litType$: i } = t, e = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = We.createElement(pr(i.h, i.h[0]), this.options)), i);
1464
1464
  if (((o = this._$AH) == null ? void 0 : o._$AD) === e)
1465
1465
  this._$AH.p(s);
1466
1466
  else {
1467
- const n = new pr(e, this), l = n.u(this.options);
1467
+ const n = new fr(e, this), l = n.u(this.options);
1468
1468
  n.p(s), this.T(l), this._$AH = n;
1469
1469
  }
1470
1470
  }
@@ -1477,7 +1477,7 @@ let pr = class {
1477
1477
  const s = this._$AH;
1478
1478
  let i, e = 0;
1479
1479
  for (const o of t)
1480
- e === s.length ? s.push(i = new ur(this.O(qe()), this.O(qe()), this, this.options)) : i = s[e], i._$AI(o), e++;
1480
+ e === s.length ? s.push(i = new gr(this.O(qe()), this.O(qe()), this, this.options)) : i = s[e], i._$AI(o), e++;
1481
1481
  e < s.length && (this._$AR(i && i._$AB.nextSibling, e), s.length = e);
1482
1482
  }
1483
1483
  _$AR(t = this._$AA.nextSibling, s) {
@@ -1519,7 +1519,7 @@ class Qe {
1519
1519
  t === C ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1520
1520
  }
1521
1521
  }
1522
- class fr extends Qe {
1522
+ class mr extends Qe {
1523
1523
  constructor() {
1524
1524
  super(...arguments), this.type = 3;
1525
1525
  }
@@ -1527,7 +1527,7 @@ class fr extends Qe {
1527
1527
  this.element[this.name] = t === C ? void 0 : t;
1528
1528
  }
1529
1529
  }
1530
- class gr extends Qe {
1530
+ class br extends Qe {
1531
1531
  constructor() {
1532
1532
  super(...arguments), this.type = 4;
1533
1533
  }
@@ -1535,7 +1535,7 @@ class gr extends Qe {
1535
1535
  this.element.toggleAttribute(this.name, !!t && t !== C);
1536
1536
  }
1537
1537
  }
1538
- class mr extends Qe {
1538
+ class vr extends Qe {
1539
1539
  constructor(t, s, i, e, o) {
1540
1540
  super(t, s, i, e, o), this.type = 5;
1541
1541
  }
@@ -1550,7 +1550,7 @@ class mr extends Qe {
1550
1550
  typeof this._$AH == "function" ? this._$AH.call(((s = this.options) == null ? void 0 : s.host) ?? this.element, t) : this._$AH.handleEvent(t);
1551
1551
  }
1552
1552
  }
1553
- class br {
1553
+ class yr {
1554
1554
  constructor(t, s, i) {
1555
1555
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = s, this.options = i;
1556
1556
  }
@@ -1561,9 +1561,9 @@ class br {
1561
1561
  he(this, t);
1562
1562
  }
1563
1563
  }
1564
- const so = { M: di, P: Ut, A: pi, C: 1, L: dr, R: pr, D: lr, V: he, I: Ss, H: Qe, N: gr, U: mr, B: fr, F: br }, Is = Re.litHtmlPolyfillSupport;
1564
+ const ro = { M: di, P: Ut, A: pi, C: 1, L: ur, R: fr, D: hr, V: he, I: Ss, H: Qe, N: br, U: vr, B: mr, F: yr }, Is = Re.litHtmlPolyfillSupport;
1565
1565
  Is == null || Is(We, Ss), (Re.litHtmlVersions ?? (Re.litHtmlVersions = [])).push("3.2.0");
1566
- const io = (r, t, s) => {
1566
+ const oo = (r, t, s) => {
1567
1567
  const i = (s == null ? void 0 : s.renderBefore) ?? t;
1568
1568
  let e = i._$litPart$;
1569
1569
  if (e === void 0) {
@@ -1577,12 +1577,12 @@ const io = (r, t, s) => {
1577
1577
  * Copyright 2020 Google LLC
1578
1578
  * SPDX-License-Identifier: BSD-3-Clause
1579
1579
  */
1580
- const { I: ro } = so, oo = (r) => r.strings === void 0, Ri = () => document.createComment(""), je = (r, t, s) => {
1580
+ const { I: no } = ro, ao = (r) => r.strings === void 0, Ri = () => document.createComment(""), je = (r, t, s) => {
1581
1581
  var o;
1582
1582
  const i = r._$AA.parentNode, e = t === void 0 ? r._$AB : t._$AA;
1583
1583
  if (s === void 0) {
1584
1584
  const n = i.insertBefore(Ri(), e), l = i.insertBefore(Ri(), e);
1585
- s = new ro(n, l, r, r.options);
1585
+ s = new no(n, l, r, r.options);
1586
1586
  } else {
1587
1587
  const n = s._$AB.nextSibling, l = s._$AM, c = l !== r;
1588
1588
  if (c) {
@@ -1598,7 +1598,7 @@ const { I: ro } = so, oo = (r) => r.strings === void 0, Ri = () => document.crea
1598
1598
  }
1599
1599
  }
1600
1600
  return s;
1601
- }, re = (r, t, s = r) => (r._$AI(t, s), r), no = {}, ao = (r, t = no) => r._$AH = t, lo = (r) => r._$AH, Fs = (r) => {
1601
+ }, re = (r, t, s = r) => (r._$AI(t, s), r), lo = {}, co = (r, t = lo) => r._$AH = t, ho = (r) => r._$AH, Fs = (r) => {
1602
1602
  var i;
1603
1603
  (i = r._$AP) == null || i.call(r, !1, !0);
1604
1604
  let t = r._$AA;
@@ -1650,20 +1650,20 @@ const Ue = (r, t) => {
1650
1650
  break;
1651
1651
  s = t._$AN, s.delete(r), r = t;
1652
1652
  } while ((s == null ? void 0 : s.size) === 0);
1653
- }, vr = (r) => {
1653
+ }, wr = (r) => {
1654
1654
  for (let t; t = r._$AM; r = t) {
1655
1655
  let s = t._$AN;
1656
1656
  if (s === void 0)
1657
1657
  t._$AN = s = /* @__PURE__ */ new Set();
1658
1658
  else if (s.has(r))
1659
1659
  break;
1660
- s.add(r), po(t);
1660
+ s.add(r), fo(t);
1661
1661
  }
1662
1662
  };
1663
- function co(r) {
1664
- this._$AN !== void 0 ? (gs(this), this._$AM = r, vr(this)) : this._$AM = r;
1663
+ function po(r) {
1664
+ this._$AN !== void 0 ? (gs(this), this._$AM = r, wr(this)) : this._$AM = r;
1665
1665
  }
1666
- function ho(r, t = !1, s = 0) {
1666
+ function uo(r, t = !1, s = 0) {
1667
1667
  const i = this._$AH, e = this._$AN;
1668
1668
  if (e !== void 0 && e.size !== 0)
1669
1669
  if (t)
@@ -1675,22 +1675,22 @@ function ho(r, t = !1, s = 0) {
1675
1675
  else
1676
1676
  Ue(this, r);
1677
1677
  }
1678
- const po = (r) => {
1679
- r.type == ye.CHILD && (r._$AP ?? (r._$AP = ho), r._$AQ ?? (r._$AQ = co));
1678
+ const fo = (r) => {
1679
+ r.type == ye.CHILD && (r._$AP ?? (r._$AP = uo), r._$AQ ?? (r._$AQ = po));
1680
1680
  };
1681
1681
  class fi extends De {
1682
1682
  constructor() {
1683
1683
  super(...arguments), this._$AN = void 0;
1684
1684
  }
1685
1685
  _$AT(t, s, i) {
1686
- super._$AT(t, s, i), vr(this), this.isConnected = t._$AU;
1686
+ super._$AT(t, s, i), wr(this), this.isConnected = t._$AU;
1687
1687
  }
1688
1688
  _$AO(t, s = !0) {
1689
1689
  var i, e;
1690
1690
  t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (e = this.disconnected) == null || e.call(this)), s && (Ue(this, t), gs(this));
1691
1691
  }
1692
1692
  setValue(t) {
1693
- if (oo(this.t))
1693
+ if (ao(this.t))
1694
1694
  this.t._$AI(t, this);
1695
1695
  else {
1696
1696
  const s = [...this.t._$AH];
@@ -1718,7 +1718,7 @@ let w = class extends Ae {
1718
1718
  }
1719
1719
  update(t) {
1720
1720
  const s = this.render();
1721
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this.o = io(s, this.renderRoot, this.renderOptions);
1721
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this.o = oo(s, this.renderRoot, this.renderOptions);
1722
1722
  }
1723
1723
  connectedCallback() {
1724
1724
  var t;
@@ -1732,8 +1732,8 @@ let w = class extends Ae {
1732
1732
  return yt;
1733
1733
  }
1734
1734
  };
1735
- var nr;
1736
- w._$litElement$ = !0, w.finalized = !0, (nr = globalThis.litElementHydrateSupport) == null || nr.call(globalThis, { LitElement: w });
1735
+ var lr;
1736
+ w._$litElement$ = !0, w.finalized = !0, (lr = globalThis.litElementHydrateSupport) == null || lr.call(globalThis, { LitElement: w });
1737
1737
  const zs = globalThis.litElementPolyfillSupport;
1738
1738
  zs == null || zs({ LitElement: w });
1739
1739
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.0");
@@ -1751,7 +1751,7 @@ function Os(r) {
1751
1751
  }
1752
1752
  return /* @__PURE__ */ new Set([r]);
1753
1753
  }
1754
- class uo extends fi {
1754
+ class go extends fi {
1755
1755
  /* eslint-disable @typescript-eslint/no-explicit-any*/
1756
1756
  constructor(t) {
1757
1757
  var s;
@@ -1790,35 +1790,35 @@ class uo extends fi {
1790
1790
  this.observable && this.subscribe(this.observable);
1791
1791
  }
1792
1792
  }
1793
- const yr = we(uo), fo = yr, go = yr, mo = (r) => Os(r).values().next().value.get(), wr = (r, t) => {
1793
+ const _r = we(go), mo = _r, bo = _r, vo = (r) => Os(r).values().next().value.get(), xr = (r, t) => {
1794
1794
  const s = Os(r).values().next().value;
1795
1795
  if (t !== void 0) {
1796
1796
  const i = s.get();
1797
1797
  J.isEmpty(i) && s.set(t);
1798
1798
  }
1799
1799
  return s;
1800
- }, bo = wr, _r = wr, vo = (r, t) => {
1800
+ }, yo = xr, Pr = xr, wo = (r, t) => {
1801
1801
  Os(r).values().next().value.set(t);
1802
- }, I = class I {
1802
+ }, F = class F {
1803
1803
  constructor(t) {
1804
1804
  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";
1805
1805
  }
1806
1806
  set token(t) {
1807
1807
  if (this._token = t, !t) {
1808
- I.tokens.delete(this.serviceURL);
1808
+ F.tokens.delete(this.serviceURL);
1809
1809
  return;
1810
1810
  }
1811
- I.invalidTokens.includes(t) || I.tokens.set(this.serviceURL, t);
1811
+ F.invalidTokens.includes(t) || F.tokens.set(this.serviceURL, t);
1812
1812
  }
1813
1813
  get token() {
1814
- return I.invalidTokens.includes(this._token) ? I.tokens.get(this.serviceURL) : this._token;
1814
+ return F.invalidTokens.includes(this._token) ? F.tokens.get(this.serviceURL) : this._token;
1815
1815
  }
1816
1816
  handleInvalidToken(t) {
1817
- t && (I.invalidTokens.includes(t) || (I.invalidTokens.push(t), this.token = null));
1817
+ t && (F.invalidTokens.includes(t) || (F.invalidTokens.push(t), this.token = null));
1818
1818
  }
1819
1819
  async handleResult(t, s) {
1820
1820
  var n;
1821
- I.firstCallDoneFlags.set(this.serviceURL, "done"), this.lastResult = t;
1821
+ F.firstCallDoneFlags.set(this.serviceURL, "done"), this.lastResult = t;
1822
1822
  const i = (n = t.headers.get("content-type")) == null ? void 0 : n.toLowerCase(), e = t.status;
1823
1823
  let o = {};
1824
1824
  if (!i || i.indexOf("text/") == 0)
@@ -1829,7 +1829,7 @@ const yr = we(uo), fo = yr, go = yr, mo = (r) => Os(r).values().next().value.get
1829
1829
  } catch {
1830
1830
  o = {};
1831
1831
  }
1832
- return this.addHTTPResponse && J.isObject(o) && (o._sonic_http_response_ = t), e === 498 && !I.failledTokenUpdates.has(this.serviceURL) && (this.handleInvalidToken(this.token), s.apiMethod === "get" ? o = await this[s.apiMethod](
1832
+ return this.addHTTPResponse && J.isObject(o) && (o._sonic_http_response_ = t), e === 498 && !F.failledTokenUpdates.has(this.serviceURL) && (this.handleInvalidToken(this.token), s.apiMethod === "get" ? o = await this[s.apiMethod](
1833
1833
  s.path,
1834
1834
  s.additionalHeaders
1835
1835
  ) : o = await this[s.apiMethod](
@@ -1845,8 +1845,8 @@ const yr = we(uo), fo = yr, go = yr, mo = (r) => Os(r).values().next().value.get
1845
1845
  async auth() {
1846
1846
  if (this.token)
1847
1847
  return;
1848
- if (I.tokens.has(this.serviceURL)) {
1849
- this.token = I.tokens.get(this.serviceURL);
1848
+ if (F.tokens.has(this.serviceURL)) {
1849
+ this.token = F.tokens.get(this.serviceURL);
1850
1850
  return;
1851
1851
  }
1852
1852
  if (!this.tokenProvider)
@@ -1870,9 +1870,9 @@ const yr = we(uo), fo = yr, go = yr, mo = (r) => Os(r).values().next().value.get
1870
1870
  );
1871
1871
  try {
1872
1872
  const o = await e.json();
1873
- o.token ? this.token = o.token : I.failledTokenUpdates.set(this.serviceURL, !0);
1873
+ o.token ? this.token = o.token : F.failledTokenUpdates.set(this.serviceURL, !0);
1874
1874
  } catch {
1875
- I.failledTokenUpdates.set(this.serviceURL, !0);
1875
+ F.failledTokenUpdates.set(this.serviceURL, !0);
1876
1876
  }
1877
1877
  }
1878
1878
  /**
@@ -1912,12 +1912,12 @@ const yr = we(uo), fo = yr, go = yr, mo = (r) => Os(r).values().next().value.get
1912
1912
  */
1913
1913
  firstCallDone() {
1914
1914
  return new Promise((t) => {
1915
- if (!I.firstCallDoneFlags.has(this.serviceURL))
1916
- I.firstCallDoneFlags.set(this.serviceURL, "loading"), t(!0);
1915
+ if (!F.firstCallDoneFlags.has(this.serviceURL))
1916
+ F.firstCallDoneFlags.set(this.serviceURL, "loading"), t(!0);
1917
1917
  else {
1918
1918
  const s = () => {
1919
1919
  [void 0, "loading"].includes(
1920
- I.firstCallDoneFlags.get(this.serviceURL)
1920
+ F.firstCallDoneFlags.get(this.serviceURL)
1921
1921
  ) ? window.requestAnimationFrame(s) : t(!0);
1922
1922
  };
1923
1923
  s();
@@ -1925,7 +1925,7 @@ const yr = we(uo), fo = yr, go = yr, mo = (r) => Os(r).values().next().value.get
1925
1925
  });
1926
1926
  }
1927
1927
  async get(t, s) {
1928
- await this.firstCallDone(), this.blockUntilDone && I.firstCallDoneFlags.set(this.serviceURL, "loading");
1928
+ await this.firstCallDone(), this.blockUntilDone && F.firstCallDoneFlags.set(this.serviceURL, "loading");
1929
1929
  const i = /dataProvider\((.*?)\)(.*?)$/;
1930
1930
  if (i.test(t)) {
1931
1931
  const h = t.match(i);
@@ -1941,7 +1941,7 @@ const yr = we(uo), fo = yr, go = yr, mo = (r) => Os(r).values().next().value.get
1941
1941
  url: n,
1942
1942
  headers: o
1943
1943
  });
1944
- if (!I.loadingGetPromises.has(l)) {
1944
+ if (!F.loadingGetPromises.has(l)) {
1945
1945
  const h = new Promise(async (d) => {
1946
1946
  try {
1947
1947
  const f = await fetch(n, {
@@ -1954,10 +1954,10 @@ const yr = we(uo), fo = yr, go = yr, mo = (r) => Os(r).values().next().value.get
1954
1954
  d(null);
1955
1955
  }
1956
1956
  });
1957
- I.loadingGetPromises.set(l, h);
1957
+ F.loadingGetPromises.set(l, h);
1958
1958
  }
1959
- const c = await I.loadingGetPromises.get(l);
1960
- return I.loadingGetPromises.delete(l), c;
1959
+ const c = await F.loadingGetPromises.get(l);
1960
+ return F.loadingGetPromises.delete(l), c;
1961
1961
  }
1962
1962
  /**
1963
1963
  * Création du header, avec authentification si besoin
@@ -1966,7 +1966,7 @@ const yr = we(uo), fo = yr, go = yr, mo = (r) => Os(r).values().next().value.get
1966
1966
  async createHeaders(t) {
1967
1967
  await this.auth();
1968
1968
  const s = {};
1969
- return this.token && (s.Authorization = "Bearer " + this.token), s["Accept-Language"] = tt.getLanguage(), t && Object.assign(s, t), s;
1969
+ return this.token && (s.Authorization = "Bearer " + this.token), s["Accept-Language"] = et.getLanguage(), t && Object.assign(s, t), s;
1970
1970
  }
1971
1971
  /**
1972
1972
  * Concatène le serviceURL et le endpoint donné en paramètre
@@ -2047,8 +2047,8 @@ const yr = we(uo), fo = yr, go = yr, mo = (r) => Os(r).values().next().value.get
2047
2047
  return this.send(t, s, "delete", i);
2048
2048
  }
2049
2049
  };
2050
- I.loadingGetPromises = /* @__PURE__ */ new Map(), I.tokens = /* @__PURE__ */ new Map(), I.invalidTokens = [], I.failledTokenUpdates = /* @__PURE__ */ new Map(), I.firstCallDoneFlags = /* @__PURE__ */ new Map();
2051
- let Oe = I;
2050
+ F.loadingGetPromises = /* @__PURE__ */ new Map(), F.tokens = /* @__PURE__ */ new Map(), F.invalidTokens = [], F.failledTokenUpdates = /* @__PURE__ */ new Map(), F.firstCallDoneFlags = /* @__PURE__ */ new Map();
2051
+ let Oe = F;
2052
2052
  /**
2053
2053
  * @license
2054
2054
  * Copyright 2017 Google LLC
@@ -2074,13 +2074,13 @@ class qs extends De {
2074
2074
  }
2075
2075
  }
2076
2076
  qs.directiveName = "unsafeHTML", qs.resultType = 1;
2077
- const F = we(qs), Hs = /* @__PURE__ */ new Map(), Ui = (r) => {
2077
+ const z = we(qs), Hs = /* @__PURE__ */ new Map(), Ui = (r) => {
2078
2078
  if (!r)
2079
2079
  return null;
2080
- const t = tt.getApiConfiguration(r), s = tt.getAncestorAttributeValue(
2080
+ const t = et.getApiConfiguration(r), s = et.getAncestorAttributeValue(
2081
2081
  r,
2082
2082
  "wordingProvider"
2083
- ), i = tt.getAncestorAttributeValue(
2083
+ ), i = et.getAncestorAttributeValue(
2084
2084
  r,
2085
2085
  "wordingVersionProvider"
2086
2086
  ), e = {
@@ -2107,7 +2107,7 @@ const F = we(qs), Hs = /* @__PURE__ */ new Map(), Ui = (r) => {
2107
2107
  /* eslint-disable @typescript-eslint/no-explicit-any*/
2108
2108
  constructor(t) {
2109
2109
  super(t), this.useUnsafeHTML = !1, this.onAssign = (s) => {
2110
- const i = this.useUnsafeHTML ? F(s) : s;
2110
+ const i = this.useUnsafeHTML ? z(s) : s;
2111
2111
  this.setValue(i);
2112
2112
  }, this.node = t.options.host;
2113
2113
  }
@@ -2126,11 +2126,11 @@ const F = we(qs), Hs = /* @__PURE__ */ new Map(), Ui = (r) => {
2126
2126
  B.publisher.get()[f] === Vi && delete B.publisher[f];
2127
2127
  }
2128
2128
  if (t) {
2129
- const d = tt.getAncestorAttributeValue(
2129
+ const d = et.getAncestorAttributeValue(
2130
2130
  t,
2131
2131
  "wordingVersionProvider"
2132
2132
  );
2133
- d && _r(d).onAssign(
2133
+ d && Pr(d).onAssign(
2134
2134
  B.handleVersionProvider(t)
2135
2135
  );
2136
2136
  }
@@ -2217,10 +2217,10 @@ B.publisher = T.get("sonic-wording", {
2217
2217
  localStorageMode: "enabled"
2218
2218
  }), B.firstCall = !0, B.versionProviderHandlers = /* @__PURE__ */ new Map();
2219
2219
  let Ve = B;
2220
- var yo = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, zt = (r, t, s, i) => {
2221
- for (var e = i > 1 ? void 0 : i ? wo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
2220
+ var _o = Object.defineProperty, xo = Object.getOwnPropertyDescriptor, zt = (r, t, s, i) => {
2221
+ for (var e = i > 1 ? void 0 : i ? xo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
2222
2222
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
2223
- return i && e && yo(t, s, e), e;
2223
+ return i && e && _o(t, s, e), e;
2224
2224
  };
2225
2225
  let as = !1, Rs = /* @__PURE__ */ new Set();
2226
2226
  const Z = (r, t) => {
@@ -2245,7 +2245,7 @@ const Z = (r, t) => {
2245
2245
  * @returns valeur de l'attribut ou null si l'attribut n'est pas trouvé
2246
2246
  */
2247
2247
  getAncestorAttributeValue(n) {
2248
- return tt.getAncestorAttributeValue(this, n);
2248
+ return et.getAncestorAttributeValue(this, n);
2249
2249
  }
2250
2250
  get props() {
2251
2251
  return this._props !== null || !this.publisher ? this._props : this.publisher.get();
@@ -2324,7 +2324,7 @@ const Z = (r, t) => {
2324
2324
  * A voir si on le bouge dans un utilitaire
2325
2325
  */
2326
2326
  getApiConfiguration() {
2327
- return tt.getApiConfiguration(this);
2327
+ return et.getApiConfiguration(this);
2328
2328
  }
2329
2329
  /**
2330
2330
  * Initialise le remplisage automatique des traductions / du wording
@@ -2392,10 +2392,10 @@ const Z = (r, t) => {
2392
2392
  a()
2393
2393
  ], s.prototype, "props", 1), s;
2394
2394
  };
2395
- var _o = Object.defineProperty, xo = (r, t, s, i) => {
2395
+ var Po = Object.defineProperty, $o = (r, t, s, i) => {
2396
2396
  for (var e = void 0, o = r.length - 1, n; o >= 0; o--)
2397
2397
  (n = r[o]) && (e = n(t, s, e) || e);
2398
- return e && _o(t, s, e), e;
2398
+ return e && Po(t, s, e), e;
2399
2399
  };
2400
2400
  const Je = (r) => {
2401
2401
  class t extends r {
@@ -2409,16 +2409,16 @@ const Je = (r) => {
2409
2409
  this.templateList = i.filter((e) => !e.getAttribute("data-value")), this.templateList.length == 0 && (this.templateList = i), super.connectedCallback();
2410
2410
  }
2411
2411
  }
2412
- return xo([
2412
+ return $o([
2413
2413
  a({ type: Array })
2414
2414
  ], t.prototype, "templates"), t;
2415
2415
  };
2416
- var Po = Object.defineProperty, $o = Object.getOwnPropertyDescriptor, Y = (r, t, s, i) => {
2417
- for (var e = i > 1 ? void 0 : i ? $o(t, s) : t, o = r.length - 1, n; o >= 0; o--)
2416
+ var Co = Object.defineProperty, Ao = Object.getOwnPropertyDescriptor, Y = (r, t, s, i) => {
2417
+ for (var e = i > 1 ? void 0 : i ? Ao(t, s) : t, o = r.length - 1, n; o >= 0; o--)
2418
2418
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
2419
- return i && e && Po(t, s, e), e;
2419
+ return i && e && Co(t, s, e), e;
2420
2420
  };
2421
- const Co = "sonic-date";
2421
+ const So = "sonic-date";
2422
2422
  let W = class extends Z(Je(w)) {
2423
2423
  constructor() {
2424
2424
  super(...arguments), this.pageLanguage = "fr", this.duAu = [], this._wording_billet_periode_validite = "", this.designMode = null, this.time_zone = null, this.date = null, this.date_string = null, this.start_date_string = null, this.end_date_string = null, this.start_date = 0, this.hide_hours = !1, this.end_date = 0, this.era = "", this.year = "numeric", this.month = "short", this.day = "2-digit", this.weekday = "short", this.hour = "2-digit", this.hour12 = !1, this.minute = "2-digit", this.language = "", this.renderIf = !0, this.now = !1, this.startDateObject = /* @__PURE__ */ new Date(), this.endDateObject = /* @__PURE__ */ new Date();
@@ -2431,7 +2431,7 @@ let W = class extends Z(Je(w)) {
2431
2431
  r || (r = "Du %s au %s"), this._wording_billet_periode_validite = r, this.duAu = (t = this.wording_billet_periode_validite) == null ? void 0 : t.split("%s").map((s) => s.trim()), this.duAu.pop(), this.requestUpdate();
2432
2432
  }
2433
2433
  connectedCallback() {
2434
- this.hasAttribute("wording_billet_periode_validite") || (this.wording_billet_periode_validite = "Du %s au %s"), this.pageLanguage = tt.getLanguage(), super.connectedCallback();
2434
+ this.hasAttribute("wording_billet_periode_validite") || (this.wording_billet_periode_validite = "Du %s au %s"), this.pageLanguage = et.getLanguage(), super.connectedCallback();
2435
2435
  }
2436
2436
  /**
2437
2437
  * Retourne un tableau des différentes parties de la date en fonction des options données, de la date de début et de fin.
@@ -2482,7 +2482,7 @@ let W = class extends Z(Je(w)) {
2482
2482
  };
2483
2483
  this.weekday !== "hidden" && (r.weekday = this.weekday), this.hour !== "hidden" && (r.hour = this.hour), this.minute !== "hidden" && (r.minute = this.minute), this.era && (r.era = this.era), this.time_zone && (r.timeZone = this.time_zone);
2484
2484
  const t = this.getDatesParts(this.start_date, this.end_date, r);
2485
- return F(
2485
+ return z(
2486
2486
  `${t.map((s) => {
2487
2487
  const i = this.templateParts[s.type];
2488
2488
  if (i) {
@@ -2559,7 +2559,7 @@ Y([
2559
2559
  a({ type: Boolean })
2560
2560
  ], W.prototype, "now", 2);
2561
2561
  W = Y([
2562
- _(Co)
2562
+ _(So)
2563
2563
  ], W);
2564
2564
  var t, G;
2565
2565
  let rt = (G = class {
@@ -2646,7 +2646,7 @@ let rt = (G = class {
2646
2646
  * Copyright 2018 Google LLC
2647
2647
  * SPDX-License-Identifier: BSD-3-Clause
2648
2648
  */
2649
- const xr = "important", Ao = " !" + xr, ut = we(class extends De {
2649
+ const $r = "important", Oo = " !" + $r, ut = we(class extends De {
2650
2650
  constructor(r) {
2651
2651
  var t;
2652
2652
  if (super(r), r.type !== ye.ATTRIBUTE || r.name !== "style" || ((t = r.strings) == null ? void 0 : t.length) > 2)
@@ -2668,17 +2668,17 @@ const xr = "important", Ao = " !" + xr, ut = we(class extends De {
2668
2668
  const e = t[i];
2669
2669
  if (e != null) {
2670
2670
  this.ft.add(i);
2671
- const o = typeof e == "string" && e.endsWith(Ao);
2672
- i.includes("-") || o ? s.setProperty(i, o ? e.slice(0, -11) : e, o ? xr : "") : s[i] = e;
2671
+ const o = typeof e == "string" && e.endsWith(Oo);
2672
+ i.includes("-") || o ? s.setProperty(i, o ? e.slice(0, -11) : e, o ? $r : "") : s[i] = e;
2673
2673
  }
2674
2674
  }
2675
2675
  return yt;
2676
2676
  }
2677
2677
  });
2678
- var So = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, St = (r, t, s, i) => {
2679
- for (var e = i > 1 ? void 0 : i ? Oo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
2678
+ var Do = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, St = (r, t, s, i) => {
2679
+ for (var e = i > 1 ? void 0 : i ? ko(t, s) : t, o = r.length - 1, n; o >= 0; o--)
2680
2680
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
2681
- return i && e && So(t, s, e), e;
2681
+ return i && e && Do(t, s, e), e;
2682
2682
  };
2683
2683
  const ls = /* @__PURE__ */ new Map(), ke = (r) => {
2684
2684
  class t extends r {
@@ -2853,7 +2853,7 @@ const ls = /* @__PURE__ */ new Map(), ke = (r) => {
2853
2853
  a()
2854
2854
  ], t.prototype, "value", 1), t;
2855
2855
  };
2856
- let Do = class {
2856
+ let Lo = class {
2857
2857
  static async queueTaskPromise() {
2858
2858
  return new Promise((t) => {
2859
2859
  window.queueMicrotask(() => t(null));
@@ -2864,7 +2864,7 @@ let Do = class {
2864
2864
  setTimeout(s, t);
2865
2865
  });
2866
2866
  }
2867
- }, ko = class ne {
2867
+ }, Eo = class ne {
2868
2868
  /**
2869
2869
  * Vérifie si les deux tableaux ont le même contenu
2870
2870
  */
@@ -2975,8 +2975,8 @@ let Do = class {
2975
2975
  }
2976
2976
  /*eslint-enable @typescript-eslint/no-explicit-any*/
2977
2977
  };
2978
- var Lo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2979
- function Eo(r) {
2978
+ var No = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2979
+ function To(r) {
2980
2980
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
2981
2981
  }
2982
2982
  var Ws = { exports: {} };
@@ -2984,7 +2984,7 @@ var Ws = { exports: {} };
2984
2984
  var s = [].slice;
2985
2985
  (function(i, e) {
2986
2986
  return t !== null ? r.exports = e() : i.UrlPattern = e();
2987
- })(Lo, function() {
2987
+ })(No, function() {
2988
2988
  var i, e, o, n, l, c, h, d, f, m, v, b, P, S, D;
2989
2989
  return f = function(p) {
2990
2990
  return p.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
@@ -3001,9 +3001,9 @@ var Ws = { exports: {} };
3001
3001
  }, P = function(p) {
3002
3002
  return new RegExp(p.toString() + "|").exec("").length - 1;
3003
3003
  }, v = function(p, u) {
3004
- var y, A, O, L, z;
3004
+ var y, A, O, L, R;
3005
3005
  for (L = {}, y = -1, O = p.length; ++y < O; )
3006
- A = p[y], z = u[y], z != null && (L[A] != null ? (Array.isArray(L[A]) || (L[A] = [L[A]]), L[A].push(z)) : L[A] = z);
3006
+ A = p[y], R = u[y], R != null && (L[A] != null ? (Array.isArray(L[A]) || (L[A] = [L[A]]), L[A].push(R)) : L[A] = R);
3007
3007
  return L;
3008
3008
  }, i = {}, i.Result = function(p, u) {
3009
3009
  this.value = p, this.rest = u;
@@ -3024,11 +3024,11 @@ var Ws = { exports: {} };
3024
3024
  }, i.sequence = function() {
3025
3025
  var p;
3026
3026
  return p = 1 <= arguments.length ? s.call(arguments, 0) : [], function(u) {
3027
- var y, A, O, L, z, H;
3027
+ var y, A, O, L, R, H;
3028
3028
  for (y = -1, A = p.length, H = [], L = u; ++y < A; ) {
3029
- if (O = p[y], z = O(L), z == null)
3029
+ if (O = p[y], R = O(L), R == null)
3030
3030
  return;
3031
- H.push(z.value), L = z.rest;
3031
+ H.push(R.value), L = R.rest;
3032
3032
  }
3033
3033
  return new i.Result(H, L);
3034
3034
  };
@@ -3051,9 +3051,9 @@ var Ws = { exports: {} };
3051
3051
  return u == null && (u = p()), u(y);
3052
3052
  };
3053
3053
  }, i.baseMany = function(p, u, y, A, O) {
3054
- var L, z, H, bt;
3055
- for (H = O, bt = y ? "" : []; !(u != null && (L = u(H), L != null) || (z = p(H), z == null)); )
3056
- y ? bt += z.value : bt.push(z.value), H = z.rest;
3054
+ var L, R, H, bt;
3055
+ for (H = O, bt = y ? "" : []; !(u != null && (L = u(H), L != null) || (R = p(H), R == null)); )
3056
+ y ? bt += R.value : bt.push(R.value), H = R.rest;
3057
3057
  if (!(A && bt.length === 0))
3058
3058
  return new i.Result(bt, H);
3059
3059
  }, i.many1 = function(p) {
@@ -3124,7 +3124,7 @@ var Ws = { exports: {} };
3124
3124
  return n(p.value);
3125
3125
  }
3126
3126
  }, m = function(p, u, y, A) {
3127
- var O, L, z, H;
3127
+ var O, L, R, H;
3128
3128
  if (A == null && (A = !1), H = p[u], H == null) {
3129
3129
  if (A)
3130
3130
  throw new Error("no values provided for key `" + u + "`");
@@ -3135,7 +3135,7 @@ var Ws = { exports: {} };
3135
3135
  throw new Error("too few values provided for key `" + u + "`");
3136
3136
  return;
3137
3137
  }
3138
- return z = Array.isArray(H) ? H[O] : H, A && (y[u] = O + 1), z;
3138
+ return R = Array.isArray(H) ? H[O] : H, A && (y[u] = O + 1), R;
3139
3139
  }, o = function(p, u, y) {
3140
3140
  var A, O;
3141
3141
  if (Array.isArray(p)) {
@@ -3170,7 +3170,7 @@ var Ws = { exports: {} };
3170
3170
  return o(p.value, u, y) ? D(p.value, u, y) : "";
3171
3171
  }
3172
3172
  }, e = function(p, u) {
3173
- var y, A, O, L, z;
3173
+ var y, A, O, L, R;
3174
3174
  if (p instanceof e) {
3175
3175
  this.isRegex = p.isRegex, this.regex = p.regex, this.ast = p.ast, this.names = p.names;
3176
3176
  return;
@@ -3189,7 +3189,7 @@ var Ws = { exports: {} };
3189
3189
  }
3190
3190
  if (p === "")
3191
3191
  throw new Error("argument must not be the empty string");
3192
- if (z = p.replace(/\s+/g, ""), z !== p)
3192
+ if (R = p.replace(/\s+/g, ""), R !== p)
3193
3193
  throw new Error("argument must not contain whitespace");
3194
3194
  if (A = {
3195
3195
  escapeChar: (u != null ? u.escapeChar : void 0) || d.escapeChar,
@@ -3216,26 +3216,26 @@ var Ws = { exports: {} };
3216
3216
  }, e.escapeForRegex = f, e.concatMap = h, e.stringConcatMap = S, e.regexGroupCount = P, e.keysAndValuesToObject = v, e.P = i, e.newParser = b, e.defaultOptions = d, e.astNodeToRegexString = l, e.astNodeToNames = n, e.getParam = m, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = D, e;
3217
3217
  });
3218
3218
  })(Ws, Ws.exports);
3219
- var No = Ws.exports;
3220
- const le = /* @__PURE__ */ Eo(No), To = Do, Mo = ko, jo = As, Io = ps, de = tt, Fo = rt, Xe = J, zo = Be, X = T, Ro = Oe, Uo = le;
3219
+ var Mo = Ws.exports;
3220
+ const le = /* @__PURE__ */ To(Mo), jo = Lo, Io = Eo, Fo = As, zo = ps, de = et, Ro = rt, Xe = J, Uo = Be, tt = T, Vo = Oe, Bo = le;
3221
3221
  window["concorde-utils"] = window["concorde-utils"] || {};
3222
3222
  window["concorde-utils"] = {
3223
- Utils: To,
3224
- Arrays: Mo,
3225
- DataBindObserver: jo,
3226
- Format: Io,
3223
+ Utils: jo,
3224
+ Arrays: Io,
3225
+ DataBindObserver: Fo,
3226
+ Format: zo,
3227
3227
  HTML: de,
3228
- LocationHandler: Fo,
3228
+ LocationHandler: Ro,
3229
3229
  Objects: Xe,
3230
- PublisherProxy: zo,
3231
- PublisherManager: X,
3232
- api: Ro,
3233
- URLPattern: Uo
3230
+ PublisherProxy: Uo,
3231
+ PublisherManager: tt,
3232
+ api: Vo,
3233
+ URLPattern: Bo
3234
3234
  };
3235
- var Vo = Object.defineProperty, Bo = Object.getOwnPropertyDescriptor, Ce = (r, t, s, i) => {
3236
- for (var e = i > 1 ? void 0 : i ? Bo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
3235
+ var qo = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, Ce = (r, t, s, i) => {
3236
+ for (var e = i > 1 ? void 0 : i ? Ho(t, s) : t, o = r.length - 1, n; o >= 0; o--)
3237
3237
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
3238
- return i && e && Vo(t, s, e), e;
3238
+ return i && e && qo(t, s, e), e;
3239
3239
  };
3240
3240
  const gi = (r) => {
3241
3241
  class t extends r {
@@ -3343,7 +3343,7 @@ const gi = (r) => {
3343
3343
  getCheckAllPublisher() {
3344
3344
  this.formDataProvider || (this.formDataProvider = this.getAncestorAttributeValue("formDataProvider"));
3345
3345
  const i = this.formDataProvider, e = this.getAttribute("name");
3346
- return !i || !e ? null : X.get(
3346
+ return !i || !e ? null : tt.get(
3347
3347
  i + "/" + e + "/_available_values_"
3348
3348
  );
3349
3349
  }
@@ -3421,12 +3421,12 @@ const x = (r) => r ?? C, Nt = $`
3421
3421
  --sc-fs: 1em;
3422
3422
  }
3423
3423
  `;
3424
- var qo = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, V = (r, t, s, i) => {
3425
- for (var e = i > 1 ? void 0 : i ? Ho(t, s) : t, o = r.length - 1, n; o >= 0; o--)
3424
+ var Wo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, V = (r, t, s, i) => {
3425
+ for (var e = i > 1 ? void 0 : i ? Ko(t, s) : t, o = r.length - 1, n; o >= 0; o--)
3426
3426
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
3427
- return i && e && qo(t, s, e), e;
3427
+ return i && e && Wo(t, s, e), e;
3428
3428
  };
3429
- const Wo = "sonic-button";
3429
+ const Zo = "sonic-button";
3430
3430
  let M = class extends gi(ke(Z(w))) {
3431
3431
  constructor() {
3432
3432
  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 = () => {
@@ -3446,7 +3446,7 @@ let M = class extends gi(ke(Z(w))) {
3446
3446
  }
3447
3447
  handleChange(r) {
3448
3448
  if (!((r == null ? void 0 : r.type) == "click" && this.autoRepeat) && (super.handleChange(), (this.pushState || this.goBack !== null) && (r == null || r.preventDefault(), r == null || r.stopPropagation(), rt.changeFromComponent(this)), this.hasAttribute("reset"))) {
3449
- const t = this.getAttribute("reset"), s = t ? X.get(t) : this.getFormPublisher();
3449
+ const t = this.getAttribute("reset"), s = t ? tt.get(t) : this.getFormPublisher();
3450
3450
  s && s.set({});
3451
3451
  }
3452
3452
  }
@@ -3957,7 +3957,7 @@ V([
3957
3957
  j()
3958
3958
  ], M.prototype, "location", 2);
3959
3959
  M = V([
3960
- _(Wo)
3960
+ _(Zo)
3961
3961
  ], M);
3962
3962
  /**
3963
3963
  * @license
@@ -3987,7 +3987,7 @@ const Bi = (r, t, s) => {
3987
3987
  return this.dt(r, t, s).values;
3988
3988
  }
3989
3989
  update(r, [t, s, i]) {
3990
- const e = lo(r), { values: o, keys: n } = this.dt(t, s, i);
3990
+ const e = ho(r), { values: o, keys: n } = this.dt(t, s, i);
3991
3991
  if (!Array.isArray(e))
3992
3992
  return this.ut = n, o;
3993
3993
  const l = this.ut ?? (this.ut = []), c = [];
@@ -4026,33 +4026,33 @@ const Bi = (r, t, s) => {
4026
4026
  const P = e[f++];
4027
4027
  P !== null && Fs(P);
4028
4028
  }
4029
- return this.ut = n, ao(r, c), yt;
4029
+ return this.ut = n, co(r, c), yt;
4030
4030
  }
4031
- }), Ko = /* @__PURE__ */ new WeakMap();
4031
+ }), Yo = /* @__PURE__ */ new WeakMap();
4032
4032
  let qi = 0;
4033
- const Us = /* @__PURE__ */ new Map(), Hi = /* @__PURE__ */ new WeakSet(), Wi = () => new Promise((r) => requestAnimationFrame(r)), Zo = [{ opacity: 0 }], Yo = [{ opacity: 0 }, { opacity: 1 }], Ki = (r, t) => {
4033
+ const Us = /* @__PURE__ */ new Map(), Hi = /* @__PURE__ */ new WeakSet(), Wi = () => new Promise((r) => requestAnimationFrame(r)), Ki = [{ opacity: 0 }], Zi = [{ opacity: 0 }, { opacity: 1 }], Yi = (r, t) => {
4034
4034
  const s = r - t;
4035
4035
  return s === 0 ? void 0 : s;
4036
- }, Zi = (r, t) => {
4036
+ }, Gi = (r, t) => {
4037
4037
  const s = r / t;
4038
4038
  return s === 1 ? void 0 : s;
4039
4039
  }, Vs = { left: (r, t) => {
4040
- const s = Ki(r, t);
4040
+ const s = Yi(r, t);
4041
4041
  return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateX(${s}px)` };
4042
4042
  }, top: (r, t) => {
4043
- const s = Ki(r, t);
4043
+ const s = Yi(r, t);
4044
4044
  return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateY(${s}px)` };
4045
4045
  }, width: (r, t) => {
4046
4046
  let s;
4047
4047
  t === 0 && (t = 1, s = { width: "1px" });
4048
- const i = Zi(r, t);
4048
+ const i = Gi(r, t);
4049
4049
  return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
4050
4050
  }, height: (r, t) => {
4051
4051
  let s;
4052
4052
  t === 0 && (t = 1, s = { height: "1px" });
4053
- const i = Zi(r, t);
4053
+ const i = Gi(r, t);
4054
4054
  return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
4055
- } }, Go = { duration: 333, easing: "ease-in-out" }, Qo = ["left", "top", "width", "height", "opacity", "color", "background"], Yi = /* @__PURE__ */ new WeakMap();
4055
+ } }, Go = { duration: 333, easing: "ease-in-out" }, Qo = ["left", "top", "width", "height", "opacity", "color", "background"], Qi = /* @__PURE__ */ new WeakMap();
4056
4056
  class Jo extends fi {
4057
4057
  constructor(t) {
4058
4058
  if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === ye.CHILD)
@@ -4073,7 +4073,7 @@ class Jo extends fi {
4073
4073
  return C;
4074
4074
  }
4075
4075
  getController() {
4076
- return Ko.get(this.u);
4076
+ return Yo.get(this.u);
4077
4077
  }
4078
4078
  isDisabled() {
4079
4079
  var t;
@@ -4082,7 +4082,7 @@ class Jo extends fi {
4082
4082
  update(t, [s]) {
4083
4083
  var e;
4084
4084
  const i = this.u === void 0;
4085
- 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, Yi.set(this.element, this)), this.optionsOrCallback = s, (i || typeof s != "function") && this.p(s), this.render(s);
4085
+ 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, Qi.set(this.element, this)), this.optionsOrCallback = s, (i || typeof s != "function") && this.p(s), this.render(s);
4086
4086
  }
4087
4087
  p(t) {
4088
4088
  t = t ?? {};
@@ -4169,7 +4169,7 @@ class Jo extends fi {
4169
4169
  O() {
4170
4170
  const t = [];
4171
4171
  for (let s = this.element.parentNode; s; s = s == null ? void 0 : s.parentNode) {
4172
- const i = Yi.get(s);
4172
+ const i = Qi.get(s);
4173
4173
  i && !i.isDisabled() && i && t.push(i);
4174
4174
  }
4175
4175
  return t;
@@ -4306,12 +4306,12 @@ const ds = we(Jo), Xo = {
4306
4306
  },
4307
4307
  custom: { url: "", defaultPrefix: "" }
4308
4308
  };
4309
- let Gi = !1;
4309
+ let Ji = !1;
4310
4310
  function en() {
4311
4311
  var r, t;
4312
- Gi || (Gi = !0, ms.custom.url = ((r = document.querySelector("[customIconLibraryPath]")) == null ? void 0 : r.getAttribute("customIconLibraryPath")) || "", ms.custom.defaultPrefix = ((t = document.querySelector("[customIconDefaultPrefix]")) == null ? void 0 : t.getAttribute("customIconDefaultPrefix")) || "");
4312
+ Ji || (Ji = !0, ms.custom.url = ((r = document.querySelector("[customIconLibraryPath]")) == null ? void 0 : r.getAttribute("customIconLibraryPath")) || "", ms.custom.defaultPrefix = ((t = document.querySelector("[customIconDefaultPrefix]")) == null ? void 0 : t.getAttribute("customIconDefaultPrefix")) || "");
4313
4313
  }
4314
- const Qi = sessionStorage.getItem("sonicIconsCache"), Ht = Qi ? JSON.parse(Qi) : { icons: {}, names: [] }, sn = 100, Oi = class Oi {
4314
+ const Xi = sessionStorage.getItem("sonicIconsCache"), Ht = Xi ? JSON.parse(Xi) : { icons: {}, names: [] }, sn = 100, Oi = class Oi {
4315
4315
  };
4316
4316
  Oi.default = {
4317
4317
  get: async (t) => {
@@ -4324,10 +4324,10 @@ Oi.default = {
4324
4324
  e[s] = l;
4325
4325
  const c = n + "-" + i;
4326
4326
  if (l[c])
4327
- return F(l[c]);
4327
+ return z(l[c]);
4328
4328
  const h = (o.url || "").replace("$prefix", n).replace("$name", i);
4329
4329
  if (Ht.icons[h])
4330
- return l[c] = Ht.icons[h], F(Ht.icons[h]);
4330
+ return l[c] = Ht.icons[h], z(Ht.icons[h]);
4331
4331
  if (!cs.has(h)) {
4332
4332
  const f = new Promise(async (m) => {
4333
4333
  const v = await fetch(h);
@@ -4349,9 +4349,9 @@ Oi.default = {
4349
4349
  const f = Ht.names.shift();
4350
4350
  delete Ht.icons[f];
4351
4351
  }
4352
- return sessionStorage.setItem("sonicIconsCache", JSON.stringify(Ht)), F(d);
4352
+ return sessionStorage.setItem("sonicIconsCache", JSON.stringify(Ht)), z(d);
4353
4353
  }
4354
- return F(e.core[t.name] || "");
4354
+ return z(e.core[t.name] || "");
4355
4355
  }
4356
4356
  };
4357
4357
  let Ks = Oi;
@@ -4512,7 +4512,7 @@ let xt = class extends w {
4512
4512
 
4513
4513
  <div class="sonic-toast-text">
4514
4514
  ${this.title ? g`<div class="sonic-toast-title">${this.title}</div>` : ""}
4515
- ${this.text ? F(this.text) : ""}
4515
+ ${this.text ? z(this.text) : ""}
4516
4516
  <slot></slot>
4517
4517
  </div>
4518
4518
 
@@ -4855,7 +4855,7 @@ const dn = $`
4855
4855
  --sc-input-bg: var(--sc-base-100);
4856
4856
  --sc-input-color: var(--sc-base-content);
4857
4857
  }
4858
- `, Ji = $`
4858
+ `, tr = $`
4859
4859
  --sc-primary: var(--sc-dark-primary, var(--sc-base-700));
4860
4860
  --sc-info: var(--sc-dark-info, #3abff8);
4861
4861
  --sc-danger: var(--sc-dark-danger, #f87272);
@@ -4882,12 +4882,12 @@ const dn = $`
4882
4882
  --sc-base-content: var(--sc-dark-base-content, #e5e7eb);
4883
4883
  `, un = $`
4884
4884
  :host([theme="dark"]) {
4885
- ${Ji}
4885
+ ${tr}
4886
4886
  }
4887
4887
 
4888
4888
  @media (prefers-color-scheme: dark) {
4889
4889
  :host([theme="auto"]) {
4890
- ${Ji}
4890
+ ${tr}
4891
4891
  }
4892
4892
  }
4893
4893
  `;
@@ -4921,7 +4921,7 @@ let vt = class extends w {
4921
4921
  variables: this.getCssVariables(),
4922
4922
  fonts: s
4923
4923
  };
4924
- (e = X.get("sonic-theme")) == null || e.set(i), document.querySelectorAll("iframe").forEach(
4924
+ (e = tt.get("sonic-theme")) == null || e.set(i), document.querySelectorAll("iframe").forEach(
4925
4925
  (o) => {
4926
4926
  var n;
4927
4927
  return (n = o.contentWindow) == null ? void 0 : n.postMessage(
@@ -5018,7 +5018,7 @@ ss([
5018
5018
  vt = ss([
5019
5019
  _(mn)
5020
5020
  ], vt);
5021
- var bn = Object.defineProperty, vn = Object.getOwnPropertyDescriptor, Pr = (r, t, s, i) => {
5021
+ var bn = Object.defineProperty, vn = Object.getOwnPropertyDescriptor, Cr = (r, t, s, i) => {
5022
5022
  for (var e = i > 1 ? void 0 : i ? vn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5023
5023
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
5024
5024
  return i && e && bn(t, s, e), e;
@@ -5087,7 +5087,7 @@ let N = class extends w {
5087
5087
  })}
5088
5088
  >
5089
5089
  <!-- Le texte est passé dans le slot et non pas en propriété pour contrer des problèmatiques de shadow-dom et d'appel exterieur (exemple: fancybox) -->
5090
- ${i.text ? F(i.text) : ""}
5090
+ ${i.text ? z(i.text) : ""}
5091
5091
  </sonic-toast-item>
5092
5092
  `
5093
5093
  )}
@@ -5162,10 +5162,10 @@ let N = class extends w {
5162
5162
  }
5163
5163
  };
5164
5164
  N.delegateToasts = !1;
5165
- Pr([
5165
+ Cr([
5166
5166
  a({ type: Array })
5167
5167
  ], N.prototype, "toasts", 2);
5168
- N = Pr([
5168
+ N = Cr([
5169
5169
  _(yn)
5170
5170
  ], N);
5171
5171
  typeof window < "u" && (window.SonicToast = window.SonicToast || N);
@@ -5214,9 +5214,9 @@ const Pn = /* @__PURE__ */ new Set(), $n = /* @__PURE__ */ new Set(), Cn = (r) =
5214
5214
  * Un Toast est affiché si le chargement échoue
5215
5215
  */
5216
5216
  async _fetchData() {
5217
- if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Oe(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await X.getInstance().isLocalStrorageReady, !this.isConnected))
5217
+ if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Oe(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await tt.getInstance().isLocalStrorageReady, !this.isConnected))
5218
5218
  return;
5219
- const e = X.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();
5219
+ const e = tt.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();
5220
5220
  this.isLoading = !0, J.isObject(this.props) && Object.keys(this.props || {}).length > 0 && this.isFirstLoad && window.requestAnimationFrame(() => {
5221
5221
  this.dispatchEvent(new CustomEvent("load", { detail: this })), this.isFirstLoad = !1, this.isLoading = !1;
5222
5222
  });
@@ -5363,13 +5363,13 @@ const ks = (r) => {
5363
5363
  ], t.prototype, "tabindex", 2), oe([
5364
5364
  a({ type: String })
5365
5365
  ], t.prototype, "autocomplete", 2), t;
5366
- }, $r = mi, On = gi, Cr = ke, Ar = ks, Xt = Z, bi = Je;
5366
+ }, Ar = mi, On = gi, Sr = ke, Or = ks, Xt = Z, bi = Je;
5367
5367
  window["concorde-mixins"] = window["concorde-mixins"] || {};
5368
5368
  window["concorde-mixins"] = {
5369
- Fetcher: $r,
5369
+ Fetcher: Ar,
5370
5370
  FormCheckable: On,
5371
- FormElement: Cr,
5372
- FormInput: Ar,
5371
+ FormElement: Sr,
5372
+ FormInput: Or,
5373
5373
  Subscriber: Xt,
5374
5374
  TemplatesContainer: bi
5375
5375
  };
@@ -5387,7 +5387,7 @@ const kt = we(class extends De {
5387
5387
  return this.vt === r ? yt : (this.vt = r, document.importNode(r.content, !0));
5388
5388
  }
5389
5389
  });
5390
- var Dn = Object.defineProperty, kn = Object.getOwnPropertyDescriptor, Sr = (r, t, s, i) => {
5390
+ var Dn = Object.defineProperty, kn = Object.getOwnPropertyDescriptor, Dr = (r, t, s, i) => {
5391
5391
  for (var e = i > 1 ? void 0 : i ? kn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5392
5392
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
5393
5393
  return i && e && Dn(t, s, e), e;
@@ -5418,13 +5418,13 @@ bs.styles = [
5418
5418
  }
5419
5419
  `
5420
5420
  ];
5421
- Sr([
5421
+ Dr([
5422
5422
  a()
5423
5423
  ], bs.prototype, "loader", 2);
5424
- bs = Sr([
5424
+ bs = Dr([
5425
5425
  _(Ln)
5426
5426
  ], bs);
5427
- var En = Object.defineProperty, Nn = Object.getOwnPropertyDescriptor, Or = (r, t, s, i) => {
5427
+ var En = Object.defineProperty, Nn = Object.getOwnPropertyDescriptor, kr = (r, t, s, i) => {
5428
5428
  for (var e = i > 1 ? void 0 : i ? Nn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5429
5429
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
5430
5430
  return i && e && En(t, s, e), e;
@@ -5443,10 +5443,10 @@ vs.styles = $`
5443
5443
  display: contents;
5444
5444
  }
5445
5445
  `;
5446
- Or([
5446
+ kr([
5447
5447
  a({ type: Boolean })
5448
5448
  ], vs.prototype, "condition", 2);
5449
- vs = Or([
5449
+ vs = kr([
5450
5450
  _(Tn)
5451
5451
  ], vs);
5452
5452
  const Mn = $`
@@ -5644,7 +5644,7 @@ var Rn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor, Vn = (r, t
5644
5644
  return i && e && Rn(t, s, e), e;
5645
5645
  };
5646
5646
  const Bn = "sonic-subscriber";
5647
- let Xi = class extends Z(w) {
5647
+ let er = class extends Z(w) {
5648
5648
  constructor() {
5649
5649
  super(...arguments), this.noAutofill = !0;
5650
5650
  }
@@ -5658,9 +5658,9 @@ let Xi = class extends Z(w) {
5658
5658
  return g`<slot></slot> `;
5659
5659
  }
5660
5660
  };
5661
- Xi = Vn([
5661
+ er = Vn([
5662
5662
  _(Bn)
5663
- ], Xi);
5663
+ ], er);
5664
5664
  var qn = Object.defineProperty, Hn = Object.getOwnPropertyDescriptor, _e = (r, t, s, i) => {
5665
5665
  for (var e = i > 1 ? void 0 : i ? Hn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5666
5666
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
@@ -5788,7 +5788,7 @@ Kt = _e([
5788
5788
  * Copyright 2021 Google LLC
5789
5789
  * SPDX-License-Identifier: BSD-3-Clause
5790
5790
  */
5791
- function* Dr(r, t) {
5791
+ function* Lr(r, t) {
5792
5792
  if (r !== void 0) {
5793
5793
  let s = 0;
5794
5794
  for (const i of r)
@@ -5801,7 +5801,7 @@ var Kn = Object.defineProperty, Zn = Object.getOwnPropertyDescriptor, ft = (r, t
5801
5801
  return i && e && Kn(t, s, e), e;
5802
5802
  };
5803
5803
  const Yn = "sonic-queue";
5804
- let et = class extends Z(w) {
5804
+ let st = class extends Z(w) {
5805
5805
  constructor() {
5806
5806
  super(...arguments), this.templates = null, this.lastRequestTime = 0, this.key = "", this.itemPropertyMap = null, this.cache = "default", this.targetRequestDuration = 500, this.limit = 5, this.lazyBoundsRatio = 1, this.offset = 0, this.resultCount = 0, this.noLazyload = !1, this.loader = "inline", this.filteredFields = "", this.instanceId = 0, this.localStorage = "disabled", this.filterPublisher = null, this.filterTimeoutMs = 400, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.updateFilteredContent = () => {
5807
5807
  var n;
@@ -5834,7 +5834,7 @@ let et = class extends Z(w) {
5834
5834
  (r = this.filterPublisher) == null || r.offInternalMutation(this.updateFilteredContent), this.props = null, this.limit = 5, this.offset = 0, this.resultCount = 0, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.nextHadEvent = !1, this.publisher.set({}), super.disconnectedCallback();
5835
5835
  }
5836
5836
  async connectedCallback() {
5837
- this.instanceId = et.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
5837
+ this.instanceId = st.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
5838
5838
  this.getAttribute("filterTimeoutMs") || "400"
5839
5839
  ), this.removeAttribute("localStorage"), this.noShadowDom = "", this.defferedDebug = this.hasAttribute("debug") || null, this.dataProvider || (this.dataProvider = this.dataProviderExpression || "sonic-queue-" + this.instanceId + "-" + Math.random().toString(36).substring(7)), this.dataProviderExpression || (this.dataProviderExpression = de.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await T.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
5840
5840
  this.querySelectorAll("template")
@@ -5898,7 +5898,7 @@ let et = class extends Z(w) {
5898
5898
  return C;
5899
5899
  let r = !this.noLazyload;
5900
5900
  return this.props.length == 1 && (r = !1), g`
5901
- ${Dr(this.props, (t, s) => {
5901
+ ${Lr(this.props, (t, s) => {
5902
5902
  var e;
5903
5903
  const i = s == 0 ? this.templates : (e = this.templates) == null ? void 0 : e.filter(
5904
5904
  (o) => o.getAttribute("data-value") != "no-item"
@@ -5929,49 +5929,49 @@ let et = class extends Z(w) {
5929
5929
  `;
5930
5930
  }
5931
5931
  };
5932
- et.instanceCounter = 0;
5932
+ st.instanceCounter = 0;
5933
5933
  ft([
5934
5934
  a({ type: Array })
5935
- ], et.prototype, "templates", 2);
5935
+ ], st.prototype, "templates", 2);
5936
5936
  ft([
5937
5937
  a({ type: Object })
5938
- ], et.prototype, "itemPropertyMap", 2);
5938
+ ], st.prototype, "itemPropertyMap", 2);
5939
5939
  ft([
5940
5940
  a()
5941
- ], et.prototype, "cache", 2);
5941
+ ], st.prototype, "cache", 2);
5942
5942
  ft([
5943
5943
  a()
5944
- ], et.prototype, "targetRequestDuration", 2);
5944
+ ], st.prototype, "targetRequestDuration", 2);
5945
5945
  ft([
5946
5946
  a()
5947
- ], et.prototype, "limit", 2);
5947
+ ], st.prototype, "limit", 2);
5948
5948
  ft([
5949
5949
  a()
5950
- ], et.prototype, "lazyBoundsRatio", 2);
5950
+ ], st.prototype, "lazyBoundsRatio", 2);
5951
5951
  ft([
5952
5952
  a()
5953
- ], et.prototype, "offset", 2);
5953
+ ], st.prototype, "offset", 2);
5954
5954
  ft([
5955
5955
  a()
5956
- ], et.prototype, "resultCount", 2);
5956
+ ], st.prototype, "resultCount", 2);
5957
5957
  ft([
5958
5958
  a({ type: Boolean })
5959
- ], et.prototype, "noLazyload", 2);
5959
+ ], st.prototype, "noLazyload", 2);
5960
5960
  ft([
5961
5961
  a({ type: String })
5962
- ], et.prototype, "loader", 2);
5962
+ ], st.prototype, "loader", 2);
5963
5963
  ft([
5964
5964
  a()
5965
- ], et.prototype, "filteredFields", 2);
5965
+ ], st.prototype, "filteredFields", 2);
5966
5966
  ft([
5967
5967
  a({ type: String })
5968
- ], et.prototype, "dataProviderExpression", 2);
5968
+ ], st.prototype, "dataProviderExpression", 2);
5969
5969
  ft([
5970
5970
  a({ type: String })
5971
- ], et.prototype, "idKey", 2);
5972
- et = ft([
5971
+ ], st.prototype, "idKey", 2);
5972
+ st = ft([
5973
5973
  _(Yn)
5974
- ], et);
5974
+ ], st);
5975
5975
  var Gn = Object.defineProperty, Qn = Object.getOwnPropertyDescriptor, Le = (r, t, s, i) => {
5976
5976
  for (var e = i > 1 ? void 0 : i ? Qn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5977
5977
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
@@ -6027,7 +6027,7 @@ let Zt = class extends Z(w) {
6027
6027
  const h = this.getAncestorAttributeValue("dataProvider"), d = this.endPoint || h;
6028
6028
  it.show();
6029
6029
  const f = async () => {
6030
- var p, u, y, A, O, L, z, H;
6030
+ var p, u, y, A, O, L, R, H;
6031
6031
  if (i)
6032
6032
  c = await ((p = this.api) == null ? void 0 : p.submitFormData(
6033
6033
  d,
@@ -6051,8 +6051,8 @@ let Zt = class extends Z(w) {
6051
6051
  if (e)
6052
6052
  for (const Di in e)
6053
6053
  bt.append(Di, e[Di]);
6054
- const zr = "?" + bt.toString();
6055
- c = await ((O = this.api) == null ? void 0 : O.get(d + zr, l));
6054
+ const Ur = "?" + bt.toString();
6055
+ c = await ((O = this.api) == null ? void 0 : O.get(d + Ur, l));
6056
6056
  break;
6057
6057
  default:
6058
6058
  c = await ((L = this.api) == null ? void 0 : L.post(d, e, l));
@@ -6066,7 +6066,7 @@ let Zt = class extends Z(w) {
6066
6066
  (bt) => T.get(bt).set({})
6067
6067
  );
6068
6068
  const P = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", S = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
6069
- (H = (z = this.api) == null ? void 0 : z.lastResult) != null && H.ok && e[P] && e[S] && this.saveCredentials(e[P], e[S]), this.submitResultKey && (c = J.traverse(
6069
+ (H = (R = this.api) == null ? void 0 : R.lastResult) != null && H.ok && e[P] && e[S] && this.saveCredentials(e[P], e[S]), this.submitResultKey && (c = J.traverse(
6070
6070
  c,
6071
6071
  this.submitResultKey.split("."),
6072
6072
  !0
@@ -6221,7 +6221,7 @@ var sa = Object.defineProperty, ia = Object.getOwnPropertyDescriptor, ra = (r, t
6221
6221
  return i && e && sa(t, s, e), e;
6222
6222
  };
6223
6223
  const oa = "sonic-redirect";
6224
- let tr = class extends Z(w) {
6224
+ let sr = class extends Z(w) {
6225
6225
  connectedCallback() {
6226
6226
  this.noShadowDom = "", this.style.display = "none", super.connectedCallback(), this.udpateCallBack = () => this.update(), this.publisher && this.publisher.onInternalMutation(this.udpateCallBack);
6227
6227
  }
@@ -6239,9 +6239,9 @@ let tr = class extends Z(w) {
6239
6239
  t && !(J.isObject(t) && t) && rt.changeFromComponent(this);
6240
6240
  }
6241
6241
  };
6242
- tr = ra([
6242
+ sr = ra([
6243
6243
  _(oa)
6244
- ], tr);
6244
+ ], sr);
6245
6245
  var na = Object.defineProperty, aa = Object.getOwnPropertyDescriptor, wi = (r, t, s, i) => {
6246
6246
  for (var e = i > 1 ? void 0 : i ? aa(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6247
6247
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
@@ -6326,7 +6326,7 @@ var ca = Object.defineProperty, ha = Object.getOwnPropertyDescriptor, da = (r, t
6326
6326
  return i && e && ca(t, s, e), e;
6327
6327
  };
6328
6328
  const pa = "sonic-scope";
6329
- let er = class extends w {
6329
+ let ir = class extends w {
6330
6330
  createRenderRoot() {
6331
6331
  return this;
6332
6332
  }
@@ -6334,10 +6334,10 @@ let er = class extends w {
6334
6334
  return g`<slot></slot>`;
6335
6335
  }
6336
6336
  };
6337
- er = da([
6337
+ ir = da([
6338
6338
  _(pa)
6339
- ], er);
6340
- var ua = Object.defineProperty, fa = Object.getOwnPropertyDescriptor, kr = (r, t, s, i) => {
6339
+ ], ir);
6340
+ var ua = Object.defineProperty, fa = Object.getOwnPropertyDescriptor, Er = (r, t, s, i) => {
6341
6341
  for (var e = i > 1 ? void 0 : i ? fa(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6342
6342
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
6343
6343
  return i && e && ua(t, s, e), e;
@@ -6351,10 +6351,10 @@ let Zs = class extends Z(w) {
6351
6351
  return g`<div>${this.text}</div>`;
6352
6352
  }
6353
6353
  };
6354
- kr([
6354
+ Er([
6355
6355
  a()
6356
6356
  ], Zs.prototype, "text", 2);
6357
- Zs = kr([
6357
+ Zs = Er([
6358
6358
  _(ga)
6359
6359
  ], Zs);
6360
6360
  const ma = {
@@ -6632,7 +6632,7 @@ var Fa = Object.defineProperty, za = Object.getOwnPropertyDescriptor, _i = (r, t
6632
6632
  return i && e && Fa(t, s, e), e;
6633
6633
  };
6634
6634
  const Ra = "sonic-sdui";
6635
- let _s = class extends $r(Xt(w)) {
6635
+ let _s = class extends Ar(Xt(w)) {
6636
6636
  constructor() {
6637
6637
  super(...arguments), this.sduiDescriptor = {};
6638
6638
  }
@@ -6798,7 +6798,7 @@ _i([
6798
6798
  _s = _i([
6799
6799
  _(Ra)
6800
6800
  ], _s);
6801
- var Ua = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, Lr = (r, t, s, i) => {
6801
+ var Ua = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, Nr = (r, t, s, i) => {
6802
6802
  for (var e = i > 1 ? void 0 : i ? Va(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6803
6803
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
6804
6804
  return i && e && Ua(t, s, e), e;
@@ -6836,7 +6836,7 @@ let xs = class extends Xt(w) {
6836
6836
  const e = i.split("."), o = e.shift();
6837
6837
  if (!o)
6838
6838
  continue;
6839
- let n = X.get(o);
6839
+ let n = tt.get(o);
6840
6840
  n = Xe.traverse(n, e);
6841
6841
  const l = {
6842
6842
  publisher: n,
@@ -6870,10 +6870,10 @@ xs.styles = [
6870
6870
  }
6871
6871
  `
6872
6872
  ];
6873
- Lr([
6873
+ Nr([
6874
6874
  a({ type: Object })
6875
6875
  ], xs.prototype, "composition", 1);
6876
- xs = Lr([
6876
+ xs = Nr([
6877
6877
  _("sonic-mix")
6878
6878
  ], xs);
6879
6879
  var Ba = Object.defineProperty, qa = Object.getOwnPropertyDescriptor, Ha = (r, t, s, i) => {
@@ -6882,18 +6882,18 @@ var Ba = Object.defineProperty, qa = Object.getOwnPropertyDescriptor, Ha = (r, t
6882
6882
  return i && e && Ba(t, s, e), e;
6883
6883
  };
6884
6884
  const Wa = "sonic-value";
6885
- let sr = class extends Xt(w) {
6885
+ let rr = class extends Xt(w) {
6886
6886
  connectedCallback() {
6887
6887
  this.setAttribute("subDataProvider", this.getAttribute("key")), super.connectedCallback();
6888
6888
  }
6889
6889
  render() {
6890
- return typeof this.props == "object" || this.props === void 0 ? g`<slot name="prefix"></slot><slot></slot><slot name="suffix"></slot>` : g`${F(this.props.toString())}<slot name="prefix"></slot><slot></slot
6890
+ return typeof this.props == "object" || this.props === void 0 ? g`<slot name="prefix"></slot><slot></slot><slot name="suffix"></slot>` : g`${z(this.props.toString())}<slot name="prefix"></slot><slot></slot
6891
6891
  ><slot name="suffix"></slot>`;
6892
6892
  }
6893
6893
  };
6894
- sr = Ha([
6894
+ rr = Ha([
6895
6895
  _(Wa)
6896
- ], sr);
6896
+ ], rr);
6897
6897
  var Ka = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, is = (r, t, s, i) => {
6898
6898
  for (var e = i > 1 ? void 0 : i ? Za(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6899
6899
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
@@ -7797,7 +7797,7 @@ let U = class extends ks(ke(Z(w))) {
7797
7797
  };
7798
7798
  return g`
7799
7799
  <label for="${this.id || "form-element"}" class="${this.hasLabel ? "form-label" : "hidden"}"
7800
- >${this.label ? F(
7800
+ >${this.label ? z(
7801
7801
  this.label
7802
7802
  /*+ labelStarSuffix*/
7803
7803
  ) : ""}<slot
@@ -7861,7 +7861,7 @@ let U = class extends ks(ke(Z(w))) {
7861
7861
  name="description"
7862
7862
  @slotchange=${this.hasSlotOrProps}
7863
7863
  class="${this.hasDescription ? "form-description" : "hidden"}"
7864
- >${this.description ? g`${F(this.description)}` : C}</slot>
7864
+ >${this.description ? g`${z(this.description)}` : C}</slot>
7865
7865
  <slot name="list"></slot>
7866
7866
  </div>
7867
7867
  `;
@@ -7986,7 +7986,7 @@ let ot = class extends w {
7986
7986
  this.resetZindexes(), this.open = !1, this.popContent.setAttribute("tabindex", "-1"), this.positioningRuns = !1, this.dispatchEvent(new CustomEvent("hide"));
7987
7987
  }
7988
7988
  setMaxZindex() {
7989
- tt.everyAncestors(this, (r) => {
7989
+ et.everyAncestors(this, (r) => {
7990
7990
  const t = r;
7991
7991
  if (!t.className)
7992
7992
  return !0;
@@ -8009,7 +8009,7 @@ let ot = class extends w {
8009
8009
  ot.pops.forEach((i) => {
8010
8010
  const e = t.includes(i), o = t.includes(
8011
8011
  i.querySelector('[slot="content"]')
8012
- ), n = tt.getAncestorAttributeValue(s, "data-on-select") === "keep";
8012
+ ), n = et.getAncestorAttributeValue(s, "data-on-select") === "keep";
8013
8013
  r.type == "pointerdown" && e || r.type == "click" && (e && n || !o) || i.hide();
8014
8014
  });
8015
8015
  }
@@ -8026,10 +8026,10 @@ let ot = class extends w {
8026
8026
  this.popContent && this.resizeObserver.unobserve(this.popContent), super.disconnectedCallback(), ot.pops.delete(this), ot.pops.size == 0 && (document.removeEventListener("pointerdown", this._handleClosePop), document.removeEventListener("click", this._handleClosePop));
8027
8027
  }
8028
8028
  computePosition(r) {
8029
- var L, z, H, bt;
8029
+ var L, R, H, bt;
8030
8030
  const t = r.split(" "), s = t[0];
8031
8031
  let i = t[1], e = (L = this.popContent) == null ? void 0 : L.getBoundingClientRect();
8032
- const o = 5, n = this.getBoundingClientRect(), l = tt.getScrollableAncestor(
8032
+ const o = 5, n = this.getBoundingClientRect(), l = et.getScrollableAncestor(
8033
8033
  this.popContent
8034
8034
  ), c = l == null ? void 0 : l.getBoundingClientRect(), h = Math.max(0, (c == null ? void 0 : c.left) || 0) + o, d = Math.max(0, (c == null ? void 0 : c.top) || 0) + o, f = Math.min(
8035
8035
  window.innerWidth,
@@ -8057,7 +8057,7 @@ let ot = class extends w {
8057
8057
  this.lastContentX += P - e.x, this.lastContentY += S - e.y, Object.assign(this.popContent.style, {
8058
8058
  left: `${this.lastContentX}px`,
8059
8059
  top: `${this.lastContentY}px`
8060
- }), e = (z = this.popContent) == null ? void 0 : z.getBoundingClientRect(), e.x < h && s == "left" && (P = u), e.y < d && s == "top" && (S = y), e.x + e.width > f && s == "right" && (P = p), e.y + e.height > m && s == "bottom" && (S = D), this.lastContentX += P - e.x, this.lastContentY += S - e.y, Object.assign(this.popContent.style, {
8060
+ }), e = (R = this.popContent) == null ? void 0 : R.getBoundingClientRect(), e.x < h && s == "left" && (P = u), e.y < d && s == "top" && (S = y), e.x + e.width > f && s == "right" && (P = p), e.y + e.height > m && s == "bottom" && (S = D), this.lastContentX += P - e.x, this.lastContentY += S - e.y, Object.assign(this.popContent.style, {
8061
8061
  left: `${this.lastContentX}px`,
8062
8062
  top: `${this.lastContentY}px`
8063
8063
  }), e = (H = this.popContent) == null ? void 0 : H.getBoundingClientRect(), e.x < h && (this.lastContentX += h - e.x), e.y < d && (this.lastContentY += d - e.y), Object.assign(this.popContent.style, {
@@ -8171,7 +8171,7 @@ var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor, pl = (r, t
8171
8171
  return i && e && hl(t, s, e), e;
8172
8172
  };
8173
8173
  const ul = "sonic-menu-item";
8174
- let ir = class extends M {
8174
+ let or = class extends M {
8175
8175
  constructor() {
8176
8176
  super();
8177
8177
  }
@@ -8181,15 +8181,15 @@ let ir = class extends M {
8181
8181
  !this.hasAttribute("align") && !r && (this.align = "left"), super.connectedCallback();
8182
8182
  }
8183
8183
  };
8184
- ir = pl([
8184
+ or = pl([
8185
8185
  _(ul)
8186
- ], ir);
8186
+ ], or);
8187
8187
  /**
8188
8188
  * @license
8189
8189
  * Copyright 2021 Google LLC
8190
8190
  * SPDX-License-Identifier: BSD-3-Clause
8191
8191
  */
8192
- class Er {
8192
+ class Tr {
8193
8193
  constructor(t, { target: s, config: i, callback: e, skipInitial: o }) {
8194
8194
  this.t = /* @__PURE__ */ new Set(), this.o = !1, this.i = !1, this.h = t, s !== null && this.t.add(s ?? t), this.l = i, this.o = o ?? this.o, this.callback = e, window.ResizeObserver ? (this.u = new ResizeObserver((n) => {
8195
8195
  this.handleChanges(n), this.h.requestUpdate();
@@ -8225,10 +8225,10 @@ var fl = Object.defineProperty, gl = Object.getOwnPropertyDescriptor, gt = (r, t
8225
8225
  return i && e && fl(t, s, e), e;
8226
8226
  };
8227
8227
  let nt = class extends bi(
8228
- Ar(Cr(Xt(w)))
8228
+ Or(Sr(Xt(w)))
8229
8229
  ) {
8230
8230
  constructor() {
8231
- 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 Er(this, {}), this.isPopVisible = !1, this.searchDataProvider = "", this.initSearchDataProvider = "", this.queueDataProvider = "", this.initQueueDataProvider = "", this.lastValidSearch = "", this.updateSearchParameter = (r) => {
8231
+ 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 Tr(this, {}), this.isPopVisible = !1, this.searchDataProvider = "", this.initSearchDataProvider = "", this.queueDataProvider = "", this.initQueueDataProvider = "", this.lastValidSearch = "", this.updateSearchParameter = (r) => {
8232
8232
  var s;
8233
8233
  if (r == "") {
8234
8234
  this.lastValidSearch = "";
@@ -8278,18 +8278,18 @@ let nt = class extends bi(
8278
8278
  console.log(this.value, this.getAttribute("value")), super.connectedCallback(), console.log(this.value, this.getAttribute("value"));
8279
8279
  const r = this.searchParameter || this.name, t = this.getAncestorAttributeValue("formDataProvider"), s = t + "__" + this.name + "__autocomplete";
8280
8280
  this.initSearchDataProvider = `${s}_init_search__`, this.initQueueDataProvider = `${s}_init_queue__`, this.searchDataProvider = `${s}_search__`, this.queueDataProvider = `${s}_queue__`;
8281
- const i = X.get;
8281
+ const i = tt.get;
8282
8282
  this.searchPublisher = i(this.searchDataProvider)[r], this.formValuePublisher = ht(
8283
8283
  i(t),
8284
8284
  this.name
8285
8285
  ), this.countPublisher = i(this.queueDataProvider).resultCount, this.initCountPublisher = i(
8286
8286
  this.initQueueDataProvider
8287
- ).resultCount, this.value && (X.get(this.initSearchDataProvider)[this.name] = this.value), (e = this.initCountPublisher) == null || e.onAssign(this.initSearchParameter), (o = this.formValuePublisher) == null || o.onAssign(this.updateSearchParameter), (n = this.countPublisher) == null || n.onAssign(this.updateActiveSelection), (l = this.searchPublisher) == null || l.onAssign(this.updatePopContentVisibility);
8287
+ ).resultCount, this.value && (tt.get(this.initSearchDataProvider)[this.name] = this.value), (e = this.initCountPublisher) == null || e.onAssign(this.initSearchParameter), (o = this.formValuePublisher) == null || o.onAssign(this.updateSearchParameter), (n = this.countPublisher) == null || n.onAssign(this.updateActiveSelection), (l = this.searchPublisher) == null || l.onAssign(this.updatePopContentVisibility);
8288
8288
  }
8289
8289
  disconnectedCallback() {
8290
8290
  var t, s, i, e;
8291
8291
  super.disconnectedCallback(), (t = this.initCountPublisher) == null || t.offAssign(this.initSearchParameter), (s = this.formValuePublisher) == null || s.offAssign(this.updateSearchParameter), (i = this.countPublisher) == null || i.offAssign(this.updateActiveSelection);
8292
- const r = X.get;
8292
+ const r = tt.get;
8293
8293
  r(this.initSearchDataProvider).delete(), r(this.initQueueDataProvider).delete(), r(this.searchDataProvider).delete(), r(this.queueDataProvider).delete(), (e = this.searchPublisher) == null || e.offAssign(this.updatePopContentVisibility);
8294
8294
  }
8295
8295
  /**
@@ -8300,12 +8300,12 @@ let nt = class extends bi(
8300
8300
  * @return bool|undefined True if item found, false otherwise, undefined if result is not a list
8301
8301
  */
8302
8302
  queryQueueListItem(r, t, s) {
8303
- const i = X.get(r);
8303
+ const i = tt.get(r);
8304
8304
  let e;
8305
8305
  const o = i.get();
8306
8306
  if (Array.isArray(o)) {
8307
8307
  for (const n of o) {
8308
- const l = X.get(n.dataProvider).get();
8308
+ const l = tt.get(n.dataProvider).get();
8309
8309
  if (Array.isArray(l) && (e = l.find(t), e))
8310
8310
  break;
8311
8311
  }
@@ -8462,10 +8462,10 @@ let at = class extends Xt(w) {
8462
8462
  connectedCallback() {
8463
8463
  super.connectedCallback(), this.name && (this.checkValue = (t) => {
8464
8464
  t ? (this.hasNoChar = t.length == 0, this.hasEnoughChars = t.length > this.minChars) : (this.hasNoChar = !0, this.hasEnoughChars = !1), this.hasMinuscule = /[a-z]/.test(t), this.hasMajuscule = /[A-Z]/.test(t), this.hasNumber = /[0-9]/.test(t), this.hasSpecialChar = /[!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(t);
8465
- }, X.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].onAssign(this.checkValue));
8465
+ }, tt.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].onAssign(this.checkValue));
8466
8466
  }
8467
8467
  disconnectedCallback() {
8468
- this.checkValue && this.name && X.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].offAssign(this.checkValue), super.disconnectedCallback();
8468
+ this.checkValue && this.name && tt.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].offAssign(this.checkValue), super.disconnectedCallback();
8469
8469
  }
8470
8470
  getIcon(t) {
8471
8471
  return t ? g`<sonic-icon library="heroicons" name="face-smile"></sonic-icon>` : g`<sonic-icon library="heroicons" name="x-mark"></sonic-icon>`;
@@ -8552,7 +8552,7 @@ let Qt = class extends Xt(w) {
8552
8552
  }
8553
8553
  connectedCallback() {
8554
8554
  super.connectedCallback();
8555
- const r = X.get(
8555
+ const r = tt.get(
8556
8556
  this.getAncestorAttributeValue("formDataProvider")
8557
8557
  );
8558
8558
  this.name && this.sameValueAs && (this.checkValue = (t) => {
@@ -8565,7 +8565,7 @@ let Qt = class extends Xt(w) {
8565
8565
  }
8566
8566
  disconnectedCallback() {
8567
8567
  if (this.checkValue && this.name && this.sameValueAs) {
8568
- const r = X.get(
8568
+ const r = tt.get(
8569
8569
  this.getAncestorAttributeValue("formDataProvider")
8570
8570
  );
8571
8571
  ht(r, this.name).offAssign(
@@ -8580,7 +8580,7 @@ let Qt = class extends Xt(w) {
8580
8580
  render() {
8581
8581
  return this.hasNoChar ? C : g`
8582
8582
  <span>
8583
- ${this.areEqual ? F(this.descriptionWhenEqual) : F(this.descriptionWhenNotEqual)}
8583
+ ${this.areEqual ? z(this.descriptionWhenEqual) : z(this.descriptionWhenNotEqual)}
8584
8584
  </span>
8585
8585
  `;
8586
8586
  }
@@ -8651,12 +8651,12 @@ let wt = class extends gi(
8651
8651
  </span>
8652
8652
 
8653
8653
  <div class="checkbox-text ${!this.hasDescription && !this.hasLabel ? "hidden" : "checkbox-text"}">
8654
- ${this.label ? F(
8654
+ ${this.label ? z(
8655
8655
  this.label
8656
8656
  /*+ labelStarSuffix*/
8657
8657
  ) : ""}
8658
8658
  <slot @slotchange=${this.hasSlotOrProps}></slot>
8659
- <slot @slotchange=${this.hasSlotOrProps} name="description" class="${this.hasDescription ? "description" : "hidden"} ">${this.description ? g`${F(this.description)}` : ""}</slot>
8659
+ <slot @slotchange=${this.hasSlotOrProps} name="description" class="${this.hasDescription ? "description" : "hidden"} ">${this.description ? g`${z(this.description)}` : ""}</slot>
8660
8660
  </div>
8661
8661
  </label>
8662
8662
  </label>
@@ -8936,7 +8936,7 @@ let K = class extends ke(Z(w)) {
8936
8936
  <label
8937
8937
  for="form-element"
8938
8938
  class="${this.hasLabel ? "form-label" : "hidden"}"
8939
- >${this.label ? F(
8939
+ >${this.label ? z(
8940
8940
  this.label
8941
8941
  /*+ labelStarSuffix*/
8942
8942
  ) : ""}<slot
@@ -8991,7 +8991,7 @@ let K = class extends ke(Z(w)) {
8991
8991
  name="description"
8992
8992
  @slotchange=${this.hasSlotOrProps}
8993
8993
  class="${this.hasDescription ? "form-description" : "hidden"}"
8994
- >${this.description ? g`${F(this.description)}` : ""}</slot
8994
+ >${this.description ? g`${z(this.description)}` : ""}</slot
8995
8995
  >
8996
8996
  `;
8997
8997
  }
@@ -9146,7 +9146,7 @@ let lt = class extends ks(ke(Z(w))) {
9146
9146
  <label
9147
9147
  for="${this.id || "form-element"}"
9148
9148
  class="${this.hasLabel ? "form-label" : "hidden"}"
9149
- >${this.label ? F(
9149
+ >${this.label ? z(
9150
9150
  this.label
9151
9151
  /*+ labelStarSuffix*/
9152
9152
  ) : ""}<slot
@@ -9187,7 +9187,7 @@ ${this.value}</textarea
9187
9187
  name="description"
9188
9188
  @slotchange=${this.hasSlotOrProps}
9189
9189
  class="${this.hasDescription ? "form-description" : "hidden"}"
9190
- >${this.description ? g`${F(this.description)}` : ""}</slot
9190
+ >${this.description ? g`${z(this.description)}` : ""}</slot
9191
9191
  >
9192
9192
  `;
9193
9193
  }
@@ -9302,8 +9302,8 @@ let Vt = class extends w {
9302
9302
  </div>` : ""}
9303
9303
 
9304
9304
  <div class="legend-content">
9305
- ${F(this.label ? this.label : "")}
9306
- ${this.description ? g`<sonic-legend-description>${F(this.description)}</sonic-legend-description>` : ""}
9305
+ ${z(this.label ? this.label : "")}
9306
+ ${this.description ? g`<sonic-legend-description>${z(this.description)}</sonic-legend-description>` : ""}
9307
9307
  <slot></slot>
9308
9308
  </div>
9309
9309
  <slot name="suffix"></slot>
@@ -9485,7 +9485,7 @@ var ql = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, $i = (r, t
9485
9485
  const Wl = "sonic-form-layout";
9486
9486
  let Ke = class extends Z(w) {
9487
9487
  constructor() {
9488
- super(...arguments), this._resizeController = new Er(this, {}), this.oneFormElement = !1;
9488
+ super(...arguments), this._resizeController = new Tr(this, {}), this.oneFormElement = !1;
9489
9489
  }
9490
9490
  onSlotChange() {
9491
9491
  let r = this.slottedElements;
@@ -9620,14 +9620,14 @@ let Lt = class extends w {
9620
9620
  alignItems: this.alignItems
9621
9621
  };
9622
9622
  return g`<span class="${this.hasLabel ? "form-label" : "hidden"}"
9623
- >${this.label ? F(
9623
+ >${this.label ? z(
9624
9624
  this.label
9625
9625
  /*+ labelStarSuffix*/
9626
9626
  ) : ""}<slot name="label" @slotchange=${this.hasSlotOrProps}></slot
9627
9627
  ></span>
9628
9628
  <slot class="main-slot" style=${ut(r)}></slot>
9629
9629
  <slot name="description" @slotchange=${this.hasSlotOrProps} class="${this.hasDescription ? "form-description" : "hidden"}">
9630
- ${this.description ? g`${F(this.description)}` : ""}
9630
+ ${this.description ? g`${z(this.description)}` : ""}
9631
9631
  </slot>`;
9632
9632
  }
9633
9633
  };
@@ -10096,7 +10096,7 @@ _t([
10096
10096
  dt = _t([
10097
10097
  _(rc)
10098
10098
  ], dt);
10099
- var oc = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, Nr = (r, t, s, i) => {
10099
+ var oc = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, Mr = (r, t, s, i) => {
10100
10100
  for (var e = i > 1 ? void 0 : i ? nc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10101
10101
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10102
10102
  return i && e && oc(t, s, e), e;
@@ -10131,13 +10131,13 @@ Ps.styles = [
10131
10131
  }
10132
10132
  `
10133
10133
  ];
10134
- Nr([
10134
+ Mr([
10135
10135
  ve({ selector: "sonic-button" })
10136
10136
  ], Ps.prototype, "buttons", 2);
10137
- Ps = Nr([
10137
+ Ps = Mr([
10138
10138
  _(ac)
10139
10139
  ], Ps);
10140
- var lc = Object.defineProperty, cc = Object.getOwnPropertyDescriptor, Tr = (r, t, s, i) => {
10140
+ var lc = Object.defineProperty, cc = Object.getOwnPropertyDescriptor, jr = (r, t, s, i) => {
10141
10141
  for (var e = i > 1 ? void 0 : i ? cc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10142
10142
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10143
10143
  return i && e && lc(t, s, e), e;
@@ -10150,7 +10150,7 @@ let $s = class extends w {
10150
10150
  ></sonic-button>`;
10151
10151
  }
10152
10152
  handleClick() {
10153
- tt.getClosestElement(this, "sonic-modal").hide();
10153
+ et.getClosestElement(this, "sonic-modal").hide();
10154
10154
  }
10155
10155
  };
10156
10156
  $s.styles = [
@@ -10167,10 +10167,10 @@ $s.styles = [
10167
10167
  }
10168
10168
  `
10169
10169
  ];
10170
- Tr([
10170
+ jr([
10171
10171
  a()
10172
10172
  ], $s.prototype, "reset", 2);
10173
- $s = Tr([
10173
+ $s = jr([
10174
10174
  _(hc)
10175
10175
  ], $s);
10176
10176
  var dc = Object.defineProperty, pc = Object.getOwnPropertyDescriptor, uc = (r, t, s, i) => {
@@ -10246,25 +10246,25 @@ Xs.styles = [
10246
10246
  Xs = _c([
10247
10247
  _(xc)
10248
10248
  ], Xs);
10249
- var Pc = Object.defineProperty, $c = Object.getOwnPropertyDescriptor, st = (r, t, s, i) => {
10249
+ var Pc = Object.defineProperty, $c = Object.getOwnPropertyDescriptor, X = (r, t, s, i) => {
10250
10250
  for (var e = i > 1 ? void 0 : i ? $c(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10251
10251
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10252
10252
  return i && e && Pc(t, s, e), e;
10253
10253
  };
10254
- const Mr = "sonic-modal";
10255
- let R = class extends Z(w) {
10254
+ const Ir = "sonic-modal";
10255
+ let I = class extends Z(w) {
10256
10256
  constructor() {
10257
10257
  super(...arguments), this.forceAction = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.padding = "var(--sc-modal-py) var(--sc-modal-px)", this.maxWidth = "var(--sc-modal-max-w) ", this.maxHeight = "var(--sc-modal-max-h) ", this.width = "100%", this.height = "auto", this.zIndex = "var(--sc-modal-z-index)", this.fullScreen = !1, this.visible = !1;
10258
10258
  }
10259
10259
  static create(r) {
10260
- const t = document.createElement(Mr);
10261
- return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.maxWidth && (t.maxWidth = r == null ? void 0 : r.maxWidth), r.width && (t.width = r == null ? void 0 : r.width), r.maxHeight && (t.maxHeight = r == null ? void 0 : r.maxHeight), r.height && (t.height = r == null ? void 0 : r.height), r.forceAction && (t.forceAction = !0), r.paddingX && t.style.setProperty("--sc-modal-px", r == null ? void 0 : r.paddingX), r.paddingY && t.style.setProperty("--sc-modal-py", r == null ? void 0 : r.paddingY), r.zIndex && t.style.setProperty("--sc-modal-z-index", r == null ? void 0 : r.zIndex), vt.getPopContainer().appendChild(t), t.show(), t;
10260
+ const t = document.createElement(Ir);
10261
+ return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.maxWidth && (t.maxWidth = r == null ? void 0 : r.maxWidth), r.width && (t.width = r == null ? void 0 : r.width), r.maxHeight && (t.maxHeight = r == null ? void 0 : r.maxHeight), r.height && (t.height = r == null ? void 0 : r.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r == null ? void 0 : r.fullScreen), r.effect && (t.effect = r == null ? void 0 : r.effect), r.paddingX && t.style.setProperty("--sc-modal-px", r == null ? void 0 : r.paddingX), r.paddingY && t.style.setProperty("--sc-modal-py", r == null ? void 0 : r.paddingY), r.zIndex && t.style.setProperty("--sc-modal-z-index", r == null ? void 0 : r.zIndex), vt.getPopContainer().appendChild(t), t.show(), t;
10262
10262
  }
10263
10263
  connectedCallback() {
10264
- R.modals.push(this), super.connectedCallback(), this.handleFullsceen();
10264
+ I.modals.push(this), super.connectedCallback(), this.handleFullsceen();
10265
10265
  }
10266
10266
  disconnectedCallback() {
10267
- R.modals.splice(R.modals.indexOf(this), 1), super.disconnectedCallback();
10267
+ I.modals.splice(I.modals.indexOf(this), 1), super.disconnectedCallback();
10268
10268
  }
10269
10269
  updated() {
10270
10270
  const r = this;
@@ -10279,7 +10279,32 @@ let R = class extends Z(w) {
10279
10279
  });
10280
10280
  }
10281
10281
  willUpdate(r) {
10282
- r.has("fullScreen") && this.handleFullsceen(), super.willUpdate(r);
10282
+ r.has("fullScreen") && this.handleFullsceen(), r.has("effect") && (this.effect == "fade" ? this.animation = {
10283
+ keyframeOptions: {
10284
+ duration: 400
10285
+ },
10286
+ in: Zi,
10287
+ out: Ki
10288
+ } : this.effect == "none" ? this.animation = void 0 : this.animation = {
10289
+ keyframeOptions: {
10290
+ duration: 400,
10291
+ easing: "cubic-bezier(0.250, 0.250, 0.420, 1.225)"
10292
+ },
10293
+ in: [
10294
+ {
10295
+ transform: "translateY(25%) scale(1)",
10296
+ boxShadow: "0 0 0 rgba(0,0,0,0)",
10297
+ opacity: 0
10298
+ }
10299
+ ],
10300
+ out: [
10301
+ {
10302
+ transform: "translateY(20%) scale(1)",
10303
+ boxShadow: "0 0 0 rgba(0,0,0,0)",
10304
+ opacity: 0
10305
+ }
10306
+ ]
10307
+ }), super.willUpdate(r);
10283
10308
  }
10284
10309
  render() {
10285
10310
  var s;
@@ -10304,7 +10329,7 @@ let R = class extends Z(w) {
10304
10329
  class="modal-wrapper"
10305
10330
  style=${ut(t)}
10306
10331
  ${ds({
10307
- out: Zo
10332
+ out: Ki
10308
10333
  })}
10309
10334
  tabindex="0"
10310
10335
  >
@@ -10312,26 +10337,7 @@ let R = class extends Z(w) {
10312
10337
  part="modal"
10313
10338
  class="modal custom-scroll"
10314
10339
  style=${ut(r)}
10315
- ${ds({
10316
- keyframeOptions: {
10317
- duration: 400,
10318
- easing: "cubic-bezier(0.250, 0.250, 0.420, 1.225)"
10319
- },
10320
- in: [
10321
- {
10322
- transform: "translateY(25%) scale(1)",
10323
- boxShadow: "0 0 0 rgba(0,0,0,0)",
10324
- opacity: 0
10325
- }
10326
- ],
10327
- out: [
10328
- {
10329
- transform: "translateY(20%) scale(1)",
10330
- boxShadow: "0 0 0 rgba(0,0,0,0)",
10331
- opacity: 0
10332
- }
10333
- ]
10334
- })}
10340
+ ${ds(this.animation)}
10335
10341
  >
10336
10342
  <div class="modal-content">
10337
10343
  ${(s = this.options) != null && s.forceAction ? C : g`<sonic-modal-close></sonic-modal-close>`}
@@ -10349,7 +10355,7 @@ let R = class extends Z(w) {
10349
10355
  keyframeOptions: {
10350
10356
  duration: 500
10351
10357
  },
10352
- in: Yo,
10358
+ in: Zi,
10353
10359
  out: [{ opacity: 0, pointerEvents: "none" }]
10354
10360
  })}
10355
10361
  ></div>`;
@@ -10360,7 +10366,7 @@ let R = class extends Z(w) {
10360
10366
  if (!t)
10361
10367
  return C;
10362
10368
  let s;
10363
- switch (t instanceof Object ? s = t : s = F(t), r) {
10369
+ switch (t instanceof Object ? s = t : s = z(t), r) {
10364
10370
  case "title":
10365
10371
  return g`<sonic-modal-title>${s}</sonic-modal-title>`;
10366
10372
  case "subtitle":
@@ -10379,7 +10385,7 @@ let R = class extends Z(w) {
10379
10385
  }
10380
10386
  hide() {
10381
10387
  var r;
10382
- this.visible = !1, (r = this.modalElement) == null || r.setAttribute("tabindex", "-1"), this.dispatchEvent(new CustomEvent("hide")), this.hasAttribute("resetDataProviderOnHide") && X.get(this.getAttribute("resetDataProviderOnHide")).set(
10388
+ this.visible = !1, (r = this.modalElement) == null || r.setAttribute("tabindex", "-1"), this.dispatchEvent(new CustomEvent("hide")), this.hasAttribute("resetDataProviderOnHide") && tt.get(this.getAttribute("resetDataProviderOnHide")).set(
10383
10389
  {}
10384
10390
  ), this.removeOnHide && this.remove(), setTimeout(() => {
10385
10391
  this.dispatchEvent(new CustomEvent("hidden")), this.removeHashOnHide && window.history.replaceState({}, "", window.location.pathname);
@@ -10389,12 +10395,12 @@ let R = class extends Z(w) {
10389
10395
  this.hide(), this.remove();
10390
10396
  }
10391
10397
  static disposeAll() {
10392
- R.modals.forEach((r) => {
10398
+ I.modals.forEach((r) => {
10393
10399
  r.dispose();
10394
10400
  });
10395
10401
  }
10396
10402
  handleEscape(r) {
10397
- r.key === "Escape" && R.modals.forEach((t) => {
10403
+ r.key === "Escape" && I.modals.forEach((t) => {
10398
10404
  t.forceAction || t.hide();
10399
10405
  });
10400
10406
  }
@@ -10402,7 +10408,7 @@ let R = class extends Z(w) {
10402
10408
  this.fullScreen && (this.width = "100%", this.height = "100%", this.maxWidth = "none", this.maxHeight = "none");
10403
10409
  }
10404
10410
  };
10405
- R.styles = [
10411
+ I.styles = [
10406
10412
  es,
10407
10413
  $`
10408
10414
  :host {
@@ -10522,59 +10528,65 @@ R.styles = [
10522
10528
  }
10523
10529
  `
10524
10530
  ];
10525
- R.modals = [];
10526
- st([
10531
+ I.modals = [];
10532
+ X([
10527
10533
  a({ type: Boolean })
10528
- ], R.prototype, "forceAction", 2);
10529
- st([
10534
+ ], I.prototype, "forceAction", 2);
10535
+ X([
10530
10536
  a({ type: Boolean })
10531
- ], R.prototype, "removeOnHide", 2);
10532
- st([
10537
+ ], I.prototype, "removeOnHide", 2);
10538
+ X([
10533
10539
  a({ type: Boolean })
10534
- ], R.prototype, "removeHashOnHide", 2);
10535
- st([
10540
+ ], I.prototype, "removeHashOnHide", 2);
10541
+ X([
10536
10542
  a({ type: String, reflect: !0 })
10537
- ], R.prototype, "align", 2);
10538
- st([
10543
+ ], I.prototype, "align", 2);
10544
+ X([
10539
10545
  a({ type: String })
10540
- ], R.prototype, "padding", 2);
10541
- st([
10546
+ ], I.prototype, "padding", 2);
10547
+ X([
10542
10548
  a({ type: String })
10543
- ], R.prototype, "maxWidth", 2);
10544
- st([
10549
+ ], I.prototype, "maxWidth", 2);
10550
+ X([
10545
10551
  a({ type: String })
10546
- ], R.prototype, "maxHeight", 2);
10547
- st([
10552
+ ], I.prototype, "maxHeight", 2);
10553
+ X([
10548
10554
  a({ type: String })
10549
- ], R.prototype, "width", 2);
10550
- st([
10555
+ ], I.prototype, "width", 2);
10556
+ X([
10551
10557
  a({ type: String })
10552
- ], R.prototype, "height", 2);
10553
- st([
10558
+ ], I.prototype, "height", 2);
10559
+ X([
10554
10560
  a({ type: String })
10555
- ], R.prototype, "zIndex", 2);
10556
- st([
10561
+ ], I.prototype, "zIndex", 2);
10562
+ X([
10563
+ a({ type: String })
10564
+ ], I.prototype, "effect", 2);
10565
+ X([
10557
10566
  a({ type: Object })
10558
- ], R.prototype, "options", 2);
10559
- st([
10567
+ ], I.prototype, "options", 2);
10568
+ X([
10560
10569
  a({ type: Boolean, reflect: !0 })
10561
- ], R.prototype, "fullScreen", 2);
10562
- st([
10570
+ ], I.prototype, "fullScreen", 2);
10571
+ X([
10563
10572
  a({ type: Boolean, reflect: !0 })
10564
- ], R.prototype, "visible", 2);
10565
- st([
10573
+ ], I.prototype, "visible", 2);
10574
+ X([
10575
+ a({ type: Object })
10576
+ ], I.prototype, "animation", 2);
10577
+ X([
10566
10578
  be(".modal-wrapper")
10567
- ], R.prototype, "modalWrapper", 2);
10568
- st([
10579
+ ], I.prototype, "modalWrapper", 2);
10580
+ X([
10569
10581
  be(".modal")
10570
- ], R.prototype, "modalElement", 2);
10571
- st([
10582
+ ], I.prototype, "modalElement", 2);
10583
+ X([
10572
10584
  ve({ selector: "sonic-modal-close" })
10573
- ], R.prototype, "closeBtn", 2);
10574
- R = st([
10575
- _(Mr)
10576
- ], R);
10577
- typeof window < "u" && (window.SonicModal = R);
10585
+ ], I.prototype, "closeBtn", 2);
10586
+ I = X([
10587
+ _(Ir)
10588
+ ], I);
10589
+ typeof window < "u" && (window.SonicModal = I);
10578
10590
  var Cc = Object.defineProperty, Ac = Object.getOwnPropertyDescriptor, It = (r, t, s, i) => {
10579
10591
  for (var e = i > 1 ? void 0 : i ? Ac(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10580
10592
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
@@ -10602,7 +10614,7 @@ let Ct = class extends w {
10602
10614
  >${this.noIcon ? C : g`<div>${this.status && g`<sonic-icon name=${Sc[this.status]}></sonic-icon>`}</div>`}</slot
10603
10615
  >
10604
10616
  <div>
10605
- ${this.label ? g`<span class="label">${F(this.label)}</span>` : C}
10617
+ ${this.label ? g`<span class="label">${z(this.label)}</span>` : C}
10606
10618
  <div>${this.text}<slot></slot></div>
10607
10619
  </div>
10608
10620
  ${this.dismissible ? g`<sonic-button @click=${this.close} class="close-btn" variant="unstyled" shape="circle">
@@ -10756,7 +10768,7 @@ let fe = class extends Z(w) {
10756
10768
  render() {
10757
10769
  var r;
10758
10770
  return (r = this.messages) != null && r.length ? g`<div class="container">
10759
- ${Dr(this.messages, (t) => t.type == "public" ? g`<sonic-alert
10771
+ ${Lr(this.messages, (t) => t.type == "public" ? g`<sonic-alert
10760
10772
  status=${t.status || "default"}
10761
10773
  text=${x(t.content)}
10762
10774
  size=${this.size}
@@ -10791,7 +10803,7 @@ rs([
10791
10803
  fe = rs([
10792
10804
  _(Lc)
10793
10805
  ], fe);
10794
- var Ec = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, jr = (r, t, s, i) => {
10806
+ var Ec = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, Fr = (r, t, s, i) => {
10795
10807
  for (var e = i > 1 ? void 0 : i ? Nc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10796
10808
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10797
10809
  return i && e && Ec(t, s, e), e;
@@ -10813,10 +10825,10 @@ let ti = class extends Z(w) {
10813
10825
  return C;
10814
10826
  }
10815
10827
  };
10816
- jr([
10828
+ Fr([
10817
10829
  a({ type: Array })
10818
10830
  ], ti.prototype, "messages", 1);
10819
- ti = jr([
10831
+ ti = Fr([
10820
10832
  _(Tc)
10821
10833
  ], ti);
10822
10834
  var Mc = Object.defineProperty, jc = Object.getOwnPropertyDescriptor, os = (r, t, s, i) => {
@@ -10975,7 +10987,7 @@ let At = class extends w {
10975
10987
  }
10976
10988
  render() {
10977
10989
  return g`<div part="divider">
10978
- <span class="text">${F(this.label ? this.label : "")}<slot></slot></span>
10990
+ <span class="text">${z(this.label ? this.label : "")}<slot></slot></span>
10979
10991
  </div>`;
10980
10992
  }
10981
10993
  };
@@ -11177,8 +11189,8 @@ let Ye = class extends w {
11177
11189
  return g`
11178
11190
  <div class="header">
11179
11191
  <div class="header-content">
11180
- ${F(this.label)}
11181
- ${this.description ? g`<sonic-card-header-description>${F(this.description)}</sonic-card-header-description>` : ""}
11192
+ ${z(this.label)}
11193
+ ${this.description ? g`<sonic-card-header-description>${z(this.description)}</sonic-card-header-description>` : ""}
11182
11194
  <slot></slot>
11183
11195
  </div>
11184
11196
  <slot name="suffix"></slot>
@@ -11237,7 +11249,7 @@ var Zc = Object.defineProperty, Yc = Object.getOwnPropertyDescriptor, Gc = (r, t
11237
11249
  return i && e && Zc(t, s, e), e;
11238
11250
  };
11239
11251
  const Qc = "sonic-card-main";
11240
- let rr = class extends w {
11252
+ let nr = class extends w {
11241
11253
  // static styles = [
11242
11254
  // css`
11243
11255
  // :host {
@@ -11252,16 +11264,16 @@ let rr = class extends w {
11252
11264
  `;
11253
11265
  }
11254
11266
  };
11255
- rr = Gc([
11267
+ nr = Gc([
11256
11268
  _(Qc)
11257
- ], rr);
11269
+ ], nr);
11258
11270
  var Jc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, th = (r, t, s, i) => {
11259
11271
  for (var e = i > 1 ? void 0 : i ? Xc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
11260
11272
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
11261
11273
  return i && e && Jc(t, s, e), e;
11262
11274
  };
11263
11275
  const eh = "sonic-card-footer";
11264
- let or = class extends w {
11276
+ let ar = class extends w {
11265
11277
  // static styles = [
11266
11278
  // css`
11267
11279
  // :host {
@@ -11272,10 +11284,10 @@ let or = class extends w {
11272
11284
  return g` <slot></slot> `;
11273
11285
  }
11274
11286
  };
11275
- or = th([
11287
+ ar = th([
11276
11288
  _(eh)
11277
- ], or);
11278
- var sh = Object.defineProperty, ih = Object.getOwnPropertyDescriptor, Ir = (r, t, s, i) => {
11289
+ ], ar);
11290
+ var sh = Object.defineProperty, ih = Object.getOwnPropertyDescriptor, zr = (r, t, s, i) => {
11279
11291
  for (var e = i > 1 ? void 0 : i ? ih(t, s) : t, o = r.length - 1, n; o >= 0; o--)
11280
11292
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
11281
11293
  return i && e && sh(t, s, e), e;
@@ -11372,10 +11384,10 @@ Cs.styles = [
11372
11384
  }
11373
11385
  `
11374
11386
  ];
11375
- Ir([
11387
+ zr([
11376
11388
  a({ type: String, reflect: !0 })
11377
11389
  ], Cs.prototype, "type", 2);
11378
- Cs = Ir([
11390
+ Cs = zr([
11379
11391
  _(rh)
11380
11392
  ], Cs);
11381
11393
  const Si = $`
@@ -11825,7 +11837,7 @@ let Ge = class extends Xt(w) {
11825
11837
  const r = document.createElement("script");
11826
11838
  r.src = "https://www.google.com/recaptcha/api.js?render=" + this.key, r.id = "captcha-" + this.key, document.head.appendChild(r);
11827
11839
  }
11828
- if (super.connectedCallback(), this.formPublisher = X.get(
11840
+ if (super.connectedCallback(), this.formPublisher = tt.get(
11829
11841
  this.getAncestorAttributeValue("headersDataProvider") ?? this.getAncestorAttributeValue("formDataProvider")
11830
11842
  ), !document.getElementById("concorde-recaptcha-css")) {
11831
11843
  const r = document.createElement("style");
@@ -11880,7 +11892,7 @@ function jh(r) {
11880
11892
  function Ih(r) {
11881
11893
  this.__disconnectedCallbackCalls__ || (this.__disconnectedCallbackCalls__ = /* @__PURE__ */ new Set()), this.__disconnectedCallbackCalls__.add(r);
11882
11894
  }
11883
- function Fr(r) {
11895
+ function Rr(r) {
11884
11896
  if (r.__is__setSubscribable__)
11885
11897
  return;
11886
11898
  r.__is__setSubscribable__ = !0, r.__onConnected__ = jh, r.__onDisconnected__ = Ih;
@@ -11904,7 +11916,7 @@ function Fh(r) {
11904
11916
  if (!e)
11905
11917
  return;
11906
11918
  let n;
11907
- Fr(e), e.__onConnected__((l) => {
11919
+ Rr(e), e.__onConnected__((l) => {
11908
11920
  n = (c) => {
11909
11921
  l[o] = c;
11910
11922
  }, i.onAssign(n);
@@ -11928,7 +11940,7 @@ function zh(...r) {
11928
11940
  s.push({ publisher: l, onAssign: h, callbacks: c });
11929
11941
  }
11930
11942
  return function(i, e, o) {
11931
- Fr(i);
11943
+ Rr(i);
11932
11944
  let n;
11933
11945
  i.__onConnected__((l) => {
11934
11946
  for (const c of s)
@@ -11946,14 +11958,14 @@ window["concorde-decorator-subscriber"] = {
11946
11958
  };
11947
11959
  window["concorde-directives-data-provider"] = window["concorde-directives-data-provider"] || {};
11948
11960
  window["concorde-directives-data-provider"] = {
11949
- dp: _r,
11950
- dataProvider: bo,
11951
- sub: go,
11952
- subscribe: fo,
11953
- get: mo,
11954
- set: vo
11955
- };
11956
- const Rh = N, Uh = R;
11961
+ dp: Pr,
11962
+ dataProvider: yo,
11963
+ sub: bo,
11964
+ subscribe: mo,
11965
+ get: vo,
11966
+ set: wo
11967
+ };
11968
+ const Rh = N, Uh = I;
11957
11969
  window["concorde-components"] = window["concorde-components"] || {};
11958
11970
  window["concorde-components"] = {
11959
11971
  SonicToast: Rh,