@supersoniks/concorde 3.2.4 → 3.2.6

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 (151) hide show
  1. package/README.md +163 -0
  2. package/build-infos.json +1 -1
  3. package/concorde-core.bundle.js +156 -128
  4. package/concorde-core.es.js +845 -756
  5. package/dist/concorde-core.bundle.js +156 -128
  6. package/dist/concorde-core.es.js +845 -756
  7. package/docs/assets/index-C0K6xugr.css +1 -0
  8. package/docs/assets/index-Dgl1lJQo.js +4861 -0
  9. package/docs/css/docs.css +0 -0
  10. package/docs/fonts/ClashGrotesk-Bold.eot +0 -0
  11. package/docs/fonts/ClashGrotesk-Bold.ttf +0 -0
  12. package/docs/fonts/ClashGrotesk-Bold.woff +0 -0
  13. package/docs/fonts/ClashGrotesk-Bold.woff2 +0 -0
  14. package/docs/fonts/ClashGrotesk-Extralight.eot +0 -0
  15. package/docs/fonts/ClashGrotesk-Extralight.ttf +0 -0
  16. package/docs/fonts/ClashGrotesk-Extralight.woff +0 -0
  17. package/docs/fonts/ClashGrotesk-Extralight.woff2 +0 -0
  18. package/docs/fonts/ClashGrotesk-Light.eot +0 -0
  19. package/docs/fonts/ClashGrotesk-Light.ttf +0 -0
  20. package/docs/fonts/ClashGrotesk-Light.woff +0 -0
  21. package/docs/fonts/ClashGrotesk-Light.woff2 +0 -0
  22. package/docs/fonts/ClashGrotesk-Medium.eot +0 -0
  23. package/docs/fonts/ClashGrotesk-Medium.ttf +0 -0
  24. package/docs/fonts/ClashGrotesk-Medium.woff +0 -0
  25. package/docs/fonts/ClashGrotesk-Medium.woff2 +0 -0
  26. package/docs/fonts/ClashGrotesk-Regular.eot +0 -0
  27. package/docs/fonts/ClashGrotesk-Regular.ttf +0 -0
  28. package/docs/fonts/ClashGrotesk-Regular.woff +0 -0
  29. package/docs/fonts/ClashGrotesk-Regular.woff2 +0 -0
  30. package/docs/fonts/ClashGrotesk-Semibold.eot +0 -0
  31. package/docs/fonts/ClashGrotesk-Semibold.ttf +0 -0
  32. package/docs/fonts/ClashGrotesk-Semibold.woff +0 -0
  33. package/docs/fonts/ClashGrotesk-Semibold.woff2 +0 -0
  34. package/docs/fonts/ClashGrotesk-Variable.eot +0 -0
  35. package/docs/fonts/ClashGrotesk-Variable.ttf +0 -0
  36. package/docs/fonts/ClashGrotesk-Variable.woff +0 -0
  37. package/docs/fonts/ClashGrotesk-Variable.woff2 +0 -0
  38. package/docs/img/concorde-icon.svg +5 -0
  39. package/docs/img/concorde-logo.svg +1 -0
  40. package/docs/img/concorde.png +0 -0
  41. package/docs/img/concorde_def.png +0 -0
  42. package/docs/img/concorde_seuil.png.webp +0 -0
  43. package/docs/img/concorde_seuil_invert.png +0 -0
  44. package/docs/img/paul_metrand.jpg +0 -0
  45. package/docs/img/paul_metrand_xs.jpg +0 -0
  46. package/docs/index.html +93 -0
  47. package/docs/src/core/components/functional/date/date.md +290 -0
  48. package/docs/src/core/components/functional/fetch/fetch.md +117 -0
  49. package/docs/src/core/components/functional/if/if.md +16 -0
  50. package/docs/src/core/components/functional/list/list.md +199 -0
  51. package/docs/src/core/components/functional/mix/mix.md +41 -0
  52. package/docs/src/core/components/functional/queue/queue.md +87 -0
  53. package/docs/src/core/components/functional/router/router.md +129 -0
  54. package/docs/src/core/components/functional/sdui/default-library.json +108 -0
  55. package/docs/src/core/components/functional/sdui/example.json +99 -0
  56. package/docs/src/core/components/functional/sdui/sdui.md +356 -0
  57. package/docs/src/core/components/functional/states/states.md +87 -0
  58. package/docs/src/core/components/functional/submit/submit.md +83 -0
  59. package/docs/src/core/components/functional/subscriber/subscriber.md +91 -0
  60. package/docs/src/core/components/functional/value/value.md +35 -0
  61. package/docs/src/core/components/ui/alert/alert.md +121 -0
  62. package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
  63. package/docs/src/core/components/ui/badge/badge.md +127 -0
  64. package/docs/src/core/components/ui/button/button.md +182 -0
  65. package/docs/src/core/components/ui/captcha/captcha.md +24 -0
  66. package/docs/src/core/components/ui/card/card.md +97 -0
  67. package/docs/src/core/components/ui/divider/divider.md +35 -0
  68. package/docs/src/core/components/ui/form/checkbox/checkbox.md +104 -0
  69. package/docs/src/core/components/ui/form/fieldset/fieldset.md +129 -0
  70. package/docs/src/core/components/ui/form/form-actions/form-actions.md +77 -0
  71. package/docs/src/core/components/ui/form/form-layout/form-layout.md +44 -0
  72. package/docs/src/core/components/ui/form/input/input.md +167 -0
  73. package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +131 -0
  74. package/docs/src/core/components/ui/form/radio/radio.md +84 -0
  75. package/docs/src/core/components/ui/form/select/select.md +97 -0
  76. package/docs/src/core/components/ui/form/switch/switch.md +84 -0
  77. package/docs/src/core/components/ui/form/textarea/textarea.md +65 -0
  78. package/docs/src/core/components/ui/group/group.md +75 -0
  79. package/docs/src/core/components/ui/icon/icon.md +125 -0
  80. package/docs/src/core/components/ui/icon/icons.json +1 -0
  81. package/docs/src/core/components/ui/image/image.md +107 -0
  82. package/docs/src/core/components/ui/link/link.md +43 -0
  83. package/docs/src/core/components/ui/loader/loader.md +67 -0
  84. package/docs/src/core/components/ui/menu/menu.md +288 -0
  85. package/docs/src/core/components/ui/modal/modal.md +123 -0
  86. package/docs/src/core/components/ui/pop/pop.md +96 -0
  87. package/docs/src/core/components/ui/progress/progress.md +63 -0
  88. package/docs/src/core/components/ui/table/table.md +455 -0
  89. package/docs/src/core/components/ui/tooltip/tooltip.md +82 -0
  90. package/docs/src/docs/_core-concept/overview.md +57 -0
  91. package/docs/src/docs/_core-concept/subscriber.md +76 -0
  92. package/docs/src/docs/_getting-started/concorde-outside.md +143 -0
  93. package/docs/src/docs/_getting-started/create-a-component.md +137 -0
  94. package/docs/src/docs/_getting-started/my-first-subscriber.md +174 -0
  95. package/docs/src/docs/_getting-started/pubsub.md +150 -0
  96. package/docs/src/docs/_getting-started/start.md +39 -0
  97. package/docs/src/docs/_getting-started/theming.md +91 -0
  98. package/docs/src/docs/search/docs-search.json +3917 -0
  99. package/docs/src/tag-list.json +1 -0
  100. package/docs/src/tsconfig-model.json +23 -0
  101. package/docs/src/tsconfig.json +918 -0
  102. package/docs/svg/regular/plane.svg +1 -0
  103. package/docs/svg/solid/plane.svg +1 -0
  104. package/mcp-server/COMPARISON-MCP.md +176 -0
  105. package/mcp-server/README-MCP-NODEJS.md +284 -0
  106. package/mcp-server/README-MCP.md +114 -0
  107. package/mcp-server/README.md +127 -0
  108. package/mcp-server/TECHNICAL-DOCS.md +269 -0
  109. package/mcp-server/concorde-mcp-server.js +859 -0
  110. package/mcp-server/concorde-mcp-server.py +801 -0
  111. package/mcp-server/cursor-mcp-config-advanced.json +68 -0
  112. package/mcp-server/cursor-mcp-config-nodejs.json +74 -0
  113. package/mcp-server/cursor-mcp-config.json +11 -0
  114. package/mcp-server/install-mcp-nodejs.sh +104 -0
  115. package/mcp-server/install-mcp.sh +62 -0
  116. package/mcp-server/package-lock.json +147 -0
  117. package/mcp-server/package-mcp.json +40 -0
  118. package/mcp-server/package.json +40 -0
  119. package/mcp-server/test-mcp.js +107 -0
  120. package/mcp-server/test-mcp.py +73 -0
  121. package/package.json +2 -1
  122. package/php/get-challenge.php +34 -0
  123. package/php/some-service.php +42 -0
  124. package/src/core/components/functional/fetch/fetch.md +6 -0
  125. package/src/core/components/functional/list/list.demo.ts +0 -0
  126. package/src/core/components/functional/list/list.ts +0 -0
  127. package/src/core/components/functional/queue/queue.ts +0 -0
  128. package/src/core/components/ui/captcha/altchaStyles.ts +0 -0
  129. package/src/core/components/ui/form/checkbox/checkbox.ts +6 -0
  130. package/src/core/components/ui/form/input/input.ts +0 -0
  131. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
  132. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +0 -0
  133. package/src/core/components/ui/form/radio/radio.ts +11 -1
  134. package/src/core/components/ui/form/select/select.ts +0 -0
  135. package/src/core/components/ui/icon/icon.ts +0 -0
  136. package/src/core/components/ui/icon/icons.ts +0 -0
  137. package/src/core/components/ui/modal/modal-close.ts +5 -1
  138. package/src/core/components/ui/modal/modal.ts +35 -8
  139. package/src/core/components/ui/pop/pop.ts +0 -0
  140. package/src/core/components/ui/toast/toast-item.ts +68 -2
  141. package/src/core/components/ui/toast/toast.md +166 -0
  142. package/src/core/components/ui/toast/toast.ts +1 -1
  143. package/src/core/mixins/Fetcher.ts +31 -4
  144. package/src/core/mixins/FormElement.ts +0 -0
  145. package/src/core/utils/PublisherProxy.ts +0 -0
  146. package/src/core/utils/aesCrypto.ts +0 -0
  147. package/src/docs/navigation/navigation.ts +1 -1
  148. package/src/docs/search/docs-search.json +135 -0
  149. package/src/tsconfig.tsbuildinfo +0 -0
  150. package/test-utils/TestUtils.ts +0 -0
  151. package/vite.config.mts +0 -0
@@ -1,4 +1,4 @@
1
- let J = class Lt {
1
+ let J = class Et {
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
  */
@@ -48,11 +48,11 @@ let J = class Lt {
48
48
  * Utilisée pour la configuration du wording / de la traduction ainsi que par le mixin fetcher par exemple
49
49
  */
50
50
  static getApiConfiguration(t) {
51
- const i = Lt.getAncestorAttributeValue(t, "token"), s = Lt.getAncestorAttributeValue(t, "addHTTPResponse") != null, e = Lt.getAncestorAttributeValue(t, "serviceURL");
51
+ const i = Et.getAncestorAttributeValue(t, "token"), s = Et.getAncestorAttributeValue(t, "addHTTPResponse") != null, e = Et.getAncestorAttributeValue(t, "serviceURL");
52
52
  let o = null, n = null;
53
- const l = Lt.getAncestorAttributeValue(t, "tokenProvider"), c = Lt.getAncestorAttributeValue(t, "eventsApiToken");
54
- i || (o = Lt.getAncestorAttributeValue(t, "userName"), n = Lt.getAncestorAttributeValue(t, "password"));
55
- const h = Lt.getAncestorAttributeValue(
53
+ const l = Et.getAncestorAttributeValue(t, "tokenProvider"), c = Et.getAncestorAttributeValue(t, "eventsApiToken");
54
+ i || (o = Et.getAncestorAttributeValue(t, "userName"), n = Et.getAncestorAttributeValue(t, "password"));
55
+ const h = Et.getAncestorAttributeValue(
56
56
  t,
57
57
  "credentials"
58
58
  ) || void 0, u = t.getAttribute("cache"), d = t.hasAttribute("blockUntilDone");
@@ -85,7 +85,7 @@ let J = class Lt {
85
85
  * @returns valeur de l'attribut ou null si l'attribut n'est pas trouvé
86
86
  */
87
87
  static getClosestForm(t) {
88
- return Lt.getClosestElement(t, "form");
88
+ return Et.getClosestElement(t, "form");
89
89
  }
90
90
  /**
91
91
  * Lance le chargement d'un js et retourne une promise qui resoud à true lorsque le chargement à réussi et à false, sinon.
@@ -106,7 +106,7 @@ let J = class Lt {
106
106
  });
107
107
  }
108
108
  };
109
- const hi = (r) => {
109
+ const di = (r) => {
110
110
  const t = document.documentElement, i = new MutationObserver((e) => {
111
111
  for (let o of e)
112
112
  o.type === "attributes" && o.attributeName === "lang" && r();
@@ -118,7 +118,7 @@ const hi = (r) => {
118
118
  };
119
119
  i.observe(t, s);
120
120
  };
121
- let us = class {
121
+ let fs = class {
122
122
  /**
123
123
  * Passe le premier caractère de la chaine en majuscule
124
124
  */
@@ -164,8 +164,8 @@ let Ti = dr.replace(
164
164
  /-([a-z])/g,
165
165
  (r) => r[1].toUpperCase()
166
166
  );
167
- const fs = Ti.charAt(0).toUpperCase() + Ti.slice(1);
168
- function ls(r) {
167
+ const ms = Ti.charAt(0).toUpperCase() + Ti.slice(1);
168
+ function cs(r) {
169
169
  return Object.prototype.hasOwnProperty.call(r, "__value");
170
170
  }
171
171
  function Ve(r) {
@@ -173,9 +173,9 @@ function Ve(r) {
173
173
  }
174
174
  let Pe = "sonic";
175
175
  typeof __SONIC_PREFIX__ > "u" && (Pe = "sonic");
176
- const js = Pe == "sonic" ? "publisher-proxies-data" : Pe + "-publisher-proxies-data";
176
+ const Fs = Pe == "sonic" ? "publisher-proxies-data" : Pe + "-publisher-proxies-data";
177
177
  var At;
178
- let di = (At = class {
178
+ let pi = (At = class {
179
179
  constructor(t, i, s) {
180
180
  for (this._proxies_ = /* @__PURE__ */ new Map(), this._is_savable_ = !1, this._expiration_delay_ = 1e3 * 60 * 60 * 12, this._invalidate_on_page_show_ = !1, this._invalidateListeners_ = /* @__PURE__ */ new Set(), this._formInvalidateListeners_ = /* @__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 = i || null, this._parentKey_ = s, this.root = this, this._instanceCounter_ = 0; this.root.parent; )
181
181
  this.root = this.root.parent;
@@ -332,12 +332,12 @@ let di = (At = class {
332
332
  * Assigne une nouvelle valeur au proxy ce qui déclenche la transmission de la donnée en fonction des "écouteurs" associés
333
333
  */
334
334
  set(t, i = !1) {
335
- if (this._value_ === t || this._value_ && t && ls(this._value_) && ls(t) && this._value_.__value === t.__value)
335
+ if (this._value_ === t || this._value_ && t && cs(this._value_) && cs(t) && this._value_.__value === t.__value)
336
336
  return !0;
337
337
  this._value_ = Ve(t) ? t : { __value: t }, this._cachedGet_ = void 0;
338
- const s = ls(this._value_);
338
+ const s = cs(this._value_);
339
339
  if (this._parentKey_ && this.parent) {
340
- const e = ls(this._value_) ? this._value_.__value : this._value_;
340
+ const e = cs(this._value_) ? this._value_.__value : this._value_;
341
341
  if (this.parent?.get() == null && this.parent?.get() == null)
342
342
  if (isNaN(Number(this._parentKey_)))
343
343
  this.parent.set({ [this._parentKey_]: e });
@@ -389,11 +389,11 @@ let di = (At = class {
389
389
  return this._instanceCounter_ || (At.instancesCounter++, this._instanceCounter_ = At.instancesCounter), At.instances.set(this._instanceCounter_, this), "<" + Pe + '-publisher-proxy publisher="' + this._instanceCounter_ + '"></' + Pe + "-publisher-proxy>";
390
390
  }
391
391
  }, At.instances = /* @__PURE__ */ new Map(), At.instancesCounter = 0, At);
392
- var D;
393
- let T = (D = class {
392
+ var L;
393
+ let T = (L = class {
394
394
  constructor() {
395
- if (this.enabledLocaStorageProxies = [], this.publishers = /* @__PURE__ */ new Map(), this.localStorageData = {}, this.isLocalStrorageReady = null, this.initialisedData = [], D.instance != null) throw "Singleton / use getInstance";
396
- D.instance = this, this.isLocalStrorageReady = this.cleanStorageData();
395
+ if (this.enabledLocaStorageProxies = [], this.publishers = /* @__PURE__ */ new Map(), this.localStorageData = {}, this.isLocalStrorageReady = null, this.initialisedData = [], L.instance != null) throw "Singleton / use getInstance";
396
+ L.instance = this, this.isLocalStrorageReady = this.cleanStorageData();
397
397
  }
398
398
  invalidateAll() {
399
399
  this.publishers.forEach((t) => {
@@ -404,7 +404,7 @@ let T = (D = class {
404
404
  return new Promise((t) => {
405
405
  (async () => {
406
406
  try {
407
- let s = localStorage.getItem(js), e = null;
407
+ let s = localStorage.getItem(Fs), e = null;
408
408
  if (s && (e = await this.decompress(s, "gzip")), e)
409
409
  try {
410
410
  this.localStorageData = JSON.parse(e);
@@ -412,7 +412,7 @@ let T = (D = class {
412
412
  this.localStorageData = {};
413
413
  }
414
414
  else
415
- s = await this.compress("{}", "gzip"), localStorage.setItem(js, s), this.localStorageData = {};
415
+ s = await this.compress("{}", "gzip"), localStorage.setItem(Fs, s), this.localStorageData = {};
416
416
  const o = 1e3 * 60 * 60 * 12;
417
417
  for (const n in this.localStorageData) {
418
418
  const l = this.localStorageData[n], c = (/* @__PURE__ */ new Date()).getTime() - (l.expirationDelayMs || o);
@@ -432,39 +432,39 @@ let T = (D = class {
432
432
  */
433
433
  static getInstance(t) {
434
434
  if (t) {
435
- const i = D.instances.get(t);
435
+ const i = L.instances.get(t);
436
436
  return i || (console.warn(
437
437
  "No PublisherManager instance registered with id:",
438
438
  t,
439
439
  "creating new one"
440
- ), new D());
440
+ ), new L());
441
441
  }
442
- return D.instance == null ? new D() : D.instance;
442
+ return L.instance == null ? new L() : L.instance;
443
443
  }
444
444
  static registerInstance(t, i) {
445
- D.instances.has(t) && console.warn(
445
+ L.instances.has(t) && console.warn(
446
446
  "PublisherManager instance already registered with id: ",
447
447
  t
448
- ), D.instances.set(t, i);
448
+ ), L.instances.set(t, i);
449
449
  }
450
450
  /**
451
451
  * shortcut static pour obtenir un publisher vias sont id/adresse sans taper getInstance.
452
452
  * Si le publisher n'existe pas, il est créé.
453
453
  */
454
454
  static get(t, i) {
455
- return D.getInstance().get(t, i);
455
+ return L.getInstance().get(t, i);
456
456
  }
457
457
  static collectModifiedPublisher() {
458
- D.modifiedCollectore.unshift(/* @__PURE__ */ new Set());
458
+ L.modifiedCollectore.unshift(/* @__PURE__ */ new Set());
459
459
  }
460
460
  static getModifiedPublishers() {
461
- return D.modifiedCollectore.shift();
461
+ return L.modifiedCollectore.shift();
462
462
  }
463
463
  /**
464
464
  * shortcut static pour supprimer un publisher de la liste et appel également delete sur le publisher ce qui le supprime, de même que ses sous publishers
465
465
  */
466
466
  static delete(t) {
467
- return t ? D.getInstance().delete(t) : !1;
467
+ return t ? L.getInstance().delete(t) : !1;
468
468
  }
469
469
  /**
470
470
  * Obtenir un publisher vias sont id/adresse
@@ -506,10 +506,10 @@ let T = (D = class {
506
506
  return this.publishers.has(t) ? (this.publishers.delete(t), !0) : !1;
507
507
  }
508
508
  async saveToLocalStorage(t = 0) {
509
- if (!(t !== D.saveId && t % 10 != 0))
509
+ if (!(t !== L.saveId && t % 10 != 0))
510
510
  try {
511
- if (!D.changed || D.saving) return;
512
- D.saving = !0, D.changed = !1;
511
+ if (!L.changed || L.saving) return;
512
+ L.saving = !0, L.changed = !1;
513
513
  const i = Array.from(this.publishers.keys());
514
514
  let s = !1;
515
515
  for (const e of i) {
@@ -527,15 +527,15 @@ let T = (D = class {
527
527
  JSON.stringify(this.localStorageData),
528
528
  "gzip"
529
529
  );
530
- localStorage.setItem(js, e);
530
+ localStorage.setItem(Fs, e);
531
531
  }
532
- if (D.saving = !1, D.changed) {
533
- D.saveId++;
534
- const e = D.saveId;
532
+ if (L.saving = !1, L.changed) {
533
+ L.saveId++;
534
+ const e = L.saveId;
535
535
  setTimeout(() => this.saveToLocalStorage(e), 1e3);
536
536
  }
537
537
  } catch {
538
- D.saving = !1;
538
+ L.saving = !1;
539
539
  }
540
540
  }
541
541
  async compress(t, i) {
@@ -556,10 +556,10 @@ let T = (D = class {
556
556
  const h = await new Response(l.readable).arrayBuffer();
557
557
  return new TextDecoder().decode(h);
558
558
  }
559
- }, D.buildDate = "Mon Oct 13 2025 14:17:18 GMT+0200 (Central European Summer Time)", D.changed = !1, D.saving = !1, D.saveId = 0, D.instance = null, D.instances = /* @__PURE__ */ new Map(), D.modifiedCollectore = [], D);
559
+ }, L.buildDate = "Mon Nov 24 2025 15:50:47 GMT+0100 (Central European Standard Time)", L.changed = !1, L.saving = !1, L.saveId = 0, L.instance = null, L.instances = /* @__PURE__ */ new Map(), L.modifiedCollectore = [], L);
560
560
  if (typeof window < "u") {
561
561
  const r = window;
562
- r[fs + "PublisherManager"] = r[fs + "PublisherManager"] || T;
562
+ r[ms + "PublisherManager"] = r[ms + "PublisherManager"] || T;
563
563
  }
564
564
  const Ur = /* @__PURE__ */ new Set([
565
565
  "invalidate",
@@ -605,7 +605,7 @@ const Ur = /* @__PURE__ */ new Set([
605
605
  "_assignmentId_",
606
606
  "_invalidate_on_page_show_"
607
607
  ]);
608
- class He extends di {
608
+ class He extends pi {
609
609
  constructor(t, i = null, s) {
610
610
  super(t, i, s);
611
611
  const e = new Proxy(this, {
@@ -691,7 +691,7 @@ class Vr extends HTMLElement {
691
691
  };
692
692
  }
693
693
  connectedCallback() {
694
- this.publisherId = this.getAttribute("publisher") || "", this.publisher = di.instances.get(parseInt(this.publisherId)), this.publisher?.onAssign(this.onAssign);
694
+ this.publisherId = this.getAttribute("publisher") || "", this.publisher = pi.instances.get(parseInt(this.publisherId)), this.publisher?.onAssign(this.onAssign);
695
695
  }
696
696
  disconnectedCallback() {
697
697
  this.publisher?.offAssign(this.onAssign);
@@ -829,7 +829,7 @@ let As = (N = class {
829
829
  publisher: d,
830
830
  onAssign: () => {
831
831
  const b = l.variables.map((E) => N.getSubPublisher(s, E)?.get());
832
- let x = l.expression, C = !1;
832
+ let x = l.expression, S = !1;
833
833
  if (b.length == 1 && l.variables[0].join(".") == x.substring(1)) {
834
834
  let E = b[0];
835
835
  E === null && (E = ""), g[c] = E;
@@ -838,18 +838,18 @@ let As = (N = class {
838
838
  for (let E = 0; E < b.length; E++) {
839
839
  let p = b[E];
840
840
  const f = l.variables[E];
841
- p === null && (C = !0, p = void 0), x = x.replace("$" + f.join("."), p);
841
+ p === null && (S = !0, p = void 0), x = x.replace("$" + f.join("."), p);
842
842
  }
843
843
  if (x.indexOf("|") != -1) {
844
844
  const E = x.indexOf("|");
845
845
  if (E == 0)
846
- x = us.js(x.substring(1));
846
+ x = fs.js(x.substring(1));
847
847
  else {
848
- const p = x.substring(0, E), f = x.substring(E + 1), y = us[p];
849
- x = C ? "" : y ? y(f) : x;
848
+ const p = x.substring(0, E), f = x.substring(E + 1), y = fs[p];
849
+ x = S ? "" : y ? y(f) : x;
850
850
  }
851
851
  } else
852
- x = C ? "" : x;
852
+ x = S ? "" : x;
853
853
  g[c] = x;
854
854
  }
855
855
  };
@@ -957,18 +957,18 @@ const _ = (r) => (t, i) => {
957
957
  * Copyright 2019 Google LLC
958
958
  * SPDX-License-Identifier: BSD-3-Clause
959
959
  */
960
- const ps = globalThis, pi = ps.ShadowRoot && (ps.ShadyCSS === void 0 || ps.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ui = Symbol(), Mi = /* @__PURE__ */ new WeakMap();
960
+ const us = globalThis, ui = us.ShadowRoot && (us.ShadyCSS === void 0 || us.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, fi = Symbol(), Ii = /* @__PURE__ */ new WeakMap();
961
961
  let pr = class {
962
962
  constructor(t, i, s) {
963
- if (this._$cssResult$ = !0, s !== ui) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
963
+ if (this._$cssResult$ = !0, s !== fi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
964
964
  this.cssText = t, this.t = i;
965
965
  }
966
966
  get styleSheet() {
967
967
  let t = this.o;
968
968
  const i = this.t;
969
- if (pi && t === void 0) {
969
+ if (ui && t === void 0) {
970
970
  const s = i !== void 0 && i.length === 1;
971
- s && (t = Mi.get(i)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && Mi.set(i, t));
971
+ s && (t = Ii.get(i)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && Ii.set(i, t));
972
972
  }
973
973
  return t;
974
974
  }
@@ -976,20 +976,20 @@ let pr = class {
976
976
  return this.cssText;
977
977
  }
978
978
  };
979
- const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, ui), P = (r, ...t) => {
979
+ const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, fi), P = (r, ...t) => {
980
980
  const i = r.length === 1 ? r[0] : t.reduce(((s, e, o) => s + ((n) => {
981
981
  if (n._$cssResult$ === !0) return n.cssText;
982
982
  if (typeof n == "number") return n;
983
983
  throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
984
984
  })(e) + r[o + 1]), r[0]);
985
- return new pr(i, r, ui);
985
+ return new pr(i, r, fi);
986
986
  }, qr = (r, t) => {
987
- if (pi) r.adoptedStyleSheets = t.map(((i) => i instanceof CSSStyleSheet ? i : i.styleSheet));
987
+ if (ui) r.adoptedStyleSheets = t.map(((i) => i instanceof CSSStyleSheet ? i : i.styleSheet));
988
988
  else for (const i of t) {
989
- const s = document.createElement("style"), e = ps.litNonce;
989
+ const s = document.createElement("style"), e = us.litNonce;
990
990
  e !== void 0 && s.setAttribute("nonce", e), s.textContent = i.cssText, r.appendChild(s);
991
991
  }
992
- }, Ii = pi ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
992
+ }, Mi = ui ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
993
993
  let i = "";
994
994
  for (const s of t.cssRules) i += s.cssText;
995
995
  return Br(i);
@@ -999,7 +999,7 @@ const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, ui), P = (r,
999
999
  * Copyright 2017 Google LLC
1000
1000
  * SPDX-License-Identifier: BSD-3-Clause
1001
1001
  */
1002
- const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Yr, getOwnPropertySymbols: Xr, getPrototypeOf: Zr } = Object, ks = globalThis, ji = ks.trustedTypes, Gr = ji ? ji.emptyScript : "", Qr = ks.reactiveElementPolyfillSupport, Be = (r, t) => r, ms = { toAttribute(r, t) {
1002
+ const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Yr, getOwnPropertySymbols: Zr, getPrototypeOf: Xr } = Object, ks = globalThis, ji = ks.trustedTypes, Gr = ji ? ji.emptyScript : "", Qr = ks.reactiveElementPolyfillSupport, Be = (r, t) => r, gs = { toAttribute(r, t) {
1003
1003
  switch (t) {
1004
1004
  case Boolean:
1005
1005
  r = r ? Gr : null;
@@ -1027,7 +1027,7 @@ const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnProperty
1027
1027
  }
1028
1028
  }
1029
1029
  return i;
1030
- } }, fi = (r, t) => !Hr(r, t), Fi = { attribute: !0, type: String, converter: ms, reflect: !1, useDefault: !1, hasChanged: fi };
1030
+ } }, mi = (r, t) => !Hr(r, t), Fi = { attribute: !0, type: String, converter: gs, reflect: !1, useDefault: !1, hasChanged: mi };
1031
1031
  Symbol.metadata ??= Symbol("metadata"), ks.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
1032
1032
  let _e = class extends HTMLElement {
1033
1033
  static addInitializer(t) {
@@ -1058,13 +1058,13 @@ let _e = class extends HTMLElement {
1058
1058
  }
1059
1059
  static _$Ei() {
1060
1060
  if (this.hasOwnProperty(Be("elementProperties"))) return;
1061
- const t = Zr(this);
1061
+ const t = Xr(this);
1062
1062
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
1063
1063
  }
1064
1064
  static finalize() {
1065
1065
  if (this.hasOwnProperty(Be("finalized"))) return;
1066
1066
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Be("properties"))) {
1067
- const i = this.properties, s = [...Yr(i), ...Xr(i)];
1067
+ const i = this.properties, s = [...Yr(i), ...Zr(i)];
1068
1068
  for (const e of s) this.createProperty(e, i[e]);
1069
1069
  }
1070
1070
  const t = this[Symbol.metadata];
@@ -1083,8 +1083,8 @@ let _e = class extends HTMLElement {
1083
1083
  const i = [];
1084
1084
  if (Array.isArray(t)) {
1085
1085
  const s = new Set(t.flat(1 / 0).reverse());
1086
- for (const e of s) i.unshift(Ii(e));
1087
- } else t !== void 0 && i.push(Ii(t));
1086
+ for (const e of s) i.unshift(Mi(e));
1087
+ } else t !== void 0 && i.push(Mi(t));
1088
1088
  return i;
1089
1089
  }
1090
1090
  static _$Eu(t, i) {
@@ -1126,14 +1126,14 @@ let _e = class extends HTMLElement {
1126
1126
  _$ET(t, i) {
1127
1127
  const s = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, s);
1128
1128
  if (e !== void 0 && s.reflect === !0) {
1129
- const o = (s.converter?.toAttribute !== void 0 ? s.converter : ms).toAttribute(i, s.type);
1129
+ const o = (s.converter?.toAttribute !== void 0 ? s.converter : gs).toAttribute(i, s.type);
1130
1130
  this._$Em = t, o == null ? this.removeAttribute(e) : this.setAttribute(e, o), this._$Em = null;
1131
1131
  }
1132
1132
  }
1133
1133
  _$AK(t, i) {
1134
1134
  const s = this.constructor, e = s._$Eh.get(t);
1135
1135
  if (e !== void 0 && this._$Em !== e) {
1136
- const o = s.getPropertyOptions(e), n = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter : ms;
1136
+ const o = s.getPropertyOptions(e), n = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter : gs;
1137
1137
  this._$Em = e;
1138
1138
  const l = n.fromAttribute(i, o.type);
1139
1139
  this[e] = l ?? this._$Ej?.get(e) ?? l, this._$Em = null;
@@ -1142,7 +1142,7 @@ let _e = class extends HTMLElement {
1142
1142
  requestUpdate(t, i, s) {
1143
1143
  if (t !== void 0) {
1144
1144
  const e = this.constructor, o = this[t];
1145
- if (s ??= e.getPropertyOptions(t), !((s.hasChanged ?? fi)(o, i) || s.useDefault && s.reflect && o === this._$Ej?.get(t) && !this.hasAttribute(e._$Eu(t, s)))) return;
1145
+ if (s ??= e.getPropertyOptions(t), !((s.hasChanged ?? mi)(o, i) || s.useDefault && s.reflect && o === this._$Ej?.get(t) && !this.hasAttribute(e._$Eu(t, s)))) return;
1146
1146
  this.C(t, i, s);
1147
1147
  }
1148
1148
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -1216,7 +1216,7 @@ _e.elementStyles = [], _e.shadowRootOptions = { mode: "open" }, _e[Be("elementPr
1216
1216
  * Copyright 2017 Google LLC
1217
1217
  * SPDX-License-Identifier: BSD-3-Clause
1218
1218
  */
1219
- const Jr = { attribute: !0, type: String, converter: ms, reflect: !1, hasChanged: fi }, to = (r = Jr, t, i) => {
1219
+ const Jr = { attribute: !0, type: String, converter: gs, reflect: !1, hasChanged: mi }, to = (r = Jr, t, i) => {
1220
1220
  const { kind: s, metadata: e } = i;
1221
1221
  let o = globalThis.litPropertyMetadata.get(e);
1222
1222
  if (o === void 0 && globalThis.litPropertyMetadata.set(e, o = /* @__PURE__ */ new Map()), s === "setter" && ((r = Object.create(r)).wrapped = !0), o.set(i.name, r), s === "accessor") {
@@ -1248,7 +1248,7 @@ function a(r) {
1248
1248
  * Copyright 2017 Google LLC
1249
1249
  * SPDX-License-Identifier: BSD-3-Clause
1250
1250
  */
1251
- function L(r) {
1251
+ function D(r) {
1252
1252
  return a({ ...r, state: !0, attribute: !1 });
1253
1253
  }
1254
1254
  /**
@@ -1256,7 +1256,7 @@ function L(r) {
1256
1256
  * Copyright 2017 Google LLC
1257
1257
  * SPDX-License-Identifier: BSD-3-Clause
1258
1258
  */
1259
- const mi = (r, t, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, i), i);
1259
+ const gi = (r, t, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, i), i);
1260
1260
  /**
1261
1261
  * @license
1262
1262
  * Copyright 2017 Google LLC
@@ -1265,7 +1265,7 @@ const mi = (r, t, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorat
1265
1265
  function ge(r, t) {
1266
1266
  return (i, s, e) => {
1267
1267
  const o = (n) => n.renderRoot?.querySelector(r) ?? null;
1268
- return mi(i, s, { get() {
1268
+ return gi(i, s, { get() {
1269
1269
  return o(this);
1270
1270
  } });
1271
1271
  };
@@ -1278,7 +1278,7 @@ function ge(r, t) {
1278
1278
  function ke(r) {
1279
1279
  return (t, i) => {
1280
1280
  const { slot: s, selector: e } = r ?? {}, o = "slot" + (s ? `[name=${s}]` : ":not([name])");
1281
- return mi(t, i, { get() {
1281
+ return gi(t, i, { get() {
1282
1282
  const n = this.renderRoot?.querySelector(o), l = n?.assignedElements(r) ?? [];
1283
1283
  return e === void 0 ? l : l.filter(((c) => c.matches(e)));
1284
1284
  } });
@@ -1292,7 +1292,7 @@ function ke(r) {
1292
1292
  function dt(r) {
1293
1293
  return (t, i) => {
1294
1294
  const { slot: s } = r ?? {}, e = "slot" + (s ? `[name=${s}]` : ":not([name])");
1295
- return mi(t, i, { get() {
1295
+ return gi(t, i, { get() {
1296
1296
  return this.renderRoot?.querySelector(e)?.assignedNodes(r) ?? [];
1297
1297
  } });
1298
1298
  };
@@ -1302,11 +1302,11 @@ function dt(r) {
1302
1302
  * Copyright 2017 Google LLC
1303
1303
  * SPDX-License-Identifier: BSD-3-Clause
1304
1304
  */
1305
- const gi = globalThis, gs = gi.trustedTypes, zi = gs ? gs.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ur = "$lit$", Yt = `lit$${Math.random().toFixed(9).slice(2)}$`, fr = "?" + Yt, eo = `<${fr}>`, he = document, We = () => he.createComment(""), Ke = (r) => r === null || typeof r != "object" && typeof r != "function", bi = Array.isArray, so = (r) => bi(r) || typeof r?.[Symbol.iterator] == "function", Fs = `[
1306
- \f\r]`, je = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ri = /-->/g, Ui = />/g, oe = RegExp(`>|${Fs}(?:([^\\s"'>=/]+)(${Fs}*=${Fs}*(?:[^
1307
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Vi = /'/g, Bi = /"/g, mr = /^(?:script|style|textarea|title)$/i, io = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), m = io(1), wt = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), qi = /* @__PURE__ */ new WeakMap(), ce = he.createTreeWalker(he, 129);
1305
+ const bi = globalThis, bs = bi.trustedTypes, zi = bs ? bs.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ur = "$lit$", Yt = `lit$${Math.random().toFixed(9).slice(2)}$`, fr = "?" + Yt, eo = `<${fr}>`, he = document, We = () => he.createComment(""), Ke = (r) => r === null || typeof r != "object" && typeof r != "function", vi = Array.isArray, so = (r) => vi(r) || typeof r?.[Symbol.iterator] == "function", zs = `[
1306
+ \f\r]`, je = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ri = /-->/g, Ui = />/g, oe = RegExp(`>|${zs}(?:([^\\s"'>=/]+)(${zs}*=${zs}*(?:[^
1307
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Vi = /'/g, Bi = /"/g, mr = /^(?:script|style|textarea|title)$/i, io = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), m = io(1), wt = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), qi = /* @__PURE__ */ new WeakMap(), ce = he.createTreeWalker(he, 129);
1308
1308
  function gr(r, t) {
1309
- if (!bi(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
1309
+ if (!vi(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
1310
1310
  return zi !== void 0 ? zi.createHTML(t) : t;
1311
1311
  }
1312
1312
  const ro = (r, t) => {
@@ -1321,7 +1321,7 @@ const ro = (r, t) => {
1321
1321
  }
1322
1322
  return [gr(r, o + (r[i] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
1323
1323
  };
1324
- let qs = class br {
1324
+ let Hs = class br {
1325
1325
  constructor({ strings: t, _$litType$: i }, s) {
1326
1326
  let e;
1327
1327
  this.parts = [];
@@ -1340,7 +1340,7 @@ let qs = class br {
1340
1340
  if (mr.test(e.tagName)) {
1341
1341
  const d = e.textContent.split(Yt), g = d.length - 1;
1342
1342
  if (g > 0) {
1343
- e.textContent = gs ? gs.emptyScript : "";
1343
+ e.textContent = bs ? bs.emptyScript : "";
1344
1344
  for (let v = 0; v < g; v++) e.append(d[v], We()), ce.nextNode(), c.push({ type: 2, index: ++o });
1345
1345
  e.append(d[g], We());
1346
1346
  }
@@ -1397,7 +1397,7 @@ class Oe {
1397
1397
  return this._$AM?._$AU ?? this._$Cv;
1398
1398
  }
1399
1399
  constructor(t, i, s, e) {
1400
- this.type = 2, this._$AH = S, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? !0;
1400
+ this.type = 2, this._$AH = C, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? !0;
1401
1401
  }
1402
1402
  get parentNode() {
1403
1403
  let t = this._$AA.parentNode;
@@ -1411,7 +1411,7 @@ class Oe {
1411
1411
  return this._$AB;
1412
1412
  }
1413
1413
  _$AI(t, i = this) {
1414
- t = $e(this, t, i), Ke(t) ? t === S || t == null || t === "" ? (this._$AH !== S && this._$AR(), this._$AH = S) : t !== this._$AH && t !== wt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : so(t) ? this.k(t) : this._(t);
1414
+ t = $e(this, t, i), Ke(t) ? t === C || t == null || t === "" ? (this._$AH !== C && this._$AR(), this._$AH = C) : t !== this._$AH && t !== wt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : so(t) ? this.k(t) : this._(t);
1415
1415
  }
1416
1416
  O(t) {
1417
1417
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -1420,10 +1420,10 @@ class Oe {
1420
1420
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
1421
1421
  }
1422
1422
  _(t) {
1423
- this._$AH !== S && Ke(this._$AH) ? this._$AA.nextSibling.data = t : this.T(he.createTextNode(t)), this._$AH = t;
1423
+ this._$AH !== C && Ke(this._$AH) ? this._$AA.nextSibling.data = t : this.T(he.createTextNode(t)), this._$AH = t;
1424
1424
  }
1425
1425
  $(t) {
1426
- const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = qs.createElement(gr(s.h, s.h[0]), this.options)), s);
1426
+ const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = Hs.createElement(gr(s.h, s.h[0]), this.options)), s);
1427
1427
  if (this._$AH?._$AD === e) this._$AH.p(i);
1428
1428
  else {
1429
1429
  const o = new oo(e, this), n = o.u(this.options);
@@ -1432,10 +1432,10 @@ class Oe {
1432
1432
  }
1433
1433
  _$AC(t) {
1434
1434
  let i = qi.get(t.strings);
1435
- return i === void 0 && qi.set(t.strings, i = new qs(t)), i;
1435
+ return i === void 0 && qi.set(t.strings, i = new Hs(t)), i;
1436
1436
  }
1437
1437
  k(t) {
1438
- bi(this._$AH) || (this._$AH = [], this._$AR());
1438
+ vi(this._$AH) || (this._$AH = [], this._$AR());
1439
1439
  const i = this._$AH;
1440
1440
  let s, e = 0;
1441
1441
  for (const o of t) e === i.length ? i.push(s = new Oe(this.O(We()), this.O(We()), this, this.options)) : s = i[e], s._$AI(o), e++;
@@ -1459,7 +1459,7 @@ class Os {
1459
1459
  return this._$AM._$AU;
1460
1460
  }
1461
1461
  constructor(t, i, s, e, o) {
1462
- this.type = 1, this._$AH = S, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = S;
1462
+ this.type = 1, this._$AH = C, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = C;
1463
1463
  }
1464
1464
  _$AI(t, i = this, s, e) {
1465
1465
  const o = this.strings;
@@ -1468,12 +1468,12 @@ class Os {
1468
1468
  else {
1469
1469
  const l = t;
1470
1470
  let c, h;
1471
- for (t = o[0], c = 0; c < o.length - 1; c++) h = $e(this, l[s + c], i, c), h === wt && (h = this._$AH[c]), n ||= !Ke(h) || h !== this._$AH[c], h === S ? t = S : t !== S && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
1471
+ for (t = o[0], c = 0; c < o.length - 1; c++) h = $e(this, l[s + c], i, c), h === wt && (h = this._$AH[c]), n ||= !Ke(h) || h !== this._$AH[c], h === C ? t = C : t !== C && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
1472
1472
  }
1473
1473
  n && !e && this.j(t);
1474
1474
  }
1475
1475
  j(t) {
1476
- t === S ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1476
+ t === C ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1477
1477
  }
1478
1478
  }
1479
1479
  class no extends Os {
@@ -1481,7 +1481,7 @@ class no extends Os {
1481
1481
  super(...arguments), this.type = 3;
1482
1482
  }
1483
1483
  j(t) {
1484
- this.element[this.name] = t === S ? void 0 : t;
1484
+ this.element[this.name] = t === C ? void 0 : t;
1485
1485
  }
1486
1486
  }
1487
1487
  class ao extends Os {
@@ -1489,7 +1489,7 @@ class ao extends Os {
1489
1489
  super(...arguments), this.type = 4;
1490
1490
  }
1491
1491
  j(t) {
1492
- this.element.toggleAttribute(this.name, !!t && t !== S);
1492
+ this.element.toggleAttribute(this.name, !!t && t !== C);
1493
1493
  }
1494
1494
  }
1495
1495
  class lo extends Os {
@@ -1497,8 +1497,8 @@ class lo extends Os {
1497
1497
  super(t, i, s, e, o), this.type = 5;
1498
1498
  }
1499
1499
  _$AI(t, i = this) {
1500
- if ((t = $e(this, t, i, 0) ?? S) === wt) return;
1501
- const s = this._$AH, e = t === S && s !== S || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== S && (s === S || e);
1500
+ if ((t = $e(this, t, i, 0) ?? C) === wt) return;
1501
+ const s = this._$AH, e = t === C && s !== C || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== C && (s === C || e);
1502
1502
  e && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
1503
1503
  }
1504
1504
  handleEvent(t) {
@@ -1516,8 +1516,8 @@ class co {
1516
1516
  $e(this, t);
1517
1517
  }
1518
1518
  }
1519
- const ho = { I: Oe }, po = gi.litHtmlPolyfillSupport;
1520
- po?.(qs, Oe), (gi.litHtmlVersions ??= []).push("3.3.1");
1519
+ const ho = { I: Oe }, po = bi.litHtmlPolyfillSupport;
1520
+ po?.(Hs, Oe), (bi.litHtmlVersions ??= []).push("3.3.1");
1521
1521
  const uo = (r, t, i) => {
1522
1522
  const s = i?.renderBefore ?? t;
1523
1523
  let e = s._$litPart$;
@@ -1552,7 +1552,7 @@ const { I: fo } = ho, mo = (r) => r.strings === void 0, Hi = () => document.crea
1552
1552
  }
1553
1553
  }
1554
1554
  return i;
1555
- }, ne = (r, t, i = r) => (r._$AI(t, i), r), go = {}, bo = (r, t = go) => r._$AH = t, vo = (r) => r._$AH, zs = (r) => {
1555
+ }, ne = (r, t, i = r) => (r._$AI(t, i), r), go = {}, bo = (r, t = go) => r._$AH = t, vo = (r) => r._$AH, Rs = (r) => {
1556
1556
  r._$AR(), r._$AA.remove();
1557
1557
  };
1558
1558
  /**
@@ -1587,7 +1587,7 @@ const qe = (r, t) => {
1587
1587
  if (i === void 0) return !1;
1588
1588
  for (const s of i) s._$AO?.(t, !1), qe(s, t);
1589
1589
  return !0;
1590
- }, bs = (r) => {
1590
+ }, vs = (r) => {
1591
1591
  let t, i;
1592
1592
  do {
1593
1593
  if ((t = r._$AM) === void 0) break;
@@ -1602,18 +1602,18 @@ const qe = (r, t) => {
1602
1602
  }
1603
1603
  };
1604
1604
  function yo(r) {
1605
- this._$AN !== void 0 ? (bs(this), this._$AM = r, vr(this)) : this._$AM = r;
1605
+ this._$AN !== void 0 ? (vs(this), this._$AM = r, vr(this)) : this._$AM = r;
1606
1606
  }
1607
1607
  function wo(r, t = !1, i = 0) {
1608
1608
  const s = this._$AH, e = this._$AN;
1609
- if (e !== void 0 && e.size !== 0) if (t) if (Array.isArray(s)) for (let o = i; o < s.length; o++) qe(s[o], !1), bs(s[o]);
1610
- else s != null && (qe(s, !1), bs(s));
1609
+ if (e !== void 0 && e.size !== 0) if (t) if (Array.isArray(s)) for (let o = i; o < s.length; o++) qe(s[o], !1), vs(s[o]);
1610
+ else s != null && (qe(s, !1), vs(s));
1611
1611
  else qe(this, r);
1612
1612
  }
1613
1613
  const _o = (r) => {
1614
1614
  r.type == be.CHILD && (r._$AP ??= wo, r._$AQ ??= yo);
1615
1615
  };
1616
- class vi extends De {
1616
+ class yi extends De {
1617
1617
  constructor() {
1618
1618
  super(...arguments), this._$AN = void 0;
1619
1619
  }
@@ -1621,7 +1621,7 @@ class vi extends De {
1621
1621
  super._$AT(t, i, s), vr(this), this.isConnected = t._$AU;
1622
1622
  }
1623
1623
  _$AO(t, i = !0) {
1624
- t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), i && (qe(this, t), bs(this));
1624
+ t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), i && (qe(this, t), vs(this));
1625
1625
  }
1626
1626
  setValue(t) {
1627
1627
  if (mo(this._$Ct)) this._$Ct._$AI(t, this);
@@ -1640,7 +1640,7 @@ class vi extends De {
1640
1640
  * Copyright 2017 Google LLC
1641
1641
  * SPDX-License-Identifier: BSD-3-Clause
1642
1642
  */
1643
- const yi = globalThis;
1643
+ const wi = globalThis;
1644
1644
  let w = class extends _e {
1645
1645
  constructor() {
1646
1646
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -1663,10 +1663,10 @@ let w = class extends _e {
1663
1663
  return wt;
1664
1664
  }
1665
1665
  };
1666
- w._$litElement$ = !0, w.finalized = !0, yi.litElementHydrateSupport?.({ LitElement: w });
1667
- const xo = yi.litElementPolyfillSupport;
1666
+ w._$litElement$ = !0, w.finalized = !0, wi.litElementHydrateSupport?.({ LitElement: w });
1667
+ const xo = wi.litElementPolyfillSupport;
1668
1668
  xo?.({ LitElement: w });
1669
- (yi.litElementVersions ??= []).push("4.2.1");
1669
+ (wi.litElementVersions ??= []).push("4.2.1");
1670
1670
  function Ds(r) {
1671
1671
  if (typeof r == "function") {
1672
1672
  const t = r;
@@ -1681,7 +1681,7 @@ function Ds(r) {
1681
1681
  }
1682
1682
  return /* @__PURE__ */ new Set([r]);
1683
1683
  }
1684
- class Po extends vi {
1684
+ class Po extends yi {
1685
1685
  /* eslint-disable @typescript-eslint/no-explicit-any*/
1686
1686
  constructor(t) {
1687
1687
  super(t), this.observables = /* @__PURE__ */ new Set(), this.onAssign = (i) => {
@@ -1829,9 +1829,9 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
1829
1829
  if (typeof x != "object")
1830
1830
  isNaN(+x) ? x.toString().toLowerCase().includes(g.toLowerCase()) && l.push(x) : x === g && l.push(x);
1831
1831
  else {
1832
- const C = x;
1833
- if (!C[d]) continue;
1834
- isNaN(+C[d]) ? C[d]?.toString().toLowerCase().includes(b.toLowerCase()) && l.push(x) : C[d] === b && l.push(x);
1832
+ const S = x;
1833
+ if (!S[d]) continue;
1834
+ isNaN(+S[d]) ? S[d]?.toString().toLowerCase().includes(b.toLowerCase()) && l.push(x) : S[d] === b && l.push(x);
1835
1835
  }
1836
1836
  }
1837
1837
  return l.slice(h, h + c);
@@ -1986,12 +1986,12 @@ const Oo = async (r, t) => {
1986
1986
  * Copyright 2017 Google LLC
1987
1987
  * SPDX-License-Identifier: BSD-3-Clause
1988
1988
  */
1989
- let Hs = class extends De {
1989
+ let Ws = class extends De {
1990
1990
  constructor(t) {
1991
- if (super(t), this.it = S, t.type !== be.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1991
+ if (super(t), this.it = C, t.type !== be.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1992
1992
  }
1993
1993
  render(t) {
1994
- if (t === S || t == null) return this._t = void 0, this.it = t;
1994
+ if (t === C || t == null) return this._t = void 0, this.it = t;
1995
1995
  if (t === wt) return t;
1996
1996
  if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
1997
1997
  if (t === this.it) return this._t;
@@ -2000,8 +2000,8 @@ let Hs = class extends De {
2000
2000
  return i.raw = i, this._t = { _$litType$: this.constructor.resultType, strings: i, values: [] };
2001
2001
  }
2002
2002
  };
2003
- Hs.directiveName = "unsafeHTML", Hs.resultType = 1;
2004
- const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
2003
+ Ws.directiveName = "unsafeHTML", Ws.resultType = 1;
2004
+ const z = ee(Ws), Ks = /* @__PURE__ */ new Map(), Wi = (r) => {
2005
2005
  if (!r) return null;
2006
2006
  const t = J.getApiConfiguration(r), i = J.getAncestorAttributeValue(
2007
2007
  r,
@@ -2015,7 +2015,7 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
2015
2015
  wordingVersionProvider: s
2016
2016
  };
2017
2017
  let o = null;
2018
- for (const [n, l] of Ws)
2018
+ for (const [n, l] of Ks)
2019
2019
  if (tt.deepEqual(n, e)) {
2020
2020
  o = l;
2021
2021
  break;
@@ -2028,8 +2028,8 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
2028
2028
  callIndex: 0,
2029
2029
  wordingVersionProvider: s,
2030
2030
  apiCallKey: e
2031
- }, Ws.set(e, o)), o;
2032
- }, Ki = "", V = class V extends vi {
2031
+ }, Ks.set(e, o)), o;
2032
+ }, Ki = "", V = class V extends yi {
2033
2033
  /* eslint-disable @typescript-eslint/no-explicit-any*/
2034
2034
  constructor(t) {
2035
2035
  super(t), this.useUnsafeHTML = !1, this.onAssign = (i) => {
@@ -2046,7 +2046,7 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
2046
2046
  }
2047
2047
  static async callApi(t, i, s = !0, e) {
2048
2048
  if (await T.getInstance().isLocalStrorageReady, V.firstCall) {
2049
- V.firstCall = !1, hi(V.reloadWordings);
2049
+ V.firstCall = !1, di(V.reloadWordings);
2050
2050
  const u = Object.keys(V.publisher.get());
2051
2051
  for (const d of u)
2052
2052
  V.publisher.get()[d] === Ki && delete V.publisher[d];
@@ -2086,12 +2086,12 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
2086
2086
  ...n.keysToTranslate
2087
2087
  ]), n.keysToTranslate.clear();
2088
2088
  const x = await h.get(b);
2089
- for (const C in x)
2090
- V.publisher["wording_" + C] = x[C];
2089
+ for (const S in x)
2090
+ V.publisher["wording_" + S] = x[S];
2091
2091
  });
2092
2092
  }
2093
2093
  static reloadWordings() {
2094
- for (const t of Ws.values())
2094
+ for (const t of Ks.values())
2095
2095
  t.keysToTranslate = new Set(t.translatedKeys), t.keysToTranslate.size > 0 && V.callApi(null, "", !1, t);
2096
2096
  }
2097
2097
  //check if the wording version has changed
@@ -2139,13 +2139,13 @@ V.publisher = T.get("sonic-wording", {
2139
2139
  }), V.firstCall = !0, V.versionProviderHandlers = /* @__PURE__ */ new Map();
2140
2140
  let xe = V;
2141
2141
  const Do = ee(xe), Lo = Do;
2142
- var Eo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Ot = (r, t, i, s) => {
2142
+ var Eo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Dt = (r, t, i, s) => {
2143
2143
  for (var e = s > 1 ? void 0 : s ? No(t, i) : t, o = r.length - 1, n; o >= 0; o--)
2144
2144
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
2145
2145
  return s && e && Eo(t, i, e), e;
2146
2146
  };
2147
- let cs = !1, Rs = /* @__PURE__ */ new Set();
2148
- const Z = (r, t) => {
2147
+ let hs = !1, Us = /* @__PURE__ */ new Set();
2148
+ const G = (r, t) => {
2149
2149
  var e;
2150
2150
  const i = (e = class extends r {
2151
2151
  constructor(...n) {
@@ -2213,11 +2213,11 @@ const Z = (r, t) => {
2213
2213
  n.position = "fixed", n.top = "0", n.right = "0", n.margin = "auto", n.borderRadius = ".7rem", n.backgroundColor = "#0f1729", n.color = "#c5d4f9", n.padding = "16px 16px", n.margin = "16px 16px", n.boxShadow = "0 10px 30px -18px rgba(0,0,0,.3)", n.overflowY = "auto", n.zIndex = "99999999", n.maxHeight = "calc(100vh - 32px)", n.fontFamily = "Consolas, monospace", n.maxWidth = "min(50vw,25rem)", n.fontSize = "12px", n.minWidth = "300px", n.overflowWrap = "break-word", n.resize = "vertical";
2214
2214
  }
2215
2215
  this.addEventListener("click", (n) => {
2216
- n.ctrlKey && (n.preventDefault(), cs = !cs);
2216
+ n.ctrlKey && (n.preventDefault(), hs = !hs);
2217
2217
  }), this.dataProvider && (window[this.dataProvider] = this.publisher), this.addEventListener("mouseover", () => {
2218
- cs || this.removeDebugger(), document.body.appendChild(this.debug), Rs.add(this.debug);
2218
+ hs || this.removeDebugger(), document.body.appendChild(this.debug), Us.add(this.debug);
2219
2219
  }), this.addEventListener("mouseout", () => {
2220
- cs || this.removeDebugger();
2220
+ hs || this.removeDebugger();
2221
2221
  }), this.publisher?.onInternalMutation(() => {
2222
2222
  this.debug.innerHTML = `🤖 DataProvider : "<b style="font-weight:bold;color:#fff;">${this.dataProvider}</b>"<br>
2223
2223
  <div style="font-size:10px;border-top:1px dashed;margin-top:5px;padding-left:23px;opacity:.6;padding-top:5px;">
@@ -2233,9 +2233,9 @@ const Z = (r, t) => {
2233
2233
  }
2234
2234
  }
2235
2235
  removeDebugger() {
2236
- Rs.forEach((n) => {
2236
+ Us.forEach((n) => {
2237
2237
  document.body.contains(n) && document.body.removeChild(n);
2238
- }), Rs = /* @__PURE__ */ new Set();
2238
+ }), Us = /* @__PURE__ */ new Set();
2239
2239
  }
2240
2240
  /**
2241
2241
  * Petite fonction utilitaire pour retourner la configuration a passer à l'utilitaire API
@@ -2294,34 +2294,34 @@ const Z = (r, t) => {
2294
2294
  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));
2295
2295
  }
2296
2296
  }, e.instanceCounter = 0, e);
2297
- return Ot([
2297
+ return Dt([
2298
2298
  a({ type: Number })
2299
- ], i.prototype, "collectDependenciesVersion", 2), Ot([
2299
+ ], i.prototype, "collectDependenciesVersion", 2), Dt([
2300
2300
  a({ type: Boolean })
2301
- ], i.prototype, "displayContents", 2), Ot([
2301
+ ], i.prototype, "displayContents", 2), Dt([
2302
2302
  a({ type: Boolean })
2303
- ], i.prototype, "noAutoFill", 2), Ot([
2303
+ ], i.prototype, "noAutoFill", 2), Dt([
2304
2304
  a({ type: Boolean })
2305
- ], i.prototype, "forceAutoFill", 2), Ot([
2305
+ ], i.prototype, "forceAutoFill", 2), Dt([
2306
2306
  a({ type: Object })
2307
- ], i.prototype, "propertyMap", 2), Ot([
2307
+ ], i.prototype, "propertyMap", 2), Dt([
2308
2308
  a({ type: String, attribute: "data-title" })
2309
- ], i.prototype, "title", 2), Ot([
2309
+ ], i.prototype, "title", 2), Dt([
2310
2310
  a({ reflect: !0 })
2311
- ], i.prototype, "dataProvider", 2), Ot([
2311
+ ], i.prototype, "dataProvider", 2), Dt([
2312
2312
  a()
2313
- ], i.prototype, "bindPublisher", 2), Ot([
2313
+ ], i.prototype, "bindPublisher", 2), Dt([
2314
2314
  a()
2315
- ], i.prototype, "props", 1), Ot([
2316
- L()
2315
+ ], i.prototype, "props", 1), Dt([
2316
+ D()
2317
2317
  ], i.prototype, "shouldRenderLazy", 2), i;
2318
2318
  };
2319
- var To = Object.defineProperty, Mo = (r, t, i, s) => {
2319
+ var To = Object.defineProperty, Io = (r, t, i, s) => {
2320
2320
  for (var e = void 0, o = r.length - 1, n; o >= 0; o--)
2321
2321
  (n = r[o]) && (e = n(t, i, e) || e);
2322
2322
  return e && To(t, i, e), e;
2323
2323
  };
2324
- const Qe = (r) => {
2324
+ const Je = (r) => {
2325
2325
  class t extends r {
2326
2326
  constructor() {
2327
2327
  super(...arguments), this.templates = null, this.templateValueAttribute = "data-value", this.templateList = [], this.templateParts = {}, this.templatePartsList = [];
@@ -2335,18 +2335,18 @@ const Qe = (r) => {
2335
2335
  ), this.templateList.length == 0 && (this.templateList = s), super.connectedCallback();
2336
2336
  }
2337
2337
  }
2338
- return Mo([
2338
+ return Io([
2339
2339
  a({ type: Array })
2340
2340
  ], t.prototype, "templates"), t;
2341
2341
  };
2342
- var Io = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, K = (r, t, i, s) => {
2342
+ var Mo = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, K = (r, t, i, s) => {
2343
2343
  for (var e = s > 1 ? void 0 : s ? jo(t, i) : t, o = r.length - 1, n; o >= 0; o--)
2344
2344
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
2345
- return s && e && Io(t, i, e), e;
2345
+ return s && e && Mo(t, i, e), e;
2346
2346
  };
2347
2347
  const Fo = "sonic-date";
2348
- hi(() => R.updateComponentsLanguage());
2349
- let R = class extends Z(Qe(w)) {
2348
+ di(() => R.updateComponentsLanguage());
2349
+ let R = class extends G(Je(w)) {
2350
2350
  constructor() {
2351
2351
  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.computedStartDate = 0, this.end_date = 0, this.computedEndDate = 0, this.hide_hours = !1, 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();
2352
2352
  }
@@ -2396,7 +2396,7 @@ let R = class extends Z(Qe(w)) {
2396
2396
  this.language || this.pageLanguage,
2397
2397
  i
2398
2398
  ).formatToParts(s);
2399
- return this.designMode && e.forEach((o) => o.value = o.value.replace(/,/g, " ")), e[0].value = us.ucFirst(e[0].value), e.filter((o) => o.hidden !== !0);
2399
+ return this.designMode && e.forEach((o) => o.value = o.value.replace(/,/g, " ")), e[0].value = fs.ucFirst(e[0].value), e.filter((o) => o.hidden !== !0);
2400
2400
  }
2401
2401
  dateStringToSeconds(r) {
2402
2402
  return new Date(r).getTime() / 1e3;
@@ -2409,7 +2409,7 @@ let R = class extends Z(Qe(w)) {
2409
2409
  }
2410
2410
  render() {
2411
2411
  if (!this.renderIf || !this.computedStartDate && !this.now && !this.computedEndDate)
2412
- return S;
2412
+ return C;
2413
2413
  const r = {
2414
2414
  year: this.year || "numeric",
2415
2415
  month: this.month || "short",
@@ -2539,8 +2539,8 @@ let et = (H = class {
2539
2539
  static changeFromComponent(t) {
2540
2540
  const i = t.goBack, s = document.referrer;
2541
2541
  if (i != null) {
2542
- const h = document.location.origin, u = (i || h).toString(), g = s.indexOf("http") == 0 ? new URL(s).origin != h : !1, v = s == "", b = history.length < 3, x = v && b, C = u != document.location.href;
2543
- if (g && C || x) {
2542
+ const h = document.location.origin, u = (i || h).toString(), g = s.indexOf("http") == 0 ? new URL(s).origin != h : !1, v = s == "", b = history.length < 3, x = v && b, S = u != document.location.href;
2543
+ if (g && S || x) {
2544
2544
  const p = history.state || {};
2545
2545
  p.concorde = p.concorde || {}, p.concorde.hasDoneHistoryBack = !0, history.pushState(p, document.title), history.back(), document.location.replace(u);
2546
2546
  } else
@@ -2608,12 +2608,12 @@ const xr = "important", zo = " !" + xr, ut = ee(class extends De {
2608
2608
  return wt;
2609
2609
  }
2610
2610
  });
2611
- var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, Dt = (r, t, i, s) => {
2611
+ var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, Lt = (r, t, i, s) => {
2612
2612
  for (var e = s > 1 ? void 0 : s ? Uo(t, i) : t, o = r.length - 1, n; o >= 0; o--)
2613
2613
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
2614
2614
  return s && e && Ro(t, i, e), e;
2615
2615
  };
2616
- const hs = /* @__PURE__ */ new Map(), Le = (r) => {
2616
+ const ds = /* @__PURE__ */ new Map(), Le = (r) => {
2617
2617
  class t extends r {
2618
2618
  constructor(...s) {
2619
2619
  super(), this.touched = !1, this.error = !1, this.autofocus = !1, this.required = !1, this.forceAutoFill = !1, this.disabled = !1, this.formDataProvider = "", this._name = "", this._value = "", this.onValueAssign = (e) => {
@@ -2711,11 +2711,11 @@ const hs = /* @__PURE__ */ new Map(), Le = (r) => {
2711
2711
  const e = s.split(" "), o = e[0];
2712
2712
  if (!o) return;
2713
2713
  for (const l of e) {
2714
- hs.has(l) || hs.set(l, []);
2715
- const c = hs.get(l);
2714
+ ds.has(l) || ds.set(l, []);
2715
+ const c = ds.get(l);
2716
2716
  c?.indexOf(this) == -1 && c.push(this);
2717
2717
  }
2718
- const n = hs.get(o);
2718
+ const n = ds.get(o);
2719
2719
  this.addEventListener("keydown", (l) => {
2720
2720
  const c = l;
2721
2721
  if (!["ArrowDown", "ArrowUp"].includes(c.key)) return;
@@ -2762,25 +2762,25 @@ const hs = /* @__PURE__ */ new Map(), Le = (r) => {
2762
2762
  ), s.offFormInvalidate(this.onFormDataInValidate));
2763
2763
  }
2764
2764
  }
2765
- return Dt([
2765
+ return Lt([
2766
2766
  a({ type: Boolean, reflect: !0 })
2767
- ], t.prototype, "touched", 2), Dt([
2767
+ ], t.prototype, "touched", 2), Lt([
2768
2768
  a({ type: Boolean })
2769
- ], t.prototype, "error", 2), Dt([
2769
+ ], t.prototype, "error", 2), Lt([
2770
2770
  a({ type: Boolean })
2771
- ], t.prototype, "autofocus", 2), Dt([
2771
+ ], t.prototype, "autofocus", 2), Lt([
2772
2772
  a({ type: Boolean })
2773
- ], t.prototype, "required", 2), Dt([
2773
+ ], t.prototype, "required", 2), Lt([
2774
2774
  a({ type: Boolean })
2775
- ], t.prototype, "forceAutoFill", 2), Dt([
2775
+ ], t.prototype, "forceAutoFill", 2), Lt([
2776
2776
  a({ type: Boolean, reflect: !0 })
2777
- ], t.prototype, "disabled", 2), Dt([
2777
+ ], t.prototype, "disabled", 2), Lt([
2778
2778
  a({ type: String, attribute: "data-aria-label" })
2779
- ], t.prototype, "ariaLabel", 2), Dt([
2779
+ ], t.prototype, "ariaLabel", 2), Lt([
2780
2780
  a({ type: String, attribute: "data-aria-labelledby" })
2781
- ], t.prototype, "ariaLabelledby", 2), Dt([
2781
+ ], t.prototype, "ariaLabelledby", 2), Lt([
2782
2782
  a()
2783
- ], t.prototype, "name", 1), Dt([
2783
+ ], t.prototype, "name", 1), Lt([
2784
2784
  a()
2785
2785
  ], t.prototype, "value", 1), t;
2786
2786
  };
@@ -2904,7 +2904,7 @@ function Ho() {
2904
2904
  (function(s, e) {
2905
2905
  return t !== null ? r.exports = e() : s.UrlPattern = e();
2906
2906
  })(qo, function() {
2907
- var s, e, o, n, l, c, h, u, d, g, v, b, x, C, E;
2907
+ var s, e, o, n, l, c, h, u, d, g, v, b, x, S, E;
2908
2908
  return d = function(p) {
2909
2909
  return p.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
2910
2910
  }, h = function(p, f) {
@@ -2912,7 +2912,7 @@ function Ho() {
2912
2912
  for (k = [], y = -1, A = p.length; ++y < A; )
2913
2913
  k = k.concat(f(p[y]));
2914
2914
  return k;
2915
- }, C = function(p, f) {
2915
+ }, S = function(p, f) {
2916
2916
  var y, A, k;
2917
2917
  for (k = "", y = -1, A = p.length; ++y < A; )
2918
2918
  k += f(p[y]);
@@ -2920,9 +2920,9 @@ function Ho() {
2920
2920
  }, x = function(p) {
2921
2921
  return new RegExp(p.toString() + "|").exec("").length - 1;
2922
2922
  }, v = function(p, f) {
2923
- var y, A, k, q, Y;
2923
+ var y, A, k, q, Z;
2924
2924
  for (q = {}, y = -1, k = p.length; ++y < k; )
2925
- A = p[y], Y = f[y], Y != null && (q[A] != null ? (Array.isArray(q[A]) || (q[A] = [q[A]]), q[A].push(Y)) : q[A] = Y);
2925
+ A = p[y], Z = f[y], Z != null && (q[A] != null ? (Array.isArray(q[A]) || (q[A] = [q[A]]), q[A].push(Z)) : q[A] = Z);
2926
2926
  return q;
2927
2927
  }, s = {}, s.Result = function(p, f) {
2928
2928
  this.value = p, this.rest = f;
@@ -2943,11 +2943,11 @@ function Ho() {
2943
2943
  }, s.sequence = function() {
2944
2944
  var p;
2945
2945
  return p = 1 <= arguments.length ? i.call(arguments, 0) : [], function(f) {
2946
- var y, A, k, q, Y, ot;
2946
+ var y, A, k, q, Z, ot;
2947
2947
  for (y = -1, A = p.length, ot = [], q = f; ++y < A; ) {
2948
- if (k = p[y], Y = k(q), Y == null)
2948
+ if (k = p[y], Z = k(q), Z == null)
2949
2949
  return;
2950
- ot.push(Y.value), q = Y.rest;
2950
+ ot.push(Z.value), q = Z.rest;
2951
2951
  }
2952
2952
  return new s.Result(ot, q);
2953
2953
  };
@@ -2970,11 +2970,11 @@ function Ho() {
2970
2970
  return f == null && (f = p()), f(y);
2971
2971
  };
2972
2972
  }, s.baseMany = function(p, f, y, A, k) {
2973
- var q, Y, ot, Ie;
2974
- for (ot = k, Ie = y ? "" : []; !(f != null && (q = f(ot), q != null) || (Y = p(ot), Y == null)); )
2975
- y ? Ie += Y.value : Ie.push(Y.value), ot = Y.rest;
2976
- if (!(A && Ie.length === 0))
2977
- return new s.Result(Ie, ot);
2973
+ var q, Z, ot, Me;
2974
+ for (ot = k, Me = y ? "" : []; !(f != null && (q = f(ot), q != null) || (Z = p(ot), Z == null)); )
2975
+ y ? Me += Z.value : Me.push(Z.value), ot = Z.rest;
2976
+ if (!(A && Me.length === 0))
2977
+ return new s.Result(Me, ot);
2978
2978
  }, s.many1 = function(p) {
2979
2979
  return function(f) {
2980
2980
  return s.baseMany(p, null, !1, !0, f);
@@ -3014,7 +3014,7 @@ function Ho() {
3014
3014
  wildcardChar: "*"
3015
3015
  }, c = function(p, f) {
3016
3016
  if (Array.isArray(p))
3017
- return C(p, function(y) {
3017
+ return S(p, function(y) {
3018
3018
  return c(y, f);
3019
3019
  });
3020
3020
  switch (p.tag) {
@@ -3043,7 +3043,7 @@ function Ho() {
3043
3043
  return n(p.value);
3044
3044
  }
3045
3045
  }, g = function(p, f, y, A) {
3046
- var k, q, Y, ot;
3046
+ var k, q, Z, ot;
3047
3047
  if (A == null && (A = !1), ot = p[f], ot == null) {
3048
3048
  if (A)
3049
3049
  throw new Error("no values provided for key `" + f + "`");
@@ -3054,7 +3054,7 @@ function Ho() {
3054
3054
  throw new Error("too few values provided for key `" + f + "`");
3055
3055
  return;
3056
3056
  }
3057
- return Y = Array.isArray(ot) ? ot[k] : ot, A && (y[f] = k + 1), Y;
3057
+ return Z = Array.isArray(ot) ? ot[k] : ot, A && (y[f] = k + 1), Z;
3058
3058
  }, o = function(p, f, y) {
3059
3059
  var A, k;
3060
3060
  if (Array.isArray(p)) {
@@ -3075,7 +3075,7 @@ function Ho() {
3075
3075
  }
3076
3076
  }, E = function(p, f, y) {
3077
3077
  if (Array.isArray(p))
3078
- return C(p, function(A) {
3078
+ return S(p, function(A) {
3079
3079
  return E(A, f, y);
3080
3080
  });
3081
3081
  switch (p.tag) {
@@ -3089,7 +3089,7 @@ function Ho() {
3089
3089
  return o(p.value, f, y) ? E(p.value, f, y) : "";
3090
3090
  }
3091
3091
  }, e = function(p, f) {
3092
- var y, A, k, q, Y;
3092
+ var y, A, k, q, Z;
3093
3093
  if (p instanceof e) {
3094
3094
  this.isRegex = p.isRegex, this.regex = p.regex, this.ast = p.ast, this.names = p.names;
3095
3095
  return;
@@ -3108,7 +3108,7 @@ function Ho() {
3108
3108
  }
3109
3109
  if (p === "")
3110
3110
  throw new Error("argument must not be the empty string");
3111
- if (Y = p.replace(/\s+/g, ""), Y !== p)
3111
+ if (Z = p.replace(/\s+/g, ""), Z !== p)
3112
3112
  throw new Error("argument must not contain whitespace");
3113
3113
  if (A = {
3114
3114
  escapeChar: f?.escapeChar || u.escapeChar,
@@ -3132,21 +3132,21 @@ function Ho() {
3132
3132
  if (p !== Object(p))
3133
3133
  throw new Error("argument must be an object or undefined");
3134
3134
  return E(this.ast, p, {});
3135
- }, e.escapeForRegex = d, e.concatMap = h, e.stringConcatMap = C, e.regexGroupCount = x, e.keysAndValuesToObject = v, e.P = s, e.newParser = b, e.defaultOptions = u, e.astNodeToRegexString = l, e.astNodeToNames = n, e.getParam = g, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = E, e;
3135
+ }, e.escapeForRegex = d, e.concatMap = h, e.stringConcatMap = S, e.regexGroupCount = x, e.keysAndValuesToObject = v, e.P = s, e.newParser = b, e.defaultOptions = u, e.astNodeToRegexString = l, e.astNodeToNames = n, e.getParam = g, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = E, e;
3136
3136
  });
3137
3137
  })(Ue, Ue.exports)), Ue.exports;
3138
3138
  }
3139
3139
  var Wo = Ho();
3140
- const qt = /* @__PURE__ */ Bo(Wo), Ko = Rr, Yo = Vo, Xo = As, Zo = us, Xt = J, Go = et, Je = tt, Qo = He, st = T, Jo = Ce, tn = qt;
3140
+ const qt = /* @__PURE__ */ Bo(Wo), Ko = Rr, Yo = Vo, Zo = As, Xo = fs, Zt = J, Go = et, ts = tt, Qo = He, st = T, Jo = Ce, tn = qt;
3141
3141
  window["concorde-utils"] = window["concorde-utils"] || {};
3142
3142
  window["concorde-utils"] = {
3143
3143
  Utils: Ko,
3144
3144
  Arrays: Yo,
3145
- DataBindObserver: Xo,
3146
- Format: Zo,
3147
- HTML: Xt,
3145
+ DataBindObserver: Zo,
3146
+ Format: Xo,
3147
+ HTML: Zt,
3148
3148
  LocationHandler: Go,
3149
- Objects: Je,
3149
+ Objects: ts,
3150
3150
  PublisherProxy: Qo,
3151
3151
  PublisherManager: st,
3152
3152
  api: Jo,
@@ -3157,7 +3157,7 @@ var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, ze = (r, t
3157
3157
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
3158
3158
  return s && e && en(t, i, e), e;
3159
3159
  };
3160
- const wi = (r) => {
3160
+ const _i = (r) => {
3161
3161
  class t extends r {
3162
3162
  constructor() {
3163
3163
  super(...arguments), this._value = "", this.forceAutoFill = !1, this.unique = null, this.radio = null, this._checked = null, this.updateAllChecked = () => {
@@ -3302,7 +3302,7 @@ const wi = (r) => {
3302
3302
  * Copyright 2018 Google LLC
3303
3303
  * SPDX-License-Identifier: BSD-3-Clause
3304
3304
  */
3305
- const $ = (r) => r ?? S, Mt = P`
3305
+ const $ = (r) => r ?? C, Mt = P`
3306
3306
  /*SIZES*/
3307
3307
  :host {
3308
3308
  --sc-_fs: 1rem;
@@ -3342,7 +3342,7 @@ var rn = Object.defineProperty, on = Object.getOwnPropertyDescriptor, B = (r, t,
3342
3342
  return s && e && rn(t, i, e), e;
3343
3343
  };
3344
3344
  const nn = "sonic-button";
3345
- let I = class extends wi(Le(Z(w))) {
3345
+ let M = class extends _i(Le(G(w))) {
3346
3346
  constructor() {
3347
3347
  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 = () => {
3348
3348
  window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
@@ -3440,7 +3440,7 @@ let I = class extends wi(Le(Z(w))) {
3440
3440
  this.hasPrefix = !!this.prefixes?.length, this.hasSuffix = !!this.suffixes?.length;
3441
3441
  }
3442
3442
  };
3443
- I.styles = [
3443
+ M.styles = [
3444
3444
  Mt,
3445
3445
  P`
3446
3446
  * {
@@ -3812,91 +3812,91 @@ I.styles = [
3812
3812
  ];
3813
3813
  B([
3814
3814
  a({ type: String, reflect: !0 })
3815
- ], I.prototype, "type", 2);
3815
+ ], M.prototype, "type", 2);
3816
3816
  B([
3817
3817
  a({ type: String, reflect: !0 })
3818
- ], I.prototype, "variant", 2);
3818
+ ], M.prototype, "variant", 2);
3819
3819
  B([
3820
3820
  a({ type: String, reflect: !0 })
3821
- ], I.prototype, "size", 2);
3821
+ ], M.prototype, "size", 2);
3822
3822
  B([
3823
3823
  a({ type: String, reflect: !0 })
3824
- ], I.prototype, "shape", 2);
3824
+ ], M.prototype, "shape", 2);
3825
3825
  B([
3826
3826
  a({ type: String })
3827
- ], I.prototype, "direction", 2);
3827
+ ], M.prototype, "direction", 2);
3828
3828
  B([
3829
3829
  a({ type: String, reflect: !0 })
3830
- ], I.prototype, "alignItems", 2);
3830
+ ], M.prototype, "alignItems", 2);
3831
3831
  B([
3832
3832
  a({ type: String })
3833
- ], I.prototype, "justify", 2);
3833
+ ], M.prototype, "justify", 2);
3834
3834
  B([
3835
3835
  a({ type: String, reflect: !0 })
3836
- ], I.prototype, "align", 2);
3836
+ ], M.prototype, "align", 2);
3837
3837
  B([
3838
3838
  a({ type: String })
3839
- ], I.prototype, "minWidth", 2);
3839
+ ], M.prototype, "minWidth", 2);
3840
3840
  B([
3841
3841
  a({ type: Boolean, reflect: !0 })
3842
- ], I.prototype, "icon", 2);
3842
+ ], M.prototype, "icon", 2);
3843
3843
  B([
3844
3844
  a({ type: String })
3845
- ], I.prototype, "download", 2);
3845
+ ], M.prototype, "download", 2);
3846
3846
  B([
3847
3847
  a({ type: String })
3848
- ], I.prototype, "autoActive", 2);
3848
+ ], M.prototype, "autoActive", 2);
3849
3849
  B([
3850
3850
  a({ type: Boolean, reflect: !0 })
3851
- ], I.prototype, "loading", 2);
3851
+ ], M.prototype, "loading", 2);
3852
3852
  B([
3853
- L()
3854
- ], I.prototype, "hasPrefix", 2);
3853
+ D()
3854
+ ], M.prototype, "hasPrefix", 2);
3855
3855
  B([
3856
- L()
3857
- ], I.prototype, "hasSuffix", 2);
3856
+ D()
3857
+ ], M.prototype, "hasSuffix", 2);
3858
3858
  B([
3859
3859
  ke({ flatten: !0, slot: "prefix" })
3860
- ], I.prototype, "prefixes", 2);
3860
+ ], M.prototype, "prefixes", 2);
3861
3861
  B([
3862
3862
  ke({ flatten: !0, slot: "suffix" })
3863
- ], I.prototype, "suffixes", 2);
3863
+ ], M.prototype, "suffixes", 2);
3864
3864
  B([
3865
3865
  a({ type: String })
3866
- ], I.prototype, "target", 2);
3866
+ ], M.prototype, "target", 2);
3867
3867
  B([
3868
3868
  a({ type: String })
3869
- ], I.prototype, "href", 1);
3869
+ ], M.prototype, "href", 1);
3870
3870
  B([
3871
3871
  a({ type: String })
3872
- ], I.prototype, "goBack", 2);
3872
+ ], M.prototype, "goBack", 2);
3873
3873
  B([
3874
3874
  a({ type: Boolean })
3875
- ], I.prototype, "pushState", 2);
3875
+ ], M.prototype, "pushState", 2);
3876
3876
  B([
3877
3877
  a({ type: Boolean, reflect: !0 })
3878
- ], I.prototype, "active", 2);
3878
+ ], M.prototype, "active", 2);
3879
3879
  B([
3880
3880
  a({ type: Boolean, reflect: !0 })
3881
- ], I.prototype, "autoRepeat", 2);
3881
+ ], M.prototype, "autoRepeat", 2);
3882
3882
  B([
3883
3883
  a({ type: String, attribute: "data-aria-controls" })
3884
- ], I.prototype, "ariaControls", 2);
3884
+ ], M.prototype, "ariaControls", 2);
3885
3885
  B([
3886
3886
  a({ type: Boolean, attribute: "data-aria-expanded" })
3887
- ], I.prototype, "sonicAriaExpanded", 2);
3887
+ ], M.prototype, "sonicAriaExpanded", 2);
3888
3888
  B([
3889
- L()
3890
- ], I.prototype, "location", 2);
3891
- I = B([
3889
+ D()
3890
+ ], M.prototype, "location", 2);
3891
+ M = B([
3892
3892
  _(nn)
3893
- ], I);
3893
+ ], M);
3894
3894
  /**
3895
3895
  * @license
3896
3896
  * Copyright 2017 Google LLC
3897
3897
  * SPDX-License-Identifier: BSD-3-Clause
3898
3898
  */
3899
- const Xi = (r, t, i) => {
3899
+ const Zi = (r, t, i) => {
3900
3900
  const s = /* @__PURE__ */ new Map();
3901
3901
  for (let e = t; e <= i; e++) s.set(r[e], e);
3902
3902
  return s;
@@ -3926,34 +3926,34 @@ const Xi = (r, t, i) => {
3926
3926
  else if (l[g] === n[b]) c[b] = ne(e[g], o[b]), g--, b--;
3927
3927
  else if (l[d] === n[b]) c[b] = ne(e[d], o[b]), Fe(r, c[b + 1], e[d]), d++, b--;
3928
3928
  else if (l[g] === n[v]) c[v] = ne(e[g], o[v]), Fe(r, e[d], e[g]), g--, v++;
3929
- else if (h === void 0 && (h = Xi(n, v, b), u = Xi(l, d, g)), h.has(l[d])) if (h.has(l[g])) {
3930
- const x = u.get(n[v]), C = x !== void 0 ? e[x] : null;
3931
- if (C === null) {
3929
+ else if (h === void 0 && (h = Zi(n, v, b), u = Zi(l, d, g)), h.has(l[d])) if (h.has(l[g])) {
3930
+ const x = u.get(n[v]), S = x !== void 0 ? e[x] : null;
3931
+ if (S === null) {
3932
3932
  const E = Fe(r, e[d]);
3933
3933
  ne(E, o[v]), c[v] = E;
3934
- } else c[v] = ne(C, o[v]), Fe(r, e[d], C), e[x] = null;
3934
+ } else c[v] = ne(S, o[v]), Fe(r, e[d], S), e[x] = null;
3935
3935
  v++;
3936
- } else zs(e[g]), g--;
3937
- else zs(e[d]), d++;
3936
+ } else Rs(e[g]), g--;
3937
+ else Rs(e[d]), d++;
3938
3938
  for (; v <= b; ) {
3939
3939
  const x = Fe(r, c[b + 1]);
3940
3940
  ne(x, o[v]), c[v++] = x;
3941
3941
  }
3942
3942
  for (; d <= g; ) {
3943
3943
  const x = e[d++];
3944
- x !== null && zs(x);
3944
+ x !== null && Rs(x);
3945
3945
  }
3946
3946
  return this.ut = n, bo(r, c), wt;
3947
3947
  }
3948
3948
  }), an = /* @__PURE__ */ new WeakMap();
3949
- let Zi = 0;
3950
- const Us = /* @__PURE__ */ new Map(), Gi = /* @__PURE__ */ new WeakSet(), Qi = () => new Promise(((r) => requestAnimationFrame(r))), Ji = (r, t) => {
3949
+ let Xi = 0;
3950
+ const Vs = /* @__PURE__ */ new Map(), Gi = /* @__PURE__ */ new WeakSet(), Qi = () => new Promise(((r) => requestAnimationFrame(r))), Ji = (r, t) => {
3951
3951
  const i = r - t;
3952
3952
  return i === 0 ? void 0 : i;
3953
3953
  }, tr = (r, t) => {
3954
3954
  const i = r / t;
3955
3955
  return i === 1 ? void 0 : i;
3956
- }, Vs = { left: (r, t) => {
3956
+ }, Bs = { left: (r, t) => {
3957
3957
  const i = Ji(r, t);
3958
3958
  return { value: i, transform: i == null || isNaN(i) ? void 0 : `translateX(${i}px)` };
3959
3959
  }, top: (r, t) => {
@@ -3970,7 +3970,7 @@ const Us = /* @__PURE__ */ new Map(), Gi = /* @__PURE__ */ new WeakSet(), Qi = (
3970
3970
  const s = tr(r, t);
3971
3971
  return { value: s, overrideFrom: i, transform: s == null || isNaN(s) ? void 0 : `scaleY(${s})` };
3972
3972
  } }, ln = { duration: 333, easing: "ease-in-out" }, cn = ["left", "top", "width", "height", "opacity", "color", "background"], er = /* @__PURE__ */ new WeakMap();
3973
- class hn extends vi {
3973
+ class hn extends yi {
3974
3974
  constructor(t) {
3975
3975
  if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === be.CHILD) throw Error("The `animate` directive must be used in attribute position.");
3976
3976
  this.createFinished();
@@ -3984,7 +3984,7 @@ class hn extends vi {
3984
3984
  this.l?.(), this.l = void 0;
3985
3985
  }
3986
3986
  render(t) {
3987
- return S;
3987
+ return C;
3988
3988
  }
3989
3989
  getController() {
3990
3990
  return an.get(this.u);
@@ -4004,7 +4004,7 @@ class hn extends vi {
4004
4004
  m() {
4005
4005
  const t = {}, i = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
4006
4006
  return this.options.properties.forEach(((e) => {
4007
- const o = i[e] ?? (Vs[e] ? void 0 : s[e]), n = Number(o);
4007
+ const o = i[e] ?? (Bs[e] ? void 0 : s[e]), n = Number(o);
4008
4008
  t[e] = isNaN(n) ? o + "" : n;
4009
4009
  })), t;
4010
4010
  }
@@ -4029,11 +4029,11 @@ class hn extends vi {
4029
4029
  const { from: o, to: n } = this.N(this.A, e, i);
4030
4030
  this.log("measured", [this.A, e, o, n]), t = this.calculateKeyframes(o, n);
4031
4031
  } else {
4032
- const o = Us.get(this.options.inId);
4032
+ const o = Vs.get(this.options.inId);
4033
4033
  if (o) {
4034
- Us.delete(this.options.inId);
4034
+ Vs.delete(this.options.inId);
4035
4035
  const { from: n, to: l } = this.N(o, e, i);
4036
- t = this.calculateKeyframes(n, l), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Zi++, t.forEach(((c) => c.zIndex = Zi));
4036
+ t = this.calculateKeyframes(n, l), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Xi++, t.forEach(((c) => c.zIndex = Xi));
4037
4037
  } else this.options.in && (t = [...this.options.in, {}]);
4038
4038
  }
4039
4039
  this.animate(t, s);
@@ -4047,7 +4047,7 @@ class hn extends vi {
4047
4047
  reconnected() {
4048
4048
  }
4049
4049
  async disconnected() {
4050
- if (!this.h || (this.options.id !== void 0 && Us.set(this.options.id, this.A), this.options.out === void 0)) return;
4050
+ if (!this.h || (this.options.id !== void 0 && Vs.set(this.options.id, this.A), this.options.out === void 0)) return;
4051
4051
  if (this.prepare(), await Qi(), this.i?.isConnected) {
4052
4052
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
4053
4053
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
@@ -4101,8 +4101,8 @@ class hn extends vi {
4101
4101
  const l = {};
4102
4102
  for (const c in i) {
4103
4103
  const h = t[c], u = i[c];
4104
- if (c in Vs) {
4105
- const d = Vs[c];
4104
+ if (c in Bs) {
4105
+ const d = Bs[c];
4106
4106
  if (h === void 0 || u === void 0) continue;
4107
4107
  const g = d(h, u);
4108
4108
  g.transform !== void 0 && (l[c] = g.value, n = !0, e.transform = `${e.transform ?? ""} ${g.transform}`, g.overrideFrom !== void 0 && Object.assign(e, g.overrideFrom));
@@ -4170,7 +4170,7 @@ const dn = ee(hn), pn = { cancel: `<svg width="24" height="24" stroke-width="1.5
4170
4170
  </svg>
4171
4171
  ` }, un = {
4172
4172
  core: pn
4173
- }, ds = /* @__PURE__ */ new Map(), vs = {
4173
+ }, ps = /* @__PURE__ */ new Map(), ys = {
4174
4174
  heroicons: {
4175
4175
  url: "https://cdn.jsdelivr.net/npm/heroicons@2.0.4/24/$prefix/$name.svg",
4176
4176
  defaultPrefix: "outline"
@@ -4196,7 +4196,7 @@ const dn = ee(hn), pn = { cancel: `<svg width="24" height="24" stroke-width="1.5
4196
4196
  };
4197
4197
  let sr = !1;
4198
4198
  function fn() {
4199
- sr || (sr = !0, vs.custom.url = document.querySelector("[customIconLibraryPath]")?.getAttribute("customIconLibraryPath") || "", vs.custom.defaultPrefix = document.querySelector("[customIconDefaultPrefix]")?.getAttribute("customIconDefaultPrefix") || "");
4199
+ sr || (sr = !0, ys.custom.url = document.querySelector("[customIconLibraryPath]")?.getAttribute("customIconLibraryPath") || "", ys.custom.defaultPrefix = document.querySelector("[customIconDefaultPrefix]")?.getAttribute("customIconDefaultPrefix") || "");
4200
4200
  }
4201
4201
  const ir = sessionStorage.getItem("sonicIconsCache"), Vt = ir ? JSON.parse(ir) : { icons: {}, names: [] }, mn = 100, Ni = class Ni {
4202
4202
  };
@@ -4205,8 +4205,8 @@ Ni.default = {
4205
4205
  const i = t.library;
4206
4206
  if (!t.name) return "";
4207
4207
  const s = t.name, e = un;
4208
- if (i == "custom" && fn(), i && i in vs) {
4209
- const o = vs[i], n = t.prefix || o.defaultPrefix || "", l = e[i] || {};
4208
+ if (i == "custom" && fn(), i && i in ys) {
4209
+ const o = ys[i], n = t.prefix || o.defaultPrefix || "", l = e[i] || {};
4210
4210
  e[i] = l;
4211
4211
  const c = n + "-" + s;
4212
4212
  if (l[c]) return z(l[c]);
@@ -4217,7 +4217,7 @@ Ni.default = {
4217
4217
  return l[c] = d, z(d);
4218
4218
  delete Vt.icons[h];
4219
4219
  }
4220
- if (!ds.has(h)) {
4220
+ if (!ps.has(h)) {
4221
4221
  const d = new Promise(async (g) => {
4222
4222
  try {
4223
4223
  const v = await fetch(h);
@@ -4231,8 +4231,8 @@ Ni.default = {
4231
4231
  g("");
4232
4232
  return;
4233
4233
  }
4234
- const x = await v.text(), C = /^\s*<svg[\s>]/i.test(x);
4235
- g(C ? x : "");
4234
+ const x = await v.text(), S = /^\s*<svg[\s>]/i.test(x);
4235
+ g(S ? x : "");
4236
4236
  } catch {
4237
4237
  g("");
4238
4238
  }
@@ -4240,10 +4240,10 @@ Ni.default = {
4240
4240
  Oo(), g("");
4241
4241
  }
4242
4242
  });
4243
- ds.set(h, d);
4243
+ ps.set(h, d);
4244
4244
  }
4245
- const u = await ds.get(h);
4246
- if (ds.delete(h), l[c] = u || "", u && /^\s*<svg[\s>]/i.test(u) && (Vt.icons[h] = u, Vt.names.push(h)), Vt.names.length > mn) {
4245
+ const u = await ps.get(h);
4246
+ if (ps.delete(h), l[c] = u || "", u && /^\s*<svg[\s>]/i.test(u) && (Vt.icons[h] = u, Vt.names.push(h)), Vt.names.length > mn) {
4247
4247
  const d = Vt.names.shift();
4248
4248
  delete Vt.icons[d];
4249
4249
  }
@@ -4252,8 +4252,8 @@ Ni.default = {
4252
4252
  return z(e.core[t.name] || "");
4253
4253
  }
4254
4254
  };
4255
- let Ks = Ni;
4256
- var gn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor, ts = (r, t, i, s) => {
4255
+ let Ys = Ni;
4256
+ var gn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor, es = (r, t, i, s) => {
4257
4257
  for (var e = s > 1 ? void 0 : s ? bn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
4258
4258
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
4259
4259
  return s && e && gn(t, i, e), e;
@@ -4264,7 +4264,7 @@ let de = class extends w {
4264
4264
  super(...arguments), this.iconText = "", this.name = "", this.prefix = "", this.library = "";
4265
4265
  }
4266
4266
  async updateIcon() {
4267
- this.iconText = await Ks.default.get({
4267
+ this.iconText = await Ys.default.get({
4268
4268
  name: this.name,
4269
4269
  prefix: this.prefix,
4270
4270
  library: this.library
@@ -4277,7 +4277,7 @@ let de = class extends w {
4277
4277
  (r.has("name") || r.has("prefix") || r.has("library")) && this.updateIcon(), super.willUpdate(r);
4278
4278
  }
4279
4279
  render() {
4280
- return this.iconText ? this.iconText : S;
4280
+ return this.iconText ? this.iconText : C;
4281
4281
  }
4282
4282
  };
4283
4283
  de.styles = P`
@@ -4331,22 +4331,22 @@ de.styles = P`
4331
4331
  --_sc-icon-size: 2.8em;
4332
4332
  }
4333
4333
  `;
4334
- ts([
4335
- L()
4334
+ es([
4335
+ D()
4336
4336
  ], de.prototype, "iconText", 2);
4337
- ts([
4337
+ es([
4338
4338
  a({ type: String })
4339
4339
  ], de.prototype, "name", 2);
4340
- ts([
4340
+ es([
4341
4341
  a({ type: String })
4342
4342
  ], de.prototype, "prefix", 2);
4343
- ts([
4343
+ es([
4344
4344
  a({ type: String })
4345
4345
  ], de.prototype, "library", 2);
4346
- de = ts([
4346
+ de = es([
4347
4347
  _(vn)
4348
4348
  ], de);
4349
- const es = P`
4349
+ const ss = P`
4350
4350
  .custom-scroll {
4351
4351
  overflow: auto !important;
4352
4352
  overflow-y: overlay !important;
@@ -4369,7 +4369,7 @@ const es = P`
4369
4369
  }
4370
4370
  }
4371
4371
  `;
4372
- var yn = Object.defineProperty, wn = Object.getOwnPropertyDescriptor, It = (r, t, i, s) => {
4372
+ var yn = Object.defineProperty, wn = Object.getOwnPropertyDescriptor, kt = (r, t, i, s) => {
4373
4373
  for (var e = s > 1 ? void 0 : s ? wn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
4374
4374
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
4375
4375
  return s && e && yn(t, i, e), e;
@@ -4382,21 +4382,62 @@ const _n = {
4382
4382
  }, xn = "sonic-toast-item";
4383
4383
  let _t = class extends w {
4384
4384
  constructor() {
4385
- 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;
4385
+ 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, this._titleId = "";
4386
4386
  }
4387
4387
  // @queryAssignedElements({flatten: true, slot: main"})
4388
4388
  // textSlot!: HTMLElement[];
4389
+ /**
4390
+ * Retourne le rôle ARIA approprié selon le statut du toast
4391
+ * - "alert" pour les erreurs (messages critiques) - implique déjà aria-live="assertive"
4392
+ * - "status" pour les autres (messages informatifs)
4393
+ */
4394
+ getAriaRole() {
4395
+ return this.status === "error" ? "alert" : "status";
4396
+ }
4397
+ /**
4398
+ * Retourne la valeur aria-live appropriée selon le statut
4399
+ * - null pour les erreurs car role="alert" implique déjà aria-live="assertive"
4400
+ * - "polite" pour les autres (peut attendre)
4401
+ */
4402
+ getAriaLive() {
4403
+ return this.status === "error" ? null : "polite";
4404
+ }
4405
+ /**
4406
+ * Génère et mémorise un ID unique pour le titre du toast
4407
+ */
4408
+ getTitleId() {
4409
+ return this._titleId ? this._titleId : (this._titleId = this.id ? `toast-title-${this.id}` : `toast-title-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`, this._titleId);
4410
+ }
4411
+ /**
4412
+ * Génère un label ARIA descriptif pour le bouton de fermeture
4413
+ */
4414
+ getCloseButtonLabel() {
4415
+ const r = {
4416
+ error: "Fermer le message d'erreur",
4417
+ warning: "Fermer l'avertissement",
4418
+ success: "Fermer le message de succès",
4419
+ info: "Fermer l'information"
4420
+ };
4421
+ return this.status && r[this.status] || "Fermer la notification";
4422
+ }
4389
4423
  render() {
4390
4424
  if (this.dismissForever) {
4391
- const r = localStorage.getItem("sonic-toast-dismissed") || "{}";
4392
- if (JSON.parse(r)[this.id])
4393
- return S;
4425
+ const s = localStorage.getItem("sonic-toast-dismissed") || "{}";
4426
+ if (JSON.parse(s)[this.id])
4427
+ return C;
4394
4428
  }
4395
- return this.visible ? m`<div
4429
+ if (!this.visible)
4430
+ return C;
4431
+ const r = this.title ? this.getTitleId() : void 0, t = !this.title && this.text ? this.text.length > 100 ? this.text.substring(0, 100).replace(/\s+\S*$/, "") + "..." : this.text : void 0, i = this.getAriaLive();
4432
+ return m`<div
4396
4433
  class="sonic-toast ${this.status} ${this.ghost ? "ghost" : ""}"
4434
+ role=${this.getAriaRole()}
4435
+ aria-live=${i || C}
4436
+ aria-atomic="true"
4437
+ aria-label=${t || C}
4397
4438
  >
4398
4439
  <button
4399
- aria-label="Close"
4440
+ aria-label=${this.getCloseButtonLabel()}
4400
4441
  class="sonic-toast-close"
4401
4442
  @click=${() => this.hide()}
4402
4443
  >
@@ -4410,20 +4451,23 @@ let _t = class extends w {
4410
4451
  name=${_n[this.status]}
4411
4452
  class="sonic-toast-icon"
4412
4453
  size="2xl"
4454
+ aria-hidden="true"
4413
4455
  ></sonic-icon>`}
4414
4456
 
4415
4457
  <div class="sonic-toast-text">
4416
- ${this.title ? m`<div class="sonic-toast-title">${this.title}</div>` : ""}
4458
+ ${this.title ? m`<div class="sonic-toast-title" id=${r}>
4459
+ ${this.title}
4460
+ </div>` : ""}
4417
4461
  ${this.text ? z(this.text) : ""}
4418
4462
  <slot></slot>
4419
4463
  </div>
4420
4464
 
4421
4465
  ${this.preserve ? "" : this.autoHide()}
4422
4466
  </div>
4423
- </div>` : S;
4467
+ </div>`;
4424
4468
  }
4425
4469
  hide() {
4426
- if (Xt.getClosestElement(this, "sonic-toast") || (this.visible = !1), this.dismissForever) {
4470
+ if (Zt.getClosestElement(this, "sonic-toast") || (this.visible = !1), this.dismissForever) {
4427
4471
  const r = localStorage.getItem("sonic-toast-dismissed") || "{}", t = JSON.parse(r);
4428
4472
  t[this.id] = !0, localStorage.setItem(
4429
4473
  "sonic-toast-dismissed",
@@ -4442,7 +4486,7 @@ let _t = class extends w {
4442
4486
  }
4443
4487
  };
4444
4488
  _t.styles = [
4445
- es,
4489
+ ss,
4446
4490
  P`
4447
4491
  * {
4448
4492
  box-sizing: border-box;
@@ -4625,34 +4669,37 @@ _t.styles = [
4625
4669
  }
4626
4670
  `
4627
4671
  ];
4628
- It([
4672
+ kt([
4629
4673
  a({ type: String })
4630
4674
  ], _t.prototype, "title", 2);
4631
- It([
4675
+ kt([
4632
4676
  a({ type: String })
4633
4677
  ], _t.prototype, "id", 2);
4634
- It([
4678
+ kt([
4635
4679
  a({ type: String })
4636
4680
  ], _t.prototype, "text", 2);
4637
- It([
4681
+ kt([
4638
4682
  a({ type: String })
4639
4683
  ], _t.prototype, "status", 2);
4640
- It([
4684
+ kt([
4641
4685
  a({ type: Boolean })
4642
4686
  ], _t.prototype, "ghost", 2);
4643
- It([
4687
+ kt([
4644
4688
  a({ type: Boolean })
4645
4689
  ], _t.prototype, "preserve", 2);
4646
- It([
4690
+ kt([
4647
4691
  a({ type: Boolean })
4648
4692
  ], _t.prototype, "dismissForever", 2);
4649
- It([
4693
+ kt([
4650
4694
  a({ type: String })
4651
4695
  ], _t.prototype, "maxHeight", 2);
4652
- It([
4653
- L()
4696
+ kt([
4697
+ D()
4654
4698
  ], _t.prototype, "visible", 2);
4655
- _t = It([
4699
+ kt([
4700
+ D()
4701
+ ], _t.prototype, "_titleId", 2);
4702
+ _t = kt([
4656
4703
  _(xn)
4657
4704
  ], _t);
4658
4705
  const Pn = P`
@@ -4791,7 +4838,7 @@ const Pn = P`
4791
4838
  }
4792
4839
  }
4793
4840
  `;
4794
- var Sn = Object.defineProperty, An = Object.getOwnPropertyDescriptor, ss = (r, t, i, s) => {
4841
+ var Sn = Object.defineProperty, An = Object.getOwnPropertyDescriptor, is = (r, t, i, s) => {
4795
4842
  for (var e = s > 1 ? void 0 : s ? An(t, i) : t, o = r.length - 1, n; o >= 0; o--)
4796
4843
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
4797
4844
  return s && e && Sn(t, i, e), e;
@@ -4897,19 +4944,19 @@ yt.styles = [
4897
4944
  }
4898
4945
  `
4899
4946
  ];
4900
- ss([
4947
+ is([
4901
4948
  a({ type: String, reflect: !0 })
4902
4949
  ], yt.prototype, "theme", 2);
4903
- ss([
4950
+ is([
4904
4951
  a({ type: Boolean, reflect: !0 })
4905
4952
  ], yt.prototype, "background", 2);
4906
- ss([
4953
+ is([
4907
4954
  a({ type: Boolean, reflect: !0 })
4908
4955
  ], yt.prototype, "color", 2);
4909
- ss([
4956
+ is([
4910
4957
  a({ type: Boolean, reflect: !0 })
4911
4958
  ], yt.prototype, "font", 2);
4912
- yt = ss([
4959
+ yt = is([
4913
4960
  _(kn)
4914
4961
  ], yt);
4915
4962
  var On = Object.defineProperty, Dn = Object.getOwnPropertyDescriptor, Pr = (r, t, i, s) => {
@@ -4943,7 +4990,7 @@ let O = class extends w {
4943
4990
  zIndex: "10000",
4944
4991
  maxWidth: "64ch",
4945
4992
  flexDirection: "column-reverse"
4946
- }), O.handleExistingToastDelegation(), this.toasts ? m`<div aria-live="polite" style=${ut(i)}>
4993
+ }), O.handleExistingToastDelegation(), this.toasts ? m`<div style=${ut(i)}>
4947
4994
  ${Ls(
4948
4995
  this.toasts,
4949
4996
  (s) => s.id,
@@ -4985,7 +5032,7 @@ let O = class extends w {
4985
5032
  </sonic-toast-item>
4986
5033
  `
4987
5034
  )}
4988
- </div>` : S;
5035
+ </div>` : C;
4989
5036
  }
4990
5037
  static removeAll() {
4991
5038
  if (O.delegateToasts) {
@@ -5082,7 +5129,7 @@ Pr([
5082
5129
  O = Pr([
5083
5130
  _(Ln)
5084
5131
  ], O);
5085
- typeof window < "u" && (window[fs + "Toast"] = window[fs + "Toast"] || O);
5132
+ typeof window < "u" && (window[ms + "Toast"] = window[ms + "Toast"] || O);
5086
5133
  function En() {
5087
5134
  const r = (i) => {
5088
5135
  i.data.type == "querySonicToastAvailability" && i.source.postMessage({ type: "sonicToastAvailable" }, "*"), i.data.type == "removeItemsByStatus" && O.removeItemsByStatus(i.data.status), i.data.type == "removeTemporaryItems" && O.removeTemporaryItems(), i.data.type == "sonicToastAvailable" && (O.delegateToasts = !0, O.handleExistingToastDelegation()), i.data.type == "addToasts" && (O.getInstance().toasts = [
@@ -5100,24 +5147,24 @@ var Nn = Object.defineProperty, Tn = Object.getOwnPropertyDescriptor, Re = (r, t
5100
5147
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5101
5148
  return s && e && Nn(t, i, e), e;
5102
5149
  };
5103
- const Mn = /* @__PURE__ */ new Set(), In = /* @__PURE__ */ new Set(), jn = (r) => {
5104
- for (const t of In)
5150
+ const In = /* @__PURE__ */ new Set(), Mn = /* @__PURE__ */ new Set(), jn = (r) => {
5151
+ for (const t of Mn)
5105
5152
  t(r);
5106
- }, Ys = /* @__PURE__ */ new Set();
5107
- let Bs = 0;
5108
- hi(async () => {
5109
- Bs++;
5110
- const r = Bs, t = Array.from(Ys);
5153
+ }, Zs = /* @__PURE__ */ new Set();
5154
+ let qs = 0;
5155
+ di(async () => {
5156
+ qs++;
5157
+ const r = qs, t = Array.from(Zs);
5111
5158
  for (; t.length > 0; ) {
5112
- if (r != Bs) return;
5159
+ if (r != qs) return;
5113
5160
  const i = t.splice(0, 4);
5114
5161
  await Promise.all(i.map((s) => s._fetchData()));
5115
5162
  }
5116
5163
  });
5117
- const _i = (r, t) => {
5164
+ const xi = (r, t) => {
5118
5165
  class i extends r {
5119
5166
  constructor(...e) {
5120
- super(), this.api = null, this.key = "", this.isFirstLoad = !0, this.isLoading = !1, this.iObserver = null, this.isFetchEnabled = !0, this.fetchedData = null, this._endPoint = "", this.noErrorsRecordings = !1, this.requestId = 0, this.refetchEveryMs = 0, this.dataProvider = "";
5167
+ super(), this.api = null, this.key = "", this.isFirstLoad = !0, this.isLoading = !1, this.iObserver = null, this.isFetchEnabled = !0, this.fetchedData = null, this._endPoint = "", this.noErrorsRecordings = !1, this.requestId = 0, this.refetchEveryMs = 0, this.isFetching = !1, this.mustRefetch = !1, this.dataProvider = "";
5121
5168
  }
5122
5169
  get props() {
5123
5170
  return super.props;
@@ -5131,6 +5178,12 @@ const _i = (r, t) => {
5131
5178
  get endPoint() {
5132
5179
  return this._endPoint;
5133
5180
  }
5181
+ handleStartFetching() {
5182
+ return this.isFetching ? (this.mustRefetch = !0, "fetching") : (this.isFetching = !0, "okToFetch");
5183
+ }
5184
+ handleEndFetching() {
5185
+ this.isFetching = !1, this.mustRefetch && (this.mustRefetch = !1, this._fetchData());
5186
+ }
5134
5187
  /**
5135
5188
  *
5136
5189
  * C'est ici que les données sont chargées via l'utilitaire API
@@ -5140,16 +5193,21 @@ const _i = (r, t) => {
5140
5193
  async _fetchData() {
5141
5194
  if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Ce(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await st.getInstance().isLocalStrorageReady, !this.isConnected)) return;
5142
5195
  const e = st.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();
5143
- this.isLoading = !0, tt.isObject(this.props) && Object.keys(this.props || {}).length > 0 && this.isFirstLoad && window.requestAnimationFrame(() => {
5196
+ if (this.isLoading = !0, tt.isObject(this.props) && Object.keys(this.props || {}).length > 0 && this.isFirstLoad && window.requestAnimationFrame(() => {
5144
5197
  this.dispatchEvent(new CustomEvent("load", { detail: this })), this.isFirstLoad = !1, this.isLoading = !1;
5145
- });
5146
- let o = await this.api.get(
5147
- this.endPoint || this.dataProvider || "",
5148
- e
5149
- );
5150
- if (this.fetchedData = o, this.api.lastResult && !this.api.lastResult.ok && (this.noErrorsRecordings || Mn.add(this), jn(this.api.lastResult)), !!this.isConnected) {
5151
- if (o)
5152
- o._sonic_http_response_ && !o._sonic_http_response_.ok && Object.keys(o).length === 1 && O.add({ text: "Network Error", status: "error" });
5198
+ }), this.handleStartFetching() === "fetching")
5199
+ return;
5200
+ let n = null;
5201
+ try {
5202
+ n = await this.api.get(
5203
+ this.endPoint || this.dataProvider || "",
5204
+ e
5205
+ );
5206
+ } catch {
5207
+ }
5208
+ if (this.handleEndFetching(), this.fetchedData = n, this.api.lastResult && !this.api.lastResult.ok && (this.noErrorsRecordings || In.add(this), jn(this.api.lastResult)), !!this.isConnected) {
5209
+ if (n)
5210
+ n._sonic_http_response_ && !n._sonic_http_response_.ok && Object.keys(n).length === 1 && O.add({ text: "Network Error", status: "error" });
5153
5211
  else {
5154
5212
  this.isLoading = !1, this.refetchEveryMs && this.isConnected && (this.refetchTimeOutId = setTimeout(
5155
5213
  () => this._fetchData(),
@@ -5158,24 +5216,24 @@ const _i = (r, t) => {
5158
5216
  return;
5159
5217
  }
5160
5218
  if (this.key) {
5161
- const n = o._sonic_http_response_, l = this.key.split(".");
5162
- o = tt.traverse(
5163
- o,
5164
- l,
5219
+ const l = n._sonic_http_response_, c = this.key.split(".");
5220
+ n = tt.traverse(
5221
+ n,
5222
+ c,
5165
5223
  this.hasAttribute("preserveOtherKeys")
5166
- ), o && tt.isObject(o) && n && (o._sonic_http_response_ = n);
5224
+ ), n && tt.isObject(n) && l && (n._sonic_http_response_ = l);
5167
5225
  }
5168
- this.props = o, this.dispatchEvent(new CustomEvent("load", { detail: this })), this.isFirstLoad = !1, this.isLoading = !1, this.refetchEveryMs && this.isConnected && (this.refetchTimeOutId = setTimeout(
5226
+ this.props = n, this.dispatchEvent(new CustomEvent("load", { detail: this })), this.isFirstLoad = !1, this.isLoading = !1, this.refetchEveryMs && this.isConnected && (this.refetchTimeOutId = setTimeout(
5169
5227
  () => this._fetchData(),
5170
5228
  this.refetchEveryMs
5171
5229
  ));
5172
5230
  }
5173
5231
  }
5174
5232
  disconnectedCallback() {
5175
- super.disconnectedCallback(), Ys.delete(this), this.publisher?.offInvalidate(this.onInvalidate), clearTimeout(this.refetchTimeOutId), this.isFirstLoad = !1;
5233
+ super.disconnectedCallback(), Zs.delete(this), this.publisher?.offInvalidate(this.onInvalidate), clearTimeout(this.refetchTimeOutId), this.isFirstLoad = !1;
5176
5234
  }
5177
5235
  connectedCallback() {
5178
- this.lazyLoad = this.lazyLoad !== void 0 ? this.lazyLoad : this.hasAttribute("lazyload"), Ys.add(this), super.connectedCallback(), this.isFetchEnabled && (this.key = this.key != "" ? this.key : this.getAttribute("key"), this.props && this.publisher.set(this.props), this.onInvalidate = () => this._fetchData(), this.publisher?.onInvalidate(this.onInvalidate), this.lazyLoad ? this.handleLazyLoad() : this._fetchData());
5236
+ this.lazyLoad = this.lazyLoad !== void 0 ? this.lazyLoad : this.hasAttribute("lazyload"), Zs.add(this), super.connectedCallback(), this.isFetchEnabled && (this.key = this.key != "" ? this.key : this.getAttribute("key"), this.props && this.publisher.set(this.props), this.onInvalidate = () => this._fetchData(), this.publisher?.onInvalidate(this.onInvalidate), this.lazyLoad ? this.handleLazyLoad() : this._fetchData());
5179
5237
  }
5180
5238
  handleLazyLoad() {
5181
5239
  if (!this.lazyLoad)
@@ -5276,7 +5334,7 @@ const Es = (r) => {
5276
5334
  ], t.prototype, "tabindex", 2), ae([
5277
5335
  a({ type: String })
5278
5336
  ], t.prototype, "autocomplete", 2), t;
5279
- }, $r = _i, Rn = wi, Cr = Le, Sr = Es, se = Z, xi = Qe;
5337
+ }, $r = xi, Rn = _i, Cr = Le, Sr = Es, se = G, Pi = Je;
5280
5338
  window["concorde-mixins"] = window["concorde-mixins"] || {};
5281
5339
  window["concorde-mixins"] = {
5282
5340
  Fetcher: $r,
@@ -5284,14 +5342,14 @@ window["concorde-mixins"] = {
5284
5342
  FormElement: Cr,
5285
5343
  FormInput: Sr,
5286
5344
  Subscriber: se,
5287
- TemplatesContainer: xi
5345
+ TemplatesContainer: Pi
5288
5346
  };
5289
5347
  /**
5290
5348
  * @license
5291
5349
  * Copyright 2020 Google LLC
5292
5350
  * SPDX-License-Identifier: BSD-3-Clause
5293
5351
  */
5294
- const Et = ee(class extends De {
5352
+ const Nt = ee(class extends De {
5295
5353
  constructor(r) {
5296
5354
  if (super(r), r.type !== be.CHILD) throw Error("templateContent can only be used in child bindings");
5297
5355
  }
@@ -5305,24 +5363,24 @@ var Un = Object.defineProperty, Vn = Object.getOwnPropertyDescriptor, Ar = (r, t
5305
5363
  return s && e && Un(t, i, e), e;
5306
5364
  };
5307
5365
  const Bn = "sonic-fetch";
5308
- let ys = class extends _i(Z(xi(w))) {
5366
+ let ws = class extends xi(G(Pi(w))) {
5309
5367
  renderLoader() {
5310
- if (!(this.isLoading && this.loader !== void 0)) return S;
5368
+ if (!(this.isLoading && this.loader !== void 0)) return C;
5311
5369
  const r = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
5312
5370
  return m`<sonic-loader mode=${r}></sonic-loader>`;
5313
5371
  }
5314
5372
  renderSkeleton() {
5315
5373
  const r = this.templateParts.skeleton;
5316
- return this.isLoading && r ? Et(r) : S;
5374
+ return this.isLoading && r ? Nt(r) : C;
5317
5375
  }
5318
5376
  render() {
5319
5377
  return m`
5320
5378
  ${this.renderSkeleton()} ${this.renderLoader()}
5321
- ${this.isLoading ? S : m`<slot></slot>`}
5379
+ ${this.isLoading ? C : m`<slot></slot>`}
5322
5380
  `;
5323
5381
  }
5324
5382
  };
5325
- ys.styles = [
5383
+ ws.styles = [
5326
5384
  P`
5327
5385
  :host {
5328
5386
  display: contents;
@@ -5331,35 +5389,35 @@ ys.styles = [
5331
5389
  ];
5332
5390
  Ar([
5333
5391
  a()
5334
- ], ys.prototype, "loader", 2);
5335
- ys = Ar([
5392
+ ], ws.prototype, "loader", 2);
5393
+ ws = Ar([
5336
5394
  _(Bn)
5337
- ], ys);
5395
+ ], ws);
5338
5396
  var qn = Object.defineProperty, Hn = Object.getOwnPropertyDescriptor, kr = (r, t, i, s) => {
5339
5397
  for (var e = s > 1 ? void 0 : s ? Hn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5340
5398
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5341
5399
  return s && e && qn(t, i, e), e;
5342
5400
  };
5343
5401
  const Wn = "sonic-if";
5344
- let ws = class extends w {
5402
+ let _s = class extends w {
5345
5403
  constructor() {
5346
5404
  super(...arguments), this.condition = !1;
5347
5405
  }
5348
5406
  render() {
5349
- return this.condition ? m` <slot></slot> ` : S;
5407
+ return this.condition ? m` <slot></slot> ` : C;
5350
5408
  }
5351
5409
  };
5352
- ws.styles = P`
5410
+ _s.styles = P`
5353
5411
  :host {
5354
5412
  display: contents;
5355
5413
  }
5356
5414
  `;
5357
5415
  kr([
5358
5416
  a({ type: Boolean })
5359
- ], ws.prototype, "condition", 2);
5360
- ws = kr([
5417
+ ], _s.prototype, "condition", 2);
5418
+ _s = kr([
5361
5419
  _(Wn)
5362
- ], ws);
5420
+ ], _s);
5363
5421
  const Kn = P`
5364
5422
  :host([align="left"]) .sonic-loader--inline {
5365
5423
  margin-left: 0;
@@ -5481,10 +5539,10 @@ const Kn = P`
5481
5539
  animation: sonic-loader--fixed 1s 0s linear infinite;
5482
5540
  }
5483
5541
  `;
5484
- var Xn = Object.defineProperty, Zn = Object.getOwnPropertyDescriptor, Pi = (r, t, i, s) => {
5485
- for (var e = s > 1 ? void 0 : s ? Zn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5542
+ var Zn = Object.defineProperty, Xn = Object.getOwnPropertyDescriptor, $i = (r, t, i, s) => {
5543
+ for (var e = s > 1 ? void 0 : s ? Xn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5486
5544
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5487
- return s && e && Xn(t, i, e), e;
5545
+ return s && e && Zn(t, i, e), e;
5488
5546
  };
5489
5547
  const Gn = "sonic-loader";
5490
5548
  let nt = class extends w {
@@ -5544,13 +5602,13 @@ nt.styles = [
5544
5602
  `
5545
5603
  ];
5546
5604
  nt.callCounter = 0;
5547
- Pi([
5605
+ $i([
5548
5606
  a({ type: String })
5549
5607
  ], nt.prototype, "mode", 2);
5550
- Pi([
5608
+ $i([
5551
5609
  a({ type: Boolean })
5552
5610
  ], nt.prototype, "noDelay", 2);
5553
- nt = Pi([
5611
+ nt = $i([
5554
5612
  _(Gn)
5555
5613
  ], nt);
5556
5614
  var Qn = Object.getOwnPropertyDescriptor, Jn = (r, t, i, s) => {
@@ -5559,7 +5617,7 @@ var Qn = Object.getOwnPropertyDescriptor, Jn = (r, t, i, s) => {
5559
5617
  return e;
5560
5618
  };
5561
5619
  const ta = "sonic-subscriber";
5562
- let or = class extends Z(w) {
5620
+ let or = class extends G(w) {
5563
5621
  constructor() {
5564
5622
  super(...arguments), this.noAutofill = !0;
5565
5623
  }
@@ -5576,13 +5634,13 @@ let or = class extends Z(w) {
5576
5634
  or = Jn([
5577
5635
  _(ta)
5578
5636
  ], or);
5579
- var ea = Object.defineProperty, sa = Object.getOwnPropertyDescriptor, kt = (r, t, i, s) => {
5637
+ var ea = Object.defineProperty, sa = Object.getOwnPropertyDescriptor, Ot = (r, t, i, s) => {
5580
5638
  for (var e = s > 1 ? void 0 : s ? sa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
5581
5639
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
5582
5640
  return s && e && ea(t, i, e), e;
5583
5641
  };
5584
5642
  const ia = "sonic-list";
5585
- let xt = class extends _i(Z(Qe(w))) {
5643
+ let xt = class extends xi(G(Je(w))) {
5586
5644
  constructor() {
5587
5645
  super(...arguments), this.templateKey = "template", this.idKey = "id", this.limit = Number.POSITIVE_INFINITY, this.offset = 0, this.loadingSize = { width: 0, height: 0 };
5588
5646
  }
@@ -5600,7 +5658,7 @@ let xt = class extends _i(Z(Qe(w))) {
5600
5658
  super.disconnectedCallback();
5601
5659
  }
5602
5660
  renderLoader() {
5603
- if (!(this.isLoading && this.loader !== void 0) || this.templateParts.skeleton) return S;
5661
+ if (!(this.isLoading && this.loader !== void 0) || this.templateParts.skeleton) return C;
5604
5662
  const t = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
5605
5663
  return m`<sonic-loader mode=${t}></sonic-loader>`;
5606
5664
  }
@@ -5608,13 +5666,13 @@ let xt = class extends _i(Z(Qe(w))) {
5608
5666
  if (this.skeleton)
5609
5667
  return this.skeleton();
5610
5668
  const r = this.templateParts.skeleton;
5611
- return this.isLoading && r ? Et(r) : S;
5669
+ return this.isLoading && r ? Nt(r) : C;
5612
5670
  }
5613
5671
  renderSeparator() {
5614
5672
  if (this.separator)
5615
5673
  return this.separator();
5616
5674
  const r = this.templateParts.separator;
5617
- return r ? Et(r) : S;
5675
+ return r ? Nt(r) : C;
5618
5676
  }
5619
5677
  renderLoadingState() {
5620
5678
  return m`${this.renderSkeleton()} ${this.renderLoader()} `;
@@ -5692,22 +5750,22 @@ let xt = class extends _i(Z(Qe(w))) {
5692
5750
  if (this.noItems)
5693
5751
  return this.noItems();
5694
5752
  if (this.templateParts["no-items"] = this.templateParts["no-items"] || this.templateParts["no-item"], this.templateParts["no-items"])
5695
- return Et(this.templateParts["no-items"]);
5753
+ return Nt(this.templateParts["no-items"]);
5696
5754
  }
5697
5755
  const e = this.templateList.length;
5698
5756
  let o = -1;
5699
5757
  const n = this.hasAttribute("extractValues"), l = this.renderSeparator(), c = s?.length || 0, h = s?.slice(this.offset, this.offset + this.limit);
5700
5758
  return m`
5701
5759
  ${h?.map((u, d) => {
5702
- if (u == null) return S;
5760
+ if (u == null) return C;
5703
5761
  let g = d, v = null;
5704
5762
  if (typeof u == "object" && !Array.isArray(u)) {
5705
5763
  n && (g = u?.key);
5706
5764
  const f = u[this.templateKey];
5707
5765
  f && typeof f == "string" && (v = this.templateParts[f]);
5708
5766
  }
5709
- if (g == "_sonic_http_response_" || typeof g != "string" && typeof g != "number") return S;
5710
- const b = d >= c - 1, x = d % 2, C = this.publisher[g], E = {
5767
+ if (g == "_sonic_http_response_" || typeof g != "string" && typeof g != "number") return C;
5768
+ const b = d >= c - 1, x = d % 2, S = this.publisher[g], E = {
5711
5769
  key: g,
5712
5770
  even: x == 0,
5713
5771
  odd: x == 1,
@@ -5715,8 +5773,8 @@ let xt = class extends _i(Z(Qe(w))) {
5715
5773
  firstChild: d == 0,
5716
5774
  lastChild: b
5717
5775
  };
5718
- C._key_ = g + "", C._metadata_ = {
5719
- ...C._metadata_.get(),
5776
+ S._key_ = g + "", S._metadata_ = {
5777
+ ...S._metadata_.get(),
5720
5778
  ...E
5721
5779
  };
5722
5780
  const p = this.handleProgrammaticTemplates(
@@ -5724,56 +5782,56 @@ let xt = class extends _i(Z(Qe(w))) {
5724
5782
  E,
5725
5783
  g
5726
5784
  );
5727
- return p ? m`${p}${b ? S : l}` : (o++, v && (o = -1), m`
5785
+ return p ? m`${p}${b ? C : l}` : (o++, v && (o = -1), m`
5728
5786
  <sonic-subscriber
5729
5787
  ?debug=${this.defferedDebug === !0}
5730
5788
  .bindPublisher=${function() {
5731
- return C;
5789
+ return S;
5732
5790
  }}
5733
5791
  .propertyMap?=${this.itemPropertyMap}
5734
5792
  dataProvider="${this.dataProvider}/list-item/${g}"
5735
5793
  >
5736
- ${Et(v || this.templateList[o % e])}
5794
+ ${Nt(v || this.templateList[o % e])}
5737
5795
  </sonic-subscriber>
5738
- ${b ? S : l}
5796
+ ${b ? C : l}
5739
5797
  `);
5740
5798
  })}
5741
5799
  `;
5742
5800
  }
5743
5801
  };
5744
- kt([
5802
+ Ot([
5745
5803
  a({ type: Object })
5746
5804
  ], xt.prototype, "itemPropertyMap", 2);
5747
- kt([
5805
+ Ot([
5748
5806
  a({ type: String })
5749
5807
  ], xt.prototype, "templateKey", 2);
5750
- kt([
5808
+ Ot([
5751
5809
  a({ type: String })
5752
5810
  ], xt.prototype, "idKey", 2);
5753
- kt([
5811
+ Ot([
5754
5812
  a()
5755
5813
  ], xt.prototype, "loader", 2);
5756
- kt([
5814
+ Ot([
5757
5815
  a()
5758
5816
  ], xt.prototype, "limit", 2);
5759
- kt([
5817
+ Ot([
5760
5818
  a()
5761
5819
  ], xt.prototype, "offset", 2);
5762
- kt([
5820
+ Ot([
5763
5821
  a({
5764
5822
  type: Function
5765
5823
  })
5766
5824
  ], xt.prototype, "items", 1);
5767
- kt([
5825
+ Ot([
5768
5826
  a({ type: Function })
5769
5827
  ], xt.prototype, "noItems", 2);
5770
- kt([
5828
+ Ot([
5771
5829
  a({ type: Function })
5772
5830
  ], xt.prototype, "skeleton", 2);
5773
- kt([
5831
+ Ot([
5774
5832
  a({ type: Function })
5775
5833
  ], xt.prototype, "separator", 2);
5776
- xt = kt([
5834
+ xt = Ot([
5777
5835
  _(ia)
5778
5836
  ], xt);
5779
5837
  /**
@@ -5793,7 +5851,7 @@ var ra = Object.defineProperty, oa = Object.getOwnPropertyDescriptor, rt = (r, t
5793
5851
  return s && e && ra(t, i, e), e;
5794
5852
  };
5795
5853
  const na = "sonic-queue";
5796
- let X = class extends Z(w) {
5854
+ let X = class extends G(w) {
5797
5855
  constructor() {
5798
5856
  super(...arguments), this.templates = null, this.items = null, this.noItems = null, this.skeleton = null, this.lastRequestTime = 0, this.key = "", this.itemPropertyMap = null, this.cache = "default", this.targetRequestDuration = 500, this.limit = 5, this.lazyBoundsRatio = 1, this.offset = 0, this.resultCount = 0, this.noLazyload = !1, this.loader = "inline", this.filteredFields = "", this.instanceId = 0, this.localStorage = "disabled", this.filterPublisher = null, this.filterTimeoutMs = 400, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.updateFilteredContent = () => {
5799
5857
  const t = this.dataProviderExpression.split("?");
@@ -5826,7 +5884,7 @@ let X = class extends Z(w) {
5826
5884
  async connectedCallback() {
5827
5885
  this.instanceId = X.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
5828
5886
  this.getAttribute("filterTimeoutMs") || "400"
5829
- ), 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 = Xt.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), this.storeScrollPosition(), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await T.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
5887
+ ), 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 = Zt.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), this.storeScrollPosition(), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await T.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
5830
5888
  this.querySelectorAll("template")
5831
5889
  )), this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime(), this.configFilter();
5832
5890
  }
@@ -5893,7 +5951,7 @@ let X = class extends Z(w) {
5893
5951
  }
5894
5952
  render() {
5895
5953
  if (this.storeScrollPosition(), !Array.isArray(this.props))
5896
- return S;
5954
+ return C;
5897
5955
  let r = !this.noLazyload;
5898
5956
  return this.props.length == 1 && (r = !1), this.style.display = "block", m`
5899
5957
  ${Or(this.props, (t, i) => {
@@ -5991,7 +6049,7 @@ var aa = Object.defineProperty, la = Object.getOwnPropertyDescriptor, Ee = (r, t
5991
6049
  return s && e && aa(t, i, e), e;
5992
6050
  };
5993
6051
  const ca = "sonic-submit";
5994
- let Zt = class extends Z(w) {
6052
+ let Xt = class extends G(w) {
5995
6053
  constructor() {
5996
6054
  super(...arguments), this.submitResultKey = null, this.disabled = !1, this.endPoint = null, this.name = "", this.value = "", this.api = null, this.clickTimeStamp = 0, this.submit = async (r) => {
5997
6055
  if (this.disabled || r instanceof KeyboardEvent && r.key !== "Enter") return;
@@ -6053,9 +6111,9 @@ let Zt = class extends Z(w) {
6053
6111
  x && x.split(" ").forEach(
6054
6112
  (f) => T.get(f).set({})
6055
6113
  );
6056
- const C = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", E = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
6057
- this.api?.lastResult?.ok && b[C] && b[E] && this.saveCredentials(
6058
- b[C],
6114
+ const S = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", E = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
6115
+ this.api?.lastResult?.ok && b[S] && b[E] && this.saveCredentials(
6116
+ b[S],
6059
6117
  b[E]
6060
6118
  ), this.submitResultKey && (h = tt.traverse(
6061
6119
  h,
@@ -6090,7 +6148,7 @@ let Zt = class extends Z(w) {
6090
6148
  this.hasAttribute("onClick") && this.addEventListener("click", this.submit), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", this.submit), super.connectedCallback(), this.api = new Ce(this.getApiConfiguration());
6091
6149
  }
6092
6150
  submitNativeForm() {
6093
- const r = Xt.getClosestForm(this);
6151
+ const r = Zt.getClosestForm(this);
6094
6152
  if (!r) return;
6095
6153
  const t = this.getAncestorAttributeValue("formDataProvider"), i = { ...T.get(t).get() };
6096
6154
  delete i.needsCaptchaValidation;
@@ -6120,7 +6178,7 @@ let Zt = class extends Z(w) {
6120
6178
  return m`<div ?data-disabled=${this.disabled}><slot></slot></div>`;
6121
6179
  }
6122
6180
  };
6123
- Zt.styles = P`
6181
+ Xt.styles = P`
6124
6182
  [data-disabled] {
6125
6183
  opacity: 0.3;
6126
6184
  pointer-events: none;
@@ -6129,29 +6187,29 @@ Zt.styles = P`
6129
6187
  `;
6130
6188
  Ee([
6131
6189
  a({ type: String })
6132
- ], Zt.prototype, "submitResultKey", 2);
6190
+ ], Xt.prototype, "submitResultKey", 2);
6133
6191
  Ee([
6134
6192
  a({ type: Boolean })
6135
- ], Zt.prototype, "disabled", 2);
6193
+ ], Xt.prototype, "disabled", 2);
6136
6194
  Ee([
6137
6195
  a({ type: String })
6138
- ], Zt.prototype, "endPoint", 2);
6196
+ ], Xt.prototype, "endPoint", 2);
6139
6197
  Ee([
6140
6198
  a()
6141
- ], Zt.prototype, "name", 2);
6199
+ ], Xt.prototype, "name", 2);
6142
6200
  Ee([
6143
6201
  a()
6144
- ], Zt.prototype, "value", 2);
6145
- Zt = Ee([
6202
+ ], Xt.prototype, "value", 2);
6203
+ Xt = Ee([
6146
6204
  _(ca)
6147
- ], Zt);
6148
- var ha = Object.defineProperty, da = Object.getOwnPropertyDescriptor, is = (r, t, i, s) => {
6205
+ ], Xt);
6206
+ var ha = Object.defineProperty, da = Object.getOwnPropertyDescriptor, rs = (r, t, i, s) => {
6149
6207
  for (var e = s > 1 ? void 0 : s ? da(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6150
6208
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
6151
6209
  return s && e && ha(t, i, e), e;
6152
6210
  };
6153
6211
  const pa = "sonic-router";
6154
- let Se = class extends Qe(w) {
6212
+ let Se = class extends Je(w) {
6155
6213
  constructor() {
6156
6214
  super(...arguments), this.templateValueAttribute = "data-route", this._location = document.location.href.replace(
6157
6215
  document.location.origin,
@@ -6256,27 +6314,27 @@ let Se = class extends Qe(w) {
6256
6314
  style="display:contents"
6257
6315
  dataProvider="${s}"
6258
6316
  >
6259
- ${Et(i)}
6317
+ ${Nt(i)}
6260
6318
  </div>`;
6261
6319
  }
6262
- return Et(i);
6320
+ return Nt(i);
6263
6321
  }
6264
6322
  )}`;
6265
6323
  }
6266
6324
  };
6267
- is([
6325
+ rs([
6268
6326
  a({ type: String })
6269
6327
  ], Se.prototype, "fallBackRoute", 2);
6270
- is([
6328
+ rs([
6271
6329
  a({ type: Object })
6272
6330
  ], Se.prototype, "routes", 2);
6273
- is([
6331
+ rs([
6274
6332
  a({ type: String })
6275
6333
  ], Se.prototype, "basePath", 2);
6276
- is([
6334
+ rs([
6277
6335
  a()
6278
6336
  ], Se.prototype, "location", 1);
6279
- Se = is([
6337
+ Se = rs([
6280
6338
  _(pa)
6281
6339
  ], Se);
6282
6340
  var ua = Object.getOwnPropertyDescriptor, fa = (r, t, i, s) => {
@@ -6285,7 +6343,7 @@ var ua = Object.getOwnPropertyDescriptor, fa = (r, t, i, s) => {
6285
6343
  return e;
6286
6344
  };
6287
6345
  const ma = "sonic-redirect";
6288
- let nr = class extends Z(w) {
6346
+ let nr = class extends G(w) {
6289
6347
  connectedCallback() {
6290
6348
  this.noShadowDom = "", this.style.display = "none", super.connectedCallback(), this.udpateCallBack = () => this.update(), this.publisher && this.publisher.onInternalMutation(this.udpateCallBack);
6291
6349
  }
@@ -6311,7 +6369,7 @@ var ga = Object.defineProperty, ba = Object.getOwnPropertyDescriptor, Ns = (r, t
6311
6369
  return s && e && ga(t, i, e), e;
6312
6370
  };
6313
6371
  const va = "sonic-states";
6314
- let Ye = class extends Z(Qe(w)) {
6372
+ let Ye = class extends G(Je(w)) {
6315
6373
  constructor() {
6316
6374
  super(...arguments), this.state = "", this.inverted = !1, this.statePath = "", this.onStateAssign = (r) => {
6317
6375
  this.state = r, this.requestUpdate();
@@ -6391,10 +6449,10 @@ let Ye = class extends Z(Qe(w)) {
6391
6449
  style="display:contents"
6392
6450
  dataProvider="${o}"
6393
6451
  >
6394
- ${Et(s)}
6452
+ ${Nt(s)}
6395
6453
  </div>`;
6396
6454
  }
6397
- return Et(s);
6455
+ return Nt(s);
6398
6456
  }
6399
6457
  )}`;
6400
6458
  }
@@ -6434,7 +6492,7 @@ var xa = Object.defineProperty, Pa = Object.getOwnPropertyDescriptor, Dr = (r, t
6434
6492
  return s && e && xa(t, i, e), e;
6435
6493
  };
6436
6494
  const $a = "sonic-example";
6437
- let Xs = class extends Z(w) {
6495
+ let Xs = class extends G(w) {
6438
6496
  constructor() {
6439
6497
  super(...arguments), this.text = "Example";
6440
6498
  }
@@ -6448,7 +6506,7 @@ Dr([
6448
6506
  Xs = Dr([
6449
6507
  _($a)
6450
6508
  ], Xs);
6451
- const Ca = { tagName: "sonic-checkbox" }, Sa = { tagName: "sonic-input", attributes: { type: "date" } }, Aa = { tagName: "sonic-fieldset", nodes: [{ libraryKey: "formLayout" }], contentElementSelector: "sonic-form-layout" }, ka = { tagName: "sonic-input", attributes: { variant: "ghost", type: "file" } }, Oa = { tagName: "sonic-input", attributes: { type: "password" } }, Da = { tagName: "sonic-radio" }, La = { tagName: "sonic-select" }, Ea = { tagName: "sonic-textarea" }, Na = { tagName: "sonic-input", attributes: { type: "text" } }, Ta = { tagName: "sonic-input", attributes: { type: "hidden" } }, Ma = { tagName: "sonic-button" }, Ia = { tagName: "sonic-submit", attributes: { onEnterKey: !0 } }, ja = { tagName: "sonic-submit", attributes: { onClick: !0 }, contentElementSelector: "sonic-button", nodes: [{ libraryKey: "button", attributes: { type: "success" }, nodes: [{ tagName: "sonic-icon", attributes: { name: "check", slot: "prefix" } }] }] }, Fa = { tagName: "sonic-input", attributes: { type: "email" } }, za = { tagName: "div", attributes: { class: "form-item-container" } }, Ra = { tagName: "sonic-form-layout" }, Ua = { tagName: "sonic-form-actions" }, Va = { tagName: "sonic-password-helper" }, Ba = { tagName: "sonic-same-value-helper" }, qa = { tagName: "sonic-divider" }, Ha = {
6509
+ const Ca = { tagName: "sonic-checkbox" }, Sa = { tagName: "sonic-input", attributes: { type: "date" } }, Aa = { tagName: "sonic-fieldset", nodes: [{ libraryKey: "formLayout" }], contentElementSelector: "sonic-form-layout" }, ka = { tagName: "sonic-input", attributes: { variant: "ghost", type: "file" } }, Oa = { tagName: "sonic-input", attributes: { type: "password" } }, Da = { tagName: "sonic-radio" }, La = { tagName: "sonic-select" }, Ea = { tagName: "sonic-textarea" }, Na = { tagName: "sonic-input", attributes: { type: "text" } }, Ta = { tagName: "sonic-input", attributes: { type: "hidden" } }, Ia = { tagName: "sonic-button" }, Ma = { tagName: "sonic-submit", attributes: { onEnterKey: !0 } }, ja = { tagName: "sonic-submit", attributes: { onClick: !0 }, contentElementSelector: "sonic-button", nodes: [{ libraryKey: "button", attributes: { type: "success" }, nodes: [{ tagName: "sonic-icon", attributes: { name: "check", slot: "prefix" } }] }] }, Fa = { tagName: "sonic-input", attributes: { type: "email" } }, za = { tagName: "div", attributes: { class: "form-item-container" } }, Ra = { tagName: "sonic-form-layout" }, Ua = { tagName: "sonic-form-actions" }, Va = { tagName: "sonic-password-helper" }, Ba = { tagName: "sonic-same-value-helper" }, qa = { tagName: "sonic-divider" }, Ha = {
6452
6510
  checkbox: Ca,
6453
6511
  date: Sa,
6454
6512
  fieldset: Aa,
@@ -6459,8 +6517,8 @@ const Ca = { tagName: "sonic-checkbox" }, Sa = { tagName: "sonic-input", attribu
6459
6517
  textarea: Ea,
6460
6518
  textfield: Na,
6461
6519
  hidden: Ta,
6462
- button: Ma,
6463
- form: Ia,
6520
+ button: Ia,
6521
+ form: Ma,
6464
6522
  submit: ja,
6465
6523
  email: Fa,
6466
6524
  formItemContainer: za,
@@ -6615,13 +6673,13 @@ class Wa {
6615
6673
  }));
6616
6674
  }
6617
6675
  }
6618
- var Ka = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, $i = (r, t, i, s) => {
6676
+ var Ka = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, Ci = (r, t, i, s) => {
6619
6677
  for (var e = s > 1 ? void 0 : s ? Ya(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6620
6678
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
6621
6679
  return s && e && Ka(t, i, e), e;
6622
6680
  };
6623
- const Xa = "sonic-sdui";
6624
- let _s = class extends $r(se(w)) {
6681
+ const Za = "sonic-sdui";
6682
+ let xs = class extends $r(se(w)) {
6625
6683
  constructor() {
6626
6684
  super(...arguments), this.sduiDescriptor = {};
6627
6685
  }
@@ -6662,9 +6720,9 @@ let _s = class extends $r(se(w)) {
6662
6720
  loadAssets() {
6663
6721
  if (this.sduiDescriptor) {
6664
6722
  if (this.sduiDescriptor.js)
6665
- for (const r of this.sduiDescriptor.js) Xt.loadJS(r);
6723
+ for (const r of this.sduiDescriptor.js) Zt.loadJS(r);
6666
6724
  if (this.sduiDescriptor.css)
6667
- for (const r of this.sduiDescriptor.css) Xt.loadCSS(r);
6725
+ for (const r of this.sduiDescriptor.css) Zt.loadCSS(r);
6668
6726
  }
6669
6727
  }
6670
6728
  /**
@@ -6745,7 +6803,7 @@ let _s = class extends $r(se(w)) {
6745
6803
  handleAttributes(r, t) {
6746
6804
  const i = r.attributes;
6747
6805
  for (const s in i) {
6748
- const e = i[s], o = Je.isObject(e) ? JSON.stringify(e) : e;
6806
+ const e = i[s], o = ts.isObject(e) ? JSON.stringify(e) : e;
6749
6807
  t.setAttribute(s, o);
6750
6808
  }
6751
6809
  }
@@ -6768,21 +6826,21 @@ let _s = class extends $r(se(w)) {
6768
6826
  } else t && (t.innerHTML += r.innerHTML);
6769
6827
  }
6770
6828
  };
6771
- $i([
6829
+ Ci([
6772
6830
  a()
6773
- ], _s.prototype, "sduiKey", 2);
6774
- $i([
6831
+ ], xs.prototype, "sduiKey", 2);
6832
+ Ci([
6775
6833
  a()
6776
- ], _s.prototype, "messagesKey", 2);
6777
- _s = $i([
6778
- _(Xa)
6779
- ], _s);
6780
- var Za = Object.defineProperty, Ga = Object.getOwnPropertyDescriptor, Lr = (r, t, i, s) => {
6834
+ ], xs.prototype, "messagesKey", 2);
6835
+ xs = Ci([
6836
+ _(Za)
6837
+ ], xs);
6838
+ var Xa = Object.defineProperty, Ga = Object.getOwnPropertyDescriptor, Lr = (r, t, i, s) => {
6781
6839
  for (var e = s > 1 ? void 0 : s ? Ga(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6782
6840
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
6783
- return s && e && Za(t, i, e), e;
6841
+ return s && e && Xa(t, i, e), e;
6784
6842
  };
6785
- let xs = class extends se(w) {
6843
+ let Ps = class extends se(w) {
6786
6844
  constructor() {
6787
6845
  super(...arguments), this._composition = {}, this.listeners = [];
6788
6846
  }
@@ -6815,7 +6873,7 @@ let xs = class extends se(w) {
6815
6873
  const e = s.split("."), o = e.shift();
6816
6874
  if (!o) continue;
6817
6875
  let n = st.get(o);
6818
- n = Je.traverse(n, e);
6876
+ n = ts.traverse(n, e);
6819
6877
  const l = {
6820
6878
  publisher: n,
6821
6879
  subscriber: (c) => {
@@ -6825,7 +6883,7 @@ let xs = class extends se(w) {
6825
6883
  this.listeners.push(l), n.onAssign(l.subscriber), t._proxies_.set(i, n);
6826
6884
  } else {
6827
6885
  this.publisher[i] = {};
6828
- const e = new di({}, t);
6886
+ const e = new pi({}, t);
6829
6887
  t._proxies_.set(i, e);
6830
6888
  const o = {
6831
6889
  publisher: e,
@@ -6841,7 +6899,7 @@ let xs = class extends se(w) {
6841
6899
  return m`<slot></slot>`;
6842
6900
  }
6843
6901
  };
6844
- xs.styles = [
6902
+ Ps.styles = [
6845
6903
  P`
6846
6904
  :host {
6847
6905
  display: contents;
@@ -6850,10 +6908,10 @@ xs.styles = [
6850
6908
  ];
6851
6909
  Lr([
6852
6910
  a({ type: Object })
6853
- ], xs.prototype, "composition", 1);
6854
- xs = Lr([
6911
+ ], Ps.prototype, "composition", 1);
6912
+ Ps = Lr([
6855
6913
  _("sonic-mix")
6856
- ], xs);
6914
+ ], Ps);
6857
6915
  var Qa = Object.getOwnPropertyDescriptor, Ja = (r, t, i, s) => {
6858
6916
  for (var e = s > 1 ? void 0 : s ? Qa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6859
6917
  (n = r[o]) && (e = n(e) || e);
@@ -6872,27 +6930,27 @@ let lr = class extends se(w) {
6872
6930
  lr = Ja([
6873
6931
  _(tl)
6874
6932
  ], lr);
6875
- var el = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Ci = (r, t, i, s) => {
6933
+ var el = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Si = (r, t, i, s) => {
6876
6934
  for (var e = s > 1 ? void 0 : s ? sl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6877
6935
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
6878
6936
  return s && e && el(t, i, e), e;
6879
6937
  };
6880
6938
  const il = "sonic-t";
6881
- let Ps = class extends w {
6939
+ let $s = class extends w {
6882
6940
  render() {
6883
- return this.key ? m`${Lo(this.key, this.unsafeHTML)}` : S;
6941
+ return this.key ? m`${Lo(this.key, this.unsafeHTML)}` : C;
6884
6942
  }
6885
6943
  };
6886
- Ci([
6944
+ Si([
6887
6945
  a({ type: String })
6888
- ], Ps.prototype, "key", 2);
6889
- Ci([
6946
+ ], $s.prototype, "key", 2);
6947
+ Si([
6890
6948
  a({ type: Boolean })
6891
- ], Ps.prototype, "unsafeHTML", 2);
6892
- Ps = Ci([
6949
+ ], $s.prototype, "unsafeHTML", 2);
6950
+ $s = Si([
6893
6951
  _(il)
6894
- ], Ps);
6895
- var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, rs = (r, t, i, s) => {
6952
+ ], $s);
6953
+ var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, os = (r, t, i, s) => {
6896
6954
  for (var e = s > 1 ? void 0 : s ? ol(t, i) : t, o = r.length - 1, n; o >= 0; o--)
6897
6955
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
6898
6956
  return s && e && rl(t, i, e), e;
@@ -7054,19 +7112,19 @@ pe.styles = [
7054
7112
  }
7055
7113
  `
7056
7114
  ];
7057
- rs([
7115
+ os([
7058
7116
  a({ type: String, reflect: !0 })
7059
7117
  ], pe.prototype, "type", 2);
7060
- rs([
7118
+ os([
7061
7119
  a({ type: String, reflect: !0 })
7062
7120
  ], pe.prototype, "variant", 2);
7063
- rs([
7121
+ os([
7064
7122
  a({ type: String, reflect: !0 })
7065
7123
  ], pe.prototype, "size", 2);
7066
- rs([
7124
+ os([
7067
7125
  a({ type: Boolean, reflect: !0 })
7068
7126
  ], pe.prototype, "ellipsis", 2);
7069
- pe = rs([
7127
+ pe = os([
7070
7128
  _(nl)
7071
7129
  ], pe);
7072
7130
  class al {
@@ -7120,7 +7178,7 @@ let Gt = class extends w {
7120
7178
  return this.href ? m`
7121
7179
  <a
7122
7180
  href="${this.href}"
7123
- aria-label=${this.ariaLabel || S}
7181
+ aria-label=${this.ariaLabel || C}
7124
7182
  target=${$(this.target)}
7125
7183
  @click=${this.pushState ? this.handlePushState : null}
7126
7184
  >
@@ -7335,14 +7393,14 @@ const fl = P`
7335
7393
  margin-bottom: 0.22em;
7336
7394
  display: block;
7337
7395
  }
7338
- `, Ms = P`
7396
+ `, Is = P`
7339
7397
  .form-description {
7340
7398
  color: var(--sc-base-400, var(--sc-base-content, #000));
7341
7399
  font-size: 0.85em;
7342
7400
  margin-top: 0.2em;
7343
7401
  display: block;
7344
7402
  }
7345
- `, Si = P`
7403
+ `, Ai = P`
7346
7404
  * {
7347
7405
  box-sizing: border-box;
7348
7406
  }
@@ -7703,7 +7761,7 @@ const fl = P`
7703
7761
  * Copyright 2018 Google LLC
7704
7762
  * SPDX-License-Identifier: BSD-3-Clause
7705
7763
  */
7706
- const Ai = ee(class extends De {
7764
+ const ki = ee(class extends De {
7707
7765
  constructor(r) {
7708
7766
  if (super(r), r.type !== be.ATTRIBUTE || r.name !== "class" || r.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
7709
7767
  }
@@ -7731,7 +7789,7 @@ var ml = Object.defineProperty, gl = Object.getOwnPropertyDescriptor, U = (r, t,
7731
7789
  return s && e && ml(t, i, e), e;
7732
7790
  };
7733
7791
  const bl = "sonic-input";
7734
- let j = class extends Es(Le(Z(w))) {
7792
+ let j = class extends Es(Le(G(w))) {
7735
7793
  constructor() {
7736
7794
  super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.autoActive = !1, this.active = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
7737
7795
  }
@@ -7823,7 +7881,7 @@ let j = class extends Es(Le(Z(w))) {
7823
7881
  ></slot
7824
7882
  ></label>
7825
7883
 
7826
- <div @click=${this.inlineContentFocus} class="form-control ${Ai(
7884
+ <div @click=${this.inlineContentFocus} class="form-control ${ki(
7827
7885
  r
7828
7886
  )}">
7829
7887
  <div part="content" class="${this.inlineContent ? "form-element form-element-wrapper" : "contents"}">
@@ -7879,7 +7937,7 @@ let j = class extends Es(Le(Z(w))) {
7879
7937
  name="description"
7880
7938
  @slotchange=${this.hasSlotOrProps}
7881
7939
  class="${this.hasDescription ? "form-description" : "hidden"}"
7882
- >${this.description ? m`${z(this.description)}` : S}</slot>
7940
+ >${this.description ? m`${z(this.description)}` : C}</slot>
7883
7941
  <slot name="list"></slot>
7884
7942
  </div>
7885
7943
  `;
@@ -7887,9 +7945,9 @@ let j = class extends Es(Le(Z(w))) {
7887
7945
  };
7888
7946
  j.styles = [
7889
7947
  Mt,
7890
- Si,
7948
+ Ai,
7891
7949
  Ts,
7892
- Ms,
7950
+ Is,
7893
7951
  fl,
7894
7952
  P`
7895
7953
  :host([type="hidden"]) {
@@ -7968,19 +8026,19 @@ U([
7968
8026
  ge("input")
7969
8027
  ], j.prototype, "input", 2);
7970
8028
  U([
7971
- L()
8029
+ D()
7972
8030
  ], j.prototype, "hasDescription", 2);
7973
8031
  U([
7974
- L()
8032
+ D()
7975
8033
  ], j.prototype, "hasLabel", 2);
7976
8034
  U([
7977
- L()
8035
+ D()
7978
8036
  ], j.prototype, "hasSuffix", 2);
7979
8037
  U([
7980
- L()
8038
+ D()
7981
8039
  ], j.prototype, "hasPrefix", 2);
7982
8040
  U([
7983
- L()
8041
+ D()
7984
8042
  ], j.prototype, "isPassword", 2);
7985
8043
  j = U([
7986
8044
  _(bl)
@@ -8087,8 +8145,8 @@ let it = class extends w {
8087
8145
  window.innerHeight,
8088
8146
  l?.bottom || window.innerHeight
8089
8147
  ) - e, g = o.left, v = o.top;
8090
- let b = g, x = v, C = this.popContent?.getBoundingClientRect();
8091
- const E = v - C.height, p = g - C.width, f = g + o.width, y = v + o.height, A = g + (o.width - C.width) * 0.5, k = v + (o.height - C.height) * 0.5;
8148
+ let b = g, x = v, S = this.popContent?.getBoundingClientRect();
8149
+ const E = v - S.height, p = g - S.width, f = g + o.width, y = v + o.height, A = g + (o.width - S.width) * 0.5, k = v + (o.height - S.height) * 0.5;
8092
8150
  switch (i) {
8093
8151
  case "bottom":
8094
8152
  x = y, s == "center" && (b = A);
@@ -8103,16 +8161,16 @@ let it = class extends w {
8103
8161
  b = f, s == "center" && (x = k);
8104
8162
  break;
8105
8163
  }
8106
- this.lastContentX += b - C.x, this.lastContentY += x - C.y, Object.assign(this.popContent.style, {
8164
+ this.lastContentX += b - S.x, this.lastContentY += x - S.y, Object.assign(this.popContent.style, {
8107
8165
  left: `${this.lastContentX}px`,
8108
8166
  top: `${this.lastContentY}px`
8109
- }), C = this.popContent?.getBoundingClientRect(), C.x < c && i == "left" && (b = f), C.y < h && i == "top" && (x = y), C.x + C.width > u && i == "right" && (b = p), C.y + C.height > d && i == "bottom" && (x = E), this.lastContentX += b - C.x, this.lastContentY += x - C.y, Object.assign(this.popContent.style, {
8167
+ }), S = this.popContent?.getBoundingClientRect(), S.x < c && i == "left" && (b = f), S.y < h && i == "top" && (x = y), S.x + S.width > u && i == "right" && (b = p), S.y + S.height > d && i == "bottom" && (x = E), this.lastContentX += b - S.x, this.lastContentY += x - S.y, Object.assign(this.popContent.style, {
8110
8168
  left: `${this.lastContentX}px`,
8111
8169
  top: `${this.lastContentY}px`
8112
- }), C = this.popContent?.getBoundingClientRect(), C.x < c && (this.lastContentX += c - C.x), C.y < h && (this.lastContentY += h - C.y), Object.assign(this.popContent.style, {
8170
+ }), S = this.popContent?.getBoundingClientRect(), S.x < c && (this.lastContentX += c - S.x), S.y < h && (this.lastContentY += h - S.y), Object.assign(this.popContent.style, {
8113
8171
  left: `${this.lastContentX}px`,
8114
8172
  top: `${this.lastContentY}px`
8115
- }), C = this.popContent?.getBoundingClientRect(), C.x + C.width > u && (this.lastContentX += u - (C.x + C.width)), C.y + C.height > d && (this.lastContentY += d - (C.y + C.height)), Object.assign(this.popContent.style, {
8173
+ }), S = this.popContent?.getBoundingClientRect(), S.x + S.width > u && (this.lastContentX += u - (S.x + S.width)), S.y + S.height > d && (this.lastContentY += d - (S.y + S.height)), Object.assign(this.popContent.style, {
8116
8174
  left: `${this.lastContentX}px`,
8117
8175
  top: `${this.lastContentY}px`
8118
8176
  });
@@ -8175,7 +8233,7 @@ it.styles = [
8175
8233
  Er
8176
8234
  ];
8177
8235
  jt([
8178
- L()
8236
+ D()
8179
8237
  ], it.prototype, "open", 2);
8180
8238
  jt([
8181
8239
  ge("slot:not([name=content])")
@@ -8199,7 +8257,7 @@ jt([
8199
8257
  a({ type: String })
8200
8258
  ], it.prototype, "placement", 2);
8201
8259
  jt([
8202
- L()
8260
+ D()
8203
8261
  ], it.prototype, "triggerElement", 2);
8204
8262
  it = jt([
8205
8263
  _(wl)
@@ -8210,7 +8268,7 @@ var _l = Object.getOwnPropertyDescriptor, xl = (r, t, i, s) => {
8210
8268
  return e;
8211
8269
  };
8212
8270
  const Pl = "sonic-menu-item";
8213
- let cr = class extends I {
8271
+ let cr = class extends M {
8214
8272
  constructor() {
8215
8273
  super();
8216
8274
  }
@@ -8261,7 +8319,7 @@ var $l = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, mt = (r, t
8261
8319
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
8262
8320
  return s && e && $l(t, i, e), e;
8263
8321
  };
8264
- let at = class extends xi(
8322
+ let at = class extends Pi(
8265
8323
  Sr(Cr(se(w)))
8266
8324
  ) {
8267
8325
  constructor() {
@@ -8390,7 +8448,7 @@ let at = class extends xi(
8390
8448
  name="nav-arrow-down"
8391
8449
  .size=${this.size}
8392
8450
  ></sonic-icon>
8393
- ` : S}
8451
+ ` : C}
8394
8452
  </sonic-input>
8395
8453
  <sonic-menu
8396
8454
  slot="content"
@@ -8424,7 +8482,7 @@ let at = class extends xi(
8424
8482
  }
8425
8483
  };
8426
8484
  at.styles = [
8427
- es,
8485
+ ss,
8428
8486
  P`
8429
8487
  :host {
8430
8488
  display: block;
@@ -8482,13 +8540,13 @@ mt([
8482
8540
  dt({ slot: "prefix", flatten: !0 })
8483
8541
  ], at.prototype, "slotInputPrefixNodes", 2);
8484
8542
  mt([
8485
- L()
8543
+ D()
8486
8544
  ], at.prototype, "hasInputPrefix", 2);
8487
8545
  mt([
8488
- L()
8546
+ D()
8489
8547
  ], at.prototype, "isPopVisible", 2);
8490
8548
  mt([
8491
- L()
8549
+ D()
8492
8550
  ], at.prototype, "lastValidSearch", 2);
8493
8551
  at = mt([
8494
8552
  _("sonic-input-autocomplete")
@@ -8515,7 +8573,7 @@ let lt = class extends se(w) {
8515
8573
  return t ? m`<sonic-icon library="heroicons" name="face-smile"></sonic-icon>` : m`<sonic-icon library="heroicons" name="x-mark"></sonic-icon>`;
8516
8574
  }
8517
8575
  render() {
8518
- return this.hasNoChar ? S : m`
8576
+ return this.hasNoChar ? C : m`
8519
8577
  <div>${this.wording_password_helper_decription}</div>
8520
8578
  <div>
8521
8579
  ${this.getIcon(this.hasEnoughChars)}
@@ -8546,22 +8604,22 @@ gt([
8546
8604
  a()
8547
8605
  ], lt.prototype, "minChars", 2);
8548
8606
  gt([
8549
- L()
8607
+ D()
8550
8608
  ], lt.prototype, "hasNoChar", 2);
8551
8609
  gt([
8552
- L()
8610
+ D()
8553
8611
  ], lt.prototype, "hasEnoughChars", 2);
8554
8612
  gt([
8555
- L()
8613
+ D()
8556
8614
  ], lt.prototype, "hasMinuscule", 2);
8557
8615
  gt([
8558
- L()
8616
+ D()
8559
8617
  ], lt.prototype, "hasMajuscule", 2);
8560
8618
  gt([
8561
- L()
8619
+ D()
8562
8620
  ], lt.prototype, "hasNumber", 2);
8563
8621
  gt([
8564
- L()
8622
+ D()
8565
8623
  ], lt.prototype, "hasSpecialChar", 2);
8566
8624
  gt([
8567
8625
  a()
@@ -8622,7 +8680,7 @@ let Jt = class extends se(w) {
8622
8680
  }
8623
8681
  //TODO Multilangue
8624
8682
  render() {
8625
- return this.hasNoChar ? S : m`
8683
+ return this.hasNoChar ? C : m`
8626
8684
  <span>
8627
8685
  ${this.areEqual ? z(this.descriptionWhenEqual) : z(this.descriptionWhenNotEqual)}
8628
8686
  </span>
@@ -8642,10 +8700,10 @@ ve([
8642
8700
  a()
8643
8701
  ], Jt.prototype, "descriptionWhenNotEqual", 2);
8644
8702
  ve([
8645
- L()
8703
+ D()
8646
8704
  ], Jt.prototype, "areEqual", 2);
8647
8705
  ve([
8648
- L()
8706
+ D()
8649
8707
  ], Jt.prototype, "hasNoChar", 2);
8650
8708
  Jt = ve([
8651
8709
  _(Ll)
@@ -8656,8 +8714,8 @@ var El = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, Kt = (r, t
8656
8714
  return s && e && El(t, i, e), e;
8657
8715
  };
8658
8716
  const Tl = "sonic-checkbox";
8659
- let ft = class extends wi(
8660
- Es(Le(Z(w)))
8717
+ let ft = class extends _i(
8718
+ Es(Le(G(w)))
8661
8719
  ) {
8662
8720
  constructor() {
8663
8721
  super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
@@ -8666,7 +8724,7 @@ let ft = class extends wi(
8666
8724
  this.type = "checkbox", this.hasSlotOrProps(), super.connectedCallback();
8667
8725
  }
8668
8726
  willUpdate(r) {
8669
- this.hasSlotOrProps(), super.willUpdate(r);
8727
+ this.hasSlotOrProps(), super.willUpdate(r), r.has("type") && (this.type = "checkbox");
8670
8728
  }
8671
8729
  hasSlotOrProps() {
8672
8730
  this.hasLabel = !!(this.label || this.slotLabelNodes?.length), this.hasDescription = !!(this.description || this.slotDescriptionNodes?.length);
@@ -8859,21 +8917,25 @@ Kt([
8859
8917
  ft = Kt([
8860
8918
  _(Tl)
8861
8919
  ], ft);
8862
- var Ml = Object.getOwnPropertyDescriptor, Il = (r, t, i, s) => {
8863
- for (var e = s > 1 ? void 0 : s ? Ml(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8920
+ var Il = Object.getOwnPropertyDescriptor, Ml = (r, t, i, s) => {
8921
+ for (var e = s > 1 ? void 0 : s ? Il(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8864
8922
  (n = r[o]) && (e = n(e) || e);
8865
8923
  return e;
8866
8924
  };
8867
8925
  const jl = "sonic-radio";
8868
- let Zs = class extends ft {
8926
+ let Gs = class extends ft {
8869
8927
  constructor() {
8870
8928
  super(), this.radio = !0;
8871
8929
  }
8930
+ willUpdate(r) {
8931
+ const t = r.has("type");
8932
+ super.willUpdate(r), t && (this.type = "radio");
8933
+ }
8872
8934
  connectedCallback() {
8873
8935
  super.connectedCallback(), this.type = "radio";
8874
8936
  }
8875
8937
  };
8876
- Zs.styles = [
8938
+ Gs.styles = [
8877
8939
  ft.styles,
8878
8940
  P`
8879
8941
  :host input {
@@ -8893,21 +8955,21 @@ Zs.styles = [
8893
8955
  }
8894
8956
  `
8895
8957
  ];
8896
- Zs = Il([
8958
+ Gs = Ml([
8897
8959
  _(jl)
8898
- ], Zs);
8960
+ ], Gs);
8899
8961
  var Fl = Object.getOwnPropertyDescriptor, zl = (r, t, i, s) => {
8900
8962
  for (var e = s > 1 ? void 0 : s ? Fl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8901
8963
  (n = r[o]) && (e = n(e) || e);
8902
8964
  return e;
8903
8965
  };
8904
8966
  const Rl = "sonic-switch";
8905
- let Gs = class extends ft {
8967
+ let Qs = class extends ft {
8906
8968
  constructor() {
8907
8969
  super(), this.unique = !0;
8908
8970
  }
8909
8971
  };
8910
- Gs.styles = [
8972
+ Qs.styles = [
8911
8973
  ft.styles,
8912
8974
  P`
8913
8975
  sonic-icon {
@@ -8976,16 +9038,16 @@ Gs.styles = [
8976
9038
  }
8977
9039
  `
8978
9040
  ];
8979
- Gs = zl([
9041
+ Qs = zl([
8980
9042
  _(Rl)
8981
- ], Gs);
9043
+ ], Qs);
8982
9044
  var Ul = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, Q = (r, t, i, s) => {
8983
9045
  for (var e = s > 1 ? void 0 : s ? Vl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
8984
9046
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
8985
9047
  return s && e && Ul(t, i, e), e;
8986
9048
  };
8987
9049
  const Bl = "sonic-select";
8988
- let W = class extends Le(Z(w)) {
9050
+ let W = class extends Le(G(w)) {
8989
9051
  constructor() {
8990
9052
  super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
8991
9053
  const r = this.querySelectorAll(
@@ -9066,7 +9128,7 @@ let W = class extends Le(Z(w)) {
9066
9128
  ></slot
9067
9129
  ></label>
9068
9130
 
9069
- <div class="form-control ${Ai(r)}">
9131
+ <div class="form-control ${ki(r)}">
9070
9132
  <slot name="prefix" @slotchange=${this.hasSlotOrProps}></slot>
9071
9133
  <div class="form-select-wrapper">
9072
9134
  <select
@@ -9119,9 +9181,9 @@ let W = class extends Le(Z(w)) {
9119
9181
  };
9120
9182
  W.styles = [
9121
9183
  Mt,
9122
- Si,
9184
+ Ai,
9123
9185
  Ts,
9124
- Ms,
9186
+ Is,
9125
9187
  P`
9126
9188
  .form-element {
9127
9189
  appearance: none;
@@ -9223,16 +9285,16 @@ Q([
9223
9285
  dt({ slot: "prefix", flatten: !0 })
9224
9286
  ], W.prototype, "slotPrefixNodes", 2);
9225
9287
  Q([
9226
- L()
9288
+ D()
9227
9289
  ], W.prototype, "hasDescription", 2);
9228
9290
  Q([
9229
- L()
9291
+ D()
9230
9292
  ], W.prototype, "hasLabel", 2);
9231
9293
  Q([
9232
- L()
9294
+ D()
9233
9295
  ], W.prototype, "hasSuffix", 2);
9234
9296
  Q([
9235
- L()
9297
+ D()
9236
9298
  ], W.prototype, "hasPrefix", 2);
9237
9299
  W = Q([
9238
9300
  _(Bl)
@@ -9243,7 +9305,7 @@ var ql = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, bt = (r, t
9243
9305
  return s && e && ql(t, i, e), e;
9244
9306
  };
9245
9307
  const Wl = "sonic-textarea";
9246
- let ct = class extends Es(Le(Z(w))) {
9308
+ let ct = class extends Es(Le(G(w))) {
9247
9309
  constructor() {
9248
9310
  super(...arguments), this.size = "md", this.readonly = !1, this.resize = "vertical", this.hasDescription = !1, this.hasLabel = !1;
9249
9311
  }
@@ -9320,10 +9382,10 @@ ${this.value}</textarea
9320
9382
  };
9321
9383
  ct.styles = [
9322
9384
  Mt,
9323
- Si,
9385
+ Ai,
9324
9386
  Ts,
9325
- Ms,
9326
- es,
9387
+ Is,
9388
+ ss,
9327
9389
  P`
9328
9390
  textarea {
9329
9391
  overflow-y: auto !important;
@@ -9365,10 +9427,10 @@ bt([
9365
9427
  dt({ slot: "description", flatten: !0 })
9366
9428
  ], ct.prototype, "slotDescriptionNodes", 2);
9367
9429
  bt([
9368
- L()
9430
+ D()
9369
9431
  ], ct.prototype, "hasDescription", 2);
9370
9432
  bt([
9371
- L()
9433
+ D()
9372
9434
  ], ct.prototype, "hasLabel", 2);
9373
9435
  ct = bt([
9374
9436
  _(Wl)
@@ -9378,12 +9440,12 @@ var Kl = Object.getOwnPropertyDescriptor, Yl = (r, t, i, s) => {
9378
9440
  (n = r[o]) && (e = n(e) || e);
9379
9441
  return e;
9380
9442
  };
9381
- let Qs = class extends w {
9443
+ let Js = class extends w {
9382
9444
  render() {
9383
9445
  return m`<slot></slot>`;
9384
9446
  }
9385
9447
  };
9386
- Qs.styles = [
9448
+ Js.styles = [
9387
9449
  P`
9388
9450
  :host {
9389
9451
  font-size: 1.15rem;
@@ -9403,13 +9465,13 @@ Qs.styles = [
9403
9465
  }
9404
9466
  `
9405
9467
  ];
9406
- Qs = Yl([
9468
+ Js = Yl([
9407
9469
  _("sonic-legend-description")
9408
- ], Qs);
9409
- var Xl = Object.defineProperty, Zl = Object.getOwnPropertyDescriptor, ye = (r, t, i, s) => {
9410
- for (var e = s > 1 ? void 0 : s ? Zl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9470
+ ], Js);
9471
+ var Zl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, ye = (r, t, i, s) => {
9472
+ for (var e = s > 1 ? void 0 : s ? Xl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9411
9473
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
9412
- return s && e && Xl(t, i, e), e;
9474
+ return s && e && Zl(t, i, e), e;
9413
9475
  };
9414
9476
  const Gl = "sonic-legend";
9415
9477
  let Ht = class extends w {
@@ -9523,7 +9585,7 @@ var Ql = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, Ft = (r, t
9523
9585
  return s && e && Ql(t, i, e), e;
9524
9586
  };
9525
9587
  const tc = "sonic-fieldset";
9526
- let Pt = class extends Z(w) {
9588
+ let Pt = class extends G(w) {
9527
9589
  constructor() {
9528
9590
  super(...arguments), this.disabled = !1, this.variant = "default";
9529
9591
  }
@@ -9538,7 +9600,7 @@ let Pt = class extends Z(w) {
9538
9600
  iconName=${$(this.iconName)}
9539
9601
  iconPrefix=${$(this.iconPrefix)}
9540
9602
  iconLibrary=${$(this.iconLibrary)}
9541
- ></sonic-legend>` : S}
9603
+ ></sonic-legend>` : C}
9542
9604
  <slot></slot>
9543
9605
  </fieldset>`;
9544
9606
  }
@@ -9625,13 +9687,13 @@ Ft([
9625
9687
  Pt = Ft([
9626
9688
  _(tc)
9627
9689
  ], Pt);
9628
- var ec = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, ki = (r, t, i, s) => {
9690
+ var ec = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, Oi = (r, t, i, s) => {
9629
9691
  for (var e = s > 1 ? void 0 : s ? sc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9630
9692
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
9631
9693
  return s && e && ec(t, i, e), e;
9632
9694
  };
9633
9695
  const ic = "sonic-form-layout";
9634
- let Xe = class extends Z(w) {
9696
+ let Ze = class extends G(w) {
9635
9697
  constructor() {
9636
9698
  super(...arguments), this._resizeController = new Nr(this, {}), this.oneFormElement = !1;
9637
9699
  }
@@ -9645,12 +9707,12 @@ let Xe = class extends Z(w) {
9645
9707
  "cq--md": this.offsetWidth > 440,
9646
9708
  "one-form-element": this.oneFormElement
9647
9709
  };
9648
- return m`<div class=${Ai(r)}>
9710
+ return m`<div class=${ki(r)}>
9649
9711
  <slot @slotchange=${this.onSlotChange}></slot>
9650
9712
  </div>`;
9651
9713
  }
9652
9714
  };
9653
- Xe.styles = [
9715
+ Ze.styles = [
9654
9716
  P`
9655
9717
  :host {
9656
9718
  display: block;
@@ -9688,22 +9750,22 @@ Xe.styles = [
9688
9750
  }
9689
9751
  `
9690
9752
  ];
9691
- ki([
9753
+ Oi([
9692
9754
  ke({ flatten: !0 })
9693
- ], Xe.prototype, "slottedElements", 2);
9694
- ki([
9755
+ ], Ze.prototype, "slottedElements", 2);
9756
+ Oi([
9695
9757
  a({ type: Boolean })
9696
- ], Xe.prototype, "oneFormElement", 2);
9697
- Xe = ki([
9758
+ ], Ze.prototype, "oneFormElement", 2);
9759
+ Ze = Oi([
9698
9760
  _(ic)
9699
- ], Xe);
9700
- var rc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, Oi = (r, t, i, s) => {
9761
+ ], Ze);
9762
+ var rc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, Di = (r, t, i, s) => {
9701
9763
  for (var e = s > 1 ? void 0 : s ? oc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9702
9764
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
9703
9765
  return s && e && rc(t, i, e), e;
9704
9766
  };
9705
9767
  const nc = "sonic-form-actions";
9706
- let Ze = class extends w {
9768
+ let Xe = class extends w {
9707
9769
  constructor() {
9708
9770
  super(...arguments), this.direction = "row", this.justify = "flex-start";
9709
9771
  }
@@ -9715,7 +9777,7 @@ let Ze = class extends w {
9715
9777
  return m`<slot style=${ut(r)}></slot>`;
9716
9778
  }
9717
9779
  };
9718
- Ze.styles = [
9780
+ Xe.styles = [
9719
9781
  P`
9720
9782
  :host {
9721
9783
  display: block;
@@ -9727,22 +9789,22 @@ Ze.styles = [
9727
9789
  }
9728
9790
  `
9729
9791
  ];
9730
- Oi([
9792
+ Di([
9731
9793
  a({ type: String })
9732
- ], Ze.prototype, "direction", 2);
9733
- Oi([
9794
+ ], Xe.prototype, "direction", 2);
9795
+ Di([
9734
9796
  a({ type: String })
9735
- ], Ze.prototype, "justify", 2);
9736
- Ze = Oi([
9797
+ ], Xe.prototype, "justify", 2);
9798
+ Xe = Di([
9737
9799
  _(nc)
9738
- ], Ze);
9800
+ ], Xe);
9739
9801
  var ac = Object.defineProperty, lc = Object.getOwnPropertyDescriptor, ie = (r, t, i, s) => {
9740
9802
  for (var e = s > 1 ? void 0 : s ? lc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9741
9803
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
9742
9804
  return s && e && ac(t, i, e), e;
9743
9805
  };
9744
9806
  const cc = "sonic-group";
9745
- let Nt = class extends w {
9807
+ let Tt = class extends w {
9746
9808
  constructor() {
9747
9809
  super(...arguments), this.alignItems = "center", this.hasDescription = !1, this.hasLabel = !1;
9748
9810
  }
@@ -9787,10 +9849,10 @@ let Nt = class extends w {
9787
9849
  </slot>`;
9788
9850
  }
9789
9851
  };
9790
- Nt.styles = [
9852
+ Tt.styles = [
9791
9853
  Mt,
9792
9854
  Ts,
9793
- Ms,
9855
+ Is,
9794
9856
  P`
9795
9857
  :host {
9796
9858
  display: inline-block;
@@ -9815,28 +9877,28 @@ Nt.styles = [
9815
9877
  ];
9816
9878
  ie([
9817
9879
  a({ type: String })
9818
- ], Nt.prototype, "alignItems", 2);
9880
+ ], Tt.prototype, "alignItems", 2);
9819
9881
  ie([
9820
9882
  a({ type: String })
9821
- ], Nt.prototype, "label", 2);
9883
+ ], Tt.prototype, "label", 2);
9822
9884
  ie([
9823
9885
  a({ type: String })
9824
- ], Nt.prototype, "description", 2);
9886
+ ], Tt.prototype, "description", 2);
9825
9887
  ie([
9826
9888
  dt({ slot: "label", flatten: !0 })
9827
- ], Nt.prototype, "slotLabelNodes", 2);
9889
+ ], Tt.prototype, "slotLabelNodes", 2);
9828
9890
  ie([
9829
9891
  dt({ slot: "description", flatten: !0 })
9830
- ], Nt.prototype, "slotDescriptionNodes", 2);
9892
+ ], Tt.prototype, "slotDescriptionNodes", 2);
9831
9893
  ie([
9832
- L()
9833
- ], Nt.prototype, "hasDescription", 2);
9894
+ D()
9895
+ ], Tt.prototype, "hasDescription", 2);
9834
9896
  ie([
9835
- L()
9836
- ], Nt.prototype, "hasLabel", 2);
9837
- Nt = ie([
9897
+ D()
9898
+ ], Tt.prototype, "hasLabel", 2);
9899
+ Tt = ie([
9838
9900
  _(cc)
9839
- ], Nt);
9901
+ ], Tt);
9840
9902
  var hc = Object.defineProperty, dc = Object.getOwnPropertyDescriptor, zt = (r, t, i, s) => {
9841
9903
  for (var e = s > 1 ? void 0 : s ? dc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
9842
9904
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
@@ -10290,7 +10352,7 @@ vt([
10290
10352
  ke({ slot: "more", selector: "*" })
10291
10353
  ], ht.prototype, "moreElements", 2);
10292
10354
  vt([
10293
- L()
10355
+ D()
10294
10356
  ], ht.prototype, "hasMoreElements", 2);
10295
10357
  ht = vt([
10296
10358
  _(mc)
@@ -10301,11 +10363,11 @@ var gc = Object.defineProperty, bc = Object.getOwnPropertyDescriptor, Tr = (r, t
10301
10363
  return s && e && gc(t, i, e), e;
10302
10364
  };
10303
10365
  const vc = "sonic-modal-actions";
10304
- let $s = class extends w {
10366
+ let Cs = class extends w {
10305
10367
  firstUpdated(r) {
10306
10368
  this.buttons?.forEach((t) => {
10307
10369
  t.hasAttribute("hideModal") && t.addEventListener("click", () => {
10308
- Xt.getClosestElement(
10370
+ Zt.getClosestElement(
10309
10371
  this,
10310
10372
  "sonic-modal"
10311
10373
  )?.hide();
@@ -10316,7 +10378,7 @@ let $s = class extends w {
10316
10378
  return m`<slot></slot>`;
10317
10379
  }
10318
10380
  };
10319
- $s.styles = [
10381
+ Cs.styles = [
10320
10382
  P`
10321
10383
  :host {
10322
10384
  display: flex;
@@ -10328,17 +10390,17 @@ $s.styles = [
10328
10390
  ];
10329
10391
  Tr([
10330
10392
  ke({ selector: "sonic-button" })
10331
- ], $s.prototype, "buttons", 2);
10332
- $s = Tr([
10393
+ ], Cs.prototype, "buttons", 2);
10394
+ Cs = Tr([
10333
10395
  _(vc)
10334
- ], $s);
10335
- var yc = Object.defineProperty, wc = Object.getOwnPropertyDescriptor, Di = (r, t, i, s) => {
10396
+ ], Cs);
10397
+ var yc = Object.defineProperty, wc = Object.getOwnPropertyDescriptor, Ms = (r, t, i, s) => {
10336
10398
  for (var e = s > 1 ? void 0 : s ? wc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10337
10399
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10338
10400
  return s && e && yc(t, i, e), e;
10339
10401
  };
10340
10402
  const _c = "sonic-modal-close";
10341
- let Cs = class extends w {
10403
+ let Ge = class extends w {
10342
10404
  constructor() {
10343
10405
  super(...arguments), this.translation = {
10344
10406
  fr: "Fermer la fenêtre",
@@ -10353,10 +10415,12 @@ let Cs = class extends w {
10353
10415
  }
10354
10416
  render() {
10355
10417
  return m`<sonic-button
10356
- aria-label=${this.translation[this.lang]}
10418
+ noAutoFill
10419
+ data-aria-label=${this.translation[this.lang]}
10357
10420
  reset=${$(this.reset)}
10358
10421
  shape="circle"
10359
10422
  @click=${this.handleClick}
10423
+ type=${$(this.type)}
10360
10424
  ><sonic-icon name="cancel" size="lg"></sonic-icon
10361
10425
  ></sonic-button>`;
10362
10426
  }
@@ -10364,27 +10428,30 @@ let Cs = class extends w {
10364
10428
  J.getClosestElement(this, "sonic-modal").hide();
10365
10429
  }
10366
10430
  };
10367
- Di([
10431
+ Ms([
10368
10432
  a()
10369
- ], Cs.prototype, "translation", 2);
10370
- Di([
10433
+ ], Ge.prototype, "translation", 2);
10434
+ Ms([
10435
+ a()
10436
+ ], Ge.prototype, "reset", 2);
10437
+ Ms([
10371
10438
  a()
10372
- ], Cs.prototype, "reset", 2);
10373
- Cs = Di([
10439
+ ], Ge.prototype, "type", 2);
10440
+ Ge = Ms([
10374
10441
  _(_c)
10375
- ], Cs);
10442
+ ], Ge);
10376
10443
  var xc = Object.getOwnPropertyDescriptor, Pc = (r, t, i, s) => {
10377
10444
  for (var e = s > 1 ? void 0 : s ? xc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10378
10445
  (n = r[o]) && (e = n(e) || e);
10379
10446
  return e;
10380
10447
  };
10381
10448
  const $c = "sonic-modal-content";
10382
- let Js = class extends w {
10449
+ let ti = class extends w {
10383
10450
  render() {
10384
10451
  return m`<slot></slot>`;
10385
10452
  }
10386
10453
  };
10387
- Js.styles = [
10454
+ ti.styles = [
10388
10455
  P`
10389
10456
  :host {
10390
10457
  display: block;
@@ -10392,21 +10459,21 @@ Js.styles = [
10392
10459
  }
10393
10460
  `
10394
10461
  ];
10395
- Js = Pc([
10462
+ ti = Pc([
10396
10463
  _($c)
10397
- ], Js);
10464
+ ], ti);
10398
10465
  var Cc = Object.getOwnPropertyDescriptor, Sc = (r, t, i, s) => {
10399
10466
  for (var e = s > 1 ? void 0 : s ? Cc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10400
10467
  (n = r[o]) && (e = n(e) || e);
10401
10468
  return e;
10402
10469
  };
10403
10470
  const Ac = "sonic-modal-subtitle";
10404
- let ti = class extends w {
10471
+ let ei = class extends w {
10405
10472
  render() {
10406
10473
  return m`<slot></slot>`;
10407
10474
  }
10408
10475
  };
10409
- ti.styles = [
10476
+ ei.styles = [
10410
10477
  P`
10411
10478
  :host {
10412
10479
  font-size: 1.25rem;
@@ -10421,21 +10488,21 @@ ti.styles = [
10421
10488
  }
10422
10489
  `
10423
10490
  ];
10424
- ti = Sc([
10491
+ ei = Sc([
10425
10492
  _(Ac)
10426
- ], ti);
10493
+ ], ei);
10427
10494
  var kc = Object.getOwnPropertyDescriptor, Oc = (r, t, i, s) => {
10428
10495
  for (var e = s > 1 ? void 0 : s ? kc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10429
10496
  (n = r[o]) && (e = n(e) || e);
10430
10497
  return e;
10431
10498
  };
10432
10499
  const Dc = "sonic-modal-title";
10433
- let ei = class extends w {
10500
+ let si = class extends w {
10434
10501
  render() {
10435
10502
  return m`<slot></slot>`;
10436
10503
  }
10437
10504
  };
10438
- ei.styles = [
10505
+ si.styles = [
10439
10506
  P`
10440
10507
  :host {
10441
10508
  font-weight: bold;
@@ -10451,16 +10518,16 @@ ei.styles = [
10451
10518
  }
10452
10519
  `
10453
10520
  ];
10454
- ei = Oc([
10521
+ si = Oc([
10455
10522
  _(Dc)
10456
- ], ei);
10457
- var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, G = (r, t, i, s) => {
10523
+ ], si);
10524
+ var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, Y = (r, t, i, s) => {
10458
10525
  for (var e = s > 1 ? void 0 : s ? Ec(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10459
10526
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10460
10527
  return s && e && Lc(t, i, e), e;
10461
10528
  };
10462
- const Mr = "sonic-modal";
10463
- let M = class extends Z(w) {
10529
+ const Ir = "sonic-modal";
10530
+ let I = class extends G(w) {
10464
10531
  constructor() {
10465
10532
  super(...arguments), this.forceAction = !1, this.noCloseButton = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.maxWidth = "min(100vw, 40rem)", this.maxHeight = "90vh", this.width = "100%", this.height = "fit-content", this.effect = "slide", this.fullScreen = !1, this.visible = !1, this.closeOnLocationChange = !1, this.location = "", this._animationState = "hidden", this._animationConfig = {
10466
10533
  quartOut: "cubic-bezier(0.165, 0.84, 0.44, 1)",
@@ -10472,16 +10539,16 @@ let M = class extends Z(w) {
10472
10539
  };
10473
10540
  }
10474
10541
  static create(r) {
10475
- const t = document.createElement(Mr);
10476
- return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r?.maxWidth), r.width && (t.width = r?.width), r.maxHeight && (t.maxHeight = r?.maxHeight), r.height && (t.height = r?.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r?.fullScreen), r.effect && (t.effect = r?.effect), r.noCloseButton && (t.noCloseButton = !0), r.paddingX && (t.paddingX = r?.paddingX), r.paddingY && (t.paddingY = r?.paddingY), r.zIndex && (t.zIndex = r?.zIndex), yt.getPopContainer().appendChild(t), t.updateComplete.then(() => {
10542
+ const t = document.createElement(Ir);
10543
+ return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r?.maxWidth), r.width && (t.width = r?.width), r.maxHeight && (t.maxHeight = r?.maxHeight), r.height && (t.height = r?.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r?.fullScreen), r.effect && (t.effect = r?.effect), r.noCloseButton && (t.noCloseButton = !0), r.closeButtonType && (t.closeButtonType = r?.closeButtonType), r.paddingX && (t.paddingX = r?.paddingX), r.paddingY && (t.paddingY = r?.paddingY), r.zIndex && (t.zIndex = r?.zIndex), yt.getPopContainer().appendChild(t), t.updateComplete.then(() => {
10477
10544
  t.show();
10478
10545
  }), t;
10479
10546
  }
10480
10547
  connectedCallback() {
10481
- M.modals.push(this), et.onChange(this), super.connectedCallback();
10548
+ I.modals.push(this), et.onChange(this), super.connectedCallback();
10482
10549
  }
10483
10550
  disconnectedCallback() {
10484
- et.offChange(this), M.modals.splice(M.modals.indexOf(this), 1), this.removeEventListener("keydown", this.handleEscape), super.disconnectedCallback();
10551
+ et.offChange(this), I.modals.splice(I.modals.indexOf(this), 1), this.removeEventListener("keydown", this.handleEscape), super.disconnectedCallback();
10485
10552
  }
10486
10553
  firstUpdated() {
10487
10554
  this.addEventListener("keydown", this.handleEscape);
@@ -10538,17 +10605,20 @@ let M = class extends Z(w) {
10538
10605
  style=${ut(r)}
10539
10606
  >
10540
10607
  ${this._animationState !== "hidden" ? m`<div id="modal-content">
10541
- ${!this.forceAction && !this.noCloseButton ? m`<sonic-modal-close></sonic-modal-close>` : S}
10608
+ ${!this.forceAction && !this.noCloseButton ? m`<sonic-modal-close
10609
+ class="${this._animationState == "visible" ? "animate-in" : "animate-out"}"
10610
+ type=${$(this.closeButtonType)}
10611
+ ></sonic-modal-close>` : C}
10542
10612
  ${this.modalFragment("title")} ${this.modalFragment("subtitle")}
10543
10613
  ${this.modalFragment("content")} ${this.modalFragment("actions")}
10544
10614
  <slot></slot>
10545
- </div>` : S}
10615
+ </div>` : C}
10546
10616
  </dialog>
10547
10617
  `;
10548
10618
  }
10549
10619
  modalFragment(r) {
10550
10620
  const t = this.options?.[r];
10551
- if (!t) return S;
10621
+ if (!t) return C;
10552
10622
  let i;
10553
10623
  switch (t instanceof Object ? i = t : i = z(t), r) {
10554
10624
  case "title":
@@ -10560,7 +10630,7 @@ let M = class extends Z(w) {
10560
10630
  case "actions":
10561
10631
  return m`<sonic-modal-actions>${i}</sonic-modal-actions>`;
10562
10632
  default:
10563
- return S;
10633
+ return C;
10564
10634
  }
10565
10635
  }
10566
10636
  // Show the modal
@@ -10579,7 +10649,7 @@ let M = class extends Z(w) {
10579
10649
  }
10580
10650
  // Hide and remove all modals
10581
10651
  static disposeAll() {
10582
- M.modals.forEach((r) => {
10652
+ I.modals.forEach((r) => {
10583
10653
  r.dispose();
10584
10654
  });
10585
10655
  }
@@ -10587,7 +10657,7 @@ let M = class extends Z(w) {
10587
10657
  handleEscape(r) {
10588
10658
  if (r.key === "Escape") {
10589
10659
  r.preventDefault();
10590
- const t = M.modals.filter(
10660
+ const t = I.modals.filter(
10591
10661
  (i) => i._animationState !== "hidden" && !i.forceAction
10592
10662
  );
10593
10663
  t.length > 0 && t[t.length - 1].hide();
@@ -10634,8 +10704,8 @@ let M = class extends Z(w) {
10634
10704
  });
10635
10705
  }
10636
10706
  };
10637
- M.styles = [
10638
- es,
10707
+ I.styles = [
10708
+ ss,
10639
10709
  P`
10640
10710
  :host {
10641
10711
  --sc-modal-py: 2.5rem;
@@ -10744,111 +10814,130 @@ M.styles = [
10744
10814
  /* Close button */
10745
10815
  ::slotted(sonic-modal-close),
10746
10816
  sonic-modal-close {
10747
- --sc_translate-x: calc(var(--sc-modal-px) - 0.25rem);
10748
- --sc_translate-y: calc(-1 * var(--sc-modal-py) - 0.25rem);
10749
10817
  --sc_top: 0.25rem;
10750
10818
  --sc_x: 0.25rem;
10751
10819
  position: sticky;
10752
10820
  display: block;
10753
- height: 0;
10754
10821
  top: var(--sc_top);
10755
10822
  margin-left: auto;
10823
+ margin-bottom: -1rem;
10756
10824
  margin-top: calc(-1 * var(--sc-modal-py) - 0.25rem);
10757
- margin-bottom: var(--sc-modal-py);
10758
- transform: translateX(var(--sc_translate-x));
10825
+ margin-right: calc(-1 * var(--sc-modal-px) + 0.25rem);
10759
10826
  z-index: 20;
10827
+ opacity: 0;
10828
+ transform: scale(0);
10829
+ transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
10830
+ opacity 0.1s linear;
10831
+ transform-origin: center center;
10832
+ display: flex;
10833
+ align-items: center;
10834
+ justify-content: center;
10760
10835
  }
10761
10836
  :host([align="right"]) ::slotted(sonic-modal-close),
10762
10837
  :host([align="right"]) sonic-modal-close {
10763
10838
  right: auto;
10764
10839
  margin-right: auto;
10765
- margin-left: 0;
10766
- transform: translateX(calc(-1 * var(--sc_translate-x)));
10840
+ margin-left: calc(-1 * var(--sc-modal-px) + 0.25rem);
10767
10841
  }
10768
10842
 
10769
10843
  /* Border radius */
10770
10844
  :host([rounded="none"]) #modal {
10771
10845
  --sc-img-radius: 0 !important;
10772
10846
  }
10847
+
10848
+ sonic-modal-close.animate-in {
10849
+ transform: scale(1);
10850
+ opacity: 1 !important;
10851
+ transition-delay: 0.2s;
10852
+ }
10853
+ sonic-modal-close.animate-out {
10854
+ opacity: 0 !important;
10855
+ transition-delay: 0s !important;
10856
+ transform: scale(0) !important;
10857
+ transition: 0.2s linear !important;
10858
+ }
10773
10859
  `
10774
10860
  ];
10775
- M.modals = [];
10776
- G([
10861
+ I.modals = [];
10862
+ Y([
10777
10863
  a({ type: Boolean })
10778
- ], M.prototype, "forceAction", 2);
10779
- G([
10864
+ ], I.prototype, "forceAction", 2);
10865
+ Y([
10780
10866
  a({ type: Boolean })
10781
- ], M.prototype, "noCloseButton", 2);
10782
- G([
10867
+ ], I.prototype, "noCloseButton", 2);
10868
+ Y([
10783
10869
  a({ type: Boolean })
10784
- ], M.prototype, "removeOnHide", 2);
10785
- G([
10870
+ ], I.prototype, "removeOnHide", 2);
10871
+ Y([
10786
10872
  a({ type: Boolean })
10787
- ], M.prototype, "removeHashOnHide", 2);
10788
- G([
10873
+ ], I.prototype, "removeHashOnHide", 2);
10874
+ Y([
10789
10875
  a({ type: String, reflect: !0 })
10790
- ], M.prototype, "align", 2);
10791
- G([
10876
+ ], I.prototype, "align", 2);
10877
+ Y([
10792
10878
  a({ type: String })
10793
- ], M.prototype, "paddingX", 2);
10794
- G([
10879
+ ], I.prototype, "paddingX", 2);
10880
+ Y([
10795
10881
  a({ type: String })
10796
- ], M.prototype, "paddingY", 2);
10797
- G([
10882
+ ], I.prototype, "paddingY", 2);
10883
+ Y([
10798
10884
  a({ type: String })
10799
- ], M.prototype, "maxWidth", 2);
10800
- G([
10885
+ ], I.prototype, "maxWidth", 2);
10886
+ Y([
10801
10887
  a({ type: String })
10802
- ], M.prototype, "maxHeight", 2);
10803
- G([
10888
+ ], I.prototype, "maxHeight", 2);
10889
+ Y([
10804
10890
  a({ type: String })
10805
- ], M.prototype, "zIndex", 2);
10806
- G([
10891
+ ], I.prototype, "zIndex", 2);
10892
+ Y([
10807
10893
  a({ type: String })
10808
- ], M.prototype, "width", 2);
10809
- G([
10894
+ ], I.prototype, "width", 2);
10895
+ Y([
10810
10896
  a({ type: String })
10811
- ], M.prototype, "height", 2);
10812
- G([
10897
+ ], I.prototype, "height", 2);
10898
+ Y([
10813
10899
  a({ type: String })
10814
- ], M.prototype, "effect", 2);
10815
- G([
10900
+ ], I.prototype, "effect", 2);
10901
+ Y([
10816
10902
  a({ type: Object })
10817
- ], M.prototype, "options", 2);
10818
- G([
10903
+ ], I.prototype, "options", 2);
10904
+ Y([
10819
10905
  a({ type: Boolean, reflect: !0 })
10820
- ], M.prototype, "fullScreen", 2);
10821
- G([
10906
+ ], I.prototype, "fullScreen", 2);
10907
+ Y([
10822
10908
  a({ type: Boolean, reflect: !0 })
10823
- ], M.prototype, "visible", 2);
10824
- G([
10909
+ ], I.prototype, "visible", 2);
10910
+ Y([
10911
+ a({ type: String })
10912
+ ], I.prototype, "closeButtonType", 2);
10913
+ Y([
10825
10914
  ge("#modal")
10826
- ], M.prototype, "_modalElement", 2);
10827
- G([
10915
+ ], I.prototype, "_modalElement", 2);
10916
+ Y([
10828
10917
  a({ type: Boolean })
10829
- ], M.prototype, "closeOnLocationChange", 2);
10830
- G([
10831
- L()
10832
- ], M.prototype, "location", 2);
10833
- G([
10834
- L()
10835
- ], M.prototype, "_animationState", 2);
10836
- M = G([
10837
- _(Mr)
10838
- ], M);
10839
- typeof window < "u" && (window.SonicModal = M);
10918
+ ], I.prototype, "closeOnLocationChange", 2);
10919
+ Y([
10920
+ D()
10921
+ ], I.prototype, "location", 2);
10922
+ Y([
10923
+ D()
10924
+ ], I.prototype, "_animationState", 2);
10925
+ I = Y([
10926
+ _(Ir)
10927
+ ], I);
10928
+ typeof window < "u" && (window.SonicModal = I);
10840
10929
  var Nc = Object.defineProperty, Tc = Object.getOwnPropertyDescriptor, Rt = (r, t, i, s) => {
10841
10930
  for (var e = s > 1 ? void 0 : s ? Tc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
10842
10931
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
10843
10932
  return s && e && Nc(t, i, e), e;
10844
10933
  };
10845
- const Mc = {
10934
+ const Ic = {
10846
10935
  warning: "warning-circled-outline",
10847
10936
  success: "check-circled-outline",
10848
10937
  error: "warning-circled-outline",
10849
10938
  info: "info-empty",
10850
10939
  default: "info-empty"
10851
- }, Ic = "sonic-alert";
10940
+ }, Mc = "sonic-alert";
10852
10941
  let Ct = class extends w {
10853
10942
  constructor() {
10854
10943
  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;
@@ -10863,12 +10952,12 @@ let Ct = class extends w {
10863
10952
  render() {
10864
10953
  return m`
10865
10954
  <slot name="icon" class="${this.noIcon ? "hidden" : ""}"
10866
- >${this.noIcon ? S : m`<div>
10867
- ${this.status && m`<sonic-icon name=${Mc[this.status]}></sonic-icon>`}
10955
+ >${this.noIcon ? C : m`<div>
10956
+ ${this.status && m`<sonic-icon name=${Ic[this.status]}></sonic-icon>`}
10868
10957
  </div>`}</slot
10869
10958
  >
10870
10959
  <div class="content">
10871
- ${this.label ? m`<span class="label">${z(this.label)}</span>` : S}
10960
+ ${this.label ? m`<span class="label">${z(this.label)}</span>` : C}
10872
10961
  <div>${this.text}<slot></slot></div>
10873
10962
  </div>
10874
10963
  ${this.dismissible ? m`<sonic-button
@@ -10879,7 +10968,7 @@ let Ct = class extends w {
10879
10968
  icon
10880
10969
  >
10881
10970
  <sonic-icon name="cancel"></sonic-icon>
10882
- </sonic-button>` : S}
10971
+ </sonic-button>` : C}
10883
10972
  `;
10884
10973
  }
10885
10974
  close() {
@@ -11011,15 +11100,15 @@ Rt([
11011
11100
  a({ type: Boolean, reflect: !0 })
11012
11101
  ], Ct.prototype, "dismissForever", 2);
11013
11102
  Ct = Rt([
11014
- _(Ic)
11103
+ _(Mc)
11015
11104
  ], Ct);
11016
- var jc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, os = (r, t, i, s) => {
11105
+ var jc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, ns = (r, t, i, s) => {
11017
11106
  for (var e = s > 1 ? void 0 : s ? Fc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11018
11107
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11019
11108
  return s && e && jc(t, i, e), e;
11020
11109
  };
11021
11110
  const zc = "sonic-alert-messages";
11022
- let ue = class extends Z(w) {
11111
+ let ue = class extends G(w) {
11023
11112
  constructor() {
11024
11113
  super(...arguments), this.size = "md", this.background = !1, this.noIcon = !1, this.messages = [];
11025
11114
  }
@@ -11031,8 +11120,8 @@ let ue = class extends Z(w) {
11031
11120
  size=${this.size}
11032
11121
  ?noIcon=${this.noIcon}
11033
11122
  ?background=${this.background}
11034
- ></sonic-alert>` : S)}
11035
- </div>` : S;
11123
+ ></sonic-alert>` : C)}
11124
+ </div>` : C;
11036
11125
  }
11037
11126
  };
11038
11127
  ue.styles = [
@@ -11045,28 +11134,28 @@ ue.styles = [
11045
11134
  }
11046
11135
  `
11047
11136
  ];
11048
- os([
11137
+ ns([
11049
11138
  a({ type: String })
11050
11139
  ], ue.prototype, "size", 2);
11051
- os([
11140
+ ns([
11052
11141
  a({ type: Boolean })
11053
11142
  ], ue.prototype, "background", 2);
11054
- os([
11143
+ ns([
11055
11144
  a({ type: Boolean })
11056
11145
  ], ue.prototype, "noIcon", 2);
11057
- os([
11146
+ ns([
11058
11147
  a({ type: Array })
11059
11148
  ], ue.prototype, "messages", 2);
11060
- ue = os([
11149
+ ue = ns([
11061
11150
  _(zc)
11062
11151
  ], ue);
11063
- var Rc = Object.defineProperty, Uc = Object.getOwnPropertyDescriptor, Ir = (r, t, i, s) => {
11152
+ var Rc = Object.defineProperty, Uc = Object.getOwnPropertyDescriptor, Mr = (r, t, i, s) => {
11064
11153
  for (var e = s > 1 ? void 0 : s ? Uc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11065
11154
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11066
11155
  return s && e && Rc(t, i, e), e;
11067
11156
  };
11068
11157
  const Vc = "sonic-toast-message-subscriber";
11069
- let si = class extends Z(w) {
11158
+ let ii = class extends G(w) {
11070
11159
  constructor() {
11071
11160
  super(...arguments), this._messages = [];
11072
11161
  }
@@ -11079,16 +11168,16 @@ let si = class extends Z(w) {
11079
11168
  });
11080
11169
  }
11081
11170
  render() {
11082
- return S;
11171
+ return C;
11083
11172
  }
11084
11173
  };
11085
- Ir([
11174
+ Mr([
11086
11175
  a({ type: Array })
11087
- ], si.prototype, "messages", 1);
11088
- si = Ir([
11176
+ ], ii.prototype, "messages", 1);
11177
+ ii = Mr([
11089
11178
  _(Vc)
11090
- ], si);
11091
- var Bc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, ns = (r, t, i, s) => {
11179
+ ], ii);
11180
+ var Bc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, as = (r, t, i, s) => {
11092
11181
  for (var e = s > 1 ? void 0 : s ? qc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11093
11182
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11094
11183
  return s && e && Bc(t, i, e), e;
@@ -11225,19 +11314,19 @@ fe.styles = [
11225
11314
  }
11226
11315
  `
11227
11316
  ];
11228
- ns([
11317
+ as([
11229
11318
  a({ type: String })
11230
11319
  ], fe.prototype, "label", 2);
11231
- ns([
11320
+ as([
11232
11321
  a({ type: String, reflect: !0 })
11233
11322
  ], fe.prototype, "placement", 2);
11234
- ns([
11323
+ as([
11235
11324
  a({ type: Boolean })
11236
11325
  ], fe.prototype, "disabled", 2);
11237
- ns([
11326
+ as([
11238
11327
  a({ type: Boolean })
11239
11328
  ], fe.prototype, "focusable", 2);
11240
- fe = ns([
11329
+ fe = as([
11241
11330
  _(Hc)
11242
11331
  ], fe);
11243
11332
  var Wc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor, Ut = (r, t, i, s) => {
@@ -11425,18 +11514,18 @@ Ut([
11425
11514
  St = Ut([
11426
11515
  _(Yc)
11427
11516
  ], St);
11428
- var Xc = Object.getOwnPropertyDescriptor, Zc = (r, t, i, s) => {
11429
- for (var e = s > 1 ? void 0 : s ? Xc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11517
+ var Zc = Object.getOwnPropertyDescriptor, Xc = (r, t, i, s) => {
11518
+ for (var e = s > 1 ? void 0 : s ? Zc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11430
11519
  (n = r[o]) && (e = n(e) || e);
11431
11520
  return e;
11432
11521
  };
11433
11522
  const Gc = "sonic-card-header-description";
11434
- let ii = class extends w {
11523
+ let ri = class extends w {
11435
11524
  render() {
11436
11525
  return m`<slot></slot>`;
11437
11526
  }
11438
11527
  };
11439
- ii.styles = [
11528
+ ri.styles = [
11440
11529
  P`
11441
11530
  :host() {
11442
11531
  display: block;
@@ -11447,30 +11536,30 @@ ii.styles = [
11447
11536
  }
11448
11537
  `
11449
11538
  ];
11450
- ii = Zc([
11539
+ ri = Xc([
11451
11540
  _(Gc)
11452
- ], ii);
11541
+ ], ri);
11453
11542
  var Qc = Object.defineProperty, Jc = Object.getOwnPropertyDescriptor, Li = (r, t, i, s) => {
11454
11543
  for (var e = s > 1 ? void 0 : s ? Jc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11455
11544
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11456
11545
  return s && e && Qc(t, i, e), e;
11457
11546
  };
11458
11547
  const th = "sonic-card-header";
11459
- let Ge = class extends w {
11548
+ let Qe = class extends w {
11460
11549
  render() {
11461
11550
  return m`
11462
11551
  <div class="header-content">
11463
11552
  ${z(this.label)}
11464
11553
  ${this.description ? m`<sonic-card-header-description
11465
11554
  >${z(this.description)}</sonic-card-header-description
11466
- >` : S}
11555
+ >` : C}
11467
11556
  <slot></slot>
11468
11557
  </div>
11469
11558
  <slot name="suffix"></slot>
11470
11559
  `;
11471
11560
  }
11472
11561
  };
11473
- Ge.styles = [
11562
+ Qe.styles = [
11474
11563
  P`
11475
11564
  :host {
11476
11565
  --sc-card-header-mb: 1.35rem;
@@ -11513,55 +11602,55 @@ Ge.styles = [
11513
11602
  ];
11514
11603
  Li([
11515
11604
  a()
11516
- ], Ge.prototype, "label", 2);
11605
+ ], Qe.prototype, "label", 2);
11517
11606
  Li([
11518
11607
  a()
11519
- ], Ge.prototype, "description", 2);
11520
- Ge = Li([
11608
+ ], Qe.prototype, "description", 2);
11609
+ Qe = Li([
11521
11610
  _(th)
11522
- ], Ge);
11611
+ ], Qe);
11523
11612
  var eh = Object.getOwnPropertyDescriptor, sh = (r, t, i, s) => {
11524
11613
  for (var e = s > 1 ? void 0 : s ? eh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11525
11614
  (n = r[o]) && (e = n(e) || e);
11526
11615
  return e;
11527
11616
  };
11528
11617
  const ih = "sonic-card-main";
11529
- let ri = class extends w {
11618
+ let oi = class extends w {
11530
11619
  render() {
11531
11620
  return m`<slot></slot>`;
11532
11621
  }
11533
11622
  };
11534
- ri.styles = [
11623
+ oi.styles = [
11535
11624
  P`
11536
11625
  :host {
11537
11626
  display: block;
11538
11627
  }
11539
11628
  `
11540
11629
  ];
11541
- ri = sh([
11630
+ oi = sh([
11542
11631
  _(ih)
11543
- ], ri);
11632
+ ], oi);
11544
11633
  var rh = Object.getOwnPropertyDescriptor, oh = (r, t, i, s) => {
11545
11634
  for (var e = s > 1 ? void 0 : s ? rh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11546
11635
  (n = r[o]) && (e = n(e) || e);
11547
11636
  return e;
11548
11637
  };
11549
11638
  const nh = "sonic-card-footer";
11550
- let oi = class extends w {
11639
+ let ni = class extends w {
11551
11640
  render() {
11552
11641
  return m` <slot></slot> `;
11553
11642
  }
11554
11643
  };
11555
- oi.styles = [
11644
+ ni.styles = [
11556
11645
  P`
11557
11646
  :host {
11558
11647
  display: block;
11559
11648
  }
11560
11649
  `
11561
11650
  ];
11562
- oi = oh([
11651
+ ni = oh([
11563
11652
  _(nh)
11564
- ], oi);
11653
+ ], ni);
11565
11654
  const Ei = P`
11566
11655
  :host {
11567
11656
  --sc-_color: inherit;
@@ -11705,13 +11794,13 @@ jr([
11705
11794
  Ss = jr([
11706
11795
  _(hh)
11707
11796
  ], Ss);
11708
- var dh = Object.defineProperty, ph = Object.getOwnPropertyDescriptor, as = (r, t, i, s) => {
11797
+ var dh = Object.defineProperty, ph = Object.getOwnPropertyDescriptor, ls = (r, t, i, s) => {
11709
11798
  for (var e = s > 1 ? void 0 : s ? ph(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11710
11799
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
11711
11800
  return s && e && dh(t, i, e), e;
11712
11801
  };
11713
11802
  const uh = "sonic-tr";
11714
- let me = class extends Z(w) {
11803
+ let me = class extends G(w) {
11715
11804
  constructor() {
11716
11805
  super(...arguments), this._metadata_ = {};
11717
11806
  }
@@ -11744,19 +11833,19 @@ me.styles = [
11744
11833
  }
11745
11834
  `
11746
11835
  ];
11747
- as([
11836
+ ls([
11748
11837
  a({ type: Object })
11749
11838
  ], me.prototype, "_metadata_", 2);
11750
- as([
11839
+ ls([
11751
11840
  a({ type: Boolean, reflect: !0 })
11752
11841
  ], me.prototype, "even", 2);
11753
- as([
11842
+ ls([
11754
11843
  a({ type: Boolean, reflect: !0 })
11755
11844
  ], me.prototype, "odd", 2);
11756
- as([
11845
+ ls([
11757
11846
  a({ type: Boolean, reflect: !0 })
11758
11847
  ], me.prototype, "last", 2);
11759
- me = as([
11848
+ me = ls([
11760
11849
  _(uh)
11761
11850
  ], me);
11762
11851
  var fh = Object.defineProperty, mh = Object.getOwnPropertyDescriptor, we = (r, t, i, s) => {
@@ -11837,7 +11926,7 @@ var bh = Object.defineProperty, vh = Object.getOwnPropertyDescriptor, re = (r, t
11837
11926
  return s && e && bh(t, i, e), e;
11838
11927
  };
11839
11928
  const yh = "sonic-td";
11840
- let Tt = class extends w {
11929
+ let It = class extends w {
11841
11930
  render() {
11842
11931
  const r = {
11843
11932
  textAlign: this.align,
@@ -11851,7 +11940,7 @@ let Tt = class extends w {
11851
11940
  </td>`;
11852
11941
  }
11853
11942
  };
11854
- Tt.styles = [
11943
+ It.styles = [
11855
11944
  Ei,
11856
11945
  P`
11857
11946
  :host {
@@ -11870,63 +11959,63 @@ Tt.styles = [
11870
11959
  ];
11871
11960
  re([
11872
11961
  a({ type: Number })
11873
- ], Tt.prototype, "colSpan", 2);
11962
+ ], It.prototype, "colSpan", 2);
11874
11963
  re([
11875
11964
  a({ type: Number })
11876
- ], Tt.prototype, "rowSpan", 2);
11965
+ ], It.prototype, "rowSpan", 2);
11877
11966
  re([
11878
11967
  a({ type: String })
11879
- ], Tt.prototype, "align", 2);
11968
+ ], It.prototype, "align", 2);
11880
11969
  re([
11881
11970
  a({ type: String })
11882
- ], Tt.prototype, "vAlign", 2);
11971
+ ], It.prototype, "vAlign", 2);
11883
11972
  re([
11884
11973
  a({ type: String })
11885
- ], Tt.prototype, "minWidth", 2);
11974
+ ], It.prototype, "minWidth", 2);
11886
11975
  re([
11887
11976
  a({ type: String })
11888
- ], Tt.prototype, "maxWidth", 2);
11977
+ ], It.prototype, "maxWidth", 2);
11889
11978
  re([
11890
11979
  a({ type: String })
11891
- ], Tt.prototype, "width", 2);
11892
- Tt = re([
11980
+ ], It.prototype, "width", 2);
11981
+ It = re([
11893
11982
  _(yh)
11894
- ], Tt);
11983
+ ], It);
11895
11984
  var wh = Object.getOwnPropertyDescriptor, _h = (r, t, i, s) => {
11896
11985
  for (var e = s > 1 ? void 0 : s ? wh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11897
11986
  (n = r[o]) && (e = n(e) || e);
11898
11987
  return e;
11899
11988
  };
11900
11989
  const xh = "sonic-thead";
11901
- let ni = class extends w {
11990
+ let ai = class extends w {
11902
11991
  render() {
11903
11992
  return m`<slot></slot>`;
11904
11993
  }
11905
11994
  };
11906
- ni.styles = [
11995
+ ai.styles = [
11907
11996
  P`
11908
11997
  :host {
11909
11998
  display: table-header-group;
11910
11999
  }
11911
12000
  `
11912
12001
  ];
11913
- ni = _h([
12002
+ ai = _h([
11914
12003
  _(xh)
11915
- ], ni);
12004
+ ], ai);
11916
12005
  var Ph = Object.getOwnPropertyDescriptor, $h = (r, t, i, s) => {
11917
12006
  for (var e = s > 1 ? void 0 : s ? Ph(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11918
12007
  (n = r[o]) && (e = n(e) || e);
11919
12008
  return e;
11920
12009
  };
11921
12010
  const Ch = "sonic-tbody";
11922
- let ai = class extends w {
12011
+ let li = class extends w {
11923
12012
  render() {
11924
12013
  return m`<tbody part="tbody">
11925
12014
  <slot></slot>
11926
12015
  </tbody>`;
11927
12016
  }
11928
12017
  };
11929
- ai.styles = [
12018
+ li.styles = [
11930
12019
  P`
11931
12020
  :host {
11932
12021
  display: table-row-group;
@@ -11946,44 +12035,44 @@ ai.styles = [
11946
12035
  }
11947
12036
  `
11948
12037
  ];
11949
- ai = $h([
12038
+ li = $h([
11950
12039
  _(Ch)
11951
- ], ai);
12040
+ ], li);
11952
12041
  var Sh = Object.getOwnPropertyDescriptor, Ah = (r, t, i, s) => {
11953
12042
  for (var e = s > 1 ? void 0 : s ? Sh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11954
12043
  (n = r[o]) && (e = n(e) || e);
11955
12044
  return e;
11956
12045
  };
11957
12046
  const kh = "sonic-tfoot";
11958
- let li = class extends w {
12047
+ let ci = class extends w {
11959
12048
  render() {
11960
12049
  return m`<tfoot>
11961
12050
  <slot></slot>
11962
12051
  </tfoot>`;
11963
12052
  }
11964
12053
  };
11965
- li.styles = [
12054
+ ci.styles = [
11966
12055
  P`
11967
12056
  :host {
11968
12057
  display: contents;
11969
12058
  }
11970
12059
  `
11971
12060
  ];
11972
- li = Ah([
12061
+ ci = Ah([
11973
12062
  _(kh)
11974
- ], li);
12063
+ ], ci);
11975
12064
  var Oh = Object.getOwnPropertyDescriptor, Dh = (r, t, i, s) => {
11976
12065
  for (var e = s > 1 ? void 0 : s ? Oh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
11977
12066
  (n = r[o]) && (e = n(e) || e);
11978
12067
  return e;
11979
12068
  };
11980
12069
  const Lh = "sonic-caption";
11981
- let ci = class extends w {
12070
+ let hi = class extends w {
11982
12071
  render() {
11983
12072
  return m`<slot></slot>`;
11984
12073
  }
11985
12074
  };
11986
- ci.styles = [
12075
+ hi.styles = [
11987
12076
  P`
11988
12077
  :host {
11989
12078
  display: table-caption;
@@ -11993,10 +12082,10 @@ ci.styles = [
11993
12082
  }
11994
12083
  `
11995
12084
  ];
11996
- ci = Dh([
12085
+ hi = Dh([
11997
12086
  _(Lh)
11998
- ], ci);
11999
- var Eh = Object.defineProperty, Nh = Object.getOwnPropertyDescriptor, Me = (r, t, i, s) => {
12087
+ ], hi);
12088
+ var Eh = Object.defineProperty, Nh = Object.getOwnPropertyDescriptor, Ie = (r, t, i, s) => {
12000
12089
  for (var e = s > 1 ? void 0 : s ? Nh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12001
12090
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
12002
12091
  return s && e && Eh(t, i, e), e;
@@ -12020,7 +12109,7 @@ let te = class extends w {
12020
12109
  }
12021
12110
  };
12022
12111
  te.styles = [
12023
- es,
12112
+ ss,
12024
12113
  Mt,
12025
12114
  P`
12026
12115
  :host {
@@ -12069,30 +12158,30 @@ te.styles = [
12069
12158
  }
12070
12159
  `
12071
12160
  ];
12072
- Me([
12161
+ Ie([
12073
12162
  a({ type: String, reflect: !0 })
12074
12163
  ], te.prototype, "size", 2);
12075
- Me([
12164
+ Ie([
12076
12165
  a({ type: Boolean, reflect: !0 })
12077
12166
  ], te.prototype, "bordered", 2);
12078
- Me([
12167
+ Ie([
12079
12168
  a({ type: Boolean, reflect: !0 })
12080
12169
  ], te.prototype, "rounded", 2);
12081
- Me([
12170
+ Ie([
12082
12171
  a({ type: Boolean, reflect: !0 })
12083
12172
  ], te.prototype, "noCustomScroll", 2);
12084
- Me([
12173
+ Ie([
12085
12174
  a({ type: String })
12086
12175
  ], te.prototype, "maxHeight", 2);
12087
- te = Me([
12176
+ te = Ie([
12088
12177
  _(Th)
12089
12178
  ], te);
12090
- const Fr = "AES-CBC", Mh = 256;
12091
- async function Ih() {
12179
+ const Fr = "AES-CBC", Ih = 256;
12180
+ async function Mh() {
12092
12181
  return crypto.subtle.generateKey(
12093
12182
  {
12094
12183
  name: Fr,
12095
- length: Mh
12184
+ length: Ih
12096
12185
  },
12097
12186
  !0,
12098
12187
  // extractable
@@ -12337,7 +12426,7 @@ const zh = P`
12337
12426
  transform-origin: center;
12338
12427
  }
12339
12428
  `;
12340
- var Rh = Object.defineProperty, Uh = Object.getOwnPropertyDescriptor, Is = (r, t, i, s) => {
12429
+ var Rh = Object.defineProperty, Uh = Object.getOwnPropertyDescriptor, js = (r, t, i, s) => {
12341
12430
  for (var e = s > 1 ? void 0 : s ? Uh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
12342
12431
  (n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
12343
12432
  return s && e && Rh(t, i, e), e;
@@ -12378,13 +12467,13 @@ let Ae = class extends se(w) {
12378
12467
  }
12379
12468
  async generateEncryptedKey() {
12380
12469
  if (this.key) return;
12381
- const r = await Ih(), t = new TextEncoder().encode(Bh), i = await Fh(Vh, r, t);
12470
+ const r = await Mh(), t = new TextEncoder().encode(Bh), i = await Fh(Vh, r, t);
12382
12471
  this.key = i;
12383
12472
  }
12384
12473
  render() {
12385
12474
  if (!this.key)
12386
- return S;
12387
- const t = Xt.getLanguage().match("^fr\\b") ? {
12475
+ return C;
12476
+ const t = Zt.getLanguage().match("^fr\\b") ? {
12388
12477
  aria: "Visitez altcha.org",
12389
12478
  error: "La vérification a échoué, réessayez plus tard.",
12390
12479
  expired: "La vérification a expiré, réessayez.",
@@ -12441,16 +12530,16 @@ Ae.styles = [
12441
12530
  }
12442
12531
  `
12443
12532
  ];
12444
- Is([
12533
+ js([
12445
12534
  a()
12446
12535
  ], Ae.prototype, "key", 2);
12447
- Is([
12536
+ js([
12448
12537
  a()
12449
12538
  ], Ae.prototype, "action", 2);
12450
- Is([
12539
+ js([
12451
12540
  a({ type: Number })
12452
12541
  ], Ae.prototype, "zIndex", 2);
12453
- Ae = Is([
12542
+ Ae = js([
12454
12543
  _(qh)
12455
12544
  ], Ae);
12456
12545
  window.queueMicrotask = window.queueMicrotask || function(r) {
@@ -12485,7 +12574,7 @@ function Kh(r) {
12485
12574
  };
12486
12575
  const i = t.shift() || "";
12487
12576
  let s = T.get(i);
12488
- return s = Je.traverse(s, t), function(e, o) {
12577
+ return s = ts.traverse(s, t), function(e, o) {
12489
12578
  if (!e) return;
12490
12579
  let n;
12491
12580
  zr(e), e.__onConnected__((l) => {
@@ -12505,7 +12594,7 @@ function Yh(...r) {
12505
12594
  continue;
12506
12595
  const n = o.shift() || "";
12507
12596
  let l = T.get(n);
12508
- l = Je.traverse(l, o);
12597
+ l = ts.traverse(l, o);
12509
12598
  const c = /* @__PURE__ */ new Set(), h = (u) => {
12510
12599
  t[s] = u, t.filter((d) => d !== null).length == r.length && c.forEach((d) => d(...t));
12511
12600
  };
@@ -12537,11 +12626,11 @@ window["concorde-directives-data-provider"] = {
12537
12626
  get: So,
12538
12627
  set: ko
12539
12628
  };
12540
- const Xh = O, Zh = M;
12629
+ const Zh = O, Xh = I;
12541
12630
  window["concorde-components"] = window["concorde-components"] || {};
12542
12631
  window["concorde-components"] = {
12543
- SonicToast: Xh,
12544
- SonicModal: Zh
12632
+ SonicToast: Zh,
12633
+ SonicModal: Xh
12545
12634
  };
12546
12635
  const Gh = window;
12547
12636
  Gh.concordeIsLoaded = !0;