@supersoniks/concorde 3.1.6 → 3.1.9

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.
Files changed (72) hide show
  1. package/build-infos.json +1 -1
  2. package/concorde-core.bundle.js +133 -111
  3. package/concorde-core.es.js +936 -870
  4. package/dist/concorde-core.bundle.js +133 -111
  5. package/dist/concorde-core.es.js +936 -870
  6. package/docs/assets/index--bDsd7qW.css +1 -0
  7. package/docs/assets/index-Ce3mr_lI.js +4040 -0
  8. package/docs/css/docs.css +0 -0
  9. package/docs/img/concorde-logo.svg +1 -0
  10. package/docs/img/concorde.png +0 -0
  11. package/docs/img/concorde_def.png +0 -0
  12. package/docs/index.html +132 -0
  13. package/docs/src/core/components/functional/date/date.md +290 -0
  14. package/docs/src/core/components/functional/fetch/fetch.md +117 -0
  15. package/docs/src/core/components/functional/if/if.md +16 -0
  16. package/docs/src/core/components/functional/list/list.md +194 -0
  17. package/docs/src/core/components/functional/mix/mix.md +41 -0
  18. package/docs/src/core/components/functional/queue/queue.md +87 -0
  19. package/docs/src/core/components/functional/router/router.md +112 -0
  20. package/docs/src/core/components/functional/sdui/default-library.json +108 -0
  21. package/docs/src/core/components/functional/sdui/example.json +99 -0
  22. package/docs/src/core/components/functional/sdui/sdui.md +356 -0
  23. package/docs/src/core/components/functional/states/states.md +87 -0
  24. package/docs/src/core/components/functional/submit/submit.md +48 -0
  25. package/docs/src/core/components/functional/subscriber/subscriber.md +91 -0
  26. package/docs/src/core/components/functional/value/value.md +35 -0
  27. package/docs/src/core/components/ui/alert/alert.md +121 -0
  28. package/docs/src/core/components/ui/badge/badge.md +102 -0
  29. package/docs/src/core/components/ui/button/button.md +184 -0
  30. package/docs/src/core/components/ui/captcha/captcha.md +12 -0
  31. package/docs/src/core/components/ui/card/card.md +96 -0
  32. package/docs/src/core/components/ui/divider/divider.md +35 -0
  33. package/docs/src/core/components/ui/form/checkbox/checkbox.md +96 -0
  34. package/docs/src/core/components/ui/form/fieldset/fieldset.md +129 -0
  35. package/docs/src/core/components/ui/form/form-actions/form-actions.md +77 -0
  36. package/docs/src/core/components/ui/form/form-layout/form-layout.md +43 -0
  37. package/docs/src/core/components/ui/form/input/input.md +168 -0
  38. package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +130 -0
  39. package/docs/src/core/components/ui/form/radio/radio.md +86 -0
  40. package/docs/src/core/components/ui/form/select/select.md +99 -0
  41. package/docs/src/core/components/ui/form/textarea/textarea.md +66 -0
  42. package/docs/src/core/components/ui/group/group.md +75 -0
  43. package/docs/src/core/components/ui/icon/icon.md +125 -0
  44. package/docs/src/core/components/ui/icon/icons.json +1 -0
  45. package/docs/src/core/components/ui/image/image.md +107 -0
  46. package/docs/src/core/components/ui/link/link.md +43 -0
  47. package/docs/src/core/components/ui/loader/loader.md +37 -0
  48. package/docs/src/core/components/ui/menu/menu.md +288 -0
  49. package/docs/src/core/components/ui/modal/modal.md +123 -0
  50. package/docs/src/core/components/ui/pop/pop.md +79 -0
  51. package/docs/src/core/components/ui/progress/progress.md +65 -0
  52. package/docs/src/core/components/ui/table/table.md +467 -0
  53. package/docs/src/core/components/ui/tooltip/tooltip.md +37 -0
  54. package/docs/src/docs/_core-concept/overview.md +57 -0
  55. package/docs/src/docs/_core-concept/subscriber.md +76 -0
  56. package/docs/src/docs/_getting-started/concorde-outside.md +141 -0
  57. package/docs/src/docs/_getting-started/create-a-component.md +137 -0
  58. package/docs/src/docs/_getting-started/pubsub.md +150 -0
  59. package/docs/src/docs/_getting-started/start.md +37 -0
  60. package/docs/src/docs/_getting-started/theming.md +91 -0
  61. package/docs/src/docs/search/docs-search.json +3737 -0
  62. package/docs/src/tag-list.json +1 -0
  63. package/docs/src/tsconfig.json +113 -0
  64. package/docs/svg/regular/plane.svg +1 -0
  65. package/docs/svg/solid/plane.svg +1 -0
  66. package/package.json +1 -1
  67. package/postcss.config.cjs +0 -0
  68. package/src/core/components/ui/form/textarea/textarea.ts +5 -2
  69. package/src/core/components/ui/pop/pop.ts +70 -42
  70. package/src/core/components/ui/theme/theme.ts +22 -0
  71. package/src/core/utils/HTML.ts +65 -14
  72. package/src/docs/tailwind/index.ts +0 -0
@@ -1,4 +1,4 @@
1
- let rt = class At {
1
+ let tt = class St {
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
  */
@@ -9,7 +9,9 @@ let rt = class At {
9
9
  static getCookies() {
10
10
  return document.cookie.split(";").reduce((t, s) => {
11
11
  const i = s.indexOf("=");
12
- return t[s.substring(0, i).trim()] = s.substring(i + 1), t;
12
+ return t[s.substring(0, i).trim()] = s.substring(
13
+ i + 1
14
+ ), t;
13
15
  }, {});
14
16
  }
15
17
  static everyAncestors(t, s) {
@@ -19,6 +21,22 @@ let rt = class At {
19
21
  t = t.parentNode || t.host;
20
22
  }
21
23
  }
24
+ static getScrollableAncestor(t) {
25
+ for (; t; ) {
26
+ const s = t;
27
+ if (s.nodeType === 1) {
28
+ const i = window.getComputedStyle(s);
29
+ if (
30
+ // (htmlNode.scrollHeight > htmlNode.clientHeight &&
31
+ // (style?.overflowY === "auto" || style?.overflowY === "scroll")) ||
32
+ (i == null ? void 0 : i.overflowY) === "hidden" || (i == null ? void 0 : i.overflowX) === "hidden"
33
+ )
34
+ return t;
35
+ }
36
+ t = t.parentNode || t.host;
37
+ }
38
+ return null;
39
+ }
22
40
  /**
23
41
  * Va de parent en parent en partant de node pour trouver un attribut
24
42
  * @param attributeName nom de l'attribut
@@ -36,12 +54,26 @@ let rt = class At {
36
54
  * Utilisée pour la configuration du wording / de la traduction ainsi que par le mixin fetcher par exemple
37
55
  */
38
56
  static getApiConfiguration(t) {
39
- const s = At.getAncestorAttributeValue(t, "token"), i = At.getAncestorAttributeValue(t, "addHTTPResponse") != null, e = At.getAncestorAttributeValue(t, "serviceURL");
57
+ const s = St.getAncestorAttributeValue(t, "token"), i = St.getAncestorAttributeValue(t, "addHTTPResponse") != null, e = St.getAncestorAttributeValue(t, "serviceURL");
40
58
  let o = null, n = null;
41
- const l = At.getAncestorAttributeValue(t, "tokenProvider"), c = At.getAncestorAttributeValue(t, "eventsApiToken");
42
- s || (o = At.getAncestorAttributeValue(t, "userName"), n = At.getAncestorAttributeValue(t, "password"));
43
- const h = At.getAncestorAttributeValue(t, "credentials") || void 0, d = t.getAttribute("cache"), f = t.hasAttribute("blockUntilDone");
44
- return { serviceURL: e, token: s, userName: o, password: n, authToken: c, tokenProvider: l, addHTTPResponse: i, credentials: h, cache: d, blockUntilDone: f };
59
+ const l = St.getAncestorAttributeValue(t, "tokenProvider"), c = St.getAncestorAttributeValue(t, "eventsApiToken");
60
+ s || (o = St.getAncestorAttributeValue(t, "userName"), n = St.getAncestorAttributeValue(t, "password"));
61
+ const h = St.getAncestorAttributeValue(
62
+ t,
63
+ "credentials"
64
+ ) || void 0, d = t.getAttribute("cache"), f = t.hasAttribute("blockUntilDone");
65
+ return {
66
+ serviceURL: e,
67
+ token: s,
68
+ userName: o,
69
+ password: n,
70
+ authToken: c,
71
+ tokenProvider: l,
72
+ addHTTPResponse: i,
73
+ credentials: h,
74
+ cache: d,
75
+ blockUntilDone: f
76
+ };
45
77
  }
46
78
  /**
47
79
  * Va de parent en parent en partant de node pour trouver un attribut
@@ -59,7 +91,7 @@ let rt = class At {
59
91
  * @returns valeur de l'attribut ou null si l'attribut n'est pas trouvé
60
92
  */
61
93
  static getClosestForm(t) {
62
- return At.getClosestElement(t, "form");
94
+ return St.getClosestElement(t, "form");
63
95
  }
64
96
  /**
65
97
  * Lance le chargement d'un js et retourne une promise qui resoud à true lorsque le chargement à réussi et à false, sinon.
@@ -87,7 +119,7 @@ let rt = class At {
87
119
  return typeof t != "string" ? t : t.charAt(0).toUpperCase() + t.substring(1);
88
120
  }
89
121
  static minutesDuration(t, s = "", i = "long") {
90
- s || (s = rt.getLanguage());
122
+ s || (s = tt.getLanguage());
91
123
  const e = (h, d) => [Math.floor(h / d), h % d];
92
124
  function o(h, d, f) {
93
125
  return new Intl.NumberFormat(h, { style: "unit", unit: d, unitDisplay: f }).format;
@@ -118,8 +150,8 @@ const Tr = async () => new Promise((r) => {
118
150
  let Ce = "sonic";
119
151
  typeof __SONIC_PREFIX__ > "u" && (Ce = "sonic" + Math.floor(Math.random() * 1e6));
120
152
  const Es = Ce == "sonic" ? "publisher-proxies-data" : Ce + "-publisher-proxies-data";
121
- var St;
122
- let ri = (St = class {
153
+ var Ot;
154
+ let ri = (Ot = class {
123
155
  constructor(t, s) {
124
156
  for (this._proxies_ = /* @__PURE__ */ new Map(), this._is_savable_ = !1, this._invalidateListeners_ = /* @__PURE__ */ new Set(), this._assignListeners_ = /* @__PURE__ */ new Set(), this._mutationListeners_ = /* @__PURE__ */ new Set(), this._fillListeners_ = /* @__PURE__ */ new Set(), this._templateFillListeners_ = /* @__PURE__ */ new Set(), this._lockInternalMutationPublishing_ = !1, this._instanceCounter_ = 0, this._assignmentId_ = 0, this._value_ = t, this.parent = s || null, this.root = this, this._instanceCounter_ = 0; this.root.parent; )
125
157
  this.root = this.root.parent;
@@ -132,7 +164,7 @@ let ri = (St = class {
132
164
  var t;
133
165
  for (const s in this._proxies_.keys())
134
166
  s != "_parent_" && ((t = this._proxies_.get(s)) == null || t.delete());
135
- this._invalidateListeners_.clear(), this._assignListeners_.clear(), this._mutationListeners_.clear(), this._fillListeners_.clear(), this._templateFillListeners_.clear(), this._proxies_.clear(), St.instances.delete(this._instanceCounter_);
167
+ this._invalidateListeners_.clear(), this._assignListeners_.clear(), this._mutationListeners_.clear(), this._fillListeners_.clear(), this._templateFillListeners_.clear(), this._proxies_.clear(), Ot.instances.delete(this._instanceCounter_);
136
168
  }
137
169
  /**
138
170
  * Utile pour savoir si quelque chose est en écoute d'une modification sur le proxy via une des methodes associées
@@ -143,11 +175,11 @@ let ri = (St = class {
143
175
  _publishInternalMutation_(t = !1) {
144
176
  if (this._mutationListeners_.forEach(
145
177
  (s) => s()
146
- ), this._is_savable_ && !N.changed) {
147
- N.changed = !0, N.saveId++;
148
- const s = N.saveId;
178
+ ), this._is_savable_ && !T.changed) {
179
+ T.changed = !0, T.saveId++;
180
+ const s = T.saveId;
149
181
  setTimeout(
150
- () => N.getInstance().saveToLocalStorage(s),
182
+ () => T.getInstance().saveToLocalStorage(s),
151
183
  1e3
152
184
  );
153
185
  }
@@ -287,7 +319,7 @@ let ri = (St = class {
287
319
  get() {
288
320
  if (this._cachedGet_ !== void 0)
289
321
  return this._cachedGet_;
290
- if (N.modifiedCollectore.length > 0 && N.modifiedCollectore[0].add(this), Object.prototype.hasOwnProperty.call(this._value_, "__value")) {
322
+ if (T.modifiedCollectore.length > 0 && T.modifiedCollectore[0].add(this), Object.prototype.hasOwnProperty.call(this._value_, "__value")) {
291
323
  const t = this._value_.__value;
292
324
  return this._cachedGet_ = t ?? null;
293
325
  }
@@ -297,11 +329,11 @@ let ri = (St = class {
297
329
  * retourner le webcomponent auquel le proxy est associé
298
330
  */
299
331
  get $tag() {
300
- return this._instanceCounter_ || (St.instancesCounter++, this._instanceCounter_ = St.instancesCounter), St.instances.set(this._instanceCounter_, this), "<" + Ce + '-publisher-proxy publisher="' + this._instanceCounter_ + '"></' + Ce + "-publisher-proxy>";
332
+ return this._instanceCounter_ || (Ot.instancesCounter++, this._instanceCounter_ = Ot.instancesCounter), Ot.instances.set(this._instanceCounter_, this), "<" + Ce + '-publisher-proxy publisher="' + this._instanceCounter_ + '"></' + Ce + "-publisher-proxy>";
301
333
  }
302
- }, St.instances = /* @__PURE__ */ new Map(), St.instancesCounter = 0, St);
334
+ }, Ot.instances = /* @__PURE__ */ new Map(), Ot.instancesCounter = 0, Ot);
303
335
  var k;
304
- let N = (k = class {
336
+ let T = (k = class {
305
337
  constructor() {
306
338
  if (this.enabledLocaStorageProxies = [], this.publishers = /* @__PURE__ */ new Map(), this.localStorageData = {}, this.isLocalStrorageReady = null, this.initialisedData = [], k.instance != null)
307
339
  throw "Singleton / use getInstance";
@@ -378,7 +410,7 @@ let N = (k = class {
378
410
  async setLocalData(t, s) {
379
411
  var i;
380
412
  await this.isLocalStrorageReady, t.set(
381
- ((i = this.localStorageData[s + "¤lang_" + rt.getLanguage()]) == null ? void 0 : i.data) || t.get()
413
+ ((i = this.localStorageData[s + "¤lang_" + tt.getLanguage()]) == null ? void 0 : i.data) || t.get()
382
414
  );
383
415
  }
384
416
  get(t, s) {
@@ -424,7 +456,7 @@ let N = (k = class {
424
456
  if (!(o != null && o._is_savable_))
425
457
  continue;
426
458
  const n = o == null ? void 0 : o.get();
427
- n && (this.localStorageData[e + "¤lang_" + rt.getLanguage()] = {
459
+ n && (this.localStorageData[e + "¤lang_" + tt.getLanguage()] = {
428
460
  lastModifiationMS: (/* @__PURE__ */ new Date()).getTime(),
429
461
  data: n
430
462
  }, i = !0);
@@ -463,11 +495,11 @@ let N = (k = class {
463
495
  const h = await new Response(l.readable).arrayBuffer();
464
496
  return new TextDecoder().decode(h);
465
497
  }
466
- }, k.buildDate = "Tue Jun 25 2024 13:03:13 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);
498
+ }, k.buildDate = "Wed Jun 26 2024 16:15:35 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);
467
499
  const Us = window;
468
- Us.SonicPublisherManager || (Us.SonicPublisherManager = N);
500
+ Us.SonicPublisherManager || (Us.SonicPublisherManager = T);
469
501
  Us.SonicPublisherManager.registerInstance(
470
- N.getInstance()
502
+ T.getInstance()
471
503
  );
472
504
  const jr = /* @__PURE__ */ new Set([
473
505
  "invalidate",
@@ -610,18 +642,18 @@ try {
610
642
  );
611
643
  } catch {
612
644
  }
613
- var L;
614
- let Cs = (L = class {
645
+ var E;
646
+ let Cs = (E = class {
615
647
  static disable() {
616
- this.enabled && (this.enabled = !1, Array.from(L.observedElements.keys()).forEach(
617
- (t) => L.unObserve(t)
648
+ this.enabled && (this.enabled = !1, Array.from(E.observedElements.keys()).forEach(
649
+ (t) => E.unObserve(t)
618
650
  ));
619
651
  }
620
652
  static observe(t) {
621
- if (!t || !L.enabled || L.observedElements.has(t))
653
+ if (!t || !E.enabled || E.observedElements.has(t))
622
654
  return;
623
- const s = new MutationObserver(L.onMutation), i = {};
624
- i.childList = !0, i.subtree = !0, i.attributes = !0, i.attributeFilter = ["data-bind"], s.observe(t, i), t.querySelectorAll("[data-bind]").forEach((e) => L.addPublisherListeners(e)), L.observedElements.set(t, s);
655
+ const s = new MutationObserver(E.onMutation), i = {};
656
+ i.childList = !0, i.subtree = !0, i.attributes = !0, i.attributeFilter = ["data-bind"], s.observe(t, i), t.querySelectorAll("[data-bind]").forEach((e) => E.addPublisherListeners(e)), E.observedElements.set(t, s);
625
657
  }
626
658
  /**
627
659
  * Arrêter à observer un élément html.
@@ -630,13 +662,13 @@ let Cs = (L = class {
630
662
  if (!t)
631
663
  return;
632
664
  const s = this.observedElements.get(t);
633
- s && (s.disconnect(), t.querySelectorAll("[data-bind]").forEach((i) => L.removePublisherListeners(i)));
665
+ s && (s.disconnect(), t.querySelectorAll("[data-bind]").forEach((i) => E.removePublisherListeners(i)));
634
666
  }
635
667
  static onAdded(t) {
636
- t.hasAttribute && t.hasAttribute("data-bind") && L.addPublisherListeners(t), t.querySelectorAll ? t.querySelectorAll("[data-bind]").forEach((s) => L.addPublisherListeners(s)) : t.childNodes.forEach((s) => L.onAdded(s));
668
+ t.hasAttribute && t.hasAttribute("data-bind") && E.addPublisherListeners(t), t.querySelectorAll ? t.querySelectorAll("[data-bind]").forEach((s) => E.addPublisherListeners(s)) : t.childNodes.forEach((s) => E.onAdded(s));
637
669
  }
638
670
  static onRemoved(t) {
639
- t.hasAttribute && t.hasAttribute("data-bind") && L.removePublisherListeners(t), t.querySelectorAll ? t.querySelectorAll("[data-bind]").forEach((s) => L.removePublisherListeners(s)) : t.childNodes.forEach((s) => L.onRemoved(s));
671
+ t.hasAttribute && t.hasAttribute("data-bind") && E.removePublisherListeners(t), t.querySelectorAll ? t.querySelectorAll("[data-bind]").forEach((s) => E.removePublisherListeners(s)) : t.childNodes.forEach((s) => E.onRemoved(s));
640
672
  }
641
673
  /**
642
674
  * Callback appelé par le MutationObserver
@@ -645,13 +677,13 @@ let Cs = (L = class {
645
677
  for (const s of t)
646
678
  switch (s.type) {
647
679
  case "attributes":
648
- L.addPublisherListeners(s.target);
680
+ E.addPublisherListeners(s.target);
649
681
  break;
650
682
  case "childList":
651
683
  s.addedNodes.forEach((i) => {
652
- L.onAdded(i);
684
+ E.onAdded(i);
653
685
  }), s.removedNodes.forEach((i) => {
654
- L.onRemoved(i);
686
+ E.onRemoved(i);
655
687
  });
656
688
  break;
657
689
  }
@@ -660,8 +692,8 @@ let Cs = (L = class {
660
692
  * La liaison avec le publisher supprimée ici.
661
693
  */
662
694
  static removePublisherListeners(t) {
663
- const s = L.publisherListeners.get(t);
664
- s && (L.publisherListeners.delete(t), s.forEach((i) => {
695
+ const s = E.publisherListeners.get(t);
696
+ s && (E.publisherListeners.delete(t), s.forEach((i) => {
665
697
  var e;
666
698
  (e = i.publisher) == null || e.offAssign(i.onAssign);
667
699
  }));
@@ -695,7 +727,7 @@ let Cs = (L = class {
695
727
  static getDataBindItems(t) {
696
728
  return "attributes" in t ? Array.from(t.attributes).filter((s) => s.name.indexOf("::") == 0).map((s) => ({
697
729
  propertyToUpdate: s.name.substring(2).replace(/-((html)|\w)/g, (e) => e.substring(1).toUpperCase()),
698
- bindedVariablesDescriptor: L.getVariablesDescriptor(s.value)
730
+ bindedVariablesDescriptor: E.getVariablesDescriptor(s.value)
699
731
  })) : [];
700
732
  }
701
733
  /**
@@ -720,59 +752,59 @@ let Cs = (L = class {
720
752
  * TODO Sans doute factoriser
721
753
  */
722
754
  static addPublisherListeners(t) {
723
- L.removePublisherListeners(t);
724
- const s = rt.getAncestorAttributeValue(
755
+ E.removePublisherListeners(t);
756
+ const s = tt.getAncestorAttributeValue(
725
757
  t.parentNode || t.host || t,
726
758
  "dataProvider"
727
759
  );
728
760
  if (!s)
729
761
  return;
730
- const i = N.getInstance().get(s), e = L.getDataBindItems(t), o = [];
762
+ const i = T.getInstance().get(s), e = E.getDataBindItems(t), o = [];
731
763
  e.forEach((n) => {
732
764
  const l = n.bindedVariablesDescriptor, c = n.propertyToUpdate;
733
765
  for (const h of l.variables) {
734
766
  const d = h;
735
767
  let f = i;
736
- f = L.getSubPublisher(i, d);
768
+ f = E.getSubPublisher(i, d);
737
769
  const m = t, b = {
738
770
  publisher: f,
739
771
  onAssign: () => {
740
- const w = l.variables.map((D) => {
772
+ const y = l.variables.map((D) => {
741
773
  var p;
742
- return (p = L.getSubPublisher(i, D)) == null ? void 0 : p.get();
774
+ return (p = E.getSubPublisher(i, D)) == null ? void 0 : p.get();
743
775
  });
744
- let C = l.expression, O = !1;
745
- if (w.length == 1 && l.variables[0].join(".") == C.substring(1)) {
746
- let D = w[0];
776
+ let $ = l.expression, S = !1;
777
+ if (y.length == 1 && l.variables[0].join(".") == $.substring(1)) {
778
+ let D = y[0];
747
779
  D === null && (D = ""), m[c] = D;
748
780
  return;
749
781
  }
750
- for (let D = 0; D < w.length; D++) {
751
- let p = w[D];
782
+ for (let D = 0; D < y.length; D++) {
783
+ let p = y[D];
752
784
  const u = l.variables[D];
753
- p === null && (O = !0, p = void 0), C = C.replace("$" + u.join("."), p);
785
+ p === null && (S = !0, p = void 0), $ = $.replace("$" + u.join("."), p);
754
786
  }
755
- if (C.indexOf("|") != -1) {
756
- const D = C.indexOf("|");
787
+ if ($.indexOf("|") != -1) {
788
+ const D = $.indexOf("|");
757
789
  if (D == 0)
758
- C = hs.js(C.substring(1));
790
+ $ = hs.js($.substring(1));
759
791
  else {
760
- const p = C.substring(0, D), u = C.substring(D + 1), v = hs[p];
761
- C = O ? "" : v ? v(u) : C;
792
+ const p = $.substring(0, D), u = $.substring(D + 1), v = hs[p];
793
+ $ = S ? "" : v ? v(u) : $;
762
794
  }
763
795
  } else
764
- C = O ? "" : C;
765
- m[c] = C;
796
+ $ = S ? "" : $;
797
+ m[c] = $;
766
798
  }
767
799
  };
768
800
  f == null || f.onAssign(b.onAssign), o.push(b);
769
801
  }
770
- }), L.publisherListeners.set(t, o);
802
+ }), E.publisherListeners.set(t, o);
771
803
  }
772
- }, L.observedElements = /* @__PURE__ */ new Map(), L.enabled = !0, L.publisherListeners = /* @__PURE__ */ new Map(), L);
804
+ }, E.observedElements = /* @__PURE__ */ new Map(), E.enabled = !0, E.publisherListeners = /* @__PURE__ */ new Map(), E);
773
805
  Cs.observe(document.documentElement);
774
806
  window.SonicDataBindObserver || (window.SonicDataBindObserver = Cs);
775
- let X = class Bt {
807
+ let X = class Ht {
776
808
  /**
777
809
  * Effectue une comparaison d'égalité non profonde entre deux objets.
778
810
  */
@@ -798,8 +830,8 @@ let X = class Bt {
798
830
  if (e.length !== o.length && i)
799
831
  return !1;
800
832
  for (const n of e) {
801
- const l = t[n], c = s[n], h = Bt.isObject(l) && Bt.isObject(c), d = i ? l !== c : l != c;
802
- if (h && !Bt.deepEqual(l, c) || !h && d)
833
+ const l = t[n], c = s[n], h = Ht.isObject(l) && Ht.isObject(c), d = i ? l !== c : l != c;
834
+ if (h && !Ht.deepEqual(l, c) || !h && d)
803
835
  return !1;
804
836
  }
805
837
  return !0;
@@ -818,7 +850,7 @@ let X = class Bt {
818
850
  return t == null;
819
851
  }
820
852
  static isEmpty(t) {
821
- return Bt.isUndefindOrNull(t) ? !0 : Object.keys(t).length === 0;
853
+ return Ht.isUndefindOrNull(t) ? !0 : Object.keys(t).length === 0;
822
854
  }
823
855
  /**
824
856
  * traverse l'objet pour obtenir la valeur a l'adresse donnée via le tableau de clés pathArray.
@@ -830,7 +862,7 @@ let X = class Bt {
830
862
  const o = t[e];
831
863
  if (o === void 0)
832
864
  return;
833
- i && Bt.isObject(o) ? t = Object.assign(Array.isArray(o) ? [] : {}, t, o) : t = t[e];
865
+ i && Ht.isObject(o) ? t = Object.assign(Array.isArray(o) ? [] : {}, t, o) : t = t[e];
834
866
  }
835
867
  return t;
836
868
  }
@@ -839,12 +871,12 @@ let X = class Bt {
839
871
  let i = [];
840
872
  for (let e in t) {
841
873
  const o = t[e];
842
- s && (e = s + "[" + e + "]"), Bt.isObject(o) ? i = [...i, ...this.getURLSearchArray(o, e)] : i.push(`${e}=${o}`);
874
+ s && (e = s + "[" + e + "]"), Ht.isObject(o) ? i = [...i, ...this.getURLSearchArray(o, e)] : i.push(`${e}=${o}`);
843
875
  }
844
876
  return i;
845
877
  }
846
878
  static getURLSearchString(t) {
847
- return Bt.getURLSearchArray(t, "").join("&");
879
+ return Ht.getURLSearchArray(t, "").join("&");
848
880
  }
849
881
  };
850
882
  /**
@@ -910,7 +942,7 @@ const Ir = (r) => new ir(typeof r == "string" ? r : r + "", void 0, ni), P = (r,
910
942
  * Copyright 2017 Google LLC
911
943
  * SPDX-License-Identifier: BSD-3-Clause
912
944
  */
913
- const { is: Rr, defineProperty: Fr, getOwnPropertyDescriptor: Ur, getOwnPropertyNames: Vr, getOwnPropertySymbols: Br, getPrototypeOf: Hr } = Object, Ht = globalThis, Oi = Ht.trustedTypes, qr = Oi ? Oi.emptyScript : "", Ns = Ht.reactiveElementPolyfillSupport, ze = (r, t) => r, ds = { toAttribute(r, t) {
945
+ const { is: Fr, defineProperty: Rr, getOwnPropertyDescriptor: Ur, getOwnPropertyNames: Vr, getOwnPropertySymbols: Br, getPrototypeOf: Hr } = Object, qt = globalThis, Oi = qt.trustedTypes, qr = Oi ? Oi.emptyScript : "", Ns = qt.reactiveElementPolyfillSupport, ze = (r, t) => r, ds = { toAttribute(r, t) {
914
946
  switch (t) {
915
947
  case Boolean:
916
948
  r = r ? qr : null;
@@ -938,8 +970,8 @@ const { is: Rr, defineProperty: Fr, getOwnPropertyDescriptor: Ur, getOwnProperty
938
970
  }
939
971
  }
940
972
  return s;
941
- } }, ai = (r, t) => !Rr(r, t), Di = { attribute: !0, type: String, converter: ds, reflect: !1, hasChanged: ai };
942
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Ht.litPropertyMetadata ?? (Ht.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
973
+ } }, ai = (r, t) => !Fr(r, t), Di = { attribute: !0, type: String, converter: ds, reflect: !1, hasChanged: ai };
974
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), qt.litPropertyMetadata ?? (qt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
943
975
  let $e = class extends HTMLElement {
944
976
  static addInitializer(t) {
945
977
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
@@ -950,7 +982,7 @@ let $e = class extends HTMLElement {
950
982
  static createProperty(t, s = Di) {
951
983
  if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
952
984
  const i = Symbol(), e = this.getPropertyDescriptor(t, i, s);
953
- e !== void 0 && Fr(this.prototype, t, e);
985
+ e !== void 0 && Rr(this.prototype, t, e);
954
986
  }
955
987
  }
956
988
  static getPropertyDescriptor(t, s, i) {
@@ -1151,7 +1183,7 @@ let $e = class extends HTMLElement {
1151
1183
  firstUpdated(t) {
1152
1184
  }
1153
1185
  };
1154
- $e.elementStyles = [], $e.shadowRootOptions = { mode: "open" }, $e[ze("elementProperties")] = /* @__PURE__ */ new Map(), $e[ze("finalized")] = /* @__PURE__ */ new Map(), Ns == null || Ns({ ReactiveElement: $e }), (Ht.reactiveElementVersions ?? (Ht.reactiveElementVersions = [])).push("2.0.4");
1186
+ $e.elementStyles = [], $e.shadowRootOptions = { mode: "open" }, $e[ze("elementProperties")] = /* @__PURE__ */ new Map(), $e[ze("finalized")] = /* @__PURE__ */ new Map(), Ns == null || Ns({ ReactiveElement: $e }), (qt.reactiveElementVersions ?? (qt.reactiveElementVersions = [])).push("2.0.4");
1155
1187
  /**
1156
1188
  * @license
1157
1189
  * Copyright 2017 Google LLC
@@ -1263,9 +1295,9 @@ function lt(r) {
1263
1295
  * Copyright 2017 Google LLC
1264
1296
  * SPDX-License-Identifier: BSD-3-Clause
1265
1297
  */
1266
- const Re = globalThis, us = Re.trustedTypes, ki = us ? us.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, li = "$lit$", zt = `lit$${(Math.random() + "").slice(9)}$`, ci = "?" + zt, Zr = `<${ci}>`, le = document, Be = () => le.createComment(""), He = (r) => r === null || typeof r != "object" && typeof r != "function", rr = Array.isArray, or = (r) => rr(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Ts = `[
1298
+ const Fe = globalThis, us = Fe.trustedTypes, ki = us ? us.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, li = "$lit$", Ft = `lit$${(Math.random() + "").slice(9)}$`, ci = "?" + Ft, Zr = `<${ci}>`, le = document, Be = () => le.createComment(""), He = (r) => r === null || typeof r != "object" && typeof r != "function", rr = Array.isArray, or = (r) => rr(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Ts = `[
1267
1299
  \f\r]`, Te = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Li = /-->/g, Ei = />/g, se = RegExp(`>|${Ts}(?:([^\\s"'>=/]+)(${Ts}*=${Ts}*(?:[^
1268
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Ni = /'/g, Ti = /"/g, nr = /^(?:script|style|textarea|title)$/i, Gr = (r) => (t, ...s) => ({ _$litType$: r, strings: t, values: s }), g = Gr(1), gt = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), ji = /* @__PURE__ */ new WeakMap(), ne = le.createTreeWalker(le, 129);
1300
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ni = /'/g, Ti = /"/g, nr = /^(?:script|style|textarea|title)$/i, Yr = (r) => (t, ...s) => ({ _$litType$: r, strings: t, values: s }), g = Yr(1), gt = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), ji = /* @__PURE__ */ new WeakMap(), ne = le.createTreeWalker(le, 129);
1269
1301
  function ar(r, t) {
1270
1302
  if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
1271
1303
  throw Error("invalid template strings array");
@@ -1280,7 +1312,7 @@ const lr = (r, t) => {
1280
1312
  for (; m < c.length && (n.lastIndex = m, d = n.exec(c), d !== null); )
1281
1313
  m = n.lastIndex, n === Te ? d[1] === "!--" ? n = Li : d[1] !== void 0 ? n = Ei : d[2] !== void 0 ? (nr.test(d[2]) && (e = RegExp("</" + d[2], "g")), n = se) : d[3] !== void 0 && (n = se) : n === se ? d[0] === ">" ? (n = e ?? Te, f = -1) : d[1] === void 0 ? f = -2 : (f = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? se : d[3] === '"' ? Ti : Ni) : n === Ti || n === Ni ? n = se : n === Li || n === Ei ? n = Te : (n = se, e = void 0);
1282
1314
  const b = n === se && r[l + 1].startsWith("/>") ? " " : "";
1283
- o += n === Te ? c + Zr : f >= 0 ? (i.push(h), c.slice(0, f) + li + c.slice(f) + zt + b) : c + zt + (f === -2 ? l : b);
1315
+ o += n === Te ? c + Zr : f >= 0 ? (i.push(h), c.slice(0, f) + li + c.slice(f) + Ft + b) : c + Ft + (f === -2 ? l : b);
1284
1316
  }
1285
1317
  return [ar(r, o + (r[s] || "<?>") + (t === 2 ? "</svg>" : "")), i];
1286
1318
  };
@@ -1299,12 +1331,12 @@ class qe {
1299
1331
  if (e.hasAttributes())
1300
1332
  for (const f of e.getAttributeNames())
1301
1333
  if (f.endsWith(li)) {
1302
- const m = d[n++], b = e.getAttribute(f).split(zt), w = /([.?@])?(.*)/.exec(m);
1303
- c.push({ type: 1, index: o, name: w[2], strings: b, ctor: w[1] === "." ? hr : w[1] === "?" ? dr : w[1] === "@" ? pr : Ye }), e.removeAttribute(f);
1334
+ const m = d[n++], b = e.getAttribute(f).split(Ft), y = /([.?@])?(.*)/.exec(m);
1335
+ c.push({ type: 1, index: o, name: y[2], strings: b, ctor: y[1] === "." ? hr : y[1] === "?" ? dr : y[1] === "@" ? pr : Ge }), e.removeAttribute(f);
1304
1336
  } else
1305
- f.startsWith(zt) && (c.push({ type: 6, index: o }), e.removeAttribute(f));
1337
+ f.startsWith(Ft) && (c.push({ type: 6, index: o }), e.removeAttribute(f));
1306
1338
  if (nr.test(e.tagName)) {
1307
- const f = e.textContent.split(zt), m = f.length - 1;
1339
+ const f = e.textContent.split(Ft), m = f.length - 1;
1308
1340
  if (m > 0) {
1309
1341
  e.textContent = us ? us.emptyScript : "";
1310
1342
  for (let b = 0; b < m; b++)
@@ -1317,8 +1349,8 @@ class qe {
1317
1349
  c.push({ type: 2, index: o });
1318
1350
  else {
1319
1351
  let f = -1;
1320
- for (; (f = e.data.indexOf(zt, f + 1)) !== -1; )
1321
- c.push({ type: 7, index: o }), f += zt.length - 1;
1352
+ for (; (f = e.data.indexOf(Ft, f + 1)) !== -1; )
1353
+ c.push({ type: 7, index: o }), f += Ft.length - 1;
1322
1354
  }
1323
1355
  o++;
1324
1356
  }
@@ -1371,7 +1403,7 @@ class Se {
1371
1403
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
1372
1404
  }
1373
1405
  constructor(t, s, i, e) {
1374
- this.type = 2, this._$AH = $, this._$AN = void 0, this._$AA = t, this._$AB = s, this._$AM = i, this.options = e, this._$Cv = (e == null ? void 0 : e.isConnected) ?? !0;
1406
+ this.type = 2, this._$AH = C, this._$AN = void 0, this._$AA = t, this._$AB = s, this._$AM = i, this.options = e, this._$Cv = (e == null ? void 0 : e.isConnected) ?? !0;
1375
1407
  }
1376
1408
  get parentNode() {
1377
1409
  let t = this._$AA.parentNode;
@@ -1385,7 +1417,7 @@ class Se {
1385
1417
  return this._$AB;
1386
1418
  }
1387
1419
  _$AI(t, s = this) {
1388
- t = ce(this, t, s), He(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== gt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : or(t) ? this.k(t) : this._(t);
1420
+ t = ce(this, t, s), He(t) ? t === C || t == null || t === "" ? (this._$AH !== C && this._$AR(), this._$AH = C) : t !== this._$AH && t !== gt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : or(t) ? this.k(t) : this._(t);
1389
1421
  }
1390
1422
  S(t) {
1391
1423
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -1394,7 +1426,7 @@ class Se {
1394
1426
  this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
1395
1427
  }
1396
1428
  _(t) {
1397
- this._$AH !== $ && He(this._$AH) ? this._$AA.nextSibling.data = t : this.T(le.createTextNode(t)), this._$AH = t;
1429
+ this._$AH !== C && He(this._$AH) ? this._$AA.nextSibling.data = t : this.T(le.createTextNode(t)), this._$AH = t;
1398
1430
  }
1399
1431
  $(t) {
1400
1432
  var o;
@@ -1430,7 +1462,7 @@ class Se {
1430
1462
  this._$AM === void 0 && (this._$Cv = t, (s = this._$AP) == null || s.call(this, t));
1431
1463
  }
1432
1464
  }
1433
- class Ye {
1465
+ class Ge {
1434
1466
  get tagName() {
1435
1467
  return this.element.tagName;
1436
1468
  }
@@ -1438,7 +1470,7 @@ class Ye {
1438
1470
  return this._$AM._$AU;
1439
1471
  }
1440
1472
  constructor(t, s, i, e, o) {
1441
- this.type = 1, this._$AH = $, this._$AN = void 0, this.element = t, this.name = s, this._$AM = e, this.options = o, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = $;
1473
+ this.type = 1, this._$AH = C, this._$AN = void 0, this.element = t, this.name = s, this._$AM = e, this.options = o, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = C;
1442
1474
  }
1443
1475
  _$AI(t, s = this, i, e) {
1444
1476
  const o = this.strings;
@@ -1449,38 +1481,38 @@ class Ye {
1449
1481
  const l = t;
1450
1482
  let c, h;
1451
1483
  for (t = o[0], c = 0; c < o.length - 1; c++)
1452
- h = ce(this, l[i + c], s, c), h === gt && (h = this._$AH[c]), n || (n = !He(h) || h !== this._$AH[c]), h === $ ? t = $ : t !== $ && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
1484
+ h = ce(this, l[i + c], s, c), h === gt && (h = this._$AH[c]), n || (n = !He(h) || h !== this._$AH[c]), h === C ? t = C : t !== C && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
1453
1485
  }
1454
1486
  n && !e && this.j(t);
1455
1487
  }
1456
1488
  j(t) {
1457
- t === $ ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1489
+ t === C ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1458
1490
  }
1459
1491
  }
1460
- class hr extends Ye {
1492
+ class hr extends Ge {
1461
1493
  constructor() {
1462
1494
  super(...arguments), this.type = 3;
1463
1495
  }
1464
1496
  j(t) {
1465
- this.element[this.name] = t === $ ? void 0 : t;
1497
+ this.element[this.name] = t === C ? void 0 : t;
1466
1498
  }
1467
1499
  }
1468
- class dr extends Ye {
1500
+ class dr extends Ge {
1469
1501
  constructor() {
1470
1502
  super(...arguments), this.type = 4;
1471
1503
  }
1472
1504
  j(t) {
1473
- this.element.toggleAttribute(this.name, !!t && t !== $);
1505
+ this.element.toggleAttribute(this.name, !!t && t !== C);
1474
1506
  }
1475
1507
  }
1476
- class pr extends Ye {
1508
+ class pr extends Ge {
1477
1509
  constructor(t, s, i, e, o) {
1478
1510
  super(t, s, i, e, o), this.type = 5;
1479
1511
  }
1480
1512
  _$AI(t, s = this) {
1481
- if ((t = ce(this, t, s, 0) ?? $) === gt)
1513
+ if ((t = ce(this, t, s, 0) ?? C) === gt)
1482
1514
  return;
1483
- const i = this._$AH, e = t === $ && i !== $ || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== $ && (i === $ || e);
1515
+ const i = this._$AH, e = t === C && i !== C || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== C && (i === C || e);
1484
1516
  e && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
1485
1517
  }
1486
1518
  handleEvent(t) {
@@ -1499,8 +1531,8 @@ class ur {
1499
1531
  ce(this, t);
1500
1532
  }
1501
1533
  }
1502
- const Yr = { P: li, A: zt, C: ci, M: 1, L: lr, R: cr, D: or, V: ce, I: Se, H: Ye, N: dr, U: pr, B: hr, F: ur }, js = Re.litHtmlPolyfillSupport;
1503
- js == null || js(qe, Se), (Re.litHtmlVersions ?? (Re.litHtmlVersions = [])).push("3.1.2");
1534
+ const Gr = { P: li, A: Ft, C: ci, M: 1, L: lr, R: cr, D: or, V: ce, I: Se, H: Ge, N: dr, U: pr, B: hr, F: ur }, js = Fe.litHtmlPolyfillSupport;
1535
+ js == null || js(qe, Se), (Fe.litHtmlVersions ?? (Fe.litHtmlVersions = [])).push("3.1.2");
1504
1536
  const Qr = (r, t, s) => {
1505
1537
  const i = (s == null ? void 0 : s.renderBefore) ?? t;
1506
1538
  let e = i._$litPart$;
@@ -1515,7 +1547,7 @@ const Qr = (r, t, s) => {
1515
1547
  * Copyright 2020 Google LLC
1516
1548
  * SPDX-License-Identifier: BSD-3-Clause
1517
1549
  */
1518
- const { I: Jr } = Yr, Xr = (r) => r.strings === void 0, Mi = () => document.createComment(""), je = (r, t, s) => {
1550
+ const { I: Jr } = Gr, Xr = (r) => r.strings === void 0, Mi = () => document.createComment(""), je = (r, t, s) => {
1519
1551
  var o;
1520
1552
  const i = r._$AA.parentNode, e = t === void 0 ? r._$AB : t._$AA;
1521
1553
  if (s === void 0) {
@@ -1573,13 +1605,13 @@ let Oe = class {
1573
1605
  * Copyright 2017 Google LLC
1574
1606
  * SPDX-License-Identifier: BSD-3-Clause
1575
1607
  */
1576
- const Fe = (r, t) => {
1608
+ const Re = (r, t) => {
1577
1609
  var i;
1578
1610
  const s = r._$AN;
1579
1611
  if (s === void 0)
1580
1612
  return !1;
1581
1613
  for (const e of s)
1582
- (i = e._$AO) == null || i.call(e, t, !1), Fe(e, t);
1614
+ (i = e._$AO) == null || i.call(e, t, !1), Re(e, t);
1583
1615
  return !0;
1584
1616
  }, fs = (r) => {
1585
1617
  let t, s;
@@ -1607,11 +1639,11 @@ function ro(r, t = !1, s = 0) {
1607
1639
  if (t)
1608
1640
  if (Array.isArray(i))
1609
1641
  for (let o = s; o < i.length; o++)
1610
- Fe(i[o], !1), fs(i[o]);
1642
+ Re(i[o], !1), fs(i[o]);
1611
1643
  else
1612
- i != null && (Fe(i, !1), fs(i));
1644
+ i != null && (Re(i, !1), fs(i));
1613
1645
  else
1614
- Fe(this, r);
1646
+ Re(this, r);
1615
1647
  }
1616
1648
  const oo = (r) => {
1617
1649
  r.type == be.CHILD && (r._$AP ?? (r._$AP = ro), r._$AQ ?? (r._$AQ = io));
@@ -1625,7 +1657,7 @@ let hi = class extends Oe {
1625
1657
  }
1626
1658
  _$AO(t, s = !0) {
1627
1659
  var i, e;
1628
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (e = this.disconnected) == null || e.call(this)), s && (Fe(this, t), fs(this));
1660
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (e = this.disconnected) == null || e.call(this)), s && (Re(this, t), fs(this));
1629
1661
  }
1630
1662
  setValue(t) {
1631
1663
  if (Xr(this._$Ct))
@@ -1645,7 +1677,7 @@ let hi = class extends Oe {
1645
1677
  * Copyright 2017 Google LLC
1646
1678
  * SPDX-License-Identifier: BSD-3-Clause
1647
1679
  */
1648
- let y = class extends $e {
1680
+ let w = class extends $e {
1649
1681
  constructor() {
1650
1682
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1651
1683
  }
@@ -1671,18 +1703,18 @@ let y = class extends $e {
1671
1703
  }
1672
1704
  };
1673
1705
  var sr;
1674
- y._$litElement$ = !0, y.finalized = !0, (sr = globalThis.litElementHydrateSupport) == null || sr.call(globalThis, { LitElement: y });
1706
+ w._$litElement$ = !0, w.finalized = !0, (sr = globalThis.litElementHydrateSupport) == null || sr.call(globalThis, { LitElement: w });
1675
1707
  const Is = globalThis.litElementPolyfillSupport;
1676
- Is == null || Is({ LitElement: y });
1708
+ Is == null || Is({ LitElement: w });
1677
1709
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
1678
1710
  function As(r) {
1679
1711
  if (typeof r == "function") {
1680
1712
  const t = r;
1681
- return N.collectModifiedPublisher(), t(), N.getModifiedPublishers() || /* @__PURE__ */ new Set();
1713
+ return T.collectModifiedPublisher(), t(), T.getModifiedPublishers() || /* @__PURE__ */ new Set();
1682
1714
  }
1683
1715
  if (typeof r == "string") {
1684
1716
  const t = r.split("."), s = t.shift() || "";
1685
- let i = N.get(s);
1717
+ let i = T.get(s);
1686
1718
  i = X.traverse(i, t);
1687
1719
  const e = /* @__PURE__ */ new Set();
1688
1720
  return e.add(i), e;
@@ -1821,7 +1853,7 @@ const gr = ve(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get
1821
1853
  */
1822
1854
  async localGet(t, s) {
1823
1855
  var f;
1824
- const i = N.get(t), e = new URLSearchParams(s.split("?")[1] || ""), o = i.get();
1856
+ const i = T.get(t), e = new URLSearchParams(s.split("?")[1] || ""), o = i.get();
1825
1857
  let n = [];
1826
1858
  Array.isArray(o) ? n = o : n = [o];
1827
1859
  const l = [];
@@ -1829,16 +1861,16 @@ const gr = ve(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get
1829
1861
  if (e.has("limit") && (c = parseInt(e.get("limit") || "0"), d++), e.has("offset") && (h = parseInt(e.get("offset") || "0"), d++), d > 0 && (e.delete("limit"), e.delete("offset")), e.size === 0)
1830
1862
  return n.slice(h, h + c);
1831
1863
  for (const [m, b] of e.entries()) {
1832
- const w = b.split(",").map((C) => C.trim());
1833
- for (const C of w)
1834
- for (const O of n)
1835
- if (typeof O != "object")
1836
- isNaN(+O) ? O.toString().toLowerCase().includes(b.toLowerCase()) && l.push(O) : O === b && l.push(O);
1864
+ const y = b.split(",").map(($) => $.trim());
1865
+ for (const $ of y)
1866
+ for (const S of n)
1867
+ if (typeof S != "object")
1868
+ isNaN(+S) ? S.toString().toLowerCase().includes(b.toLowerCase()) && l.push(S) : S === b && l.push(S);
1837
1869
  else {
1838
- const D = O;
1870
+ const D = S;
1839
1871
  if (!D[m])
1840
1872
  continue;
1841
- isNaN(+D[m]) ? (f = D[m]) != null && f.toString().toLowerCase().includes(C.toLowerCase()) && l.push(O) : D[m] === C && l.push(O);
1873
+ isNaN(+D[m]) ? (f = D[m]) != null && f.toString().toLowerCase().includes($.toLowerCase()) && l.push(S) : D[m] === $ && l.push(S);
1842
1874
  }
1843
1875
  }
1844
1876
  return l.slice(h, h + c);
@@ -1902,7 +1934,7 @@ const gr = ve(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get
1902
1934
  async createHeaders(t) {
1903
1935
  await this.auth();
1904
1936
  const s = {};
1905
- return this.token && (s.Authorization = "Bearer " + this.token), s["Accept-Language"] = rt.getLanguage(), t && Object.assign(s, t), s;
1937
+ return this.token && (s.Authorization = "Bearer " + this.token), s["Accept-Language"] = tt.getLanguage(), t && Object.assign(s, t), s;
1906
1938
  }
1907
1939
  /**
1908
1940
  * Concatène le serviceURL et le endpoint donné en paramètre
@@ -1992,11 +2024,11 @@ let Ae = I;
1992
2024
  */
1993
2025
  let Vs = class extends Oe {
1994
2026
  constructor(t) {
1995
- if (super(t), this.it = $, t.type !== be.CHILD)
2027
+ if (super(t), this.it = C, t.type !== be.CHILD)
1996
2028
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1997
2029
  }
1998
2030
  render(t) {
1999
- if (t === $ || t == null)
2031
+ if (t === C || t == null)
2000
2032
  return this._t = void 0, this.it = t;
2001
2033
  if (t === gt)
2002
2034
  return t;
@@ -2013,10 +2045,10 @@ Vs.directiveName = "unsafeHTML", Vs.resultType = 1;
2013
2045
  const z = ve(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
2014
2046
  if (!r)
2015
2047
  return null;
2016
- const t = rt.getApiConfiguration(r), s = rt.getAncestorAttributeValue(
2048
+ const t = tt.getApiConfiguration(r), s = tt.getAncestorAttributeValue(
2017
2049
  r,
2018
2050
  "wordingProvider"
2019
- ), i = rt.getAncestorAttributeValue(
2051
+ ), i = tt.getAncestorAttributeValue(
2020
2052
  r,
2021
2053
  "wordingVersionProvider"
2022
2054
  ), e = {
@@ -2039,7 +2071,7 @@ const z = ve(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
2039
2071
  wordingVersionProvider: i,
2040
2072
  apiCallKey: e
2041
2073
  }, Bs.set(e, o)), o;
2042
- }, zi = "", V = class V extends hi {
2074
+ }, zi = "", H = class H extends hi {
2043
2075
  /* eslint-disable @typescript-eslint/no-explicit-any*/
2044
2076
  constructor(t) {
2045
2077
  super(t), this.useUnsafeHTML = !1, this.onAssign = (s) => {
@@ -2048,29 +2080,29 @@ const z = ve(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
2048
2080
  }, this.node = t.options.host;
2049
2081
  }
2050
2082
  unsubscribe() {
2051
- V.publisher["wording_" + this.key].offAssign(this.onAssign);
2083
+ H.publisher["wording_" + this.key].offAssign(this.onAssign);
2052
2084
  }
2053
2085
  /* eslint-enable @typescript-eslint/no-explicit-any*/
2054
2086
  render(t, s = !1) {
2055
2087
  return this.useUnsafeHTML = s, this.key !== t && (this.key = t, this.isConnected && this.subscribe(t)), gt;
2056
2088
  }
2057
2089
  static async callApi(t, s, i = !0, e) {
2058
- if (await N.getInstance().isLocalStrorageReady, V.firstCall) {
2059
- V.firstCall = !1;
2060
- const d = Object.keys(V.publisher.get());
2090
+ if (await T.getInstance().isLocalStrorageReady, H.firstCall) {
2091
+ H.firstCall = !1;
2092
+ const d = Object.keys(H.publisher.get());
2061
2093
  for (const f of d)
2062
- V.publisher.get()[f] === zi && delete V.publisher[f];
2094
+ H.publisher.get()[f] === zi && delete H.publisher[f];
2063
2095
  }
2064
2096
  if (t) {
2065
- const d = rt.getAncestorAttributeValue(
2097
+ const d = tt.getAncestorAttributeValue(
2066
2098
  t,
2067
2099
  "wordingVersionProvider"
2068
2100
  );
2069
2101
  d && br(d).onAssign(
2070
- V.handleVersionProvider(t)
2102
+ H.handleVersionProvider(t)
2071
2103
  );
2072
2104
  }
2073
- let o = V.publisher.get()["wording_" + s] != null;
2105
+ let o = H.publisher.get()["wording_" + s] != null;
2074
2106
  const n = e || Ii(t);
2075
2107
  if (!n)
2076
2108
  return;
@@ -2082,25 +2114,25 @@ const z = ve(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
2082
2114
  const l = n.callIndex, c = n.wordingProvider ?? "";
2083
2115
  if (!c && i) {
2084
2116
  window.setTimeout(async () => {
2085
- V.callApi(null, s, !1, n);
2117
+ H.callApi(null, s, !1, n);
2086
2118
  }, 1e3);
2087
2119
  return;
2088
2120
  }
2089
2121
  const h = n.api;
2090
2122
  window.queueMicrotask(async () => {
2091
- if (o = V.publisher["wording_" + s].get() != null, !o && s !== "" && (n.keysToTranslate.add(s), V.publisher["wording_" + s] = zi), l !== n.callIndex)
2123
+ if (o = H.publisher["wording_" + s].get() != null, !o && s !== "" && (n.keysToTranslate.add(s), H.publisher["wording_" + s] = zi), l !== n.callIndex)
2092
2124
  return;
2093
2125
  const d = Array.from(n.keysToTranslate);
2094
2126
  if (!d.length)
2095
2127
  return;
2096
- const f = c.split("?"), m = f.shift(), b = (f.length > 0 ? f.join("?") + "&" : "") + "labels[]=" + d.join("&labels[]="), w = m + "?" + b;
2128
+ const f = c.split("?"), m = f.shift(), b = (f.length > 0 ? f.join("?") + "&" : "") + "labels[]=" + d.join("&labels[]="), y = m + "?" + b;
2097
2129
  n.translatedKeys = /* @__PURE__ */ new Set([
2098
2130
  ...n.translatedKeys,
2099
2131
  ...n.keysToTranslate
2100
2132
  ]), n.keysToTranslate.clear();
2101
- const C = await h.get(w);
2102
- for (const O in C)
2103
- V.publisher["wording_" + O] = C[O];
2133
+ const $ = await h.get(y);
2134
+ for (const S in $)
2135
+ H.publisher["wording_" + S] = $[S];
2104
2136
  });
2105
2137
  }
2106
2138
  //check if the wording version has changed
@@ -2108,12 +2140,12 @@ const z = ve(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
2108
2140
  const s = Ii(t);
2109
2141
  if (!s)
2110
2142
  return;
2111
- if (V.versionProviderHandlers.has(s))
2112
- return V.versionProviderHandlers.get(s);
2143
+ if (H.versionProviderHandlers.has(s))
2144
+ return H.versionProviderHandlers.get(s);
2113
2145
  const i = function(e) {
2114
2146
  if (!s.wordingVersionProvider)
2115
2147
  return;
2116
- const n = V.publisher.get().__wording_versions__ ?? [];
2148
+ const n = H.publisher.get().__wording_versions__ ?? [];
2117
2149
  if (e == null)
2118
2150
  return;
2119
2151
  const l = n.find(
@@ -2123,12 +2155,12 @@ const z = ve(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
2123
2155
  version: 0
2124
2156
  };
2125
2157
  if (n.includes(l) || n.push(l), e !== l.version) {
2126
- l.version = e, V.publisher.set({ __wording_versions__: n });
2158
+ l.version = e, H.publisher.set({ __wording_versions__: n });
2127
2159
  for (const c of Bs.values())
2128
- c.keysToTranslate = new Set(c.translatedKeys), c.keysToTranslate.size > 0 && V.callApi(null, "", !1, c);
2160
+ c.keysToTranslate = new Set(c.translatedKeys), c.keysToTranslate.size > 0 && H.callApi(null, "", !1, c);
2129
2161
  }
2130
2162
  };
2131
- return V.versionProviderHandlers.set(
2163
+ return H.versionProviderHandlers.set(
2132
2164
  s,
2133
2165
  i
2134
2166
  ), i;
@@ -2136,7 +2168,7 @@ const z = ve(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
2136
2168
  // Subscribes to the key, calling the directive's asynchronous
2137
2169
  // setValue API each time the value changes
2138
2170
  subscribe(t) {
2139
- this.unsubscribe(), V.publisher["wording_" + t].onAssign(this.onAssign), V.callApi(this.node, t);
2171
+ this.unsubscribe(), H.publisher["wording_" + t].onAssign(this.onAssign), H.callApi(this.node, t);
2140
2172
  }
2141
2173
  // When the directive is disconnected from the DOM, unsubscribe to ensure
2142
2174
  // the directive instance can be garbage collected
@@ -2149,17 +2181,17 @@ const z = ve(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
2149
2181
  this.key && this.subscribe(this.key);
2150
2182
  }
2151
2183
  };
2152
- V.publisher = N.get("sonic-wording", {
2184
+ H.publisher = T.get("sonic-wording", {
2153
2185
  localStorageMode: "enabled"
2154
- }), V.firstCall = !0, V.versionProviderHandlers = /* @__PURE__ */ new Map();
2155
- let Ue = V;
2156
- var uo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, It = (r, t, s, i) => {
2186
+ }), H.firstCall = !0, H.versionProviderHandlers = /* @__PURE__ */ new Map();
2187
+ let Ue = H;
2188
+ var uo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, zt = (r, t, s, i) => {
2157
2189
  for (var e = i > 1 ? void 0 : i ? fo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
2158
2190
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
2159
2191
  return i && e && uo(t, s, e), e;
2160
2192
  };
2161
2193
  let os = !1, zs = /* @__PURE__ */ new Set();
2162
- const Y = (r, t) => {
2194
+ const G = (r, t) => {
2163
2195
  var e;
2164
2196
  const s = (e = class extends r {
2165
2197
  constructor(...n) {
@@ -2181,7 +2213,7 @@ const Y = (r, t) => {
2181
2213
  * @returns valeur de l'attribut ou null si l'attribut n'est pas trouvé
2182
2214
  */
2183
2215
  getAncestorAttributeValue(n) {
2184
- return rt.getAncestorAttributeValue(this, n);
2216
+ return tt.getAncestorAttributeValue(this, n);
2185
2217
  }
2186
2218
  get props() {
2187
2219
  return this._props !== null || !this.publisher ? this._props : this.publisher.get();
@@ -2260,7 +2292,7 @@ const Y = (r, t) => {
2260
2292
  * A voir si on le bouge dans un utilitaire
2261
2293
  */
2262
2294
  getApiConfiguration() {
2263
- return rt.getApiConfiguration(this);
2295
+ return tt.getApiConfiguration(this);
2264
2296
  }
2265
2297
  /**
2266
2298
  * Initialise le remplisage automatique des traductions / du wording
@@ -2289,7 +2321,7 @@ const Y = (r, t) => {
2289
2321
  if (!document)
2290
2322
  return;
2291
2323
  this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate), this.onAssign && this.publisher.offAssign(this.onAssign));
2292
- const n = N.getInstance();
2324
+ const n = T.getInstance();
2293
2325
  this.dataProvider || (this.dataProvider = this.getAncestorAttributeValue("dataProvider"));
2294
2326
  let l = this.dataProvider;
2295
2327
  if (!l && this._props && (this.dataProvider = l = "__subscriber__" + e.instanceCounter), l) {
@@ -2308,23 +2340,23 @@ const Y = (r, t) => {
2308
2340
  this.publisher && (this._props && this.publisher.set(this._props), this.noAutoFill || this.publisher.startTemplateFilling(this), this.renderOnPropsInternalChange && this.publisher.onInternalMutation(this.requestUpdate), this.publisher.onAssign(this.onAssign));
2309
2341
  }
2310
2342
  }, e.instanceCounter = 0, e);
2311
- return It([
2343
+ return zt([
2312
2344
  a({ type: Number })
2313
- ], s.prototype, "collectDependenciesVersion", 2), It([
2345
+ ], s.prototype, "collectDependenciesVersion", 2), zt([
2314
2346
  a({ type: Boolean })
2315
- ], s.prototype, "displayContents", 2), It([
2347
+ ], s.prototype, "displayContents", 2), zt([
2316
2348
  a({ type: Boolean })
2317
- ], s.prototype, "noAutoFill", 2), It([
2349
+ ], s.prototype, "noAutoFill", 2), zt([
2318
2350
  a({ type: Boolean })
2319
- ], s.prototype, "forceAutoFill", 2), It([
2351
+ ], s.prototype, "forceAutoFill", 2), zt([
2320
2352
  a({ type: Object })
2321
- ], s.prototype, "propertyMap", 2), It([
2353
+ ], s.prototype, "propertyMap", 2), zt([
2322
2354
  a({ type: String, attribute: "data-title" })
2323
- ], s.prototype, "title", 2), It([
2355
+ ], s.prototype, "title", 2), zt([
2324
2356
  a({ reflect: !0 })
2325
- ], s.prototype, "dataProvider", 2), It([
2357
+ ], s.prototype, "dataProvider", 2), zt([
2326
2358
  a()
2327
- ], s.prototype, "bindPublisher", 2), It([
2359
+ ], s.prototype, "bindPublisher", 2), zt([
2328
2360
  a()
2329
2361
  ], s.prototype, "props", 1), s;
2330
2362
  };
@@ -2355,7 +2387,7 @@ var vo = Object.defineProperty, yo = Object.getOwnPropertyDescriptor, Z = (r, t,
2355
2387
  return i && e && vo(t, s, e), e;
2356
2388
  };
2357
2389
  const wo = "sonic-date";
2358
- let q = class extends Y(Qe(y)) {
2390
+ let W = class extends G(Qe(w)) {
2359
2391
  constructor() {
2360
2392
  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();
2361
2393
  }
@@ -2367,7 +2399,7 @@ let q = class extends Y(Qe(y)) {
2367
2399
  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();
2368
2400
  }
2369
2401
  connectedCallback() {
2370
- this.hasAttribute("wording_billet_periode_validite") || (this.wording_billet_periode_validite = "Du %s au %s"), this.pageLanguage = rt.getLanguage(), super.connectedCallback();
2402
+ this.hasAttribute("wording_billet_periode_validite") || (this.wording_billet_periode_validite = "Du %s au %s"), this.pageLanguage = tt.getLanguage(), super.connectedCallback();
2371
2403
  }
2372
2404
  /**
2373
2405
  * 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.
@@ -2405,7 +2437,7 @@ let q = class extends Y(Qe(y)) {
2405
2437
  }
2406
2438
  render() {
2407
2439
  if (!this.renderIf || (this.date_string && (this.date = this.dateStringToSeconds(this.date_string)), this.date && (this.start_date = this.date), this.start_date_string && (this.start_date = this.dateStringToSeconds(this.start_date_string)), this.end_date_string && (this.end_date = this.dateStringToSeconds(this.end_date_string)), !this.start_date && !this.now && !this.end_date))
2408
- return $;
2440
+ return C;
2409
2441
  if (this.start_date || (this.start_date = Date.now() / 1e3), this.end_date > 0 && this.end_date < this.start_date) {
2410
2442
  const s = this.start_date;
2411
2443
  this.start_date = this.end_date, this.end_date = s;
@@ -2433,93 +2465,93 @@ let q = class extends Y(Qe(y)) {
2433
2465
  };
2434
2466
  Z([
2435
2467
  a()
2436
- ], q.prototype, "wording_billet_periode_validite", 1);
2468
+ ], W.prototype, "wording_billet_periode_validite", 1);
2437
2469
  Z([
2438
2470
  a({ type: Boolean })
2439
- ], q.prototype, "designMode", 2);
2471
+ ], W.prototype, "designMode", 2);
2440
2472
  Z([
2441
2473
  a({ type: String })
2442
- ], q.prototype, "time_zone", 2);
2474
+ ], W.prototype, "time_zone", 2);
2443
2475
  Z([
2444
2476
  a({ type: Number })
2445
- ], q.prototype, "date", 2);
2477
+ ], W.prototype, "date", 2);
2446
2478
  Z([
2447
2479
  a({ type: String })
2448
- ], q.prototype, "date_string", 2);
2480
+ ], W.prototype, "date_string", 2);
2449
2481
  Z([
2450
2482
  a({ type: String })
2451
- ], q.prototype, "start_date_string", 2);
2483
+ ], W.prototype, "start_date_string", 2);
2452
2484
  Z([
2453
2485
  a({ type: String })
2454
- ], q.prototype, "end_date_string", 2);
2486
+ ], W.prototype, "end_date_string", 2);
2455
2487
  Z([
2456
2488
  a({ type: Number })
2457
- ], q.prototype, "start_date", 2);
2489
+ ], W.prototype, "start_date", 2);
2458
2490
  Z([
2459
2491
  a({ type: Boolean })
2460
- ], q.prototype, "hide_hours", 2);
2492
+ ], W.prototype, "hide_hours", 2);
2461
2493
  Z([
2462
2494
  a({ type: Number })
2463
- ], q.prototype, "end_date", 2);
2495
+ ], W.prototype, "end_date", 2);
2464
2496
  Z([
2465
2497
  a({ type: String })
2466
- ], q.prototype, "era", 2);
2498
+ ], W.prototype, "era", 2);
2467
2499
  Z([
2468
2500
  a({ type: String })
2469
- ], q.prototype, "year", 2);
2501
+ ], W.prototype, "year", 2);
2470
2502
  Z([
2471
2503
  a({ type: String })
2472
- ], q.prototype, "month", 2);
2504
+ ], W.prototype, "month", 2);
2473
2505
  Z([
2474
2506
  a({ type: String })
2475
- ], q.prototype, "day", 2);
2507
+ ], W.prototype, "day", 2);
2476
2508
  Z([
2477
2509
  a({ type: String })
2478
- ], q.prototype, "weekday", 2);
2510
+ ], W.prototype, "weekday", 2);
2479
2511
  Z([
2480
2512
  a({ type: String })
2481
- ], q.prototype, "hour", 2);
2513
+ ], W.prototype, "hour", 2);
2482
2514
  Z([
2483
2515
  a({ type: Boolean })
2484
- ], q.prototype, "hour12", 2);
2516
+ ], W.prototype, "hour12", 2);
2485
2517
  Z([
2486
2518
  a({ type: String })
2487
- ], q.prototype, "minute", 2);
2519
+ ], W.prototype, "minute", 2);
2488
2520
  Z([
2489
2521
  a({ type: String })
2490
- ], q.prototype, "language", 2);
2522
+ ], W.prototype, "language", 2);
2491
2523
  Z([
2492
2524
  a({ type: Boolean })
2493
- ], q.prototype, "renderIf", 2);
2525
+ ], W.prototype, "renderIf", 2);
2494
2526
  Z([
2495
2527
  a({ type: Boolean })
2496
- ], q.prototype, "now", 2);
2497
- q = Z([
2528
+ ], W.prototype, "now", 2);
2529
+ W = Z([
2498
2530
  _(wo)
2499
- ], q);
2500
- var t, G;
2501
- let st = (G = class {
2531
+ ], W);
2532
+ var t, Y;
2533
+ let it = (Y = class {
2502
2534
  static listen() {
2503
2535
  var s;
2504
- if (!G.listening)
2536
+ if (!Y.listening)
2505
2537
  return;
2506
2538
  const t = (s = document.location) == null ? void 0 : s.href.replace(document.location.origin, "");
2507
- G.prevURL && G.prevURL != t && (G.prevURL = t, G.listeners.forEach((i) => {
2539
+ Y.prevURL && Y.prevURL != t && (Y.prevURL = t, Y.listeners.forEach((i) => {
2508
2540
  i.location = t;
2509
- })), window.requestAnimationFrame(G.listen);
2541
+ })), window.requestAnimationFrame(Y.listen);
2510
2542
  }
2511
2543
  /**
2512
2544
  * Arrête l'écoute des changements de location pour le listener fournit
2513
2545
  */
2514
2546
  static offChange(t) {
2515
- const s = G.listeners.indexOf(t);
2516
- s != -1 && (G.listeners.splice(s, 1), G.listeners.length == 0 && (G.listening = !1));
2547
+ const s = Y.listeners.indexOf(t);
2548
+ s != -1 && (Y.listeners.splice(s, 1), Y.listeners.length == 0 && (Y.listening = !1));
2517
2549
  }
2518
2550
  /**
2519
2551
  * Ecoute les changements de location et l'assigne à la propriété location de chaque listener
2520
2552
  */
2521
2553
  static onChange(t) {
2522
- G.listening || (G.listening = !0, G.listen()), G.listeners.push(t), t.location = this.prevURL;
2554
+ Y.listening || (Y.listening = !0, Y.listen()), Y.listeners.push(t), t.location = this.prevURL;
2523
2555
  }
2524
2556
  /**
2525
2557
  *
@@ -2532,8 +2564,8 @@ let st = (G = class {
2532
2564
  static changeFromComponent(t) {
2533
2565
  const s = t.goBack, i = document.referrer;
2534
2566
  if (s != null) {
2535
- const h = document.location.origin, d = s || h, m = i.indexOf("http") == 0 ? new URL(i).origin != h : !1, b = i == "", w = history.length < 3, C = b && w, O = d != document.location.href;
2536
- if (m && O || C) {
2567
+ const h = document.location.origin, d = s || h, m = i.indexOf("http") == 0 ? new URL(i).origin != h : !1, b = i == "", y = history.length < 3, $ = b && y, S = d != document.location.href;
2568
+ if (m && S || $) {
2537
2569
  const p = history.state || {};
2538
2570
  p.concorde = p.concorde || {}, p.concorde.hasDoneHistoryBack = !0, history.pushState(p, document.title), history.back(), document.location.replace(d);
2539
2571
  } else
@@ -2565,7 +2597,7 @@ let st = (G = class {
2565
2597
  t.autoActive == "strict" ? e = s.pathname == i.pathname && s.hash == i.hash && s.search == i.search : e = i.href.indexOf(s.href) == 0, e ? t.setAttribute("active", "true") : t.removeAttribute("active");
2566
2598
  }
2567
2599
  }
2568
- }, G.listeners = [], G.listening = !1, G.prevURL = (t = document.location) == null ? void 0 : t.href.replace(document.location.origin, ""), G);
2600
+ }, Y.listeners = [], Y.listening = !1, Y.prevURL = (t = document.location) == null ? void 0 : t.href.replace(document.location.origin, ""), Y);
2569
2601
  /**
2570
2602
  * @license
2571
2603
  * Copyright 2018 Google LLC
@@ -2600,7 +2632,7 @@ const vr = "important", _o = " !" + vr, dt = ve(class extends Oe {
2600
2632
  return gt;
2601
2633
  }
2602
2634
  });
2603
- var xo = Object.defineProperty, Po = Object.getOwnPropertyDescriptor, Ct = (r, t, s, i) => {
2635
+ var xo = Object.defineProperty, Po = Object.getOwnPropertyDescriptor, At = (r, t, s, i) => {
2604
2636
  for (var e = i > 1 ? void 0 : i ? Po(t, s) : t, o = r.length - 1, n; o >= 0; o--)
2605
2637
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
2606
2638
  return i && e && xo(t, s, e), e;
@@ -2633,7 +2665,7 @@ const ns = /* @__PURE__ */ new Map(), De = (r) => {
2633
2665
  }
2634
2666
  }
2635
2667
  getFormPublisher() {
2636
- return this.formDataProvider || (this.formDataProvider = this.getAncestorAttributeValue("formDataProvider")), this.formDataProvider ? N.get(this.formDataProvider) : null;
2668
+ return this.formDataProvider || (this.formDataProvider = this.getAncestorAttributeValue("formDataProvider")), this.formDataProvider ? T.get(this.formDataProvider) : null;
2637
2669
  }
2638
2670
  /**
2639
2671
  * Mise en forme de la valeur fournie au formPublisher associé au composant
@@ -2700,21 +2732,21 @@ const ns = /* @__PURE__ */ new Map(), De = (r) => {
2700
2732
  const c = l;
2701
2733
  if (!["ArrowDown", "ArrowUp"].includes(c.key))
2702
2734
  return;
2703
- const h = "input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])", d = n == null ? void 0 : n.filter((w) => {
2735
+ const h = "input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])", d = n == null ? void 0 : n.filter((y) => {
2704
2736
  var D;
2705
- const C = (D = w.shadowRoot) == null ? void 0 : D.querySelector(h);
2706
- if (!C)
2737
+ const $ = (D = y.shadowRoot) == null ? void 0 : D.querySelector(h);
2738
+ if (!$)
2707
2739
  return !1;
2708
- const O = window.getComputedStyle(C);
2709
- return O.display !== "none" && O.display !== "" && O.pointerEvents != "none" && O.visibility !== "hidden" && C.getBoundingClientRect().width > 0;
2740
+ const S = window.getComputedStyle($);
2741
+ return S.display !== "none" && S.display !== "" && S.pointerEvents != "none" && S.visibility !== "hidden" && $.getBoundingClientRect().width > 0;
2710
2742
  });
2711
2743
  let f = null;
2712
2744
  if (c.key == "ArrowDown" && d) {
2713
- const w = d.indexOf(this);
2714
- w == d.length - 1 ? f = d[0] : f = d[w + 1];
2745
+ const y = d.indexOf(this);
2746
+ y == d.length - 1 ? f = d[0] : f = d[y + 1];
2715
2747
  } else if (c.key == "ArrowUp" && d) {
2716
- const w = d.indexOf(this);
2717
- w == 0 ? f = d[d.length - 1] : f = d[w - 1];
2748
+ const y = d.indexOf(this);
2749
+ y == 0 ? f = d[d.length - 1] : f = d[y - 1];
2718
2750
  }
2719
2751
  const m = (b = f == null ? void 0 : f.shadowRoot) == null ? void 0 : b.querySelector(
2720
2752
  h
@@ -2740,25 +2772,25 @@ const ns = /* @__PURE__ */ new Map(), De = (r) => {
2740
2772
  this._name && i && (i[this._name].offAssign(this.onFormValueAssign), i.offInvalidate(this.onFormDataInValidate));
2741
2773
  }
2742
2774
  }
2743
- return Ct([
2775
+ return At([
2744
2776
  a({ type: Boolean, reflect: !0 })
2745
- ], t.prototype, "touched", 2), Ct([
2777
+ ], t.prototype, "touched", 2), At([
2746
2778
  a({ type: Boolean })
2747
- ], t.prototype, "error", 2), Ct([
2779
+ ], t.prototype, "error", 2), At([
2748
2780
  a({ type: Boolean })
2749
- ], t.prototype, "autofocus", 2), Ct([
2781
+ ], t.prototype, "autofocus", 2), At([
2750
2782
  a({ type: Boolean })
2751
- ], t.prototype, "required", 2), Ct([
2783
+ ], t.prototype, "required", 2), At([
2752
2784
  a({ type: Boolean })
2753
- ], t.prototype, "forceAutoFill", 2), Ct([
2785
+ ], t.prototype, "forceAutoFill", 2), At([
2754
2786
  a({ type: Boolean })
2755
- ], t.prototype, "disabled", 2), Ct([
2787
+ ], t.prototype, "disabled", 2), At([
2756
2788
  a({ type: String, attribute: "data-aria-label" })
2757
- ], t.prototype, "ariaLabel", 2), Ct([
2789
+ ], t.prototype, "ariaLabel", 2), At([
2758
2790
  a({ type: String, attribute: "data-aria-labelledby" })
2759
- ], t.prototype, "ariaLabelledby", 2), Ct([
2791
+ ], t.prototype, "ariaLabelledby", 2), At([
2760
2792
  a()
2761
- ], t.prototype, "name", 1), Ct([
2793
+ ], t.prototype, "name", 1), At([
2762
2794
  a()
2763
2795
  ], t.prototype, "value", 1), t;
2764
2796
  };
@@ -2894,35 +2926,35 @@ var Hs = { exports: {} };
2894
2926
  (function(i, e) {
2895
2927
  return t !== null ? r.exports = e() : i.UrlPattern = e();
2896
2928
  })(Ao, function() {
2897
- var i, e, o, n, l, c, h, d, f, m, b, w, C, O, D;
2929
+ var i, e, o, n, l, c, h, d, f, m, b, y, $, S, D;
2898
2930
  return f = function(p) {
2899
2931
  return p.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
2900
2932
  }, h = function(p, u) {
2901
- var v, A, S;
2902
- for (S = [], v = -1, A = p.length; ++v < A; )
2903
- S = S.concat(u(p[v]));
2904
- return S;
2905
- }, O = function(p, u) {
2906
- var v, A, S;
2907
- for (S = "", v = -1, A = p.length; ++v < A; )
2908
- S += u(p[v]);
2909
- return S;
2910
- }, C = function(p) {
2933
+ var v, A, O;
2934
+ for (O = [], v = -1, A = p.length; ++v < A; )
2935
+ O = O.concat(u(p[v]));
2936
+ return O;
2937
+ }, S = function(p, u) {
2938
+ var v, A, O;
2939
+ for (O = "", v = -1, A = p.length; ++v < A; )
2940
+ O += u(p[v]);
2941
+ return O;
2942
+ }, $ = function(p) {
2911
2943
  return new RegExp(p.toString() + "|").exec("").length - 1;
2912
2944
  }, b = function(p, u) {
2913
- var v, A, S, j, H;
2914
- for (j = {}, v = -1, S = p.length; ++v < S; )
2915
- A = p[v], H = u[v], H != null && (j[A] != null ? (Array.isArray(j[A]) || (j[A] = [j[A]]), j[A].push(H)) : j[A] = H);
2916
- return j;
2945
+ var v, A, O, L, F;
2946
+ for (L = {}, v = -1, O = p.length; ++v < O; )
2947
+ A = p[v], F = u[v], F != null && (L[A] != null ? (Array.isArray(L[A]) || (L[A] = [L[A]]), L[A].push(F)) : L[A] = F);
2948
+ return L;
2917
2949
  }, i = {}, i.Result = function(p, u) {
2918
2950
  this.value = p, this.rest = u;
2919
2951
  }, i.Tagged = function(p, u) {
2920
2952
  this.tag = p, this.value = u;
2921
2953
  }, i.tag = function(p, u) {
2922
2954
  return function(v) {
2923
- var A, S;
2955
+ var A, O;
2924
2956
  if (A = u(v), A != null)
2925
- return S = new i.Tagged(p, A.value), new i.Result(S, A.rest);
2957
+ return O = new i.Tagged(p, A.value), new i.Result(O, A.rest);
2926
2958
  };
2927
2959
  }, i.regex = function(p) {
2928
2960
  return function(u) {
@@ -2933,20 +2965,20 @@ var Hs = { exports: {} };
2933
2965
  }, i.sequence = function() {
2934
2966
  var p;
2935
2967
  return p = 1 <= arguments.length ? s.call(arguments, 0) : [], function(u) {
2936
- var v, A, S, j, H, W;
2937
- for (v = -1, A = p.length, W = [], j = u; ++v < A; ) {
2938
- if (S = p[v], H = S(j), H == null)
2968
+ var v, A, O, L, F, B;
2969
+ for (v = -1, A = p.length, B = [], L = u; ++v < A; ) {
2970
+ if (O = p[v], F = O(L), F == null)
2939
2971
  return;
2940
- W.push(H.value), j = H.rest;
2972
+ B.push(F.value), L = F.rest;
2941
2973
  }
2942
- return new i.Result(W, j);
2974
+ return new i.Result(B, L);
2943
2975
  };
2944
2976
  }, i.pick = function() {
2945
2977
  var p, u;
2946
2978
  return p = arguments[0], u = 2 <= arguments.length ? s.call(arguments, 1) : [], function(v) {
2947
- var A, S;
2948
- if (S = i.sequence.apply(i, u)(v), S != null)
2949
- return A = S.value, S.value = A[p], S;
2979
+ var A, O;
2980
+ if (O = i.sequence.apply(i, u)(v), O != null)
2981
+ return A = O.value, O.value = A[p], O;
2950
2982
  };
2951
2983
  }, i.string = function(p) {
2952
2984
  var u;
@@ -2959,12 +2991,12 @@ var Hs = { exports: {} };
2959
2991
  return u = null, function(v) {
2960
2992
  return u == null && (u = p()), u(v);
2961
2993
  };
2962
- }, i.baseMany = function(p, u, v, A, S) {
2963
- var j, H, W, ee;
2964
- for (W = S, ee = v ? "" : []; !(u != null && (j = u(W), j != null) || (H = p(W), H == null)); )
2965
- v ? ee += H.value : ee.push(H.value), W = H.rest;
2966
- if (!(A && ee.length === 0))
2967
- return new i.Result(ee, W);
2994
+ }, i.baseMany = function(p, u, v, A, O) {
2995
+ var L, F, B, Ct;
2996
+ for (B = O, Ct = v ? "" : []; !(u != null && (L = u(B), L != null) || (F = p(B), F == null)); )
2997
+ v ? Ct += F.value : Ct.push(F.value), B = F.rest;
2998
+ if (!(A && Ct.length === 0))
2999
+ return new i.Result(Ct, B);
2968
3000
  }, i.many1 = function(p) {
2969
3001
  return function(u) {
2970
3002
  return i.baseMany(p, null, !1, !0, u);
@@ -2976,12 +3008,12 @@ var Hs = { exports: {} };
2976
3008
  }, i.firstChoice = function() {
2977
3009
  var p;
2978
3010
  return p = 1 <= arguments.length ? s.call(arguments, 0) : [], function(u) {
2979
- var v, A, S, j;
3011
+ var v, A, O, L;
2980
3012
  for (v = -1, A = p.length; ++v < A; )
2981
- if (S = p[v], j = S(u), j != null)
2982
- return j;
3013
+ if (O = p[v], L = O(u), L != null)
3014
+ return L;
2983
3015
  };
2984
- }, w = function(p) {
3016
+ }, y = function(p) {
2985
3017
  var u;
2986
3018
  return u = {}, u.wildcard = i.tag("wildcard", i.string(p.wildcardChar)), u.optional = i.tag("optional", i.pick(1, i.string(p.optionalSegmentStartChar), i.lazy(function() {
2987
3019
  return u.pattern;
@@ -3004,7 +3036,7 @@ var Hs = { exports: {} };
3004
3036
  wildcardChar: "*"
3005
3037
  }, c = function(p, u) {
3006
3038
  if (Array.isArray(p))
3007
- return O(p, function(v) {
3039
+ return S(p, function(v) {
3008
3040
  return c(v, u);
3009
3041
  });
3010
3042
  switch (p.tag) {
@@ -3033,22 +3065,22 @@ var Hs = { exports: {} };
3033
3065
  return n(p.value);
3034
3066
  }
3035
3067
  }, m = function(p, u, v, A) {
3036
- var S, j, H, W;
3037
- if (A == null && (A = !1), W = p[u], W == null) {
3068
+ var O, L, F, B;
3069
+ if (A == null && (A = !1), B = p[u], B == null) {
3038
3070
  if (A)
3039
3071
  throw new Error("no values provided for key `" + u + "`");
3040
3072
  return;
3041
3073
  }
3042
- if (S = v[u] || 0, j = Array.isArray(W) ? W.length - 1 : 0, S > j) {
3074
+ if (O = v[u] || 0, L = Array.isArray(B) ? B.length - 1 : 0, O > L) {
3043
3075
  if (A)
3044
3076
  throw new Error("too few values provided for key `" + u + "`");
3045
3077
  return;
3046
3078
  }
3047
- return H = Array.isArray(W) ? W[S] : W, A && (v[u] = S + 1), H;
3079
+ return F = Array.isArray(B) ? B[O] : B, A && (v[u] = O + 1), F;
3048
3080
  }, o = function(p, u, v) {
3049
- var A, S;
3081
+ var A, O;
3050
3082
  if (Array.isArray(p)) {
3051
- for (A = -1, S = p.length; ++A < S; )
3083
+ for (A = -1, O = p.length; ++A < O; )
3052
3084
  if (o(p[A], u, v))
3053
3085
  return !0;
3054
3086
  return !1;
@@ -3065,7 +3097,7 @@ var Hs = { exports: {} };
3065
3097
  }
3066
3098
  }, D = function(p, u, v) {
3067
3099
  if (Array.isArray(p))
3068
- return O(p, function(A) {
3100
+ return S(p, function(A) {
3069
3101
  return D(A, u, v);
3070
3102
  });
3071
3103
  switch (p.tag) {
@@ -3079,7 +3111,7 @@ var Hs = { exports: {} };
3079
3111
  return o(p.value, u, v) ? D(p.value, u, v) : "";
3080
3112
  }
3081
3113
  }, e = function(p, u) {
3082
- var v, A, S, j, H;
3114
+ var v, A, O, L, F;
3083
3115
  if (p instanceof e) {
3084
3116
  this.isRegex = p.isRegex, this.regex = p.regex, this.ast = p.ast, this.names = p.names;
3085
3117
  return;
@@ -3090,7 +3122,7 @@ var Hs = { exports: {} };
3090
3122
  if (this.regex = p, u != null) {
3091
3123
  if (!Array.isArray(u))
3092
3124
  throw new Error("if first argument is a regex the second argument may be an array of group names but you provided something else");
3093
- if (v = C(this.regex), u.length !== v)
3125
+ if (v = $(this.regex), u.length !== v)
3094
3126
  throw new Error("regex contains " + v + " groups but array of group names contains " + u.length);
3095
3127
  this.names = u;
3096
3128
  }
@@ -3098,7 +3130,7 @@ var Hs = { exports: {} };
3098
3130
  }
3099
3131
  if (p === "")
3100
3132
  throw new Error("argument must not be the empty string");
3101
- if (H = p.replace(/\s+/g, ""), H !== p)
3133
+ if (F = p.replace(/\s+/g, ""), F !== p)
3102
3134
  throw new Error("argument must not contain whitespace");
3103
3135
  if (A = {
3104
3136
  escapeChar: (u != null ? u.escapeChar : void 0) || d.escapeChar,
@@ -3108,11 +3140,11 @@ var Hs = { exports: {} };
3108
3140
  optionalSegmentStartChar: (u != null ? u.optionalSegmentStartChar : void 0) || d.optionalSegmentStartChar,
3109
3141
  optionalSegmentEndChar: (u != null ? u.optionalSegmentEndChar : void 0) || d.optionalSegmentEndChar,
3110
3142
  wildcardChar: (u != null ? u.wildcardChar : void 0) || d.wildcardChar
3111
- }, j = w(A), S = j.pattern(p), S == null)
3143
+ }, L = y(A), O = L.pattern(p), O == null)
3112
3144
  throw new Error("couldn't parse pattern");
3113
- if (S.rest !== "")
3145
+ if (O.rest !== "")
3114
3146
  throw new Error("could only partially parse pattern");
3115
- this.ast = S.value, this.regex = new RegExp(l(this.ast, A.segmentValueCharset)), this.names = n(this.ast);
3147
+ this.ast = O.value, this.regex = new RegExp(l(this.ast, A.segmentValueCharset)), this.names = n(this.ast);
3116
3148
  }, e.prototype.match = function(p) {
3117
3149
  var u, v;
3118
3150
  return v = this.regex.exec(p), v == null ? null : (u = v.slice(1), this.names ? b(this.names, u) : u);
@@ -3122,11 +3154,11 @@ var Hs = { exports: {} };
3122
3154
  if (p !== Object(p))
3123
3155
  throw new Error("argument must be an object or undefined");
3124
3156
  return D(this.ast, p, {});
3125
- }, e.escapeForRegex = f, e.concatMap = h, e.stringConcatMap = O, e.regexGroupCount = C, e.keysAndValuesToObject = b, e.P = i, e.newParser = w, e.defaultOptions = d, e.astNodeToRegexString = l, e.astNodeToNames = n, e.getParam = m, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = D, e;
3157
+ }, e.escapeForRegex = f, e.concatMap = h, e.stringConcatMap = S, e.regexGroupCount = $, e.keysAndValuesToObject = b, e.P = i, e.newParser = y, e.defaultOptions = d, e.astNodeToRegexString = l, e.astNodeToNames = n, e.getParam = m, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = D, e;
3126
3158
  });
3127
3159
  })(Hs, Hs.exports);
3128
3160
  var Oo = Hs.exports;
3129
- const ae = /* @__PURE__ */ So(Oo), Do = $o, ko = Co, Lo = Cs, Eo = hs, he = rt, No = st, Je = X, To = Ve, J = N, jo = Ae, Mo = ae;
3161
+ const ae = /* @__PURE__ */ So(Oo), Do = $o, ko = Co, Lo = Cs, Eo = hs, he = tt, No = it, Je = X, To = Ve, J = T, jo = Ae, Mo = ae;
3130
3162
  window["concorde-utils"] = window["concorde-utils"] || {};
3131
3163
  window["concorde-utils"] = {
3132
3164
  Utils: Do,
@@ -3300,7 +3332,7 @@ const di = (r) => {
3300
3332
  * Copyright 2018 Google LLC
3301
3333
  * SPDX-License-Identifier: BSD-3-Clause
3302
3334
  */
3303
- const x = (r) => r ?? $, Lt = P`
3335
+ const x = (r) => r ?? C, Et = P`
3304
3336
  /*SIZES*/
3305
3337
  :host {
3306
3338
  --sc-fs: 1rem;
@@ -3334,29 +3366,29 @@ const x = (r) => r ?? $, Lt = P`
3334
3366
  --sc-fs: 1em;
3335
3367
  }
3336
3368
  `;
3337
- var Ro = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, U = (r, t, s, i) => {
3338
- for (var e = i > 1 ? void 0 : i ? Fo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
3369
+ var Fo = Object.defineProperty, Ro = Object.getOwnPropertyDescriptor, V = (r, t, s, i) => {
3370
+ for (var e = i > 1 ? void 0 : i ? Ro(t, s) : t, o = r.length - 1, n; o >= 0; o--)
3339
3371
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
3340
- return i && e && Ro(t, s, e), e;
3372
+ return i && e && Fo(t, s, e), e;
3341
3373
  };
3342
3374
  const Uo = "sonic-button";
3343
- let T = class extends di(De(Y(y))) {
3375
+ let j = class extends di(De(G(w))) {
3344
3376
  constructor() {
3345
3377
  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 = () => {
3346
3378
  window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
3347
3379
  }, this.location = "";
3348
3380
  }
3349
3381
  set href(r) {
3350
- this._href = r, this.href && this.href.indexOf("http") != 0 ? st.onChange(this) : st.offChange(this), this.requestUpdate();
3382
+ this._href = r, this.href && this.href.indexOf("http") != 0 ? it.onChange(this) : it.offChange(this), this.requestUpdate();
3351
3383
  }
3352
3384
  get href() {
3353
3385
  return this._href;
3354
3386
  }
3355
3387
  handleNavigation(r) {
3356
- r.preventDefault(), st.changeFromComponent(this);
3388
+ r.preventDefault(), it.changeFromComponent(this);
3357
3389
  }
3358
3390
  handleChange(r) {
3359
- 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(), st.changeFromComponent(this)), this.hasAttribute("reset"))) {
3391
+ 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(), it.changeFromComponent(this)), this.hasAttribute("reset"))) {
3360
3392
  const t = this.getAttribute("reset"), s = t ? J.get(t) : this.getFormPublisher();
3361
3393
  s && s.set({});
3362
3394
  }
@@ -3384,10 +3416,10 @@ let T = class extends di(De(Y(y))) {
3384
3416
  }
3385
3417
  }
3386
3418
  disconnectedCallback() {
3387
- st.offChange(this), super.disconnectedCallback();
3419
+ it.offChange(this), super.disconnectedCallback();
3388
3420
  }
3389
3421
  willUpdate(r) {
3390
- (r.has("href") || r.has("autoActive")) && st.updateComponentActiveState(this), r.has("location") && st.updateComponentActiveState(this);
3422
+ (r.has("href") || r.has("autoActive")) && it.updateComponentActiveState(this), r.has("location") && it.updateComponentActiveState(this);
3391
3423
  }
3392
3424
  render() {
3393
3425
  const r = {
@@ -3429,8 +3461,8 @@ let T = class extends di(De(Y(y))) {
3429
3461
  this.hasPrefix = !!((r = this.prefixes) != null && r.length), this.hasSuffix = !!((t = this.suffixes) != null && t.length);
3430
3462
  }
3431
3463
  };
3432
- T.styles = [
3433
- Lt,
3464
+ j.styles = [
3465
+ Et,
3434
3466
  P`
3435
3467
  * {
3436
3468
  box-sizing: border-box;
@@ -3776,93 +3808,93 @@ T.styles = [
3776
3808
  }
3777
3809
  `
3778
3810
  ];
3779
- U([
3811
+ V([
3780
3812
  a({ type: String, reflect: !0 })
3781
- ], T.prototype, "type", 2);
3782
- U([
3813
+ ], j.prototype, "type", 2);
3814
+ V([
3783
3815
  a({ type: String, reflect: !0 })
3784
- ], T.prototype, "variant", 2);
3785
- U([
3816
+ ], j.prototype, "variant", 2);
3817
+ V([
3786
3818
  a({ type: String, reflect: !0 })
3787
- ], T.prototype, "size", 2);
3788
- U([
3819
+ ], j.prototype, "size", 2);
3820
+ V([
3789
3821
  a({ type: String, reflect: !0 })
3790
- ], T.prototype, "shape", 2);
3791
- U([
3822
+ ], j.prototype, "shape", 2);
3823
+ V([
3792
3824
  a({ type: String })
3793
- ], T.prototype, "direction", 2);
3794
- U([
3825
+ ], j.prototype, "direction", 2);
3826
+ V([
3795
3827
  a({ type: String, reflect: !0 })
3796
- ], T.prototype, "alignItems", 2);
3797
- U([
3828
+ ], j.prototype, "alignItems", 2);
3829
+ V([
3798
3830
  a({ type: String })
3799
- ], T.prototype, "justify", 2);
3800
- U([
3831
+ ], j.prototype, "justify", 2);
3832
+ V([
3801
3833
  a({ type: String, reflect: !0 })
3802
- ], T.prototype, "align", 2);
3803
- U([
3834
+ ], j.prototype, "align", 2);
3835
+ V([
3804
3836
  a({ type: String })
3805
- ], T.prototype, "minWidth", 2);
3806
- U([
3837
+ ], j.prototype, "minWidth", 2);
3838
+ V([
3807
3839
  a({ type: Boolean, reflect: !0 })
3808
- ], T.prototype, "icon", 2);
3809
- U([
3840
+ ], j.prototype, "icon", 2);
3841
+ V([
3810
3842
  a({ type: String })
3811
- ], T.prototype, "download", 2);
3812
- U([
3843
+ ], j.prototype, "download", 2);
3844
+ V([
3813
3845
  a({ type: String })
3814
- ], T.prototype, "autoActive", 2);
3815
- U([
3846
+ ], j.prototype, "autoActive", 2);
3847
+ V([
3816
3848
  a({ type: Boolean, reflect: !0 })
3817
- ], T.prototype, "loading", 2);
3818
- U([
3849
+ ], j.prototype, "loading", 2);
3850
+ V([
3819
3851
  M()
3820
- ], T.prototype, "hasPrefix", 2);
3821
- U([
3852
+ ], j.prototype, "hasPrefix", 2);
3853
+ V([
3822
3854
  M()
3823
- ], T.prototype, "hasSuffix", 2);
3824
- U([
3855
+ ], j.prototype, "hasSuffix", 2);
3856
+ V([
3825
3857
  me({ flatten: !0, slot: "prefix" })
3826
- ], T.prototype, "prefixes", 2);
3827
- U([
3858
+ ], j.prototype, "prefixes", 2);
3859
+ V([
3828
3860
  me({ flatten: !0, slot: "suffix" })
3829
- ], T.prototype, "suffixes", 2);
3830
- U([
3861
+ ], j.prototype, "suffixes", 2);
3862
+ V([
3831
3863
  a({ type: String })
3832
- ], T.prototype, "target", 2);
3833
- U([
3864
+ ], j.prototype, "target", 2);
3865
+ V([
3834
3866
  a({ type: String })
3835
- ], T.prototype, "href", 1);
3836
- U([
3867
+ ], j.prototype, "href", 1);
3868
+ V([
3837
3869
  a({ type: String })
3838
- ], T.prototype, "goBack", 2);
3839
- U([
3870
+ ], j.prototype, "goBack", 2);
3871
+ V([
3840
3872
  a({ type: Boolean })
3841
- ], T.prototype, "pushState", 2);
3842
- U([
3873
+ ], j.prototype, "pushState", 2);
3874
+ V([
3843
3875
  a({ type: Boolean, reflect: !0 })
3844
- ], T.prototype, "active", 2);
3845
- U([
3876
+ ], j.prototype, "active", 2);
3877
+ V([
3846
3878
  a({ type: Boolean, reflect: !0 })
3847
- ], T.prototype, "autoRepeat", 2);
3848
- U([
3879
+ ], j.prototype, "autoRepeat", 2);
3880
+ V([
3849
3881
  a({ type: String, attribute: "data-aria-controls" })
3850
- ], T.prototype, "ariaControls", 2);
3851
- U([
3882
+ ], j.prototype, "ariaControls", 2);
3883
+ V([
3852
3884
  a({ type: Boolean, attribute: "data-aria-expanded" })
3853
- ], T.prototype, "sonicAriaExpanded", 2);
3854
- U([
3885
+ ], j.prototype, "sonicAriaExpanded", 2);
3886
+ V([
3855
3887
  M()
3856
- ], T.prototype, "location", 2);
3857
- T = U([
3888
+ ], j.prototype, "location", 2);
3889
+ j = V([
3858
3890
  _(Uo)
3859
- ], T);
3891
+ ], j);
3860
3892
  /**
3861
3893
  * @license
3862
3894
  * Copyright 2017 Google LLC
3863
3895
  * SPDX-License-Identifier: BSD-3-Clause
3864
3896
  */
3865
- const Ri = (r, t, s) => {
3897
+ const Fi = (r, t, s) => {
3866
3898
  const i = /* @__PURE__ */ new Map();
3867
3899
  for (let e = t; e <= s; e++)
3868
3900
  i.set(r[e], e);
@@ -3889,52 +3921,52 @@ const Ri = (r, t, s) => {
3889
3921
  if (!Array.isArray(e))
3890
3922
  return this.ut = n, o;
3891
3923
  const l = this.ut ?? (this.ut = []), c = [];
3892
- let h, d, f = 0, m = e.length - 1, b = 0, w = o.length - 1;
3893
- for (; f <= m && b <= w; )
3924
+ let h, d, f = 0, m = e.length - 1, b = 0, y = o.length - 1;
3925
+ for (; f <= m && b <= y; )
3894
3926
  if (e[f] === null)
3895
3927
  f++;
3896
3928
  else if (e[m] === null)
3897
3929
  m--;
3898
3930
  else if (l[f] === n[b])
3899
3931
  c[b] = ie(e[f], o[b]), f++, b++;
3900
- else if (l[m] === n[w])
3901
- c[w] = ie(e[m], o[w]), m--, w--;
3902
- else if (l[f] === n[w])
3903
- c[w] = ie(e[f], o[w]), je(r, c[w + 1], e[f]), f++, w--;
3932
+ else if (l[m] === n[y])
3933
+ c[y] = ie(e[m], o[y]), m--, y--;
3934
+ else if (l[f] === n[y])
3935
+ c[y] = ie(e[f], o[y]), je(r, c[y + 1], e[f]), f++, y--;
3904
3936
  else if (l[m] === n[b])
3905
3937
  c[b] = ie(e[m], o[b]), je(r, e[f], e[m]), m--, b++;
3906
- else if (h === void 0 && (h = Ri(n, b, w), d = Ri(l, f, m)), h.has(l[f]))
3938
+ else if (h === void 0 && (h = Fi(n, b, y), d = Fi(l, f, m)), h.has(l[f]))
3907
3939
  if (h.has(l[m])) {
3908
- const C = d.get(n[b]), O = C !== void 0 ? e[C] : null;
3909
- if (O === null) {
3940
+ const $ = d.get(n[b]), S = $ !== void 0 ? e[$] : null;
3941
+ if (S === null) {
3910
3942
  const D = je(r, e[f]);
3911
3943
  ie(D, o[b]), c[b] = D;
3912
3944
  } else
3913
- c[b] = ie(O, o[b]), je(r, e[f], O), e[C] = null;
3945
+ c[b] = ie(S, o[b]), je(r, e[f], S), e[$] = null;
3914
3946
  b++;
3915
3947
  } else
3916
3948
  Ms(e[m]), m--;
3917
3949
  else
3918
3950
  Ms(e[f]), f++;
3919
- for (; b <= w; ) {
3920
- const C = je(r, c[w + 1]);
3921
- ie(C, o[b]), c[b++] = C;
3951
+ for (; b <= y; ) {
3952
+ const $ = je(r, c[y + 1]);
3953
+ ie($, o[b]), c[b++] = $;
3922
3954
  }
3923
3955
  for (; f <= m; ) {
3924
- const C = e[f++];
3925
- C !== null && Ms(C);
3956
+ const $ = e[f++];
3957
+ $ !== null && Ms($);
3926
3958
  }
3927
3959
  return this.ut = n, eo(r, c), gt;
3928
3960
  }
3929
3961
  }), Vo = /* @__PURE__ */ new WeakMap();
3930
- let Fi = 0;
3931
- const Rs = /* @__PURE__ */ new Map(), Ui = /* @__PURE__ */ new WeakSet(), Vi = () => new Promise((r) => requestAnimationFrame(r)), Bo = [{ opacity: 0 }], Ho = [{ opacity: 0 }, { opacity: 1 }], Bi = (r, t) => {
3962
+ let Ri = 0;
3963
+ const Fs = /* @__PURE__ */ new Map(), Ui = /* @__PURE__ */ new WeakSet(), Vi = () => new Promise((r) => requestAnimationFrame(r)), Bo = [{ opacity: 0 }], Ho = [{ opacity: 0 }, { opacity: 1 }], Bi = (r, t) => {
3932
3964
  const s = r - t;
3933
3965
  return s === 0 ? void 0 : s;
3934
3966
  }, Hi = (r, t) => {
3935
3967
  const s = r / t;
3936
3968
  return s === 1 ? void 0 : s;
3937
- }, Fs = { left: (r, t) => {
3969
+ }, Rs = { left: (r, t) => {
3938
3970
  const s = Bi(r, t);
3939
3971
  return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateX(${s}px)` };
3940
3972
  }, top: (r, t) => {
@@ -3968,7 +4000,7 @@ class Ko extends hi {
3968
4000
  (t = this.l) == null || t.call(this), this.l = void 0;
3969
4001
  }
3970
4002
  render(t) {
3971
- return $;
4003
+ return C;
3972
4004
  }
3973
4005
  getController() {
3974
4006
  return Vo.get(this.u);
@@ -3990,7 +4022,7 @@ class Ko extends hi {
3990
4022
  m() {
3991
4023
  const t = {}, s = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
3992
4024
  return this.options.properties.forEach((e) => {
3993
- const o = s[e] ?? (Fs[e] ? void 0 : i[e]), n = Number(o);
4025
+ const o = s[e] ?? (Rs[e] ? void 0 : i[e]), n = Number(o);
3994
4026
  t[e] = isNaN(n) ? o + "" : n;
3995
4027
  }), t;
3996
4028
  }
@@ -4018,11 +4050,11 @@ class Ko extends hi {
4018
4050
  const { from: o, to: n } = this.N(this.A, e, s);
4019
4051
  this.log("measured", [this.A, e, o, n]), t = this.calculateKeyframes(o, n);
4020
4052
  } else {
4021
- const o = Rs.get(this.options.inId);
4053
+ const o = Fs.get(this.options.inId);
4022
4054
  if (o) {
4023
- Rs.delete(this.options.inId);
4055
+ Fs.delete(this.options.inId);
4024
4056
  const { from: n, to: l } = this.N(o, e, s);
4025
- t = this.calculateKeyframes(n, l), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Fi++, t.forEach((c) => c.zIndex = Fi);
4057
+ t = this.calculateKeyframes(n, l), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Ri++, t.forEach((c) => c.zIndex = Ri);
4026
4058
  } else
4027
4059
  this.options.in && (t = [...this.options.in, {}]);
4028
4060
  }
@@ -4039,7 +4071,7 @@ class Ko extends hi {
4039
4071
  }
4040
4072
  async disconnected() {
4041
4073
  var s;
4042
- if (!this.h || (this.options.id !== void 0 && Rs.set(this.options.id, this.A), this.options.out === void 0))
4074
+ if (!this.h || (this.options.id !== void 0 && Fs.set(this.options.id, this.A), this.options.out === void 0))
4043
4075
  return;
4044
4076
  if (this.prepare(), await Vi(), (s = this.i) == null ? void 0 : s.isConnected) {
4045
4077
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
@@ -4096,8 +4128,8 @@ class Ko extends hi {
4096
4128
  const l = {};
4097
4129
  for (const c in s) {
4098
4130
  const h = t[c], d = s[c];
4099
- if (c in Fs) {
4100
- const f = Fs[c];
4131
+ if (c in Rs) {
4132
+ const f = Rs[c];
4101
4133
  if (h === void 0 || d === void 0)
4102
4134
  continue;
4103
4135
  const m = f(h, d);
@@ -4178,7 +4210,7 @@ const cs = ve(Ko), Zo = {
4178
4210
  <path d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
4179
4211
  </svg>
4180
4212
  `
4181
- }, Go = {
4213
+ }, Yo = {
4182
4214
  core: Zo
4183
4215
  }, as = /* @__PURE__ */ new Map(), gs = {
4184
4216
  heroicons: {
@@ -4205,27 +4237,27 @@ const cs = ve(Ko), Zo = {
4205
4237
  custom: { url: "", defaultPrefix: "" }
4206
4238
  };
4207
4239
  let Wi = !1;
4208
- function Yo() {
4240
+ function Go() {
4209
4241
  var r, t;
4210
4242
  Wi || (Wi = !0, gs.custom.url = ((r = document.querySelector("[customIconLibraryPath]")) == null ? void 0 : r.getAttribute("customIconLibraryPath")) || "", gs.custom.defaultPrefix = ((t = document.querySelector("[customIconDefaultPrefix]")) == null ? void 0 : t.getAttribute("customIconDefaultPrefix")) || "");
4211
4243
  }
4212
- const Ki = sessionStorage.getItem("sonicIconsCache"), Vt = Ki ? JSON.parse(Ki) : { icons: {}, names: [] }, Qo = 100, $i = class $i {
4244
+ const Ki = sessionStorage.getItem("sonicIconsCache"), Bt = Ki ? JSON.parse(Ki) : { icons: {}, names: [] }, Qo = 100, $i = class $i {
4213
4245
  };
4214
4246
  $i.default = {
4215
4247
  get: async (t) => {
4216
4248
  const s = t.library;
4217
4249
  if (!t.name)
4218
4250
  return "";
4219
- const i = t.name, e = Go;
4220
- if (s == "custom" && Yo(), s && s in gs) {
4251
+ const i = t.name, e = Yo;
4252
+ if (s == "custom" && Go(), s && s in gs) {
4221
4253
  const o = gs[s], n = t.prefix || o.defaultPrefix || "", l = e[s] || {};
4222
4254
  e[s] = l;
4223
4255
  const c = n + "-" + i;
4224
4256
  if (l[c])
4225
4257
  return z(l[c]);
4226
4258
  const h = (o.url || "").replace("$prefix", n).replace("$name", i);
4227
- if (Vt.icons[h])
4228
- return l[c] = Vt.icons[h], z(Vt.icons[h]);
4259
+ if (Bt.icons[h])
4260
+ return l[c] = Bt.icons[h], z(Bt.icons[h]);
4229
4261
  if (!as.has(h)) {
4230
4262
  const f = new Promise(async (m) => {
4231
4263
  const b = await fetch(h);
@@ -4234,8 +4266,8 @@ $i.default = {
4234
4266
  return;
4235
4267
  }
4236
4268
  try {
4237
- const w = await b.text();
4238
- m(w);
4269
+ const y = await b.text();
4270
+ m(y);
4239
4271
  } catch {
4240
4272
  m(null);
4241
4273
  }
@@ -4243,11 +4275,11 @@ $i.default = {
4243
4275
  as.set(h, f);
4244
4276
  }
4245
4277
  const d = await as.get(h);
4246
- if (as.delete(h), l[c] = d || "", Vt.icons[h] = d || "", Vt.names.length > Qo) {
4247
- const f = Vt.names.shift();
4248
- delete Vt.icons[f];
4278
+ if (as.delete(h), l[c] = d || "", Bt.icons[h] = d || "", Bt.names.length > Qo) {
4279
+ const f = Bt.names.shift();
4280
+ delete Bt.icons[f];
4249
4281
  }
4250
- return sessionStorage.setItem("sonicIconsCache", JSON.stringify(Vt)), z(d);
4282
+ return sessionStorage.setItem("sonicIconsCache", JSON.stringify(Bt)), z(d);
4251
4283
  }
4252
4284
  return z(e.core[t.name] || "");
4253
4285
  }
@@ -4259,7 +4291,7 @@ var Jo = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, Xe = (r, t
4259
4291
  return i && e && Jo(t, s, e), e;
4260
4292
  };
4261
4293
  const tn = "sonic-icon";
4262
- let de = class extends y {
4294
+ let de = class extends w {
4263
4295
  constructor() {
4264
4296
  super(...arguments), this.iconText = "", this.name = "", this.prefix = "", this.library = "";
4265
4297
  }
@@ -4274,7 +4306,7 @@ let de = class extends y {
4274
4306
  (r.has("name") || r.has("prefix") || r.has("library")) && this.updateIcon(), super.willUpdate(r);
4275
4307
  }
4276
4308
  render() {
4277
- return this.iconText ? this.iconText : $;
4309
+ return this.iconText ? this.iconText : C;
4278
4310
  }
4279
4311
  };
4280
4312
  de.styles = P`
@@ -4365,7 +4397,7 @@ const ts = P`
4365
4397
  }
4366
4398
  }
4367
4399
  `;
4368
- var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, Et = (r, t, s, i) => {
4400
+ var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, Nt = (r, t, s, i) => {
4369
4401
  for (var e = i > 1 ? void 0 : i ? sn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
4370
4402
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
4371
4403
  return i && e && en(t, s, e), e;
@@ -4376,7 +4408,7 @@ const rn = {
4376
4408
  error: "warning-circled-outline",
4377
4409
  info: "info-empty"
4378
4410
  }, on = "sonic-toast-item";
4379
- let yt = class extends y {
4411
+ let yt = class extends w {
4380
4412
  constructor() {
4381
4413
  super(...arguments), this.title = "", this.id = "", this.text = "", this.status = "", this.ghost = !1, this.preserve = !1, this.dismissForever = !1, this.maxHeight = "10rem", this.visible = !0;
4382
4414
  }
@@ -4386,7 +4418,7 @@ let yt = class extends y {
4386
4418
  if (this.dismissForever) {
4387
4419
  const r = localStorage.getItem("sonic-toast-dismissed") || "{}";
4388
4420
  if (JSON.parse(r)[this.id])
4389
- return $;
4421
+ return C;
4390
4422
  }
4391
4423
  return this.visible ? g`<div
4392
4424
  class="sonic-toast ${this.status} ${this.ghost ? "ghost" : ""}"
@@ -4416,7 +4448,7 @@ let yt = class extends y {
4416
4448
 
4417
4449
  ${this.preserve ? "" : this.autoHide()}
4418
4450
  </div>
4419
- </div>` : $;
4451
+ </div>` : C;
4420
4452
  }
4421
4453
  hide() {
4422
4454
  if (he.getClosestElement(this, "sonic-toast") || (this.visible = !1), this.dismissForever) {
@@ -4619,34 +4651,34 @@ yt.styles = [
4619
4651
  }
4620
4652
  `
4621
4653
  ];
4622
- Et([
4654
+ Nt([
4623
4655
  a({ type: String })
4624
4656
  ], yt.prototype, "title", 2);
4625
- Et([
4657
+ Nt([
4626
4658
  a({ type: String })
4627
4659
  ], yt.prototype, "id", 2);
4628
- Et([
4660
+ Nt([
4629
4661
  a({ type: String })
4630
4662
  ], yt.prototype, "text", 2);
4631
- Et([
4663
+ Nt([
4632
4664
  a({ type: String })
4633
4665
  ], yt.prototype, "status", 2);
4634
- Et([
4666
+ Nt([
4635
4667
  a({ type: Boolean })
4636
4668
  ], yt.prototype, "ghost", 2);
4637
- Et([
4669
+ Nt([
4638
4670
  a({ type: Boolean })
4639
4671
  ], yt.prototype, "preserve", 2);
4640
- Et([
4672
+ Nt([
4641
4673
  a({ type: Boolean })
4642
4674
  ], yt.prototype, "dismissForever", 2);
4643
- Et([
4675
+ Nt([
4644
4676
  a({ type: String })
4645
4677
  ], yt.prototype, "maxHeight", 2);
4646
- Et([
4678
+ Nt([
4647
4679
  M()
4648
4680
  ], yt.prototype, "visible", 2);
4649
- yt = Et([
4681
+ yt = Nt([
4650
4682
  _(on)
4651
4683
  ], yt);
4652
4684
  const nn = P`
@@ -4795,7 +4827,7 @@ var cn = Object.defineProperty, hn = Object.getOwnPropertyDescriptor, es = (r, t
4795
4827
  return i && e && cn(t, s, e), e;
4796
4828
  };
4797
4829
  const dn = "sonic-theme";
4798
- let ft = class extends y {
4830
+ let ft = class extends w {
4799
4831
  constructor() {
4800
4832
  super(), this.theme = "light", this.background = !1, this.color = !1, this.font = !1, ft.instance = this;
4801
4833
  }
@@ -4877,6 +4909,28 @@ ft.styles = [
4877
4909
  font-weight: var(--sc-font-weight-base);
4878
4910
  font-style: var(--sc-font-style-base);
4879
4911
  }
4912
+ ::slotted(.sonic-pop-content) {
4913
+ max-width: 80vw;
4914
+ background-color: var(--sc-base);
4915
+ position: fixed;
4916
+ z-index: 99999;
4917
+ display: block;
4918
+ transform: translateY(1rem) scale(0.95);
4919
+ pointer-events: none;
4920
+ transition-duration: 0.15s;
4921
+ transition-timing-function: ease;
4922
+
4923
+ transition-property: scale, opacity;
4924
+ border-radius: min(calc(var(--sc-btn-rounded) * 2), 0.4em);
4925
+ }
4926
+
4927
+ ::slotted(.sonic-pop-content).is-open:not(.is-empty) {
4928
+ transform: translateY(0) scale(1);
4929
+ opacity: 1;
4930
+ pointer-events: auto;
4931
+ transition-property: scale, opacity;
4932
+ transition-timing-function: cubic-bezier(0.25, 0.25, 0.42, 1.225);
4933
+ }
4880
4934
  `
4881
4935
  ];
4882
4936
  es([
@@ -4900,7 +4954,7 @@ var pn = Object.defineProperty, un = Object.getOwnPropertyDescriptor, yr = (r, t
4900
4954
  return i && e && pn(t, s, e), e;
4901
4955
  };
4902
4956
  const fn = "sonic-toast";
4903
- let E = class extends y {
4957
+ let N = class extends w {
4904
4958
  constructor() {
4905
4959
  super(...arguments), this.toasts = [];
4906
4960
  }
@@ -4925,7 +4979,7 @@ let E = class extends y {
4925
4979
  zIndex: "10000",
4926
4980
  maxWidth: "64ch",
4927
4981
  flexDirection: "column-reverse"
4928
- }), E.handleExistingToastDelegation(), this.toasts ? g`<div aria-live="polite" style=${dt(s)}>
4982
+ }), N.handleExistingToastDelegation(), this.toasts ? g`<div aria-live="polite" style=${dt(s)}>
4929
4983
  ${Ss(
4930
4984
  this.toasts,
4931
4985
  (i) => i.id,
@@ -4967,25 +5021,25 @@ let E = class extends y {
4967
5021
  </sonic-toast-item>
4968
5022
  `
4969
5023
  )}
4970
- </div>` : $;
5024
+ </div>` : C;
4971
5025
  }
4972
5026
  static removeAll() {
4973
- if (E.delegateToasts) {
4974
- E.handleExistingToastDelegation(), window.parent.postMessage({ type: "removeAllToasts" }, "*");
5027
+ if (N.delegateToasts) {
5028
+ N.handleExistingToastDelegation(), window.parent.postMessage({ type: "removeAllToasts" }, "*");
4975
5029
  return;
4976
5030
  }
4977
- const t = E.getInstance();
5031
+ const t = N.getInstance();
4978
5032
  t && (t.toasts = t.toasts.filter((s) => s.ghost));
4979
5033
  }
4980
5034
  static getInstance() {
4981
- return E.instance || (E.instance = document.createElement("sonic-toast"), ft.getPopContainer().prepend(E.instance)), E.instance;
5035
+ return N.instance || (N.instance = document.createElement("sonic-toast"), ft.getPopContainer().prepend(N.instance)), N.instance;
4982
5036
  }
4983
5037
  static add(t) {
4984
- if (E.delegateToasts) {
4985
- E.handleExistingToastDelegation(), window.parent.postMessage({ type: "addToast", toast: t }, "*");
5038
+ if (N.delegateToasts) {
5039
+ N.handleExistingToastDelegation(), window.parent.postMessage({ type: "addToast", toast: t }, "*");
4986
5040
  return;
4987
5041
  }
4988
- const s = E.getInstance(), i = t.id ?? (/* @__PURE__ */ new Date()).valueOf(), o = new RegExp(
5042
+ const s = N.getInstance(), i = t.id ?? (/* @__PURE__ */ new Date()).valueOf(), o = new RegExp(
4989
5043
  "</a>|</.*?button>|</.*?input>|</.*?textarea>|</.*?select>"
4990
5044
  ).test(t.text), n = {
4991
5045
  id: i,
@@ -5015,21 +5069,21 @@ let E = class extends y {
5015
5069
  static handleExistingToastDelegation() {
5016
5070
  if (!this.delegateToasts)
5017
5071
  return;
5018
- const t = E.getInstance();
5072
+ const t = N.getInstance();
5019
5073
  window.parent.postMessage(
5020
5074
  { type: "addToasts", toasts: t.toasts },
5021
5075
  "*"
5022
5076
  ), t.toasts = [];
5023
5077
  }
5024
5078
  static removeItem(t) {
5025
- if (E.delegateToasts) {
5026
- E.handleExistingToastDelegation(), window.parent.postMessage(
5079
+ if (N.delegateToasts) {
5080
+ N.handleExistingToastDelegation(), window.parent.postMessage(
5027
5081
  { type: "removeToast", toast: t },
5028
5082
  "*"
5029
5083
  );
5030
5084
  return;
5031
5085
  }
5032
- const s = E.getInstance();
5086
+ const s = N.getInstance();
5033
5087
  s && s.removeItem(t);
5034
5088
  }
5035
5089
  // Remove Toast
@@ -5037,21 +5091,21 @@ let E = class extends y {
5037
5091
  t && (this.toasts = this.toasts.filter((s) => (s = { ...s }, delete s.id, !X.shallowEqual(s, t, !1))));
5038
5092
  }
5039
5093
  };
5040
- E.delegateToasts = !1;
5094
+ N.delegateToasts = !1;
5041
5095
  yr([
5042
5096
  a({ type: Array })
5043
- ], E.prototype, "toasts", 2);
5044
- E = yr([
5097
+ ], N.prototype, "toasts", 2);
5098
+ N = yr([
5045
5099
  _(fn)
5046
- ], E);
5047
- typeof window < "u" && (window.SonicToast = window.SonicToast || E);
5100
+ ], N);
5101
+ typeof window < "u" && (window.SonicToast = window.SonicToast || N);
5048
5102
  function gn() {
5049
5103
  var s;
5050
5104
  const r = (i) => {
5051
- i.data.type == "querySonicToastAvailability" && i.source.postMessage({ type: "sonicToastAvailable" }, "*"), i.data.type == "sonicToastAvailable" && (E.delegateToasts = !0, E.handleExistingToastDelegation()), i.data.type == "addToasts" && (E.getInstance().toasts = [
5052
- ...E.getInstance().toasts,
5105
+ i.data.type == "querySonicToastAvailability" && i.source.postMessage({ type: "sonicToastAvailable" }, "*"), i.data.type == "sonicToastAvailable" && (N.delegateToasts = !0, N.handleExistingToastDelegation()), i.data.type == "addToasts" && (N.getInstance().toasts = [
5106
+ ...N.getInstance().toasts,
5053
5107
  ...i.data.toasts
5054
- ]), i.data.type == "removeAllToasts" && E.removeAll(), i.data.type == "removeToast" && E.removeItem(i.data.toast), i.data.type == "addToast" && E.add(i.data.toast);
5108
+ ]), i.data.type == "removeAllToasts" && N.removeAll(), i.data.type == "removeToast" && N.removeItem(i.data.toast), i.data.type == "addToast" && N.add(i.data.toast);
5055
5109
  }, t = window.parent != window;
5056
5110
  if (window.addEventListener("message", r, !1), t && window.parent.postMessage({ type: "querySonicToastAvailability" }, "*"), !t)
5057
5111
  for (const i of document.querySelectorAll("iframe"))
@@ -5102,7 +5156,7 @@ const vn = /* @__PURE__ */ new Set(), yn = /* @__PURE__ */ new Set(), wn = (r) =
5102
5156
  );
5103
5157
  if (this.fetchedData = o, this.api.lastResult && !this.api.lastResult.ok && (this.noErrorsRecordings || vn.add(this), wn(this.api.lastResult)), !!this.isConnected) {
5104
5158
  if (o)
5105
- o._sonic_http_response_ && !o._sonic_http_response_.ok && Object.keys(o).length === 1 && E.add({ text: "Network Error", status: "error" });
5159
+ o._sonic_http_response_ && !o._sonic_http_response_.ok && Object.keys(o).length === 1 && N.add({ text: "Network Error", status: "error" });
5106
5160
  else {
5107
5161
  this.isLoading = !1, this.refetchEveryMs && this.isConnected && (this.refetchTimeOutId = setTimeout(
5108
5162
  () => this._fetchData(),
@@ -5239,14 +5293,14 @@ const Os = (r) => {
5239
5293
  ], t.prototype, "tabindex", 2), re([
5240
5294
  a({ type: String })
5241
5295
  ], t.prototype, "autocomplete", 2), t;
5242
- }, wr = pi, Pn = di, _r = De, xr = Os, Qt = Y, ui = Qe;
5296
+ }, wr = pi, Pn = di, _r = De, xr = Os, Jt = G, ui = Qe;
5243
5297
  window["concorde-mixins"] = window["concorde-mixins"] || {};
5244
5298
  window["concorde-mixins"] = {
5245
5299
  Fetcher: wr,
5246
5300
  FormCheckable: Pn,
5247
5301
  FormElement: _r,
5248
5302
  FormInput: xr,
5249
- Subscriber: Qt,
5303
+ Subscriber: Jt,
5250
5304
  TemplatesContainer: ui
5251
5305
  };
5252
5306
  /**
@@ -5254,7 +5308,7 @@ window["concorde-mixins"] = {
5254
5308
  * Copyright 2020 Google LLC
5255
5309
  * SPDX-License-Identifier: BSD-3-Clause
5256
5310
  */
5257
- const Ot = ve(class extends Oe {
5311
+ const Dt = ve(class extends Oe {
5258
5312
  constructor(r) {
5259
5313
  if (super(r), r.type !== be.CHILD)
5260
5314
  throw Error("templateContent can only be used in child bindings");
@@ -5269,21 +5323,21 @@ var $n = Object.defineProperty, Cn = Object.getOwnPropertyDescriptor, Pr = (r, t
5269
5323
  return i && e && $n(t, s, e), e;
5270
5324
  };
5271
5325
  const An = "sonic-fetch";
5272
- let ms = class extends pi(Y(ui(y))) {
5326
+ let ms = class extends pi(G(ui(w))) {
5273
5327
  renderLoader() {
5274
5328
  if (!(this.isLoading && this.loader !== void 0))
5275
- return $;
5329
+ return C;
5276
5330
  const r = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
5277
5331
  return g`<sonic-loader mode=${r}></sonic-loader>`;
5278
5332
  }
5279
5333
  renderSkeleton() {
5280
5334
  const r = this.templateParts.skeleton;
5281
- return this.isLoading && r ? Ot(r) : $;
5335
+ return this.isLoading && r ? Dt(r) : C;
5282
5336
  }
5283
5337
  render() {
5284
5338
  return g`
5285
5339
  ${this.renderSkeleton()} ${this.renderLoader()}
5286
- ${this.isLoading ? $ : g`<slot></slot>`}
5340
+ ${this.isLoading ? C : g`<slot></slot>`}
5287
5341
  `;
5288
5342
  }
5289
5343
  };
@@ -5306,12 +5360,12 @@ var Sn = Object.defineProperty, On = Object.getOwnPropertyDescriptor, $r = (r, t
5306
5360
  return i && e && Sn(t, s, e), e;
5307
5361
  };
5308
5362
  const Dn = "sonic-if";
5309
- let bs = class extends y {
5363
+ let bs = class extends w {
5310
5364
  constructor() {
5311
5365
  super(...arguments), this.condition = !1;
5312
5366
  }
5313
5367
  render() {
5314
- return this.condition ? g` <slot></slot> ` : $;
5368
+ return this.condition ? g` <slot></slot> ` : C;
5315
5369
  }
5316
5370
  };
5317
5371
  bs.styles = P`
@@ -5454,17 +5508,17 @@ var En = Object.defineProperty, Nn = Object.getOwnPropertyDescriptor, fi = (r, t
5454
5508
  return i && e && En(t, s, e), e;
5455
5509
  };
5456
5510
  const Tn = "sonic-loader";
5457
- let et = class extends y {
5511
+ let st = class extends w {
5458
5512
  constructor() {
5459
5513
  super(...arguments), this.mode = "fixed", this.noDelay = !1;
5460
5514
  }
5461
5515
  static show(r) {
5462
- et.loader || (et.loader = document.createElement("sonic-loader"));
5463
- const t = et.loader;
5464
- r || (r = {}), r.mode && t.setAttribute("mode", r.mode), r.noDelay && t.setAttribute("noDelay", ""), r.container || (r.container = ft.getPopContainer(), r.mode = "fixed"), r.container.appendChild(t), et.callCounter++;
5516
+ st.loader || (st.loader = document.createElement("sonic-loader"));
5517
+ const t = st.loader;
5518
+ r || (r = {}), r.mode && t.setAttribute("mode", r.mode), r.noDelay && t.setAttribute("noDelay", ""), r.container || (r.container = ft.getPopContainer(), r.mode = "fixed"), r.container.appendChild(t), st.callCounter++;
5465
5519
  }
5466
5520
  static hide() {
5467
- et.callCounter--, !(et.callCounter > 0) && et.loader && et.loader.remove();
5521
+ st.callCounter--, !(st.callCounter > 0) && st.loader && st.loader.remove();
5468
5522
  }
5469
5523
  render() {
5470
5524
  return g`<div class="sonic-loader sonic-loader--${this.mode} ${this.noDelay ? "sonic-loader--nodelay" : ""} ">
@@ -5475,7 +5529,7 @@ let et = class extends y {
5475
5529
  </div>`;
5476
5530
  }
5477
5531
  };
5478
- et.styles = [
5532
+ st.styles = [
5479
5533
  kn,
5480
5534
  Ln,
5481
5535
  P`
@@ -5504,23 +5558,23 @@ et.styles = [
5504
5558
  }
5505
5559
  `
5506
5560
  ];
5507
- et.callCounter = 0;
5561
+ st.callCounter = 0;
5508
5562
  fi([
5509
5563
  a({ type: String })
5510
- ], et.prototype, "mode", 2);
5564
+ ], st.prototype, "mode", 2);
5511
5565
  fi([
5512
5566
  a({ type: Boolean })
5513
- ], et.prototype, "noDelay", 2);
5514
- et = fi([
5567
+ ], st.prototype, "noDelay", 2);
5568
+ st = fi([
5515
5569
  _(Tn)
5516
- ], et);
5570
+ ], st);
5517
5571
  var jn = Object.defineProperty, Mn = Object.getOwnPropertyDescriptor, In = (r, t, s, i) => {
5518
5572
  for (var e = i > 1 ? void 0 : i ? Mn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5519
5573
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
5520
5574
  return i && e && jn(t, s, e), e;
5521
5575
  };
5522
5576
  const zn = "sonic-subscriber";
5523
- let Gi = class extends Y(y) {
5577
+ let Yi = class extends G(w) {
5524
5578
  constructor() {
5525
5579
  super(...arguments), this.noAutofill = !0;
5526
5580
  }
@@ -5534,16 +5588,16 @@ let Gi = class extends Y(y) {
5534
5588
  return g`<slot></slot> `;
5535
5589
  }
5536
5590
  };
5537
- Gi = In([
5591
+ Yi = In([
5538
5592
  _(zn)
5539
- ], Gi);
5540
- var Rn = Object.defineProperty, Fn = Object.getOwnPropertyDescriptor, ye = (r, t, s, i) => {
5541
- for (var e = i > 1 ? void 0 : i ? Fn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5593
+ ], Yi);
5594
+ var Fn = Object.defineProperty, Rn = Object.getOwnPropertyDescriptor, ye = (r, t, s, i) => {
5595
+ for (var e = i > 1 ? void 0 : i ? Rn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5542
5596
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
5543
- return i && e && Rn(t, s, e), e;
5597
+ return i && e && Fn(t, s, e), e;
5544
5598
  };
5545
5599
  const Un = "sonic-list";
5546
- let qt = class extends pi(Y(Qe(y))) {
5600
+ let Wt = class extends pi(G(Qe(w))) {
5547
5601
  constructor() {
5548
5602
  super(...arguments), this.templateKey = "template", this.idKey = "id", this.limit = Number.POSITIVE_INFINITY, this.offset = 0;
5549
5603
  }
@@ -5555,13 +5609,13 @@ let qt = class extends pi(Y(Qe(y))) {
5555
5609
  }
5556
5610
  renderLoader() {
5557
5611
  if (!(this.isLoading && this.loader !== void 0) || this.templateParts.skeleton)
5558
- return $;
5612
+ return C;
5559
5613
  const t = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
5560
5614
  return g`<sonic-loader mode=${t}></sonic-loader>`;
5561
5615
  }
5562
5616
  renderSkeleton() {
5563
5617
  const r = this.templateParts.skeleton;
5564
- return this.isLoading && r ? Ot(r) : $;
5618
+ return this.isLoading && r ? Dt(r) : C;
5565
5619
  }
5566
5620
  renderLoadingState() {
5567
5621
  return g`${this.renderSkeleton()} ${this.renderLoader()}`;
@@ -5596,43 +5650,43 @@ let qt = class extends pi(Y(Qe(y))) {
5596
5650
  return g`<div></div>`;
5597
5651
  const i = this.formatProps();
5598
5652
  if (((i == null ? void 0 : i.length) || 0) == 0 && this.templateParts["no-item"])
5599
- return Ot(this.templateParts["no-item"]);
5653
+ return Dt(this.templateParts["no-item"]);
5600
5654
  const e = this.templateList.length;
5601
5655
  let o = -1;
5602
5656
  const n = this.hasAttribute("extractValues"), l = this.templateParts.separator, c = (i == null ? void 0 : i.length) || 0, h = i == null ? void 0 : i.slice(this.offset, this.offset + this.limit);
5603
5657
  return g`
5604
5658
  ${h == null ? void 0 : h.map((d, f) => {
5605
5659
  if (d == null)
5606
- return $;
5660
+ return C;
5607
5661
  let m = null, b = f;
5608
5662
  if (typeof d == "object" && !Array.isArray(d)) {
5609
5663
  const D = d[this.templateKey];
5610
5664
  D && typeof D == "string" && (m = this.templateParts[D]), n && (b = d == null ? void 0 : d.key);
5611
5665
  }
5612
5666
  if (b == "_sonic_http_response_" || typeof b != "string" && typeof b != "number")
5613
- return $;
5614
- const w = f >= c - 1, C = f % 2, O = this.publisher[b];
5615
- return O._key_ = b + "", O._metadata_ = {
5616
- ...O._metadata_.get(),
5667
+ return C;
5668
+ const y = f >= c - 1, $ = f % 2, S = this.publisher[b];
5669
+ return S._key_ = b + "", S._metadata_ = {
5670
+ ...S._metadata_.get(),
5617
5671
  //Si il y a d'autres données.
5618
5672
  key: b,
5619
- even: C == 0,
5620
- odd: C == 1,
5673
+ even: $ == 0,
5674
+ odd: $ == 1,
5621
5675
  onlyChild: c == 1,
5622
5676
  firstChild: f == 0,
5623
- lastChild: w
5677
+ lastChild: y
5624
5678
  }, o++, m && (o = -1), d && g`
5625
5679
  <sonic-subscriber
5626
5680
  ?debug=${this.defferedDebug === !0}
5627
5681
  .bindPublisher=${function() {
5628
- return O;
5682
+ return S;
5629
5683
  }}
5630
5684
  .propertyMap?=${this.itemPropertyMap}
5631
5685
  dataProvider="${this.dataProvider}/list-item/${b}"
5632
5686
  >
5633
- ${Ot(m || this.templateList[o % e])}
5687
+ ${Dt(m || this.templateList[o % e])}
5634
5688
  </sonic-subscriber>
5635
- ${l && !w ? Ot(l) : $}
5689
+ ${l && !y ? Dt(l) : C}
5636
5690
  `;
5637
5691
  })}
5638
5692
  `;
@@ -5640,25 +5694,25 @@ let qt = class extends pi(Y(Qe(y))) {
5640
5694
  };
5641
5695
  ye([
5642
5696
  a({ type: Object })
5643
- ], qt.prototype, "itemPropertyMap", 2);
5697
+ ], Wt.prototype, "itemPropertyMap", 2);
5644
5698
  ye([
5645
5699
  a({ type: String })
5646
- ], qt.prototype, "templateKey", 2);
5700
+ ], Wt.prototype, "templateKey", 2);
5647
5701
  ye([
5648
5702
  a({ type: String })
5649
- ], qt.prototype, "idKey", 2);
5703
+ ], Wt.prototype, "idKey", 2);
5650
5704
  ye([
5651
5705
  a()
5652
- ], qt.prototype, "loader", 2);
5706
+ ], Wt.prototype, "loader", 2);
5653
5707
  ye([
5654
5708
  a()
5655
- ], qt.prototype, "limit", 2);
5709
+ ], Wt.prototype, "limit", 2);
5656
5710
  ye([
5657
5711
  a()
5658
- ], qt.prototype, "offset", 2);
5659
- qt = ye([
5712
+ ], Wt.prototype, "offset", 2);
5713
+ Wt = ye([
5660
5714
  _(Un)
5661
- ], qt);
5715
+ ], Wt);
5662
5716
  /**
5663
5717
  * @license
5664
5718
  * Copyright 2021 Google LLC
@@ -5677,7 +5731,7 @@ var Bn = Object.defineProperty, Hn = Object.getOwnPropertyDescriptor, bt = (r, t
5677
5731
  return i && e && Bn(t, s, e), e;
5678
5732
  };
5679
5733
  const qn = "sonic-queue";
5680
- let ot = class extends Y(y) {
5734
+ let ot = class extends G(w) {
5681
5735
  constructor() {
5682
5736
  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.filteredFields = "", this.instanceId = 0, this.localStorage = "disabled", this.filterPublisher = null, this.filterTimeoutMs = 400, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.updateFilteredContent = () => {
5683
5737
  var n;
@@ -5692,11 +5746,11 @@ let ot = class extends Y(y) {
5692
5746
  if (!(o == this.searchHash && !this.isFirstRequest)) {
5693
5747
  this.searchHash = o;
5694
5748
  for (const l of this.listDataProviders)
5695
- N.delete(l);
5749
+ T.delete(l);
5696
5750
  this.listDataProviders = [], clearTimeout(this.filterTimeoutId), this.filterTimeoutId = setTimeout(
5697
5751
  async () => {
5698
5752
  const l = this.resultCount;
5699
- this.props = null, this.requestId++, this.resultCount = l, await N.getInstance().isLocalStrorageReady, window.requestAnimationFrame(() => this.next());
5753
+ this.props = null, this.requestId++, this.resultCount = l, await T.getInstance().isLocalStrorageReady, window.requestAnimationFrame(() => this.next());
5700
5754
  },
5701
5755
  this.isFirstRequest ? 0 : this.filterTimeoutMs
5702
5756
  ), this.isFirstRequest = !1;
@@ -5706,13 +5760,13 @@ let ot = class extends Y(y) {
5706
5760
  disconnectedCallback() {
5707
5761
  var r;
5708
5762
  for (const t of this.listDataProviders)
5709
- N.delete(t), this.listDataProviders = [];
5763
+ T.delete(t), this.listDataProviders = [];
5710
5764
  (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();
5711
5765
  }
5712
5766
  async connectedCallback() {
5713
5767
  this.instanceId = ot.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
5714
5768
  this.getAttribute("filterTimeoutMs") || "400"
5715
- ), 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 = he.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await N.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
5769
+ ), 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 = he.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await T.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
5716
5770
  this.querySelectorAll("template")
5717
5771
  )), this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime(), this.configFilter();
5718
5772
  }
@@ -5723,7 +5777,7 @@ let ot = class extends Y(y) {
5723
5777
  this.next();
5724
5778
  return;
5725
5779
  }
5726
- this.filterPublisher = N.getInstance().get(r), (t = this.filterPublisher) == null || t.onInternalMutation(this.updateFilteredContent);
5780
+ this.filterPublisher = T.getInstance().get(r), (t = this.filterPublisher) == null || t.onInternalMutation(this.updateFilteredContent);
5727
5781
  }
5728
5782
  resetDuration() {
5729
5783
  this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime();
@@ -5771,7 +5825,7 @@ let ot = class extends Y(y) {
5771
5825
  }
5772
5826
  render() {
5773
5827
  if (!Array.isArray(this.props))
5774
- return $;
5828
+ return C;
5775
5829
  let r = !this.noLazyload;
5776
5830
  return this.props.length == 1 && (r = !1), g`
5777
5831
  ${Vn(this.props, (t, s) => {
@@ -5851,7 +5905,7 @@ var Wn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor, ke = (r, t
5851
5905
  return i && e && Wn(t, s, e), e;
5852
5906
  };
5853
5907
  const Zn = "sonic-submit";
5854
- let Wt = class extends Y(y) {
5908
+ let Kt = class extends G(w) {
5855
5909
  constructor() {
5856
5910
  super(...arguments), this.submitResultKey = null, this.disabled = !1, this.endPoint = null, this.name = "", this.value = "", this.api = null;
5857
5911
  }
@@ -5864,7 +5918,7 @@ let Wt = class extends Y(y) {
5864
5918
  const r = he.getClosestForm(this);
5865
5919
  if (!r)
5866
5920
  return;
5867
- const t = this.getAncestorAttributeValue("formDataProvider"), s = N.get(t).get();
5921
+ const t = this.getAncestorAttributeValue("formDataProvider"), s = T.get(t).get();
5868
5922
  for (const e in s) {
5869
5923
  if (e == "isFormValid")
5870
5924
  continue;
@@ -5880,7 +5934,7 @@ let Wt = class extends Y(y) {
5880
5934
  }
5881
5935
  async submit() {
5882
5936
  var b;
5883
- const r = N.getInstance().get(
5937
+ const r = T.getInstance().get(
5884
5938
  this.getAncestorAttributeValue("formDataProvider")
5885
5939
  );
5886
5940
  if (r.isFormValid = !0, r.invalidate(), !r.isFormValid.get())
@@ -5893,14 +5947,14 @@ let Wt = class extends Y(y) {
5893
5947
  delete e.isFormValid;
5894
5948
  const o = this.getAncestorAttributeValue(
5895
5949
  "headersDataProvider"
5896
- ), n = o ? N.getInstance().get(o) : null;
5950
+ ), n = o ? T.getInstance().get(o) : null;
5897
5951
  let l = {};
5898
5952
  n && (l = n.get());
5899
5953
  let c = null;
5900
5954
  const h = this.getAncestorAttributeValue("dataProvider"), d = this.endPoint || h;
5901
- et.show();
5955
+ st.show();
5902
5956
  const f = async () => {
5903
- var p, u, v, A, S, j, H;
5957
+ var p, u, v, A, O, L, F;
5904
5958
  if (i)
5905
5959
  c = await ((p = this.api) == null ? void 0 : p.submitFormData(
5906
5960
  d,
@@ -5917,26 +5971,26 @@ let Wt = class extends Y(y) {
5917
5971
  c = await ((v = this.api) == null ? void 0 : v.delete(d, e, l));
5918
5972
  break;
5919
5973
  case "get":
5920
- const W = new URLSearchParams();
5974
+ const B = new URLSearchParams();
5921
5975
  if (e)
5922
5976
  for (const Ci in e)
5923
- W.append(Ci, e[Ci]);
5924
- const ee = "?" + W.toString();
5925
- c = await ((A = this.api) == null ? void 0 : A.get(d + ee, l));
5977
+ B.append(Ci, e[Ci]);
5978
+ const Ct = "?" + B.toString();
5979
+ c = await ((A = this.api) == null ? void 0 : A.get(d + Ct, l));
5926
5980
  break;
5927
5981
  default:
5928
- c = await ((S = this.api) == null ? void 0 : S.post(d, e, l));
5982
+ c = await ((O = this.api) == null ? void 0 : O.post(d, e, l));
5929
5983
  break;
5930
5984
  }
5931
- et.hide(), c ? c._sonic_http_response_ && !c._sonic_http_response_.ok && Object.keys(c).length === 1 && (c.messages = [{ content: "Network Error", status: "error" }]) : c = { messages: [{ content: "Network Error", status: "error" }] };
5932
- const w = this.getAncestorAttributeValue(
5985
+ st.hide(), c ? c._sonic_http_response_ && !c._sonic_http_response_.ok && Object.keys(c).length === 1 && (c.messages = [{ content: "Network Error", status: "error" }]) : c = { messages: [{ content: "Network Error", status: "error" }] };
5986
+ const y = this.getAncestorAttributeValue(
5933
5987
  "clearedDataOnSuccess"
5934
5988
  );
5935
- w && w.split(" ").forEach(
5936
- (W) => N.get(W).set({})
5989
+ y && y.split(" ").forEach(
5990
+ (B) => T.get(B).set({})
5937
5991
  );
5938
- const C = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", O = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
5939
- (H = (j = this.api) == null ? void 0 : j.lastResult) != null && H.ok && e[C] && e[O] && this.saveCredentials(e[C], e[O]), this.submitResultKey && (c = X.traverse(
5992
+ const $ = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", S = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
5993
+ (F = (L = this.api) == null ? void 0 : L.lastResult) != null && F.ok && e[$] && e[S] && this.saveCredentials(e[$], e[S]), this.submitResultKey && (c = X.traverse(
5940
5994
  c,
5941
5995
  this.submitResultKey.split("."),
5942
5996
  !0
@@ -5944,14 +5998,14 @@ let Wt = class extends Y(y) {
5944
5998
  const D = this.getAncestorAttributeValue(
5945
5999
  "submitResultDataProvider"
5946
6000
  );
5947
- D && N.get(D).set(c), this.disabled = !1;
6001
+ D && T.get(D).set(c), this.disabled = !1;
5948
6002
  }, m = n != null && n.needsCaptchaValidation.get() ? n : r.needsCaptchaValidation.get() ? r : null;
5949
6003
  if (m) {
5950
6004
  m.captchaMethod = s, m.captchaAction = (h == null ? void 0 : h.split("?")[0]) ?? this.getAncestorAttributeValue("formDataProvider") ?? "submit", m.captchaToken = "request_token";
5951
- const w = (C) => {
5952
- C && C != "request_token" && (f(), m.captchaToken.offAssign(w));
6005
+ const y = ($) => {
6006
+ $ && $ != "request_token" && (f(), m.captchaToken.offAssign(y));
5953
6007
  };
5954
- m.captchaToken.onAssign(w);
6008
+ m.captchaToken.onAssign(y);
5955
6009
  } else
5956
6010
  f();
5957
6011
  }
@@ -5969,7 +6023,7 @@ let Wt = class extends Y(y) {
5969
6023
  return g`<div ?data-disabled=${this.disabled}><slot></slot></div>`;
5970
6024
  }
5971
6025
  };
5972
- Wt.styles = P`
6026
+ Kt.styles = P`
5973
6027
  [data-disabled] {
5974
6028
  opacity: 0.3;
5975
6029
  pointer-events: none;
@@ -5978,29 +6032,29 @@ Wt.styles = P`
5978
6032
  `;
5979
6033
  ke([
5980
6034
  a({ type: String })
5981
- ], Wt.prototype, "submitResultKey", 2);
6035
+ ], Kt.prototype, "submitResultKey", 2);
5982
6036
  ke([
5983
6037
  a({ type: Boolean })
5984
- ], Wt.prototype, "disabled", 2);
6038
+ ], Kt.prototype, "disabled", 2);
5985
6039
  ke([
5986
6040
  a({ type: String })
5987
- ], Wt.prototype, "endPoint", 2);
6041
+ ], Kt.prototype, "endPoint", 2);
5988
6042
  ke([
5989
6043
  a()
5990
- ], Wt.prototype, "name", 2);
6044
+ ], Kt.prototype, "name", 2);
5991
6045
  ke([
5992
6046
  a()
5993
- ], Wt.prototype, "value", 2);
5994
- Wt = ke([
6047
+ ], Kt.prototype, "value", 2);
6048
+ Kt = ke([
5995
6049
  _(Zn)
5996
- ], Wt);
5997
- var Gn = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, gi = (r, t, s, i) => {
5998
- for (var e = i > 1 ? void 0 : i ? Yn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6050
+ ], Kt);
6051
+ var Yn = Object.defineProperty, Gn = Object.getOwnPropertyDescriptor, gi = (r, t, s, i) => {
6052
+ for (var e = i > 1 ? void 0 : i ? Gn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
5999
6053
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
6000
- return i && e && Gn(t, s, e), e;
6054
+ return i && e && Yn(t, s, e), e;
6001
6055
  };
6002
6056
  const Qn = "sonic-router";
6003
- let vs = class extends Y(Qe(y)) {
6057
+ let vs = class extends G(Qe(w)) {
6004
6058
  constructor() {
6005
6059
  super(...arguments), this.templateValueAttribute = "data-route", this._location = document.location.href.replace(
6006
6060
  document.location.origin,
@@ -6008,10 +6062,10 @@ let vs = class extends Y(Qe(y)) {
6008
6062
  );
6009
6063
  }
6010
6064
  connectedCallback() {
6011
- this.noShadowDom = "", st.onChange(this), super.connectedCallback();
6065
+ this.noShadowDom = "", it.onChange(this), super.connectedCallback();
6012
6066
  }
6013
6067
  disconnectedCallback() {
6014
- st.offChange(this), super.disconnectedCallback();
6068
+ it.offChange(this), super.disconnectedCallback();
6015
6069
  }
6016
6070
  set location(r) {
6017
6071
  this._location = r, this.requestUpdate();
@@ -6062,10 +6116,10 @@ let vs = class extends Y(Qe(y)) {
6062
6116
  style="display:contents"
6063
6117
  dataProvider="${i}"
6064
6118
  >
6065
- ${Ot(t)}
6119
+ ${Dt(t)}
6066
6120
  </div>`;
6067
6121
  }
6068
- return Ot(t);
6122
+ return Dt(t);
6069
6123
  }
6070
6124
  )}`;
6071
6125
  }
@@ -6085,7 +6139,7 @@ var Jn = Object.defineProperty, Xn = Object.getOwnPropertyDescriptor, ta = (r, t
6085
6139
  return i && e && Jn(t, s, e), e;
6086
6140
  };
6087
6141
  const ea = "sonic-redirect";
6088
- let Yi = class extends Y(y) {
6142
+ let Gi = class extends G(w) {
6089
6143
  connectedCallback() {
6090
6144
  this.noShadowDom = "", this.style.display = "none", super.connectedCallback(), this.udpateCallBack = () => this.update(), this.publisher && this.publisher.onInternalMutation(this.udpateCallBack);
6091
6145
  }
@@ -6094,25 +6148,25 @@ let Yi = class extends Y(y) {
6094
6148
  }
6095
6149
  update() {
6096
6150
  if (this.hasAttribute("onAdded")) {
6097
- st.changeFromComponent(this);
6151
+ it.changeFromComponent(this);
6098
6152
  return;
6099
6153
  }
6100
6154
  if (!this.props)
6101
6155
  return;
6102
6156
  const r = this.getAttribute("onData").split("."), t = X.traverse(this.props, r);
6103
- t && !(X.isObject(t) && t) && st.changeFromComponent(this);
6157
+ t && !(X.isObject(t) && t) && it.changeFromComponent(this);
6104
6158
  }
6105
6159
  };
6106
- Yi = ta([
6160
+ Gi = ta([
6107
6161
  _(ea)
6108
- ], Yi);
6162
+ ], Gi);
6109
6163
  var sa = Object.defineProperty, ia = Object.getOwnPropertyDescriptor, mi = (r, t, s, i) => {
6110
6164
  for (var e = i > 1 ? void 0 : i ? ia(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6111
6165
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
6112
6166
  return i && e && sa(t, s, e), e;
6113
6167
  };
6114
6168
  const ra = "sonic-states";
6115
- let ys = class extends Y(Qe(y)) {
6169
+ let ys = class extends G(Qe(w)) {
6116
6170
  constructor() {
6117
6171
  super(...arguments), this.state = "", this.inverted = !1, this.statePath = "", this.onAssign = (r) => {
6118
6172
  this.state = r, this.requestUpdate();
@@ -6167,10 +6221,10 @@ let ys = class extends Y(Qe(y)) {
6167
6221
  style="display:contents"
6168
6222
  dataProvider="${o}"
6169
6223
  >
6170
- ${Ot(s)}
6224
+ ${Dt(s)}
6171
6225
  </div>`;
6172
6226
  }
6173
- return Ot(s);
6227
+ return Dt(s);
6174
6228
  }
6175
6229
  )}`;
6176
6230
  }
@@ -6190,7 +6244,7 @@ var oa = Object.defineProperty, na = Object.getOwnPropertyDescriptor, aa = (r, t
6190
6244
  return i && e && oa(t, s, e), e;
6191
6245
  };
6192
6246
  const la = "sonic-scope";
6193
- let Qi = class extends y {
6247
+ let Qi = class extends w {
6194
6248
  createRenderRoot() {
6195
6249
  return this;
6196
6250
  }
@@ -6207,7 +6261,7 @@ var ca = Object.defineProperty, ha = Object.getOwnPropertyDescriptor, Cr = (r, t
6207
6261
  return i && e && ca(t, s, e), e;
6208
6262
  };
6209
6263
  const da = "sonic-example";
6210
- let Ws = class extends Y(y) {
6264
+ let Ws = class extends G(w) {
6211
6265
  constructor() {
6212
6266
  super(...arguments), this.text = "Example";
6213
6267
  }
@@ -6454,16 +6508,16 @@ class Na {
6454
6508
  l.attributes || (l.attributes = {});
6455
6509
  const c = n.child.attributes;
6456
6510
  if (c)
6457
- for (const w in c)
6458
- Object.prototype.hasOwnProperty.call(l.attributes, "key") || (l.attributes[w] = c[w]);
6511
+ for (const y in c)
6512
+ Object.prototype.hasOwnProperty.call(l.attributes, "key") || (l.attributes[y] = c[y]);
6459
6513
  const h = ["libraryKey", "innerHTML", "prefix", "suffix", "markup"], d = n.child, f = l;
6460
- for (const w of h)
6461
- !Object.prototype.hasOwnProperty.call(l, w) && d[w] && (f[w] = d[w]);
6514
+ for (const y of h)
6515
+ !Object.prototype.hasOwnProperty.call(l, y) && d[y] && (f[y] = d[y]);
6462
6516
  l.nodes || (l.nodes = []);
6463
6517
  const m = n.child.nodes;
6464
6518
  if (m)
6465
- for (const w of m)
6466
- l.nodes.push(w);
6519
+ for (const y of m)
6520
+ l.nodes.push(y);
6467
6521
  const b = ((i = n.parent.nodes) == null ? void 0 : i.indexOf(n.child)) || -1;
6468
6522
  b != -1 && ((e = n.parent.nodes) == null || e.splice(b, 1), (o = n.parent.nodes) == null || o.splice(b, 0, l));
6469
6523
  }
@@ -6496,7 +6550,7 @@ var Ta = Object.defineProperty, ja = Object.getOwnPropertyDescriptor, bi = (r, t
6496
6550
  return i && e && Ta(t, s, e), e;
6497
6551
  };
6498
6552
  const Ma = "sonic-sdui";
6499
- let ws = class extends wr(Qt(y)) {
6553
+ let ws = class extends wr(Jt(w)) {
6500
6554
  constructor() {
6501
6555
  super(...arguments), this.sduiDescriptor = {};
6502
6556
  }
@@ -6667,7 +6721,7 @@ var Ia = Object.defineProperty, za = Object.getOwnPropertyDescriptor, Ar = (r, t
6667
6721
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
6668
6722
  return i && e && Ia(t, s, e), e;
6669
6723
  };
6670
- let _s = class extends Qt(y) {
6724
+ let _s = class extends Jt(w) {
6671
6725
  constructor() {
6672
6726
  super(...arguments), this._composition = {}, this.listeners = [];
6673
6727
  }
@@ -6740,13 +6794,13 @@ Ar([
6740
6794
  _s = Ar([
6741
6795
  _("sonic-mix")
6742
6796
  ], _s);
6743
- var Ra = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, Ua = (r, t, s, i) => {
6744
- for (var e = i > 1 ? void 0 : i ? Fa(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6797
+ var Fa = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, Ua = (r, t, s, i) => {
6798
+ for (var e = i > 1 ? void 0 : i ? Ra(t, s) : t, o = r.length - 1, n; o >= 0; o--)
6745
6799
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
6746
- return i && e && Ra(t, s, e), e;
6800
+ return i && e && Fa(t, s, e), e;
6747
6801
  };
6748
6802
  const Va = "sonic-value";
6749
- let Ji = class extends Qt(y) {
6803
+ let Ji = class extends Jt(w) {
6750
6804
  connectedCallback() {
6751
6805
  this.setAttribute("subDataProvider", this.getAttribute("key")), super.connectedCallback();
6752
6806
  }
@@ -6764,7 +6818,7 @@ var Ba = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, ss = (r, t
6764
6818
  return i && e && Ba(t, s, e), e;
6765
6819
  };
6766
6820
  const qa = "sonic-badge";
6767
- let pe = class extends y {
6821
+ let pe = class extends w {
6768
6822
  constructor() {
6769
6823
  super(...arguments), this.type = "default", this.variant = "default", this.ellipsis = !1;
6770
6824
  }
@@ -6777,7 +6831,7 @@ let pe = class extends y {
6777
6831
  }
6778
6832
  };
6779
6833
  pe.styles = [
6780
- Lt,
6834
+ Et,
6781
6835
  P`
6782
6836
  :host {
6783
6837
  --sc-badge-gap: 0.3em;
@@ -6954,8 +7008,8 @@ var Ka = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, Le = (r, t
6954
7008
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
6955
7009
  return i && e && Ka(t, s, e), e;
6956
7010
  };
6957
- const Ga = "sonic-link";
6958
- let Kt = class extends y {
7011
+ const Ya = "sonic-link";
7012
+ let Zt = class extends w {
6959
7013
  constructor() {
6960
7014
  super(...arguments), this.href = "", this._location = "", this.ariaLabel = null, this.autoActive = "partial", this._target = null, this.pushState = null;
6961
7015
  }
@@ -6963,10 +7017,10 @@ let Kt = class extends y {
6963
7017
  return this._location;
6964
7018
  }
6965
7019
  set location(r) {
6966
- this._location = r, st.updateComponentActiveState(this);
7020
+ this._location = r, it.updateComponentActiveState(this);
6967
7021
  }
6968
7022
  connectedCallback() {
6969
- this.href && this.href.indexOf("http") != 0 && (st.onChange(this), this.location = document.location.href.replace(document.location.origin, "")), this.addEventListener("keypress", (r) => {
7023
+ this.href && this.href.indexOf("http") != 0 && (it.onChange(this), this.location = document.location.href.replace(document.location.origin, "")), this.addEventListener("keypress", (r) => {
6970
7024
  var t, s;
6971
7025
  r.key === "Enter" && ((s = (t = this.shadowRoot) == null ? void 0 : t.querySelector("a")) == null || s.click());
6972
7026
  }), this.setFocusable(), super.connectedCallback();
@@ -6975,7 +7029,7 @@ let Kt = class extends y {
6975
7029
  this.href ? this.setAttribute("tabIndex", "0") : this.removeAttribute("tabIndex");
6976
7030
  }
6977
7031
  disconnectedCallback() {
6978
- st.offChange(this), super.disconnectedCallback();
7032
+ it.offChange(this), super.disconnectedCallback();
6979
7033
  }
6980
7034
  set target(r) {
6981
7035
  this._target = r, Wa.fixBlankLink(this), this.requestUpdate();
@@ -6984,7 +7038,7 @@ let Kt = class extends y {
6984
7038
  return this._target;
6985
7039
  }
6986
7040
  handlePushState(r) {
6987
- r.preventDefault(), st.changeFromComponent(this);
7041
+ r.preventDefault(), it.changeFromComponent(this);
6988
7042
  }
6989
7043
  updated(r) {
6990
7044
  r.has("href") && this.setFocusable();
@@ -6993,7 +7047,7 @@ let Kt = class extends y {
6993
7047
  return this.href ? g`
6994
7048
  <a
6995
7049
  href="${this.href}"
6996
- aria-label=${this.ariaLabel || $}
7050
+ aria-label=${this.ariaLabel || C}
6997
7051
  target=${x(this.target)}
6998
7052
  @click=${this.pushState ? this.handlePushState : null}
6999
7053
  >
@@ -7002,7 +7056,7 @@ let Kt = class extends y {
7002
7056
  ` : g`<slot></slot>`;
7003
7057
  }
7004
7058
  };
7005
- Kt.styles = [
7059
+ Zt.styles = [
7006
7060
  P`
7007
7061
  a {
7008
7062
  color: inherit;
@@ -7013,29 +7067,29 @@ Kt.styles = [
7013
7067
  ];
7014
7068
  Le([
7015
7069
  a({ type: String })
7016
- ], Kt.prototype, "href", 2);
7070
+ ], Zt.prototype, "href", 2);
7017
7071
  Le([
7018
7072
  a({ type: String, attribute: "data-aria-label" })
7019
- ], Kt.prototype, "ariaLabel", 2);
7073
+ ], Zt.prototype, "ariaLabel", 2);
7020
7074
  Le([
7021
7075
  a({ type: String })
7022
- ], Kt.prototype, "autoActive", 2);
7076
+ ], Zt.prototype, "autoActive", 2);
7023
7077
  Le([
7024
7078
  a({ type: String })
7025
- ], Kt.prototype, "target", 1);
7079
+ ], Zt.prototype, "target", 1);
7026
7080
  Le([
7027
7081
  a({ type: Boolean })
7028
- ], Kt.prototype, "pushState", 2);
7029
- Kt = Le([
7030
- _(Ga)
7031
- ], Kt);
7032
- var Ya = Object.defineProperty, Qa = Object.getOwnPropertyDescriptor, Ee = (r, t, s, i) => {
7082
+ ], Zt.prototype, "pushState", 2);
7083
+ Zt = Le([
7084
+ _(Ya)
7085
+ ], Zt);
7086
+ var Ga = Object.defineProperty, Qa = Object.getOwnPropertyDescriptor, Ee = (r, t, s, i) => {
7033
7087
  for (var e = i > 1 ? void 0 : i ? Qa(t, s) : t, o = r.length - 1, n; o >= 0; o--)
7034
7088
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
7035
- return i && e && Ya(t, s, e), e;
7089
+ return i && e && Ga(t, s, e), e;
7036
7090
  };
7037
7091
  const Ja = "sonic-progress";
7038
- let Zt = class extends y {
7092
+ let Yt = class extends w {
7039
7093
  constructor() {
7040
7094
  super(...arguments), this.max = 100, this.invert = !1, this.type = "default";
7041
7095
  }
@@ -7049,8 +7103,8 @@ let Zt = class extends y {
7049
7103
  `;
7050
7104
  }
7051
7105
  };
7052
- Zt.styles = [
7053
- Lt,
7106
+ Yt.styles = [
7107
+ Et,
7054
7108
  P`
7055
7109
  :host {
7056
7110
  --sc-progress-bg: var(--sc-input-bg, var(--sc-base-100, #f5f5f5));
@@ -7163,22 +7217,22 @@ Zt.styles = [
7163
7217
  ];
7164
7218
  Ee([
7165
7219
  a({ type: Number })
7166
- ], Zt.prototype, "value", 2);
7220
+ ], Yt.prototype, "value", 2);
7167
7221
  Ee([
7168
7222
  a({ type: Number })
7169
- ], Zt.prototype, "max", 2);
7223
+ ], Yt.prototype, "max", 2);
7170
7224
  Ee([
7171
7225
  a({ type: Boolean })
7172
- ], Zt.prototype, "invert", 2);
7226
+ ], Yt.prototype, "invert", 2);
7173
7227
  Ee([
7174
7228
  a({ type: String, reflect: !0 })
7175
- ], Zt.prototype, "type", 2);
7229
+ ], Yt.prototype, "type", 2);
7176
7230
  Ee([
7177
7231
  a({ type: String, reflect: !0 })
7178
- ], Zt.prototype, "size", 2);
7179
- Zt = Ee([
7232
+ ], Yt.prototype, "size", 2);
7233
+ Yt = Ee([
7180
7234
  _(Ja)
7181
- ], Zt);
7235
+ ], Yt);
7182
7236
  const Xa = P`
7183
7237
  .password-toggle {
7184
7238
  color: var(--sc-input-c);
@@ -7593,13 +7647,13 @@ const yi = ve(class extends Oe {
7593
7647
  return gt;
7594
7648
  }
7595
7649
  });
7596
- var tl = Object.defineProperty, el = Object.getOwnPropertyDescriptor, B = (r, t, s, i) => {
7650
+ var tl = Object.defineProperty, el = Object.getOwnPropertyDescriptor, q = (r, t, s, i) => {
7597
7651
  for (var e = i > 1 ? void 0 : i ? el(t, s) : t, o = r.length - 1, n; o >= 0; o--)
7598
7652
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
7599
7653
  return i && e && tl(t, s, e), e;
7600
7654
  };
7601
7655
  const sl = "sonic-input";
7602
- let F = class extends Os(De(Y(y))) {
7656
+ let U = class extends Os(De(G(w))) {
7603
7657
  constructor() {
7604
7658
  super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
7605
7659
  }
@@ -7725,14 +7779,14 @@ let F = class extends Os(De(Y(y))) {
7725
7779
  name="description"
7726
7780
  @slotchange=${this.hasSlotOrProps}
7727
7781
  class="${this.hasDescription ? "form-description" : "hidden"}"
7728
- >${this.description ? g`${z(this.description)}` : $}</slot>
7782
+ >${this.description ? g`${z(this.description)}` : C}</slot>
7729
7783
  <slot name="list"></slot>
7730
7784
  </div>
7731
7785
  `;
7732
7786
  }
7733
7787
  };
7734
- F.styles = [
7735
- Lt,
7788
+ U.styles = [
7789
+ Et,
7736
7790
  vi,
7737
7791
  Ds,
7738
7792
  ks,
@@ -7747,88 +7801,88 @@ F.styles = [
7747
7801
  }
7748
7802
  `
7749
7803
  ];
7750
- B([
7804
+ q([
7751
7805
  a({ type: String, reflect: !0 })
7752
- ], F.prototype, "size", 2);
7753
- B([
7806
+ ], U.prototype, "size", 2);
7807
+ q([
7754
7808
  a({ type: String })
7755
- ], F.prototype, "list", 2);
7756
- B([
7809
+ ], U.prototype, "list", 2);
7810
+ q([
7757
7811
  a({ type: String })
7758
- ], F.prototype, "placeholder", 2);
7759
- B([
7812
+ ], U.prototype, "placeholder", 2);
7813
+ q([
7760
7814
  a({ type: String })
7761
- ], F.prototype, "pattern", 2);
7762
- B([
7815
+ ], U.prototype, "pattern", 2);
7816
+ q([
7763
7817
  a({ type: String })
7764
- ], F.prototype, "min", 2);
7765
- B([
7818
+ ], U.prototype, "min", 2);
7819
+ q([
7766
7820
  a({ type: String })
7767
- ], F.prototype, "max", 2);
7768
- B([
7821
+ ], U.prototype, "max", 2);
7822
+ q([
7769
7823
  a({ type: Boolean })
7770
- ], F.prototype, "readonly", 2);
7771
- B([
7824
+ ], U.prototype, "readonly", 2);
7825
+ q([
7772
7826
  a({ type: Number })
7773
- ], F.prototype, "step", 2);
7774
- B([
7827
+ ], U.prototype, "step", 2);
7828
+ q([
7775
7829
  a({ type: Number })
7776
- ], F.prototype, "minlength", 2);
7777
- B([
7830
+ ], U.prototype, "minlength", 2);
7831
+ q([
7778
7832
  a({ type: Number })
7779
- ], F.prototype, "maxlength", 2);
7780
- B([
7833
+ ], U.prototype, "maxlength", 2);
7834
+ q([
7781
7835
  a({ type: String })
7782
- ], F.prototype, "src", 2);
7783
- B([
7836
+ ], U.prototype, "src", 2);
7837
+ q([
7784
7838
  a({ type: Boolean, reflect: !0 })
7785
- ], F.prototype, "inlineContent", 2);
7786
- B([
7839
+ ], U.prototype, "inlineContent", 2);
7840
+ q([
7787
7841
  a({ type: Boolean })
7788
- ], F.prototype, "disableInlineContentFocus", 2);
7789
- B([
7842
+ ], U.prototype, "disableInlineContentFocus", 2);
7843
+ q([
7790
7844
  a({ type: Boolean })
7791
- ], F.prototype, "showPasswordToggle", 2);
7792
- B([
7845
+ ], U.prototype, "showPasswordToggle", 2);
7846
+ q([
7793
7847
  lt({ slot: "label", flatten: !0 })
7794
- ], F.prototype, "slotLabelNodes", 2);
7795
- B([
7848
+ ], U.prototype, "slotLabelNodes", 2);
7849
+ q([
7796
7850
  lt({ slot: "description", flatten: !0 })
7797
- ], F.prototype, "slotDescriptionNodes", 2);
7798
- B([
7851
+ ], U.prototype, "slotDescriptionNodes", 2);
7852
+ q([
7799
7853
  lt({ slot: "suffix", flatten: !0 })
7800
- ], F.prototype, "slotSuffixNodes", 2);
7801
- B([
7854
+ ], U.prototype, "slotSuffixNodes", 2);
7855
+ q([
7802
7856
  lt({ slot: "prefix", flatten: !0 })
7803
- ], F.prototype, "slotPrefixNodes", 2);
7804
- B([
7857
+ ], U.prototype, "slotPrefixNodes", 2);
7858
+ q([
7805
7859
  ge("input")
7806
- ], F.prototype, "input", 2);
7807
- B([
7860
+ ], U.prototype, "input", 2);
7861
+ q([
7808
7862
  M()
7809
- ], F.prototype, "hasDescription", 2);
7810
- B([
7863
+ ], U.prototype, "hasDescription", 2);
7864
+ q([
7811
7865
  M()
7812
- ], F.prototype, "hasLabel", 2);
7813
- B([
7866
+ ], U.prototype, "hasLabel", 2);
7867
+ q([
7814
7868
  M()
7815
- ], F.prototype, "hasSuffix", 2);
7816
- B([
7869
+ ], U.prototype, "hasSuffix", 2);
7870
+ q([
7817
7871
  M()
7818
- ], F.prototype, "hasPrefix", 2);
7819
- B([
7872
+ ], U.prototype, "hasPrefix", 2);
7873
+ q([
7820
7874
  M()
7821
- ], F.prototype, "isPassword", 2);
7822
- F = B([
7875
+ ], U.prototype, "isPassword", 2);
7876
+ U = q([
7823
7877
  _(sl)
7824
- ], F);
7825
- var il = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, Jt = (r, t, s, i) => {
7878
+ ], U);
7879
+ var il = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, Xt = (r, t, s, i) => {
7826
7880
  for (var e = i > 1 ? void 0 : i ? rl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
7827
7881
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
7828
7882
  return i && e && il(t, s, e), e;
7829
7883
  };
7830
7884
  const ol = "sonic-pop";
7831
- let it = class extends y {
7885
+ let rt = class extends w {
7832
7886
  constructor() {
7833
7887
  super(...arguments), this.open = !1, this.noToggle = !1, this.inline = !1, this.shadow = "lg", this.placement = "bottom", this.positioningRuns = !1, this.lastContentX = 0, this.lastContentY = 0, this.resizeObserver = new ResizeObserver(
7834
7888
  () => this.computePosition(this.placement)
@@ -7850,7 +7904,7 @@ let it = class extends y {
7850
7904
  this.resetZindexes(), this.open = !1, this.popContent.setAttribute("tabindex", "-1"), this.positioningRuns = !1, this.dispatchEvent(new CustomEvent("hide"));
7851
7905
  }
7852
7906
  setMaxZindex() {
7853
- rt.everyAncestors(this, (r) => {
7907
+ tt.everyAncestors(this, (r) => {
7854
7908
  const t = r;
7855
7909
  if (!t.className)
7856
7910
  return !0;
@@ -7870,15 +7924,15 @@ let it = class extends y {
7870
7924
  }
7871
7925
  _handleClosePop(r) {
7872
7926
  const t = r.composedPath(), s = t[0];
7873
- it.pops.forEach((i) => {
7927
+ rt.pops.forEach((i) => {
7874
7928
  const e = t.includes(i), o = t.includes(
7875
7929
  i.querySelector('[slot="content"]')
7876
- ), n = rt.getAncestorAttributeValue(s, "data-on-select") === "keep";
7930
+ ), n = tt.getAncestorAttributeValue(s, "data-on-select") === "keep";
7877
7931
  r.type == "pointerdown" && e || r.type == "click" && (e && n || !o) || i.hide();
7878
7932
  });
7879
7933
  }
7880
7934
  connectedCallback() {
7881
- super.connectedCallback(), it.pops.size == 0 && (document.addEventListener("pointerdown", this._handleClosePop), document.addEventListener("click", this._handleClosePop)), it.pops.add(this);
7935
+ super.connectedCallback(), rt.pops.size == 0 && (document.addEventListener("pointerdown", this._handleClosePop), document.addEventListener("click", this._handleClosePop)), rt.pops.add(this);
7882
7936
  }
7883
7937
  // /*
7884
7938
  // On attends le premier rendu pour observer les changements de taille car popup content n'est pas encore défini sinon
@@ -7887,35 +7941,47 @@ let it = class extends y {
7887
7941
  super.firstUpdated(r), this.resizeObserver.observe(this.popContent);
7888
7942
  }
7889
7943
  disconnectedCallback() {
7890
- super.disconnectedCallback(), it.pops.delete(this), it.pops.size == 0 && (document.removeEventListener("pointerdown", this._handleClosePop), document.removeEventListener("click", this._handleClosePop)), this.resizeObserver.unobserve(this.popContent);
7944
+ super.disconnectedCallback(), rt.pops.delete(this), rt.pops.size == 0 && (document.removeEventListener("pointerdown", this._handleClosePop), document.removeEventListener("click", this._handleClosePop)), this.resizeObserver.unobserve(this.popContent);
7891
7945
  }
7892
7946
  computePosition(r) {
7893
- var b, w, C;
7894
- let t = (b = this.popContent) == null ? void 0 : b.getBoundingClientRect();
7895
- const s = 8, i = 5, e = this.getBoundingClientRect(), o = e.left, n = e.top;
7896
- let l = o, c = n;
7897
- const h = n - t.height - s, d = o - t.width - s, f = o + e.width + s, m = n + e.height + s;
7898
- switch (r) {
7947
+ var L, F, B, Ct;
7948
+ const t = r.split(" "), s = t[0];
7949
+ let i = t[1], e = (L = this.popContent) == null ? void 0 : L.getBoundingClientRect();
7950
+ const o = 5, n = this.getBoundingClientRect(), l = tt.getScrollableAncestor(
7951
+ this.popContent
7952
+ ), 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(
7953
+ window.innerWidth,
7954
+ (c == null ? void 0 : c.right) || window.innerWidth
7955
+ ) - o, m = Math.min(
7956
+ window.innerHeight,
7957
+ (c == null ? void 0 : c.bottom) || window.innerHeight
7958
+ ) - o, b = n.left, y = n.top;
7959
+ let $ = b, S = y;
7960
+ const D = y - e.height, p = b - e.width, u = b + n.width, v = y + n.height, A = b + (n.width - e.width) * 0.5, O = y + (n.height - e.height) * 0.5;
7961
+ switch (s) {
7899
7962
  case "bottom":
7900
- c = m;
7963
+ S = v, i == "center" && ($ = A);
7901
7964
  break;
7902
7965
  case "top":
7903
- c = h;
7966
+ S = D, i == "center" && ($ = A);
7904
7967
  break;
7905
7968
  case "left":
7906
- l = d;
7969
+ $ = p, i == "center" && (S = O);
7907
7970
  break;
7908
7971
  case "right":
7909
- l = f;
7972
+ $ = u, i == "center" && (S = O);
7910
7973
  break;
7911
7974
  }
7912
- this.lastContentX += l - t.x, this.lastContentY += c - t.y, Object.assign(this.popContent.style, {
7975
+ this.lastContentX += $ - e.x, this.lastContentY += S - e.y, Object.assign(this.popContent.style, {
7976
+ left: `${this.lastContentX}px`,
7977
+ top: `${this.lastContentY}px`
7978
+ }), e = (F = this.popContent) == null ? void 0 : F.getBoundingClientRect(), e.x < h && s == "left" && ($ = u), e.y < d && s == "top" && (S = v), e.x + e.width > f && s == "right" && ($ = p), e.y + e.height > m && s == "bottom" && (S = D), this.lastContentX += $ - e.x, this.lastContentY += S - e.y, Object.assign(this.popContent.style, {
7913
7979
  left: `${this.lastContentX}px`,
7914
7980
  top: `${this.lastContentY}px`
7915
- }), t = (w = this.popContent) == null ? void 0 : w.getBoundingClientRect(), t.x < i && r == "left" && (l = f), t.y < i && r == "top" && (c = m), t.x + t.width > window.innerWidth - i && r == "right" && (l = d), t.y + t.height > window.innerHeight - i && r == "bottom" && (c = h), this.lastContentX += l - t.x, this.lastContentY += c - t.y, Object.assign(this.popContent.style, {
7981
+ }), e = (B = this.popContent) == null ? void 0 : B.getBoundingClientRect(), e.x < h && (this.lastContentX += h - e.x), e.y < d && (this.lastContentY += d - e.y), Object.assign(this.popContent.style, {
7916
7982
  left: `${this.lastContentX}px`,
7917
7983
  top: `${this.lastContentY}px`
7918
- }), t = (C = this.popContent) == null ? void 0 : C.getBoundingClientRect(), t.x < 0 && (this.lastContentX += -t.x), t.y < 0 && (this.lastContentY += -t.y), t.x + t.width > window.innerWidth && (this.lastContentX += window.innerWidth - (t.x + t.width)), t.y + t.height > window.innerHeight && (this.lastContentY += window.innerHeight - (t.y + t.height)), Object.assign(this.popContent.style, {
7984
+ }), e = (Ct = this.popContent) == null ? void 0 : Ct.getBoundingClientRect(), e.x + e.width > f && (this.lastContentX += f - (e.x + e.width)), e.y + e.height > m && (this.lastContentY += m - (e.y + e.height)), Object.assign(this.popContent.style, {
7919
7985
  left: `${this.lastContentX}px`,
7920
7986
  top: `${this.lastContentY}px`
7921
7987
  });
@@ -7938,8 +8004,8 @@ let it = class extends y {
7938
8004
  `;
7939
8005
  }
7940
8006
  };
7941
- it.pops = /* @__PURE__ */ new Set();
7942
- it.styles = [
8007
+ rt.pops = /* @__PURE__ */ new Set();
8008
+ rt.styles = [
7943
8009
  P`
7944
8010
  :host {
7945
8011
  display: inline-block;
@@ -7993,37 +8059,37 @@ it.styles = [
7993
8059
  }
7994
8060
  `
7995
8061
  ];
7996
- Jt([
8062
+ Xt([
7997
8063
  M()
7998
- ], it.prototype, "open", 2);
7999
- Jt([
8064
+ ], rt.prototype, "open", 2);
8065
+ Xt([
8000
8066
  ge("slot:not([name=content])")
8001
- ], it.prototype, "popBtn", 2);
8002
- Jt([
8067
+ ], rt.prototype, "popBtn", 2);
8068
+ Xt([
8003
8069
  ge("slot[name=content]")
8004
- ], it.prototype, "popContent", 2);
8005
- Jt([
8070
+ ], rt.prototype, "popContent", 2);
8071
+ Xt([
8006
8072
  a({ type: Boolean })
8007
- ], it.prototype, "noToggle", 2);
8008
- Jt([
8073
+ ], rt.prototype, "noToggle", 2);
8074
+ Xt([
8009
8075
  a({ type: Boolean, reflect: !0 })
8010
- ], it.prototype, "inline", 2);
8011
- Jt([
8076
+ ], rt.prototype, "inline", 2);
8077
+ Xt([
8012
8078
  a({ type: String, reflect: !0 })
8013
- ], it.prototype, "shadow", 2);
8014
- Jt([
8079
+ ], rt.prototype, "shadow", 2);
8080
+ Xt([
8015
8081
  a({ type: String })
8016
- ], it.prototype, "placement", 2);
8017
- it = Jt([
8082
+ ], rt.prototype, "placement", 2);
8083
+ rt = Xt([
8018
8084
  _(ol)
8019
- ], it);
8085
+ ], rt);
8020
8086
  var nl = Object.defineProperty, al = Object.getOwnPropertyDescriptor, ll = (r, t, s, i) => {
8021
8087
  for (var e = i > 1 ? void 0 : i ? al(t, s) : t, o = r.length - 1, n; o >= 0; o--)
8022
8088
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
8023
8089
  return i && e && nl(t, s, e), e;
8024
8090
  };
8025
8091
  const cl = "sonic-menu-item";
8026
- let Xi = class extends T {
8092
+ let Xi = class extends j {
8027
8093
  constructor() {
8028
8094
  super();
8029
8095
  }
@@ -8072,7 +8138,7 @@ var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor, $t = (r, t
8072
8138
  return i && e && hl(t, s, e), e;
8073
8139
  };
8074
8140
  let pt = class extends ui(
8075
- xr(_r(Qt(y)))
8141
+ xr(_r(Jt(w)))
8076
8142
  ) {
8077
8143
  constructor() {
8078
8144
  super(...arguments), this.size = "md", this.placeholder = "", this.filteredFields = "", this.readonly = null, this.dataProviderExpression = "", this.key = "", this.searchParameter = "", this.propertyName = "", this.hasInputPrefix = !1, this._resizeController = new Sr(this, {}), this.searchDataProvider = "", this.initSearchDataProvider = "", this.queueDataProvider = "", this.initQueueDataProvider = "", this.lastValidSearch = "", this.updateSearchParameter = (r) => {
@@ -8199,7 +8265,7 @@ let pt = class extends ui(
8199
8265
  name="nav-arrow-down"
8200
8266
  .size=${this.size}
8201
8267
  ></sonic-icon>
8202
- ` : $}
8268
+ ` : C}
8203
8269
  </sonic-input>
8204
8270
  <sonic-menu
8205
8271
  slot="content"
@@ -8289,7 +8355,7 @@ var pl = Object.defineProperty, ul = Object.getOwnPropertyDescriptor, ht = (r, t
8289
8355
  return i && e && pl(t, s, e), e;
8290
8356
  };
8291
8357
  const fl = "sonic-password-helper";
8292
- let nt = class extends Qt(y) {
8358
+ let nt = class extends Jt(w) {
8293
8359
  constructor() {
8294
8360
  super(...arguments), this.minChars = 8, this.hasNoChar = !0, this.hasEnoughChars = !1, this.hasMinuscule = !1, this.hasMajuscule = !1, this.hasNumber = !1, this.hasSpecialChar = !1, this.wording_password_helper_decription = "Le mot de passe doit contenir au moins :", this.wording_password_helper_min_length = "8 caractères", this.wording_password_helper_lower_case = "1 minuscule", this.wording_password_helper_upper_case = "1 majuscule", this.wording_password_helper_number = "1 chiffre", this.wording_password_helper_special_char = "1 caractère spécial";
8295
8361
  }
@@ -8305,7 +8371,7 @@ let nt = class extends Qt(y) {
8305
8371
  return t ? g`<sonic-icon library="heroicons" name="face-smile"></sonic-icon>` : g`<sonic-icon library="heroicons" name="x-mark"></sonic-icon>`;
8306
8372
  }
8307
8373
  render() {
8308
- return this.hasNoChar ? $ : g`
8374
+ return this.hasNoChar ? C : g`
8309
8375
  <div>${this.wording_password_helper_decription}</div>
8310
8376
  <div>${this.getIcon(this.hasEnoughChars)} ${this.wording_password_helper_min_length}</div>
8311
8377
  <div>${this.getIcon(this.hasMinuscule)} ${this.wording_password_helper_lower_case}</div>
@@ -8366,7 +8432,7 @@ var gl = Object.defineProperty, ml = Object.getOwnPropertyDescriptor, we = (r, t
8366
8432
  return i && e && gl(t, s, e), e;
8367
8433
  };
8368
8434
  const bl = "sonic-same-value-helper";
8369
- let Gt = class extends Qt(y) {
8435
+ let Gt = class extends Jt(w) {
8370
8436
  constructor() {
8371
8437
  super(...arguments), this.descriptionWhenEqual = "Correspondance : oui", this.descriptionWhenNotEqual = "Correspondance : non", this.areEqual = !1, this.hasNoChar = !0;
8372
8438
  }
@@ -8386,7 +8452,7 @@ let Gt = class extends Qt(y) {
8386
8452
  }
8387
8453
  //TODO Multilangue
8388
8454
  render() {
8389
- return this.hasNoChar ? $ : g`
8455
+ return this.hasNoChar ? C : g`
8390
8456
  <span> ${this.areEqual ? z(this.descriptionWhenEqual) : z(this.descriptionWhenNotEqual)} </span>
8391
8457
  `;
8392
8458
  }
@@ -8412,14 +8478,14 @@ we([
8412
8478
  Gt = we([
8413
8479
  _(bl)
8414
8480
  ], Gt);
8415
- var vl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, Ut = (r, t, s, i) => {
8481
+ var vl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, Vt = (r, t, s, i) => {
8416
8482
  for (var e = i > 1 ? void 0 : i ? yl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
8417
8483
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
8418
8484
  return i && e && vl(t, s, e), e;
8419
8485
  };
8420
8486
  const wl = "sonic-checkbox";
8421
8487
  let mt = class extends di(
8422
- Os(De(Y(y)))
8488
+ Os(De(G(w)))
8423
8489
  ) {
8424
8490
  constructor() {
8425
8491
  super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
@@ -8470,7 +8536,7 @@ let mt = class extends di(
8470
8536
  }
8471
8537
  };
8472
8538
  mt.styles = [
8473
- Lt,
8539
+ Et,
8474
8540
  P`
8475
8541
  :host {
8476
8542
  --sc-checkbox-border-width: var(--sc-form-border-width);
@@ -8599,31 +8665,31 @@ mt.styles = [
8599
8665
  */
8600
8666
  `
8601
8667
  ];
8602
- Ut([
8668
+ Vt([
8603
8669
  a({ type: Boolean, reflect: !0 })
8604
8670
  ], mt.prototype, "touched", 2);
8605
- Ut([
8671
+ Vt([
8606
8672
  a({ type: String })
8607
8673
  ], mt.prototype, "iconName", 2);
8608
- Ut([
8674
+ Vt([
8609
8675
  a({ type: String })
8610
8676
  ], mt.prototype, "indeterminateIconName", 2);
8611
- Ut([
8677
+ Vt([
8612
8678
  a({ type: Boolean })
8613
8679
  ], mt.prototype, "showAsIndeterminate", 2);
8614
- Ut([
8680
+ Vt([
8615
8681
  a({ type: Boolean })
8616
8682
  ], mt.prototype, "hasDescription", 2);
8617
- Ut([
8683
+ Vt([
8618
8684
  a({ type: Boolean })
8619
8685
  ], mt.prototype, "hasLabel", 2);
8620
- Ut([
8686
+ Vt([
8621
8687
  lt({ flatten: !0 })
8622
8688
  ], mt.prototype, "slotLabelNodes", 2);
8623
- Ut([
8689
+ Vt([
8624
8690
  lt({ slot: "description", flatten: !0 })
8625
8691
  ], mt.prototype, "slotDescriptionNodes", 2);
8626
- mt = Ut([
8692
+ mt = Vt([
8627
8693
  _(wl)
8628
8694
  ], mt);
8629
8695
  var _l = Object.defineProperty, xl = Object.getOwnPropertyDescriptor, Pl = (r, t, s, i) => {
@@ -8667,7 +8733,7 @@ var Cl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, Q = (r, t,
8667
8733
  return i && e && Cl(t, s, e), e;
8668
8734
  };
8669
8735
  const Sl = "sonic-select";
8670
- let K = class extends De(Y(y)) {
8736
+ let K = class extends De(G(w)) {
8671
8737
  constructor() {
8672
8738
  super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
8673
8739
  const r = this.querySelectorAll(
@@ -8804,7 +8870,7 @@ let K = class extends De(Y(y)) {
8804
8870
  }
8805
8871
  };
8806
8872
  K.styles = [
8807
- Lt,
8873
+ Et,
8808
8874
  vi,
8809
8875
  Ds,
8810
8876
  ks,
@@ -8921,9 +8987,9 @@ var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, ut = (r, t
8921
8987
  return i && e && Ol(t, s, e), e;
8922
8988
  };
8923
8989
  const kl = "sonic-textarea";
8924
- let at = class extends Os(De(Y(y))) {
8990
+ let at = class extends Os(De(G(w))) {
8925
8991
  constructor() {
8926
- super(...arguments), this.size = "", this.readonly = !1, this.hasDescription = !1, this.hasLabel = !1;
8992
+ super(...arguments), this.size = "md", this.readonly = !1, this.hasDescription = !1, this.hasLabel = !1;
8927
8993
  }
8928
8994
  connectedCallback() {
8929
8995
  super.connectedCallback(), this.hasSlotOrProps();
@@ -9000,7 +9066,7 @@ ${this.value}</textarea
9000
9066
  }
9001
9067
  };
9002
9068
  at.styles = [
9003
- Lt,
9069
+ Et,
9004
9070
  vi,
9005
9071
  Ds,
9006
9072
  ks,
@@ -9059,7 +9125,7 @@ var Ll = Object.defineProperty, El = Object.getOwnPropertyDescriptor, Nl = (r, t
9059
9125
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
9060
9126
  return i && e && Ll(t, s, e), e;
9061
9127
  };
9062
- let Zs = class extends y {
9128
+ let Zs = class extends w {
9063
9129
  render() {
9064
9130
  return g`<slot></slot>`;
9065
9131
  }
@@ -9086,7 +9152,7 @@ var Tl = Object.defineProperty, jl = Object.getOwnPropertyDescriptor, _e = (r, t
9086
9152
  return i && e && Tl(t, s, e), e;
9087
9153
  };
9088
9154
  const Ml = "sonic-legend";
9089
- let Rt = class extends y {
9155
+ let Rt = class extends w {
9090
9156
  constructor() {
9091
9157
  super(...arguments), this.forceAutoFill = !1;
9092
9158
  }
@@ -9176,13 +9242,13 @@ _e([
9176
9242
  Rt = _e([
9177
9243
  _(Ml)
9178
9244
  ], Rt);
9179
- var Il = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, Nt = (r, t, s, i) => {
9245
+ var Il = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, Tt = (r, t, s, i) => {
9180
9246
  for (var e = i > 1 ? void 0 : i ? zl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
9181
9247
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
9182
9248
  return i && e && Il(t, s, e), e;
9183
9249
  };
9184
- const Rl = "sonic-fieldset";
9185
- let wt = class extends Y(y) {
9250
+ const Fl = "sonic-fieldset";
9251
+ let wt = class extends G(w) {
9186
9252
  constructor() {
9187
9253
  super(...arguments), this.disabled = !1, this.variant = "default";
9188
9254
  }
@@ -9194,7 +9260,7 @@ let wt = class extends Y(y) {
9194
9260
  iconName=${x(this.iconName)}
9195
9261
  iconPrefix=${x(this.iconPrefix)}
9196
9262
  iconLibrary=${x(this.iconLibrary)}
9197
- ></sonic-legend>` : $}
9263
+ ></sonic-legend>` : C}
9198
9264
  <slot></slot>
9199
9265
  </fieldset>`;
9200
9266
  }
@@ -9249,43 +9315,43 @@ wt.styles = [
9249
9315
  }
9250
9316
  `
9251
9317
  ];
9252
- Nt([
9318
+ Tt([
9253
9319
  a({ type: Boolean, reflect: !0 })
9254
9320
  ], wt.prototype, "disabled", 2);
9255
- Nt([
9321
+ Tt([
9256
9322
  a({ type: String })
9257
9323
  ], wt.prototype, "form", 2);
9258
- Nt([
9324
+ Tt([
9259
9325
  a({ type: String })
9260
9326
  ], wt.prototype, "label", 2);
9261
- Nt([
9327
+ Tt([
9262
9328
  a({ type: String })
9263
9329
  ], wt.prototype, "description", 2);
9264
- Nt([
9330
+ Tt([
9265
9331
  a({ type: String })
9266
9332
  ], wt.prototype, "iconName", 2);
9267
- Nt([
9333
+ Tt([
9268
9334
  a({ type: String })
9269
9335
  ], wt.prototype, "iconLibrary", 2);
9270
- Nt([
9336
+ Tt([
9271
9337
  a({ type: String })
9272
9338
  ], wt.prototype, "iconPrefix", 2);
9273
- Nt([
9339
+ Tt([
9274
9340
  a({ type: Boolean, reflect: !0 })
9275
9341
  ], wt.prototype, "tight", 2);
9276
- Nt([
9342
+ Tt([
9277
9343
  a({ type: String, reflect: !0 })
9278
9344
  ], wt.prototype, "variant", 2);
9279
- wt = Nt([
9280
- _(Rl)
9345
+ wt = Tt([
9346
+ _(Fl)
9281
9347
  ], wt);
9282
- var Fl = Object.defineProperty, Ul = Object.getOwnPropertyDescriptor, wi = (r, t, s, i) => {
9348
+ var Rl = Object.defineProperty, Ul = Object.getOwnPropertyDescriptor, wi = (r, t, s, i) => {
9283
9349
  for (var e = i > 1 ? void 0 : i ? Ul(t, s) : t, o = r.length - 1, n; o >= 0; o--)
9284
9350
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
9285
- return i && e && Fl(t, s, e), e;
9351
+ return i && e && Rl(t, s, e), e;
9286
9352
  };
9287
9353
  const Vl = "sonic-form-layout";
9288
- let We = class extends Y(y) {
9354
+ let We = class extends G(w) {
9289
9355
  constructor() {
9290
9356
  super(...arguments), this._resizeController = new Sr(this, {}), this.oneFormElement = !1;
9291
9357
  }
@@ -9357,7 +9423,7 @@ var Bl = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, _i = (r, t
9357
9423
  return i && e && Bl(t, s, e), e;
9358
9424
  };
9359
9425
  const ql = "sonic-form-actions";
9360
- let Ke = class extends y {
9426
+ let Ke = class extends w {
9361
9427
  constructor() {
9362
9428
  super(...arguments), this.direction = "row", this.justify = "flex-start";
9363
9429
  }
@@ -9390,13 +9456,13 @@ _i([
9390
9456
  Ke = _i([
9391
9457
  _(ql)
9392
9458
  ], Ke);
9393
- var Wl = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor, Xt = (r, t, s, i) => {
9459
+ var Wl = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor, te = (r, t, s, i) => {
9394
9460
  for (var e = i > 1 ? void 0 : i ? Kl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
9395
9461
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
9396
9462
  return i && e && Wl(t, s, e), e;
9397
9463
  };
9398
9464
  const Zl = "sonic-group";
9399
- let Dt = class extends y {
9465
+ let kt = class extends w {
9400
9466
  constructor() {
9401
9467
  super(...arguments), this.alignItems = "center", this.hasDescription = !1, this.hasLabel = !1;
9402
9468
  }
@@ -9433,8 +9499,8 @@ let Dt = class extends y {
9433
9499
  </slot>`;
9434
9500
  }
9435
9501
  };
9436
- Dt.styles = [
9437
- Lt,
9502
+ kt.styles = [
9503
+ Et,
9438
9504
  Ds,
9439
9505
  ks,
9440
9506
  P`
@@ -9458,37 +9524,37 @@ Dt.styles = [
9458
9524
  }
9459
9525
  `
9460
9526
  ];
9461
- Xt([
9527
+ te([
9462
9528
  a({ type: String })
9463
- ], Dt.prototype, "alignItems", 2);
9464
- Xt([
9529
+ ], kt.prototype, "alignItems", 2);
9530
+ te([
9465
9531
  a({ type: String })
9466
- ], Dt.prototype, "label", 2);
9467
- Xt([
9532
+ ], kt.prototype, "label", 2);
9533
+ te([
9468
9534
  a({ type: String })
9469
- ], Dt.prototype, "description", 2);
9470
- Xt([
9535
+ ], kt.prototype, "description", 2);
9536
+ te([
9471
9537
  lt({ slot: "label", flatten: !0 })
9472
- ], Dt.prototype, "slotLabelNodes", 2);
9473
- Xt([
9538
+ ], kt.prototype, "slotLabelNodes", 2);
9539
+ te([
9474
9540
  lt({ slot: "description", flatten: !0 })
9475
- ], Dt.prototype, "slotDescriptionNodes", 2);
9476
- Xt([
9541
+ ], kt.prototype, "slotDescriptionNodes", 2);
9542
+ te([
9477
9543
  M()
9478
- ], Dt.prototype, "hasDescription", 2);
9479
- Xt([
9544
+ ], kt.prototype, "hasDescription", 2);
9545
+ te([
9480
9546
  M()
9481
- ], Dt.prototype, "hasLabel", 2);
9482
- Dt = Xt([
9547
+ ], kt.prototype, "hasLabel", 2);
9548
+ kt = te([
9483
9549
  _(Zl)
9484
- ], Dt);
9485
- var Gl = Object.defineProperty, Yl = Object.getOwnPropertyDescriptor, Tt = (r, t, s, i) => {
9486
- for (var e = i > 1 ? void 0 : i ? Yl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
9550
+ ], kt);
9551
+ var Yl = Object.defineProperty, Gl = Object.getOwnPropertyDescriptor, jt = (r, t, s, i) => {
9552
+ for (var e = i > 1 ? void 0 : i ? Gl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
9487
9553
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
9488
- return i && e && Gl(t, s, e), e;
9554
+ return i && e && Yl(t, s, e), e;
9489
9555
  };
9490
9556
  const Ql = "sonic-image";
9491
- let _t = class extends y {
9557
+ let _t = class extends w {
9492
9558
  constructor() {
9493
9559
  super(...arguments), this.rounded = "none", this.src = "", this.alt = "", this.loading = "lazy", this.ratio = "auto", this.objectPosition = "center center", this.imageRendering = "auto", this.cover = !1;
9494
9560
  }
@@ -9593,34 +9659,34 @@ _t.styles = [
9593
9659
  }
9594
9660
  `
9595
9661
  ];
9596
- Tt([
9662
+ jt([
9597
9663
  a({ type: String })
9598
9664
  ], _t.prototype, "rounded", 2);
9599
- Tt([
9665
+ jt([
9600
9666
  a({ type: String })
9601
9667
  ], _t.prototype, "src", 2);
9602
- Tt([
9668
+ jt([
9603
9669
  a({ type: String })
9604
9670
  ], _t.prototype, "alt", 2);
9605
- Tt([
9671
+ jt([
9606
9672
  a({ type: String })
9607
9673
  ], _t.prototype, "loading", 2);
9608
- Tt([
9674
+ jt([
9609
9675
  a({ type: String, reflect: !0 })
9610
9676
  ], _t.prototype, "transition", 2);
9611
- Tt([
9677
+ jt([
9612
9678
  a({ type: String })
9613
9679
  ], _t.prototype, "ratio", 2);
9614
- Tt([
9680
+ jt([
9615
9681
  a({ type: String })
9616
9682
  ], _t.prototype, "objectPosition", 2);
9617
- Tt([
9683
+ jt([
9618
9684
  a({ type: String })
9619
9685
  ], _t.prototype, "imageRendering", 2);
9620
- Tt([
9686
+ jt([
9621
9687
  a({ type: Boolean, reflect: !0 })
9622
9688
  ], _t.prototype, "cover", 2);
9623
- _t = Tt([
9689
+ _t = jt([
9624
9690
  _(Ql)
9625
9691
  ], _t);
9626
9692
  var Jl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, vt = (r, t, s, i) => {
@@ -9629,7 +9695,7 @@ var Jl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, vt = (r, t
9629
9695
  return i && e && Jl(t, s, e), e;
9630
9696
  };
9631
9697
  const tc = "sonic-menu";
9632
- let ct = class extends y {
9698
+ let ct = class extends w {
9633
9699
  constructor() {
9634
9700
  super(...arguments), this.direction = "column", this.gap = "var(--sc-menu-gap)", this.align = "left", this.shadow = null, this.moreShape = "circle", this.scrollable = !1, this.observer = null, this.minWidth = "0", this.hasMoreElements = !1, this.updateIsScollable = () => {
9635
9701
  this.scrollable && (this.initScrollable(), this.setScrollShadow(this, this.direction));
@@ -9904,7 +9970,7 @@ var ec = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, Or = (r, t
9904
9970
  return i && e && ec(t, s, e), e;
9905
9971
  };
9906
9972
  const ic = "sonic-modal-actions";
9907
- let xs = class extends y {
9973
+ let xs = class extends w {
9908
9974
  firstUpdated(r) {
9909
9975
  var t;
9910
9976
  (t = this.buttons) == null || t.forEach((s) => {
@@ -9945,14 +10011,14 @@ var rc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, Dr = (r, t
9945
10011
  return i && e && rc(t, s, e), e;
9946
10012
  };
9947
10013
  const nc = "sonic-modal-close";
9948
- let Ps = class extends y {
10014
+ let Ps = class extends w {
9949
10015
  render() {
9950
10016
  return g`<sonic-button reset=${x(this.reset)} shape="circle" @click=${this.handleClick}
9951
10017
  ><sonic-icon name="cancel" size="lg"></sonic-icon
9952
10018
  ></sonic-button>`;
9953
10019
  }
9954
10020
  handleClick() {
9955
- rt.getClosestElement(this, "sonic-modal").hide();
10021
+ tt.getClosestElement(this, "sonic-modal").hide();
9956
10022
  }
9957
10023
  };
9958
10024
  Ps.styles = [
@@ -9981,12 +10047,12 @@ var ac = Object.defineProperty, lc = Object.getOwnPropertyDescriptor, cc = (r, t
9981
10047
  return i && e && ac(t, s, e), e;
9982
10048
  };
9983
10049
  const hc = "sonic-modal-content";
9984
- let Gs = class extends y {
10050
+ let Ys = class extends w {
9985
10051
  render() {
9986
10052
  return g`<slot></slot>`;
9987
10053
  }
9988
10054
  };
9989
- Gs.styles = [
10055
+ Ys.styles = [
9990
10056
  P`
9991
10057
  :host {
9992
10058
  display: block;
@@ -9994,21 +10060,21 @@ Gs.styles = [
9994
10060
  }
9995
10061
  `
9996
10062
  ];
9997
- Gs = cc([
10063
+ Ys = cc([
9998
10064
  _(hc)
9999
- ], Gs);
10065
+ ], Ys);
10000
10066
  var dc = Object.defineProperty, pc = Object.getOwnPropertyDescriptor, uc = (r, t, s, i) => {
10001
10067
  for (var e = i > 1 ? void 0 : i ? pc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10002
10068
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10003
10069
  return i && e && dc(t, s, e), e;
10004
10070
  };
10005
10071
  const fc = "sonic-modal-subtitle";
10006
- let Ys = class extends y {
10072
+ let Gs = class extends w {
10007
10073
  render() {
10008
10074
  return g`<slot></slot>`;
10009
10075
  }
10010
10076
  };
10011
- Ys.styles = [
10077
+ Gs.styles = [
10012
10078
  P`
10013
10079
  :host {
10014
10080
  font-size: 1.1rem;
@@ -10020,16 +10086,16 @@ Ys.styles = [
10020
10086
  }
10021
10087
  `
10022
10088
  ];
10023
- Ys = uc([
10089
+ Gs = uc([
10024
10090
  _(fc)
10025
- ], Ys);
10091
+ ], Gs);
10026
10092
  var gc = Object.defineProperty, mc = Object.getOwnPropertyDescriptor, bc = (r, t, s, i) => {
10027
10093
  for (var e = i > 1 ? void 0 : i ? mc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10028
10094
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10029
10095
  return i && e && gc(t, s, e), e;
10030
10096
  };
10031
10097
  const vc = "sonic-modal-title";
10032
- let Qs = class extends y {
10098
+ let Qs = class extends w {
10033
10099
  render() {
10034
10100
  return g`<slot></slot>`;
10035
10101
  }
@@ -10048,13 +10114,13 @@ Qs.styles = [
10048
10114
  Qs = bc([
10049
10115
  _(vc)
10050
10116
  ], Qs);
10051
- var yc = Object.defineProperty, wc = Object.getOwnPropertyDescriptor, tt = (r, t, s, i) => {
10117
+ var yc = Object.defineProperty, wc = Object.getOwnPropertyDescriptor, et = (r, t, s, i) => {
10052
10118
  for (var e = i > 1 ? void 0 : i ? wc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10053
10119
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10054
10120
  return i && e && yc(t, s, e), e;
10055
10121
  };
10056
10122
  const kr = "sonic-modal";
10057
- let R = class extends Y(y) {
10123
+ let R = class extends G(w) {
10058
10124
  constructor() {
10059
10125
  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;
10060
10126
  }
@@ -10086,7 +10152,7 @@ let R = class extends Y(y) {
10086
10152
  render() {
10087
10153
  var s;
10088
10154
  if (this.visible == !1)
10089
- return $;
10155
+ return C;
10090
10156
  const r = {
10091
10157
  padding: this.padding,
10092
10158
  maxWidth: this.maxWidth,
@@ -10124,7 +10190,7 @@ let R = class extends Y(y) {
10124
10190
  })}
10125
10191
  >
10126
10192
  <div class="modal-content">
10127
- ${(s = this.options) != null && s.forceAction ? $ : g`<sonic-modal-close></sonic-modal-close>`} ${this.modalFragment("title")}
10193
+ ${(s = this.options) != null && s.forceAction ? C : g`<sonic-modal-close></sonic-modal-close>`} ${this.modalFragment("title")}
10128
10194
  ${this.modalFragment("subtitle")} ${this.modalFragment("content")} ${this.modalFragment("actions")}
10129
10195
 
10130
10196
  <slot></slot>
@@ -10147,7 +10213,7 @@ let R = class extends Y(y) {
10147
10213
  var i;
10148
10214
  const t = (i = this.options) == null ? void 0 : i[r];
10149
10215
  if (!t)
10150
- return $;
10216
+ return C;
10151
10217
  let s;
10152
10218
  switch (t instanceof Object ? s = t : s = z(t), r) {
10153
10219
  case "title":
@@ -10159,7 +10225,7 @@ let R = class extends Y(y) {
10159
10225
  case "actions":
10160
10226
  return g`<sonic-modal-actions>${s}</sonic-modal-actions>`;
10161
10227
  default:
10162
- return $;
10228
+ return C;
10163
10229
  }
10164
10230
  }
10165
10231
  show() {
@@ -10307,59 +10373,59 @@ R.styles = [
10307
10373
  `
10308
10374
  ];
10309
10375
  R.modals = [];
10310
- tt([
10376
+ et([
10311
10377
  a({ type: Boolean })
10312
10378
  ], R.prototype, "forceAction", 2);
10313
- tt([
10379
+ et([
10314
10380
  a({ type: Boolean })
10315
10381
  ], R.prototype, "removeOnHide", 2);
10316
- tt([
10382
+ et([
10317
10383
  a({ type: Boolean })
10318
10384
  ], R.prototype, "removeHashOnHide", 2);
10319
- tt([
10385
+ et([
10320
10386
  a({ type: String, reflect: !0 })
10321
10387
  ], R.prototype, "align", 2);
10322
- tt([
10388
+ et([
10323
10389
  a({ type: String })
10324
10390
  ], R.prototype, "padding", 2);
10325
- tt([
10391
+ et([
10326
10392
  a({ type: String })
10327
10393
  ], R.prototype, "maxWidth", 2);
10328
- tt([
10394
+ et([
10329
10395
  a({ type: String })
10330
10396
  ], R.prototype, "maxHeight", 2);
10331
- tt([
10397
+ et([
10332
10398
  a({ type: String })
10333
10399
  ], R.prototype, "width", 2);
10334
- tt([
10400
+ et([
10335
10401
  a({ type: String })
10336
10402
  ], R.prototype, "height", 2);
10337
- tt([
10403
+ et([
10338
10404
  a({ type: String })
10339
10405
  ], R.prototype, "zIndex", 2);
10340
- tt([
10406
+ et([
10341
10407
  a({ type: Object })
10342
10408
  ], R.prototype, "options", 2);
10343
- tt([
10409
+ et([
10344
10410
  a({ type: Boolean, reflect: !0 })
10345
10411
  ], R.prototype, "fullScreen", 2);
10346
- tt([
10412
+ et([
10347
10413
  a({ type: Boolean, reflect: !0 })
10348
10414
  ], R.prototype, "visible", 2);
10349
- tt([
10415
+ et([
10350
10416
  ge(".modal-wrapper")
10351
10417
  ], R.prototype, "modalWrapper", 2);
10352
- tt([
10418
+ et([
10353
10419
  ge(".modal")
10354
10420
  ], R.prototype, "modalElement", 2);
10355
- tt([
10421
+ et([
10356
10422
  me({ selector: "sonic-modal-close" })
10357
10423
  ], R.prototype, "closeBtn", 2);
10358
- R = tt([
10424
+ R = et([
10359
10425
  _(kr)
10360
10426
  ], R);
10361
10427
  typeof window < "u" && (window.SonicModal = R);
10362
- var _c = Object.defineProperty, xc = Object.getOwnPropertyDescriptor, jt = (r, t, s, i) => {
10428
+ var _c = Object.defineProperty, xc = Object.getOwnPropertyDescriptor, Mt = (r, t, s, i) => {
10363
10429
  for (var e = i > 1 ? void 0 : i ? xc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10364
10430
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10365
10431
  return i && e && _c(t, s, e), e;
@@ -10371,7 +10437,7 @@ const Pc = {
10371
10437
  info: "info-empty",
10372
10438
  default: "info-empty"
10373
10439
  }, $c = "sonic-alert";
10374
- let xt = class extends y {
10440
+ let xt = class extends w {
10375
10441
  constructor() {
10376
10442
  super(...arguments), this.label = "", this.noIcon = !1, this.text = "", this.id = (/* @__PURE__ */ new Date()).getTime().toString(), this.dismissible = !1, this.background = !1, this.status = "default", this.dismissForever = !1;
10377
10443
  }
@@ -10379,19 +10445,19 @@ let xt = class extends y {
10379
10445
  if (this.dismissForever) {
10380
10446
  const r = localStorage.getItem("sonic-alert-dismissed") || "{}";
10381
10447
  if (JSON.parse(r)[this.id])
10382
- return $;
10448
+ return C;
10383
10449
  }
10384
10450
  return g`<div part="alert" class="alert">
10385
- <slot name="icon" class="${this.noIcon ? "hidden" : $}"
10386
- >${this.noIcon ? $ : g`<div>${this.status && g`<sonic-icon name=${Pc[this.status]}></sonic-icon>`}</div>`}</slot
10451
+ <slot name="icon" class="${this.noIcon ? "hidden" : C}"
10452
+ >${this.noIcon ? C : g`<div>${this.status && g`<sonic-icon name=${Pc[this.status]}></sonic-icon>`}</div>`}</slot
10387
10453
  >
10388
10454
  <div>
10389
- ${this.label ? g`<span class="label">${z(this.label)}</span>` : $}
10455
+ ${this.label ? g`<span class="label">${z(this.label)}</span>` : C}
10390
10456
  <div>${this.text}<slot></slot></div>
10391
10457
  </div>
10392
10458
  ${this.dismissible ? g`<sonic-button @click=${this.close} class="close-btn" variant="unstyled" shape="circle">
10393
10459
  <sonic-icon name="cancel" size="lg"></sonic-icon>
10394
- </sonic-button>` : $}
10460
+ </sonic-button>` : C}
10395
10461
  </div>`;
10396
10462
  }
10397
10463
  close() {
@@ -10402,7 +10468,7 @@ let xt = class extends y {
10402
10468
  }
10403
10469
  };
10404
10470
  xt.styles = [
10405
- Lt,
10471
+ Et,
10406
10472
  P`
10407
10473
  :host {
10408
10474
  --sc-alert-color: var(--sc-base-content);
@@ -10497,34 +10563,34 @@ xt.styles = [
10497
10563
  }
10498
10564
  `
10499
10565
  ];
10500
- jt([
10566
+ Mt([
10501
10567
  a({ type: String })
10502
10568
  ], xt.prototype, "label", 2);
10503
- jt([
10569
+ Mt([
10504
10570
  a({ type: Boolean, reflect: !0 })
10505
10571
  ], xt.prototype, "noIcon", 2);
10506
- jt([
10572
+ Mt([
10507
10573
  a({ type: String })
10508
10574
  ], xt.prototype, "text", 2);
10509
- jt([
10575
+ Mt([
10510
10576
  a({ type: String })
10511
10577
  ], xt.prototype, "id", 2);
10512
- jt([
10578
+ Mt([
10513
10579
  a({ type: String, reflect: !0 })
10514
10580
  ], xt.prototype, "size", 2);
10515
- jt([
10581
+ Mt([
10516
10582
  a({ type: Boolean, reflect: !0 })
10517
10583
  ], xt.prototype, "dismissible", 2);
10518
- jt([
10584
+ Mt([
10519
10585
  a({ type: Boolean, reflect: !0 })
10520
10586
  ], xt.prototype, "background", 2);
10521
- jt([
10587
+ Mt([
10522
10588
  a({ type: String, reflect: !0 })
10523
10589
  ], xt.prototype, "status", 2);
10524
- jt([
10590
+ Mt([
10525
10591
  a({ type: Boolean, reflect: !0 })
10526
10592
  ], xt.prototype, "dismissForever", 2);
10527
- xt = jt([
10593
+ xt = Mt([
10528
10594
  _($c)
10529
10595
  ], xt);
10530
10596
  var Cc = Object.defineProperty, Ac = Object.getOwnPropertyDescriptor, Lr = (r, t, s, i) => {
@@ -10533,7 +10599,7 @@ var Cc = Object.defineProperty, Ac = Object.getOwnPropertyDescriptor, Lr = (r, t
10533
10599
  return i && e && Cc(t, s, e), e;
10534
10600
  };
10535
10601
  const Sc = "sonic-toast-message-subscriber";
10536
- let Js = class extends Y(y) {
10602
+ let Js = class extends G(w) {
10537
10603
  constructor() {
10538
10604
  super(...arguments), this._messages = [];
10539
10605
  }
@@ -10542,11 +10608,11 @@ let Js = class extends Y(y) {
10542
10608
  }
10543
10609
  set messages(r) {
10544
10610
  this._messages = r, this.messages && r.forEach((t) => {
10545
- t.type == "public" && E.add({ text: t.content || "", status: t.status });
10611
+ t.type == "public" && N.add({ text: t.content || "", status: t.status });
10546
10612
  });
10547
10613
  }
10548
10614
  render() {
10549
- return $;
10615
+ return C;
10550
10616
  }
10551
10617
  };
10552
10618
  Lr([
@@ -10561,7 +10627,7 @@ var Oc = Object.defineProperty, Dc = Object.getOwnPropertyDescriptor, is = (r, t
10561
10627
  return i && e && Oc(t, s, e), e;
10562
10628
  };
10563
10629
  const kc = "sonic-tooltip";
10564
- let ue = class extends y {
10630
+ let ue = class extends w {
10565
10631
  constructor() {
10566
10632
  super(...arguments), this.label = "", this.disabled = !1, this.focusable = !1;
10567
10633
  }
@@ -10695,13 +10761,13 @@ is([
10695
10761
  ue = is([
10696
10762
  _(kc)
10697
10763
  ], ue);
10698
- var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, Mt = (r, t, s, i) => {
10764
+ var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, It = (r, t, s, i) => {
10699
10765
  for (var e = i > 1 ? void 0 : i ? Ec(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10700
10766
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10701
10767
  return i && e && Lc(t, s, e), e;
10702
10768
  };
10703
10769
  const Nc = "sonic-divider";
10704
- let Pt = class extends y {
10770
+ let Pt = class extends w {
10705
10771
  constructor() {
10706
10772
  super(...arguments), this.label = "", this.align = "center", this.vertical = !1, this.noMargin = !1, this.dashed = !1, this.dotted = !1;
10707
10773
  }
@@ -10844,34 +10910,34 @@ Pt.styles = [
10844
10910
  }
10845
10911
  `
10846
10912
  ];
10847
- Mt([
10913
+ It([
10848
10914
  lt({ flatten: !0 })
10849
10915
  ], Pt.prototype, "slotNodes", 2);
10850
- Mt([
10916
+ It([
10851
10917
  ge("div")
10852
10918
  ], Pt.prototype, "divider", 2);
10853
- Mt([
10919
+ It([
10854
10920
  a({ type: String })
10855
10921
  ], Pt.prototype, "label", 2);
10856
- Mt([
10922
+ It([
10857
10923
  a({ type: String, reflect: !0 })
10858
10924
  ], Pt.prototype, "size", 2);
10859
- Mt([
10925
+ It([
10860
10926
  a({ type: String, reflect: !0 })
10861
10927
  ], Pt.prototype, "align", 2);
10862
- Mt([
10928
+ It([
10863
10929
  a({ type: Boolean, reflect: !0 })
10864
10930
  ], Pt.prototype, "vertical", 2);
10865
- Mt([
10931
+ It([
10866
10932
  a({ type: Boolean, reflect: !0 })
10867
10933
  ], Pt.prototype, "noMargin", 2);
10868
- Mt([
10934
+ It([
10869
10935
  a({ type: Boolean, reflect: !0 })
10870
10936
  ], Pt.prototype, "dashed", 2);
10871
- Mt([
10937
+ It([
10872
10938
  a({ type: Boolean, reflect: !0 })
10873
10939
  ], Pt.prototype, "dotted", 2);
10874
- Pt = Mt([
10940
+ Pt = It([
10875
10941
  _(Nc)
10876
10942
  ], Pt);
10877
10943
  var Tc = Object.defineProperty, jc = Object.getOwnPropertyDescriptor, Mc = (r, t, s, i) => {
@@ -10880,7 +10946,7 @@ var Tc = Object.defineProperty, jc = Object.getOwnPropertyDescriptor, Mc = (r, t
10880
10946
  return i && e && Tc(t, s, e), e;
10881
10947
  };
10882
10948
  const Ic = "sonic-card-header-description";
10883
- let Xs = class extends y {
10949
+ let Xs = class extends w {
10884
10950
  render() {
10885
10951
  return g`
10886
10952
  <div>
@@ -10902,13 +10968,13 @@ Xs.styles = [
10902
10968
  Xs = Mc([
10903
10969
  _(Ic)
10904
10970
  ], Xs);
10905
- var zc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor, xi = (r, t, s, i) => {
10906
- for (var e = i > 1 ? void 0 : i ? Rc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10971
+ var zc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, xi = (r, t, s, i) => {
10972
+ for (var e = i > 1 ? void 0 : i ? Fc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10907
10973
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
10908
10974
  return i && e && zc(t, s, e), e;
10909
10975
  };
10910
- const Fc = "sonic-card-header";
10911
- let Ze = class extends y {
10976
+ const Rc = "sonic-card-header";
10977
+ let Ze = class extends w {
10912
10978
  render() {
10913
10979
  return g`
10914
10980
  <div class="header">
@@ -10965,7 +11031,7 @@ xi([
10965
11031
  a()
10966
11032
  ], Ze.prototype, "description", 2);
10967
11033
  Ze = xi([
10968
- _(Fc)
11034
+ _(Rc)
10969
11035
  ], Ze);
10970
11036
  var Uc = Object.defineProperty, Vc = Object.getOwnPropertyDescriptor, Bc = (r, t, s, i) => {
10971
11037
  for (var e = i > 1 ? void 0 : i ? Vc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
@@ -10973,7 +11039,7 @@ var Uc = Object.defineProperty, Vc = Object.getOwnPropertyDescriptor, Bc = (r, t
10973
11039
  return i && e && Uc(t, s, e), e;
10974
11040
  };
10975
11041
  const Hc = "sonic-card-main";
10976
- let tr = class extends y {
11042
+ let tr = class extends w {
10977
11043
  // static styles = [
10978
11044
  // css`
10979
11045
  // :host {
@@ -10997,7 +11063,7 @@ var qc = Object.defineProperty, Wc = Object.getOwnPropertyDescriptor, Kc = (r, t
10997
11063
  return i && e && qc(t, s, e), e;
10998
11064
  };
10999
11065
  const Zc = "sonic-card-footer";
11000
- let er = class extends y {
11066
+ let er = class extends w {
11001
11067
  // static styles = [
11002
11068
  // css`
11003
11069
  // :host {
@@ -11011,13 +11077,13 @@ let er = class extends y {
11011
11077
  er = Kc([
11012
11078
  _(Zc)
11013
11079
  ], er);
11014
- var Gc = Object.defineProperty, Yc = Object.getOwnPropertyDescriptor, Er = (r, t, s, i) => {
11015
- for (var e = i > 1 ? void 0 : i ? Yc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
11080
+ var Yc = Object.defineProperty, Gc = Object.getOwnPropertyDescriptor, Er = (r, t, s, i) => {
11081
+ for (var e = i > 1 ? void 0 : i ? Gc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
11016
11082
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
11017
- return i && e && Gc(t, s, e), e;
11083
+ return i && e && Yc(t, s, e), e;
11018
11084
  };
11019
11085
  const Qc = "sonic-card";
11020
- let $s = class extends y {
11086
+ let $s = class extends w {
11021
11087
  constructor() {
11022
11088
  super(...arguments), this.type = "default";
11023
11089
  }
@@ -11179,7 +11245,7 @@ var Jc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, rs = (r, t
11179
11245
  return i && e && Jc(t, s, e), e;
11180
11246
  };
11181
11247
  const th = "sonic-tr";
11182
- let fe = class extends Y(y) {
11248
+ let fe = class extends G(w) {
11183
11249
  constructor() {
11184
11250
  super(...arguments), this._metadata_ = {};
11185
11251
  }
@@ -11233,7 +11299,7 @@ var eh = Object.defineProperty, sh = Object.getOwnPropertyDescriptor, xe = (r, t
11233
11299
  return i && e && eh(t, s, e), e;
11234
11300
  };
11235
11301
  const ih = "sonic-th";
11236
- let Ft = class extends y {
11302
+ let Ut = class extends w {
11237
11303
  render() {
11238
11304
  const r = {
11239
11305
  textAlign: this.align,
@@ -11246,7 +11312,7 @@ let Ft = class extends y {
11246
11312
  </th> `;
11247
11313
  }
11248
11314
  };
11249
- Ft.styles = [
11315
+ Ut.styles = [
11250
11316
  Pi,
11251
11317
  P`
11252
11318
  :host {
@@ -11274,32 +11340,32 @@ Ft.styles = [
11274
11340
  ];
11275
11341
  xe([
11276
11342
  a({ type: Number })
11277
- ], Ft.prototype, "colSpan", 2);
11343
+ ], Ut.prototype, "colSpan", 2);
11278
11344
  xe([
11279
11345
  a({ type: Number })
11280
- ], Ft.prototype, "rowSpan", 2);
11346
+ ], Ut.prototype, "rowSpan", 2);
11281
11347
  xe([
11282
11348
  a({ type: String })
11283
- ], Ft.prototype, "align", 2);
11349
+ ], Ut.prototype, "align", 2);
11284
11350
  xe([
11285
11351
  a({ type: String })
11286
- ], Ft.prototype, "minWidth", 2);
11352
+ ], Ut.prototype, "minWidth", 2);
11287
11353
  xe([
11288
11354
  a({ type: String })
11289
- ], Ft.prototype, "maxWidth", 2);
11355
+ ], Ut.prototype, "maxWidth", 2);
11290
11356
  xe([
11291
11357
  a({ type: String })
11292
- ], Ft.prototype, "width", 2);
11293
- Ft = xe([
11358
+ ], Ut.prototype, "width", 2);
11359
+ Ut = xe([
11294
11360
  _(ih)
11295
- ], Ft);
11296
- var rh = Object.defineProperty, oh = Object.getOwnPropertyDescriptor, te = (r, t, s, i) => {
11361
+ ], Ut);
11362
+ var rh = Object.defineProperty, oh = Object.getOwnPropertyDescriptor, ee = (r, t, s, i) => {
11297
11363
  for (var e = i > 1 ? void 0 : i ? oh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
11298
11364
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
11299
11365
  return i && e && rh(t, s, e), e;
11300
11366
  };
11301
11367
  const nh = "sonic-td";
11302
- let kt = class extends y {
11368
+ let Lt = class extends w {
11303
11369
  render() {
11304
11370
  const r = {
11305
11371
  textAlign: this.align,
@@ -11313,7 +11379,7 @@ let kt = class extends y {
11313
11379
  </td>`;
11314
11380
  }
11315
11381
  };
11316
- kt.styles = [
11382
+ Lt.styles = [
11317
11383
  Pi,
11318
11384
  P`
11319
11385
  :host {
@@ -11330,37 +11396,37 @@ kt.styles = [
11330
11396
  }
11331
11397
  `
11332
11398
  ];
11333
- te([
11399
+ ee([
11334
11400
  a({ type: Number })
11335
- ], kt.prototype, "colSpan", 2);
11336
- te([
11401
+ ], Lt.prototype, "colSpan", 2);
11402
+ ee([
11337
11403
  a({ type: Number })
11338
- ], kt.prototype, "rowSpan", 2);
11339
- te([
11404
+ ], Lt.prototype, "rowSpan", 2);
11405
+ ee([
11340
11406
  a({ type: String })
11341
- ], kt.prototype, "align", 2);
11342
- te([
11407
+ ], Lt.prototype, "align", 2);
11408
+ ee([
11343
11409
  a({ type: String })
11344
- ], kt.prototype, "vAlign", 2);
11345
- te([
11410
+ ], Lt.prototype, "vAlign", 2);
11411
+ ee([
11346
11412
  a({ type: String })
11347
- ], kt.prototype, "minWidth", 2);
11348
- te([
11413
+ ], Lt.prototype, "minWidth", 2);
11414
+ ee([
11349
11415
  a({ type: String })
11350
- ], kt.prototype, "maxWidth", 2);
11351
- te([
11416
+ ], Lt.prototype, "maxWidth", 2);
11417
+ ee([
11352
11418
  a({ type: String })
11353
- ], kt.prototype, "width", 2);
11354
- kt = te([
11419
+ ], Lt.prototype, "width", 2);
11420
+ Lt = ee([
11355
11421
  _(nh)
11356
- ], kt);
11422
+ ], Lt);
11357
11423
  var ah = Object.defineProperty, lh = Object.getOwnPropertyDescriptor, ch = (r, t, s, i) => {
11358
11424
  for (var e = i > 1 ? void 0 : i ? lh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
11359
11425
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
11360
11426
  return i && e && ah(t, s, e), e;
11361
11427
  };
11362
11428
  const hh = "sonic-thead";
11363
- let ti = class extends y {
11429
+ let ti = class extends w {
11364
11430
  render() {
11365
11431
  return g`<slot></slot>`;
11366
11432
  }
@@ -11381,7 +11447,7 @@ var dh = Object.defineProperty, ph = Object.getOwnPropertyDescriptor, uh = (r, t
11381
11447
  return i && e && dh(t, s, e), e;
11382
11448
  };
11383
11449
  const fh = "sonic-tbody";
11384
- let ei = class extends y {
11450
+ let ei = class extends w {
11385
11451
  render() {
11386
11452
  return g`<tbody part="tbody">
11387
11453
  <slot></slot>
@@ -11416,7 +11482,7 @@ var gh = Object.defineProperty, mh = Object.getOwnPropertyDescriptor, bh = (r, t
11416
11482
  return i && e && gh(t, s, e), e;
11417
11483
  };
11418
11484
  const vh = "sonic-tfoot";
11419
- let si = class extends y {
11485
+ let si = class extends w {
11420
11486
  render() {
11421
11487
  return g`<tfoot>
11422
11488
  <slot></slot>
@@ -11439,7 +11505,7 @@ var yh = Object.defineProperty, wh = Object.getOwnPropertyDescriptor, _h = (r, t
11439
11505
  return i && e && yh(t, s, e), e;
11440
11506
  };
11441
11507
  const xh = "sonic-caption";
11442
- let ii = class extends y {
11508
+ let ii = class extends w {
11443
11509
  render() {
11444
11510
  return g`<slot></slot>`;
11445
11511
  }
@@ -11463,7 +11529,7 @@ var Ph = Object.defineProperty, $h = Object.getOwnPropertyDescriptor, Ne = (r, t
11463
11529
  return i && e && Ph(t, s, e), e;
11464
11530
  };
11465
11531
  const Ch = "sonic-table";
11466
- let Yt = class extends y {
11532
+ let Qt = class extends w {
11467
11533
  render() {
11468
11534
  const r = {
11469
11535
  maxHeight: this.maxHeight
@@ -11480,9 +11546,9 @@ let Yt = class extends y {
11480
11546
  `;
11481
11547
  }
11482
11548
  };
11483
- Yt.styles = [
11549
+ Qt.styles = [
11484
11550
  ts,
11485
- Lt,
11551
+ Et,
11486
11552
  P`
11487
11553
  :host {
11488
11554
  --sc-table-fw: var(--sc-font-weight-base);
@@ -11528,29 +11594,29 @@ Yt.styles = [
11528
11594
  ];
11529
11595
  Ne([
11530
11596
  a({ type: String, reflect: !0 })
11531
- ], Yt.prototype, "size", 2);
11597
+ ], Qt.prototype, "size", 2);
11532
11598
  Ne([
11533
11599
  a({ type: Boolean, reflect: !0 })
11534
- ], Yt.prototype, "bordered", 2);
11600
+ ], Qt.prototype, "bordered", 2);
11535
11601
  Ne([
11536
11602
  a({ type: Boolean, reflect: !0 })
11537
- ], Yt.prototype, "rounded", 2);
11603
+ ], Qt.prototype, "rounded", 2);
11538
11604
  Ne([
11539
11605
  a({ type: Boolean, reflect: !0 })
11540
- ], Yt.prototype, "noCustomScroll", 2);
11606
+ ], Qt.prototype, "noCustomScroll", 2);
11541
11607
  Ne([
11542
11608
  a({ type: String })
11543
- ], Yt.prototype, "maxHeight", 2);
11544
- Yt = Ne([
11609
+ ], Qt.prototype, "maxHeight", 2);
11610
+ Qt = Ne([
11545
11611
  _(Ch)
11546
- ], Yt);
11612
+ ], Qt);
11547
11613
  var Ah = Object.defineProperty, Sh = Object.getOwnPropertyDescriptor, Ls = (r, t, s, i) => {
11548
11614
  for (var e = i > 1 ? void 0 : i ? Sh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
11549
11615
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
11550
11616
  return i && e && Ah(t, s, e), e;
11551
11617
  };
11552
11618
  const Oh = "sonic-captcha";
11553
- let Ge = class extends Qt(y) {
11619
+ let Ye = class extends Jt(w) {
11554
11620
  constructor() {
11555
11621
  super(...arguments), this.key = "", this.action = null, this.zIndex = 9999, this.onCaptchaTokenChanged = (r) => {
11556
11622
  r == "request_token" && (this.formPublisher && (this.formPublisher.captchaToken = ""), this.requestToken());
@@ -11593,16 +11659,16 @@ let Ge = class extends Qt(y) {
11593
11659
  };
11594
11660
  Ls([
11595
11661
  a()
11596
- ], Ge.prototype, "key", 2);
11662
+ ], Ye.prototype, "key", 2);
11597
11663
  Ls([
11598
11664
  a()
11599
- ], Ge.prototype, "action", 2);
11665
+ ], Ye.prototype, "action", 2);
11600
11666
  Ls([
11601
11667
  a({ type: Number })
11602
- ], Ge.prototype, "zIndex", 2);
11603
- Ge = Ls([
11668
+ ], Ye.prototype, "zIndex", 2);
11669
+ Ye = Ls([
11604
11670
  _(Oh)
11605
- ], Ge);
11671
+ ], Ye);
11606
11672
  window.queueMicrotask = window.queueMicrotask || function(r) {
11607
11673
  Promise.resolve().then(r).catch(
11608
11674
  (t) => setTimeout(() => {
@@ -11635,7 +11701,7 @@ function Lh(r) {
11635
11701
  return function() {
11636
11702
  };
11637
11703
  const s = t.shift() || "";
11638
- let i = N.get(s);
11704
+ let i = T.get(s);
11639
11705
  return i = Je.traverse(i, t), function(e, o) {
11640
11706
  if (!e)
11641
11707
  return;
@@ -11656,7 +11722,7 @@ function Eh(...r) {
11656
11722
  if (o.length == 0)
11657
11723
  continue;
11658
11724
  const n = o.shift() || "";
11659
- let l = N.get(n);
11725
+ let l = T.get(n);
11660
11726
  l = Je.traverse(l, o);
11661
11727
  const c = /* @__PURE__ */ new Set(), h = (d) => {
11662
11728
  t[i] = d, t.filter((f) => f !== null).length == r.length && c.forEach((f) => f(...t));
@@ -11689,7 +11755,7 @@ window["concorde-directives-data-provider"] = {
11689
11755
  get: co,
11690
11756
  set: po
11691
11757
  };
11692
- const Nh = E, Th = R;
11758
+ const Nh = N, Th = R;
11693
11759
  window["concorde-components"] = window["concorde-components"] || {};
11694
11760
  window["concorde-components"] = {
11695
11761
  SonicToast: Nh,