@everymatrix/general-registration 1.56.1 → 1.56.2

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 (26) hide show
  1. package/dist/cjs/checkbox-group-input_13.cjs.entry.js +1047 -962
  2. package/dist/cjs/general-registration.cjs.js +2 -2
  3. package/dist/cjs/{index-59ba6f69.js → index-4ad59840.js} +132 -277
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/general-registration/general-registration.js +19 -48
  7. package/dist/esm/checkbox-group-input_13.entry.js +1047 -962
  8. package/dist/esm/general-registration.js +3 -3
  9. package/dist/esm/{index-de907516.js → index-14f0c56e.js} +132 -277
  10. package/dist/esm/loader.js +2 -2
  11. package/dist/general-registration/general-registration.esm.js +1 -1
  12. package/dist/general-registration/{p-439f617f.entry.js → p-290ae59c.entry.js} +140 -126
  13. package/dist/general-registration/p-59a2915a.js +2 -0
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
  16. package/dist/types/components.d.ts +0 -48
  17. package/dist/types/stencil-public-runtime.d.ts +0 -6
  18. package/package.json +1 -1
  19. package/dist/general-registration/p-f0564129.js +0 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  25. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  26. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-59ba6f69.js');
5
+ const index = require('./index-4ad59840.js');
6
6
 
7
7
  const DEFAULT_LANGUAGE$1 = 'en';
8
8
  const TRANSLATIONS$1 = {
@@ -222,7 +222,7 @@ const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
222
222
  * Copyright 2017 Google LLC
223
223
  * SPDX-License-Identifier: BSD-3-Clause
224
224
  */
225
- const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h$1,n=`<${o}>`,r$2=document,l=()=>r$2.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g$1=/"/g,$$2=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A=new WeakMap,C=r$2.createTreeWalker(r$2,129);function P$1(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$1):c===g$1||c===p$1?c=m$1:c===v$1||c===_$1?c=f:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$1{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N$1.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$2.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$2).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$2,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N$1(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$1(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$2 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}}class I$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}}class L$1 extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j$1=t.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
225
+ const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h$1,n=`<${o}>`,r$2=document,l=()=>r$2.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A=new WeakMap,C=r$2.createTreeWalker(r$2,129);function P$1(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$1):c===g$1||c===p$1?c=m$1:c===v$1||c===_$1?c=f:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$1{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N$1.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$2.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$2).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$2,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N$1(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$1(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$2 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}}class I$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}}class L$1 extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j$1=t.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
226
226
 
227
227
  /**
228
228
  * @license
@@ -15140,23 +15140,27 @@ const CheckboxGroupInput = class {
15140
15140
  index.registerInstance(this, hostRef);
15141
15141
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
15142
15142
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
15143
- /**
15144
- * Default value for the input.
15145
- */
15146
- this.defaultValue = '';
15147
- /**
15148
- * Client custom styling via inline style
15149
- */
15150
- this.clientStyling = '';
15151
- this.limitStylingAppends = false;
15152
- this.showTooltip = false;
15153
- this.selectedValues = [];
15154
15143
  this.value = null;
15155
15144
  this.setClientStyling = () => {
15156
15145
  let sheet = document.createElement('style');
15157
15146
  sheet.innerHTML = this.clientStyling;
15158
15147
  this.stylingContainer.prepend(sheet);
15159
15148
  };
15149
+ this.name = undefined;
15150
+ this.displayName = undefined;
15151
+ this.defaultValue = '';
15152
+ this.autofilled = undefined;
15153
+ this.tooltip = undefined;
15154
+ this.options = undefined;
15155
+ this.validation = undefined;
15156
+ this.language = undefined;
15157
+ this.emitValue = undefined;
15158
+ this.clientStyling = '';
15159
+ this.errorMessage = undefined;
15160
+ this.isValid = undefined;
15161
+ this.limitStylingAppends = false;
15162
+ this.showTooltip = false;
15163
+ this.selectedValues = [];
15160
15164
  }
15161
15165
  handleStylingChange(newValue, oldValue) {
15162
15166
  if (newValue !== oldValue)
@@ -15259,22 +15263,25 @@ const CheckboxInput = class {
15259
15263
  index.registerInstance(this, hostRef);
15260
15264
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
15261
15265
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
15262
- /**
15263
- * Default value for the input.
15264
- */
15265
- this.defaultValue = '';
15266
- /**
15267
- * Client custom styling via inline style
15268
- */
15269
- this.clientStyling = '';
15270
- this.limitStylingAppends = false;
15271
- this.showTooltip = false;
15272
15266
  this.value = '';
15273
15267
  this.setClientStyling = () => {
15274
15268
  let sheet = document.createElement('style');
15275
15269
  sheet.innerHTML = this.clientStyling;
15276
15270
  this.stylingContainer.prepend(sheet);
15277
15271
  };
15272
+ this.name = undefined;
15273
+ this.displayName = undefined;
15274
+ this.defaultValue = '';
15275
+ this.autofilled = undefined;
15276
+ this.tooltip = undefined;
15277
+ this.validation = undefined;
15278
+ this.language = undefined;
15279
+ this.emitValue = undefined;
15280
+ this.clientStyling = '';
15281
+ this.errorMessage = undefined;
15282
+ this.isValid = undefined;
15283
+ this.limitStylingAppends = false;
15284
+ this.showTooltip = false;
15278
15285
  }
15279
15286
  handleStylingChange(newValue, oldValue) {
15280
15287
  if (newValue !== oldValue)
@@ -30840,16 +30847,6 @@ const DateInput = class {
30840
30847
  index.registerInstance(this, hostRef);
30841
30848
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
30842
30849
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
30843
- /**
30844
- * Client custom styling via inline style
30845
- */
30846
- this.clientStyling = '';
30847
- /**
30848
- * Emit event on click
30849
- */
30850
- this.emitOnClick = false;
30851
- this.limitStylingAppends = false;
30852
- this.showTooltip = false;
30853
30850
  this.touched = false;
30854
30851
  this.formatDate = (dateParts) => {
30855
30852
  const { year, month, day } = dateParts;
@@ -30870,6 +30867,22 @@ const DateInput = class {
30870
30867
  sheet.innerHTML = this.clientStyling;
30871
30868
  this.stylingContainer.prepend(sheet);
30872
30869
  };
30870
+ this.name = undefined;
30871
+ this.displayName = undefined;
30872
+ this.placeholder = undefined;
30873
+ this.validation = undefined;
30874
+ this.defaultValue = undefined;
30875
+ this.autofilled = undefined;
30876
+ this.tooltip = undefined;
30877
+ this.language = undefined;
30878
+ this.emitValue = undefined;
30879
+ this.clientStyling = '';
30880
+ this.dateFormat = undefined;
30881
+ this.emitOnClick = false;
30882
+ this.errorMessage = undefined;
30883
+ this.isValid = undefined;
30884
+ this.limitStylingAppends = false;
30885
+ this.showTooltip = false;
30873
30886
  }
30874
30887
  handleStylingChange(newValue, oldValue) {
30875
30888
  if (newValue !== oldValue)
@@ -30991,12 +31004,6 @@ const EmailInput = class {
30991
31004
  index.registerInstance(this, hostRef);
30992
31005
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
30993
31006
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
30994
- /**
30995
- * Client custom styling via inline style
30996
- */
30997
- this.clientStyling = '';
30998
- this.limitStylingAppends = false;
30999
- this.showTooltip = false;
31000
31007
  this.validationPattern = '';
31001
31008
  this.touched = false;
31002
31009
  this.handleInput = (event) => {
@@ -31021,6 +31028,21 @@ const EmailInput = class {
31021
31028
  sheet.innerHTML = this.clientStyling;
31022
31029
  this.stylingContainer.prepend(sheet);
31023
31030
  };
31031
+ this.name = undefined;
31032
+ this.displayName = undefined;
31033
+ this.placeholder = undefined;
31034
+ this.validation = undefined;
31035
+ this.defaultValue = undefined;
31036
+ this.autofilled = undefined;
31037
+ this.tooltip = undefined;
31038
+ this.language = undefined;
31039
+ this.emitValue = undefined;
31040
+ this.isDuplicateInput = undefined;
31041
+ this.clientStyling = '';
31042
+ this.errorMessage = undefined;
31043
+ this.isValid = undefined;
31044
+ this.limitStylingAppends = false;
31045
+ this.showTooltip = false;
31024
31046
  }
31025
31047
  handleStylingChange(newValue, oldValue) {
31026
31048
  if (newValue !== oldValue)
@@ -31131,28 +31153,29 @@ const GeneralInputStyle0 = generalInputCss;
31131
31153
  const GeneralInput = class {
31132
31154
  constructor(hostRef) {
31133
31155
  index.registerInstance(this, hostRef);
31134
- /**
31135
- * Type the general-input should take. Can take the default HTML input values.
31136
- */
31137
- this.type = 'text';
31138
- /**
31139
- * Client custom styling via inline style
31140
- */
31141
- this.clientStyling = '';
31142
- /**
31143
- * Translations via URL
31144
- */
31145
- this.translationUrl = '';
31146
- /**
31147
- * Emit event on click
31148
- */
31149
- this.emitOnClick = false;
31150
31156
  this.handleClick = (event) => {
31151
31157
  if (this.emitOnClick) {
31152
31158
  event.stopPropagation();
31153
31159
  window.postMessage({ type: `registration${this.name}Clicked` }, window.location.href);
31154
31160
  }
31155
31161
  };
31162
+ this.type = 'text';
31163
+ this.name = undefined;
31164
+ this.displayName = undefined;
31165
+ this.placeholder = undefined;
31166
+ this.action = undefined;
31167
+ this.validation = undefined;
31168
+ this.options = undefined;
31169
+ this.language = undefined;
31170
+ this.autofilled = undefined;
31171
+ this.tooltip = undefined;
31172
+ this.defaultValue = undefined;
31173
+ this.emitValue = undefined;
31174
+ this.isDuplicateInput = undefined;
31175
+ this.clientStyling = '';
31176
+ this.dateFormat = undefined;
31177
+ this.translationUrl = '';
31178
+ this.emitOnClick = false;
31156
31179
  }
31157
31180
  connectedCallback() {
31158
31181
  if (this.translationUrl) {
@@ -32262,7 +32285,7 @@ function _t$1(t, e, n) {
32262
32285
  t.$$.on_destroy.push(D$1(e, n));
32263
32286
  }
32264
32287
  function gt$1(t) {
32265
- return t;
32288
+ return t ?? "";
32266
32289
  }
32267
32290
  function G(t, e) {
32268
32291
  t.appendChild(e);
@@ -32271,11 +32294,12 @@ function I(t, e, n) {
32271
32294
  const s = F(t);
32272
32295
  if (!s.getElementById(e)) {
32273
32296
  const i = w$1("style");
32274
- i.id = e, i.textContent = n, J(s, i);
32297
+ i.id = e, i.textContent = n, J$1(s, i);
32275
32298
  }
32276
32299
  }
32277
32300
  function F(t) {
32278
- if (!t) return document;
32301
+ if (!t)
32302
+ return document;
32279
32303
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
32280
32304
  return e && /** @type {ShadowRoot} */
32281
32305
  e.host ? (
@@ -32283,14 +32307,14 @@ function F(t) {
32283
32307
  e
32284
32308
  ) : t.ownerDocument;
32285
32309
  }
32286
- function J(t, e) {
32310
+ function J$1(t, e) {
32287
32311
  return G(
32288
32312
  /** @type {Document} */
32289
32313
  t.head || t,
32290
32314
  e
32291
32315
  ), e.sheet;
32292
32316
  }
32293
- function k(t, e, n) {
32317
+ function v(t, e, n) {
32294
32318
  t.insertBefore(e, n || null);
32295
32319
  }
32296
32320
  function y(t) {
@@ -32332,7 +32356,7 @@ function Et$1(t, e) {
32332
32356
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
32333
32357
  e);
32334
32358
  }
32335
- class Lt$1 {
32359
+ class Lt {
32336
32360
  /**
32337
32361
  * @private
32338
32362
  * @default false
@@ -32387,7 +32411,7 @@ class Lt$1 {
32387
32411
  * @returns {void} */
32388
32412
  i(e) {
32389
32413
  for (let n = 0; n < this.n.length; n += 1)
32390
- k(this.t, this.n[n], e);
32414
+ v(this.t, this.n[n], e);
32391
32415
  }
32392
32416
  /**
32393
32417
  * @param {string} html
@@ -32402,7 +32426,7 @@ class Lt$1 {
32402
32426
  this.n.forEach(y);
32403
32427
  }
32404
32428
  }
32405
- function K(t) {
32429
+ function K$1(t) {
32406
32430
  const e = {};
32407
32431
  return t.childNodes.forEach(
32408
32432
  /** @param {Element} node */
@@ -32415,22 +32439,23 @@ let g;
32415
32439
  function m(t) {
32416
32440
  g = t;
32417
32441
  }
32418
- function Q$1() {
32419
- if (!g) throw new Error("Function called outside component initialization");
32442
+ function Q() {
32443
+ if (!g)
32444
+ throw new Error("Function called outside component initialization");
32420
32445
  return g;
32421
32446
  }
32422
32447
  function W(t) {
32423
- Q$1().$$.on_mount.push(t);
32448
+ Q().$$.on_mount.push(t);
32424
32449
  }
32425
32450
  const h = [], E = [];
32426
- let $$1 = [];
32451
+ let $ = [];
32427
32452
  const j = [], X = /* @__PURE__ */ Promise.resolve();
32428
32453
  let L = !1;
32429
32454
  function Y$1() {
32430
32455
  L || (L = !0, X.then(_));
32431
32456
  }
32432
- function v(t) {
32433
- $$1.push(t);
32457
+ function k(t) {
32458
+ $.push(t);
32434
32459
  }
32435
32460
  const x = /* @__PURE__ */ new Set();
32436
32461
  let a = 0;
@@ -32442,50 +32467,51 @@ function _() {
32442
32467
  try {
32443
32468
  for (; a < h.length; ) {
32444
32469
  const e = h[a];
32445
- a++, m(e), Z$1(e.$$);
32470
+ a++, m(e), Z(e.$$);
32446
32471
  }
32447
32472
  } catch (e) {
32448
32473
  throw h.length = 0, a = 0, e;
32449
32474
  }
32450
- for (m(null), h.length = 0, a = 0; E.length; ) E.pop()();
32451
- for (let e = 0; e < $$1.length; e += 1) {
32452
- const n = $$1[e];
32475
+ for (m(null), h.length = 0, a = 0; E.length; )
32476
+ E.pop()();
32477
+ for (let e = 0; e < $.length; e += 1) {
32478
+ const n = $[e];
32453
32479
  x.has(n) || (x.add(n), n());
32454
32480
  }
32455
- $$1.length = 0;
32481
+ $.length = 0;
32456
32482
  } while (h.length);
32457
32483
  for (; j.length; )
32458
32484
  j.pop()();
32459
32485
  L = !1, x.clear(), m(t);
32460
32486
  }
32461
- function Z$1(t) {
32487
+ function Z(t) {
32462
32488
  if (t.fragment !== null) {
32463
32489
  t.update(), p(t.before_update);
32464
32490
  const e = t.dirty;
32465
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(v);
32491
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
32466
32492
  }
32467
32493
  }
32468
- function tt(t) {
32494
+ function tt$1(t) {
32469
32495
  const e = [], n = [];
32470
- $$1.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $$1 = e;
32496
+ $.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $ = e;
32471
32497
  }
32472
- const et = /* @__PURE__ */ new Set();
32498
+ const et$1 = /* @__PURE__ */ new Set();
32473
32499
  function nt(t, e) {
32474
- t && t.i && (et.delete(t), t.i(e));
32500
+ t && t.i && (et$1.delete(t), t.i(e));
32475
32501
  }
32476
- function vt$1(t) {
32502
+ function kt$1(t) {
32477
32503
  return t?.length !== void 0 ? t : Array.from(t);
32478
32504
  }
32479
32505
  function st$1(t, e, n) {
32480
32506
  const { fragment: s, after_update: i } = t.$$;
32481
- s && s.m(e, n), v(() => {
32507
+ s && s.m(e, n), k(() => {
32482
32508
  const r = t.$$.on_mount.map(M).filter(O);
32483
32509
  t.$$.on_destroy ? t.$$.on_destroy.push(...r) : p(r), t.$$.on_mount = [];
32484
- }), i.forEach(v);
32510
+ }), i.forEach(k);
32485
32511
  }
32486
- function it$1(t, e) {
32512
+ function it(t, e) {
32487
32513
  const n = t.$$;
32488
- n.fragment !== null && (tt(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
32514
+ n.fragment !== null && (tt$1(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
32489
32515
  }
32490
32516
  function rt(t, e) {
32491
32517
  t.$$.dirty[0] === -1 && (h.push(t), Y$1(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
@@ -32579,7 +32605,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
32579
32605
  * @param {HTMLElement} [anchor]
32580
32606
  */
32581
32607
  m: function(c, u) {
32582
- k(c, r, u);
32608
+ v(c, r, u);
32583
32609
  },
32584
32610
  d: function(c) {
32585
32611
  c && y(r);
@@ -32589,7 +32615,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
32589
32615
  };
32590
32616
  if (await Promise.resolve(), !this.$$cn || this.$$c)
32591
32617
  return;
32592
- const e = {}, n = K(this);
32618
+ const e = {}, n = K$1(this);
32593
32619
  for (const i of this.$$s)
32594
32620
  i in n && (e[i] = [t(i)]);
32595
32621
  for (const i of this.attributes) {
@@ -32676,7 +32702,7 @@ function b(t, e, n, s) {
32676
32702
  return e;
32677
32703
  }
32678
32704
  }
32679
- function ot$1(t, e, n, s, i, r) {
32705
+ function ot(t, e, n, s, i, r) {
32680
32706
  let o = class extends H$1 {
32681
32707
  constructor() {
32682
32708
  super(t, n, i), this.$$p_d = e;
@@ -32724,7 +32750,7 @@ class lt$1 {
32724
32750
  $$set = void 0;
32725
32751
  /** @returns {void} */
32726
32752
  $destroy() {
32727
- it$1(this, 1), this.$destroy = d;
32753
+ it(this, 1), this.$destroy = d;
32728
32754
  }
32729
32755
  /**
32730
32756
  * @template {Extract<keyof Events, string>} K
@@ -32766,7 +32792,7 @@ function dt$1(t, e) {
32766
32792
  console.error("There was an error while trying to load client styling from URL", s);
32767
32793
  });
32768
32794
  }
32769
- function at$1(t, e, n) {
32795
+ function at(t, e, n) {
32770
32796
  if (window.emMessageBus) {
32771
32797
  const s = document.createElement("style");
32772
32798
  window.emMessageBus.subscribe(e, (i) => {
@@ -32784,7 +32810,7 @@ function $t$1(t) {
32784
32810
  e = w$1("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
32785
32811
  },
32786
32812
  m(n, s) {
32787
- k(n, e, s), t[4](e);
32813
+ v(n, e, s), t[4](e);
32788
32814
  },
32789
32815
  p: d,
32790
32816
  i: d,
@@ -32809,7 +32835,7 @@ function mt$1(t, e, n) {
32809
32835
  t.$$.dirty & /*clientstyling, customStylingContainer*/
32810
32836
  3 && s && o && ft$1(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
32811
32837
  5 && i && o && dt$1(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
32812
- 9 && r && o && at$1(o, `${r}.Style`);
32838
+ 9 && r && o && at(o, `${r}.Style`);
32813
32839
  }, [
32814
32840
  o,
32815
32841
  s,
@@ -32853,29 +32879,29 @@ class R extends lt$1 {
32853
32879
  this.$$set({ mbsource: e }), _();
32854
32880
  }
32855
32881
  }
32856
- ot$1(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
32857
- const kt$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32882
+ ot(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
32883
+ const vt$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32858
32884
  __proto__: null,
32859
32885
  default: R
32860
32886
  }, Symbol.toStringTag, { value: "Module" }));
32861
32887
 
32862
- const GeneralAnimationLoadingC74Ex5kT = /*#__PURE__*/Object.freeze({
32888
+ const GeneralAnimationLoadingBMZE178n = /*#__PURE__*/Object.freeze({
32863
32889
  __proto__: null,
32864
- A: gt$1,
32865
- B: ft$1,
32866
- C: dt$1,
32867
- D: at$1,
32868
- G: kt$1,
32869
- H: Lt$1,
32890
+ A: wt$1,
32891
+ B: P,
32892
+ C: Et$1,
32893
+ D: xt$1,
32894
+ G: vt$1,
32895
+ H: Lt,
32870
32896
  S: lt$1,
32871
- a: D$1,
32897
+ a: z,
32872
32898
  b: ct$1,
32873
- c: ot$1,
32874
- d: y,
32875
- e: k,
32876
- f: G,
32877
- g: V,
32878
- h: B$1,
32899
+ c: ot,
32900
+ d: V,
32901
+ e: B$1,
32902
+ f: v,
32903
+ g: G,
32904
+ h: y,
32879
32905
  i: O,
32880
32906
  j: _,
32881
32907
  k: I,
@@ -32883,37 +32909,37 @@ const GeneralAnimationLoadingC74Ex5kT = /*#__PURE__*/Object.freeze({
32883
32909
  m: _t$1,
32884
32910
  n: d,
32885
32911
  o: W,
32886
- p: E,
32887
- q: xt$1,
32912
+ p: dt$1,
32913
+ q: gt$1,
32888
32914
  r: p,
32889
- s: z,
32890
- t: Et$1,
32891
- u: P,
32892
- v: vt$1,
32893
- w: bt$1,
32894
- x: wt$1,
32915
+ s: D$1,
32916
+ t: E,
32917
+ u: ft$1,
32918
+ v: at,
32919
+ w: kt$1,
32920
+ x: bt$1,
32895
32921
  y: pt$1,
32896
32922
  z: yt$1
32897
32923
  });
32898
32924
 
32899
- const Y = [];
32900
- function Lr(e, t) {
32925
+ const K = [];
32926
+ function Dr(e, t) {
32901
32927
  return {
32902
- subscribe: we(e, t).subscribe
32928
+ subscribe: Ne(e, t).subscribe
32903
32929
  };
32904
32930
  }
32905
- function we(e, t = d) {
32931
+ function Ne(e, t = d) {
32906
32932
  let r;
32907
32933
  const n = /* @__PURE__ */ new Set();
32908
32934
  function i(s) {
32909
32935
  if (z(e, s) && (e = s, r)) {
32910
- const h = !Y.length;
32936
+ const h = !K.length;
32911
32937
  for (const u of n)
32912
- u[1](), Y.push(u, e);
32938
+ u[1](), K.push(u, e);
32913
32939
  if (h) {
32914
- for (let u = 0; u < Y.length; u += 2)
32915
- Y[u][0](Y[u + 1]);
32916
- Y.length = 0;
32940
+ for (let u = 0; u < K.length; u += 2)
32941
+ K[u][0](K[u + 1]);
32942
+ K.length = 0;
32917
32943
  }
32918
32944
  }
32919
32945
  }
@@ -32928,12 +32954,12 @@ function we(e, t = d) {
32928
32954
  }
32929
32955
  return { set: i, update: o, subscribe: a };
32930
32956
  }
32931
- function ne(e, t, r) {
32957
+ function ie(e, t, r) {
32932
32958
  const n = !Array.isArray(e), i = n ? [e] : e;
32933
32959
  if (!i.every(Boolean))
32934
32960
  throw new Error("derived() expects stores as input, got a falsy value");
32935
32961
  const o = t.length < 2;
32936
- return Lr(r, (a, s) => {
32962
+ return Dr(r, (a, s) => {
32937
32963
  let h = !1;
32938
32964
  const u = [];
32939
32965
  let l = 0, d$1 = d;
@@ -32943,107 +32969,122 @@ function ne(e, t, r) {
32943
32969
  d$1();
32944
32970
  const f = t(n ? u[0] : u, a, s);
32945
32971
  o ? a(f) : d$1 = O(f) ? f : d;
32946
- }, v = i.map(
32947
- (f, p) => D$1(
32972
+ }, b = i.map(
32973
+ (f, g) => D$1(
32948
32974
  f,
32949
- (C) => {
32950
- u[p] = C, l &= ~(1 << p), h && m();
32975
+ (S) => {
32976
+ u[g] = S, l &= ~(1 << g), h && m();
32951
32977
  },
32952
32978
  () => {
32953
- l |= 1 << p;
32979
+ l |= 1 << g;
32954
32980
  }
32955
32981
  )
32956
32982
  );
32957
32983
  return h = !0, m(), function() {
32958
- p(v), d$1(), h = !1;
32984
+ p(b), d$1(), h = !1;
32959
32985
  };
32960
32986
  });
32961
32987
  }
32962
- function Rr(e) {
32988
+ function qr(e) {
32963
32989
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
32964
32990
  }
32965
- var Ur = function(t) {
32966
- return Dr(t) && !qr(t);
32991
+ var Gr = function(t) {
32992
+ return Fr(t) && !Vr(t);
32967
32993
  };
32968
- function Dr(e) {
32994
+ function Fr(e) {
32969
32995
  return !!e && typeof e == "object";
32970
32996
  }
32971
- function qr(e) {
32997
+ function Vr(e) {
32972
32998
  var t = Object.prototype.toString.call(e);
32973
- return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
32999
+ return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
32974
33000
  }
32975
- var Gr = typeof Symbol == "function" && Symbol.for, Fr = Gr ? Symbol.for("react.element") : 60103;
32976
- function Vr(e) {
32977
- return e.$$typeof === Fr;
33001
+ var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
33002
+ function Zr(e) {
33003
+ return e.$$typeof === Wr;
32978
33004
  }
32979
- function Xr(e) {
33005
+ function Jr(e) {
32980
33006
  return Array.isArray(e) ? [] : {};
32981
33007
  }
32982
- function de(e, t) {
32983
- return t.clone !== !1 && t.isMergeableObject(e) ? $(Xr(e), e, t) : e;
33008
+ function me(e, t) {
33009
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Jr(e), e, t) : e;
32984
33010
  }
32985
- function Wr(e, t, r) {
33011
+ function Qr(e, t, r) {
32986
33012
  return e.concat(t).map(function(n) {
32987
- return de(n, r);
33013
+ return me(n, r);
32988
33014
  });
32989
33015
  }
32990
- function Zr(e, t) {
33016
+ function Yr(e, t) {
32991
33017
  if (!t.customMerge)
32992
- return $;
33018
+ return ee;
32993
33019
  var r = t.customMerge(e);
32994
- return typeof r == "function" ? r : $;
33020
+ return typeof r == "function" ? r : ee;
32995
33021
  }
32996
- function Jr(e) {
33022
+ function Kr(e) {
32997
33023
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
32998
33024
  return Object.propertyIsEnumerable.call(e, t);
32999
33025
  }) : [];
33000
33026
  }
33001
- function it(e) {
33002
- return Object.keys(e).concat(Jr(e));
33027
+ function st(e) {
33028
+ return Object.keys(e).concat(Kr(e));
33003
33029
  }
33004
- function It(e, t) {
33030
+ function Rt(e, t) {
33005
33031
  try {
33006
33032
  return t in e;
33007
33033
  } catch {
33008
33034
  return !1;
33009
33035
  }
33010
33036
  }
33011
- function Qr(e, t) {
33012
- return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
33037
+ function $r(e, t) {
33038
+ return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
33013
33039
  }
33014
- function Yr(e, t, r) {
33040
+ function en(e, t, r) {
33015
33041
  var n = {};
33016
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
33017
- n[i] = de(e[i], r);
33018
- }), it(t).forEach(function(i) {
33019
- Qr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
33042
+ return r.isMergeableObject(e) && st(e).forEach(function(i) {
33043
+ n[i] = me(e[i], r);
33044
+ }), st(t).forEach(function(i) {
33045
+ $r(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
33020
33046
  }), n;
33021
33047
  }
33022
- function $(e, t, r) {
33023
- r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = de;
33048
+ function ee(e, t, r) {
33049
+ r = r || {}, r.arrayMerge = r.arrayMerge || Qr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = me;
33024
33050
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
33025
- return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : de(t, r);
33051
+ return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : me(t, r);
33026
33052
  }
33027
- $.all = function(t, r) {
33053
+ ee.all = function(t, r) {
33028
33054
  if (!Array.isArray(t))
33029
33055
  throw new Error("first argument should be an array");
33030
33056
  return t.reduce(function(n, i) {
33031
- return $(n, i, r);
33057
+ return ee(n, i, r);
33032
33058
  }, {});
33033
33059
  };
33034
- var Kr = $, $r = Kr;
33035
- const en = /* @__PURE__ */ Rr($r);
33036
- var Ue = function(e, t) {
33037
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
33060
+ var tn = ee, rn = tn;
33061
+ const nn = /* @__PURE__ */ qr(rn);
33062
+ /*! *****************************************************************************
33063
+ Copyright (c) Microsoft Corporation.
33064
+
33065
+ Permission to use, copy, modify, and/or distribute this software for any
33066
+ purpose with or without fee is hereby granted.
33067
+
33068
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
33069
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
33070
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
33071
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
33072
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
33073
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
33074
+ PERFORMANCE OF THIS SOFTWARE.
33075
+ ***************************************************************************** */
33076
+ var De = function(e, t) {
33077
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
33038
33078
  r.__proto__ = n;
33039
33079
  } || function(r, n) {
33040
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
33041
- }, Ue(e, t);
33080
+ for (var i in n)
33081
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
33082
+ }, De(e, t);
33042
33083
  };
33043
- function Ne(e, t) {
33084
+ function Ae(e, t) {
33044
33085
  if (typeof t != "function" && t !== null)
33045
33086
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
33046
- Ue(e, t);
33087
+ De(e, t);
33047
33088
  function r() {
33048
33089
  this.constructor = e;
33049
33090
  }
@@ -33053,72 +33094,77 @@ var H = function() {
33053
33094
  return H = Object.assign || function(t) {
33054
33095
  for (var r, n = 1, i = arguments.length; n < i; n++) {
33055
33096
  r = arguments[n];
33056
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
33097
+ for (var o in r)
33098
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
33057
33099
  }
33058
33100
  return t;
33059
33101
  }, H.apply(this, arguments);
33060
33102
  };
33061
- function tn(e, t) {
33103
+ function on(e, t) {
33062
33104
  var r = {};
33063
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
33105
+ for (var n in e)
33106
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
33064
33107
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
33065
33108
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
33066
33109
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
33067
33110
  return r;
33068
33111
  }
33069
- function ze(e, t, r) {
33070
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
33071
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
33072
- return e.concat(o || Array.prototype.slice.call(t));
33112
+ function Oe(e, t, r) {
33113
+ if (arguments.length === 2)
33114
+ for (var n = 0, i = t.length, o; n < i; n++)
33115
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
33116
+ return e.concat(o || t);
33073
33117
  }
33074
- function Oe(e, t) {
33075
- var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : on;
33118
+ function Ie(e, t) {
33119
+ var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : sn;
33076
33120
  return i(e, {
33077
33121
  cache: r,
33078
33122
  serializer: n
33079
33123
  });
33080
33124
  }
33081
- function rn(e) {
33125
+ function an(e) {
33082
33126
  return e == null || typeof e == "number" || typeof e == "boolean";
33083
33127
  }
33084
- function nn(e, t, r, n) {
33085
- var i = rn(n) ? n : r(n), o = t.get(i);
33128
+ function Ut(e, t, r, n) {
33129
+ var i = an(n) ? n : r(n), o = t.get(i);
33086
33130
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
33087
33131
  }
33088
- function jt(e, t, r) {
33132
+ function Dt(e, t, r) {
33089
33133
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
33090
33134
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
33091
33135
  }
33092
- function Lt(e, t, r, n, i) {
33136
+ function Ke(e, t, r, n, i) {
33093
33137
  return r.bind(t, e, n, i);
33094
33138
  }
33095
- function on(e, t) {
33096
- var r = e.length === 1 ? nn : jt;
33097
- return Lt(e, this, r, t.cache.create(), t.serializer);
33139
+ function sn(e, t) {
33140
+ var r = e.length === 1 ? Ut : Dt;
33141
+ return Ke(e, this, r, t.cache.create(), t.serializer);
33142
+ }
33143
+ function ln(e, t) {
33144
+ return Ke(e, this, Dt, t.cache.create(), t.serializer);
33098
33145
  }
33099
- function an(e, t) {
33100
- return Lt(e, this, jt, t.cache.create(), t.serializer);
33146
+ function cn(e, t) {
33147
+ return Ke(e, this, Ut, t.cache.create(), t.serializer);
33101
33148
  }
33102
- var sn = function() {
33149
+ var un = function() {
33103
33150
  return JSON.stringify(arguments);
33104
- }, ln = (
33105
- /** @class */
33106
- function() {
33107
- function e() {
33108
- this.cache = /* @__PURE__ */ Object.create(null);
33109
- }
33110
- return e.prototype.get = function(t) {
33111
- return this.cache[t];
33112
- }, e.prototype.set = function(t, r) {
33113
- this.cache[t] = r;
33114
- }, e;
33115
- }()
33116
- ), cn = {
33151
+ };
33152
+ function $e() {
33153
+ this.cache = /* @__PURE__ */ Object.create(null);
33154
+ }
33155
+ $e.prototype.get = function(e) {
33156
+ return this.cache[e];
33157
+ };
33158
+ $e.prototype.set = function(e, t) {
33159
+ this.cache[e] = t;
33160
+ };
33161
+ var hn = {
33117
33162
  create: function() {
33118
- return new ln();
33163
+ return new $e();
33119
33164
  }
33120
- }, Ie = {
33121
- variadic: an
33165
+ }, je = {
33166
+ variadic: ln,
33167
+ monadic: cn
33122
33168
  }, w;
33123
33169
  (function(e) {
33124
33170
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -33127,47 +33173,47 @@ var B;
33127
33173
  (function(e) {
33128
33174
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
33129
33175
  })(B || (B = {}));
33130
- var ee;
33176
+ var te;
33131
33177
  (function(e) {
33132
33178
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
33133
- })(ee || (ee = {}));
33134
- function ot(e) {
33179
+ })(te || (te = {}));
33180
+ function lt(e) {
33135
33181
  return e.type === B.literal;
33136
33182
  }
33137
- function un(e) {
33183
+ function dn(e) {
33138
33184
  return e.type === B.argument;
33139
33185
  }
33140
- function Rt(e) {
33186
+ function qt(e) {
33141
33187
  return e.type === B.number;
33142
33188
  }
33143
- function Ut(e) {
33189
+ function Gt(e) {
33144
33190
  return e.type === B.date;
33145
33191
  }
33146
- function Dt(e) {
33192
+ function Ft(e) {
33147
33193
  return e.type === B.time;
33148
33194
  }
33149
- function qt(e) {
33195
+ function Vt(e) {
33150
33196
  return e.type === B.select;
33151
33197
  }
33152
- function Gt(e) {
33198
+ function Xt(e) {
33153
33199
  return e.type === B.plural;
33154
33200
  }
33155
- function hn(e) {
33201
+ function mn(e) {
33156
33202
  return e.type === B.pound;
33157
33203
  }
33158
- function Ft(e) {
33204
+ function Wt(e) {
33159
33205
  return e.type === B.tag;
33160
33206
  }
33161
- function Vt(e) {
33162
- return !!(e && typeof e == "object" && e.type === ee.number);
33207
+ function Zt(e) {
33208
+ return !!(e && typeof e == "object" && e.type === te.number);
33163
33209
  }
33164
- function De(e) {
33165
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
33210
+ function qe(e) {
33211
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
33166
33212
  }
33167
- var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
33168
- function mn(e) {
33213
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
33214
+ function pn(e) {
33169
33215
  var t = {};
33170
- return e.replace(dn, function(r) {
33216
+ return e.replace(gn, function(r) {
33171
33217
  var n = r.length;
33172
33218
  switch (r[0]) {
33173
33219
  case "G":
@@ -33256,11 +33302,11 @@ function mn(e) {
33256
33302
  return "";
33257
33303
  }), t;
33258
33304
  }
33259
- var pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
33260
- function gn(e) {
33305
+ var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
33306
+ function _n(e) {
33261
33307
  if (e.length === 0)
33262
33308
  throw new Error("Number skeleton cannot be empty");
33263
- for (var t = e.split(pn).filter(function(m) {
33309
+ for (var t = e.split(fn).filter(function(m) {
33264
33310
  return m.length > 0;
33265
33311
  }), r = [], n = 0, i = t; n < i.length; n++) {
33266
33312
  var o = i[n], a = o.split("/");
@@ -33275,17 +33321,17 @@ function gn(e) {
33275
33321
  }
33276
33322
  return r;
33277
33323
  }
33278
- function fn(e) {
33324
+ function bn(e) {
33279
33325
  return e.replace(/^(.*?)-/, "");
33280
33326
  }
33281
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
33282
- function st(e) {
33327
+ var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
33328
+ function ut(e) {
33283
33329
  var t = {};
33284
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
33330
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
33285
33331
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
33286
33332
  }), t;
33287
33333
  }
33288
- function Jt(e) {
33334
+ function Kt(e) {
33289
33335
  switch (e) {
33290
33336
  case "sign-auto":
33291
33337
  return {
@@ -33325,7 +33371,7 @@ function Jt(e) {
33325
33371
  };
33326
33372
  }
33327
33373
  }
33328
- function bn(e) {
33374
+ function yn(e) {
33329
33375
  var t;
33330
33376
  if (e[0] === "E" && e[1] === "E" ? (t = {
33331
33377
  notation: "engineering"
@@ -33333,17 +33379,17 @@ function bn(e) {
33333
33379
  notation: "scientific"
33334
33380
  }, e = e.slice(1)), t) {
33335
33381
  var r = e.slice(0, 2);
33336
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
33382
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
33337
33383
  throw new Error("Malformed concise eng/scientific notation");
33338
33384
  t.minimumIntegerDigits = e.length;
33339
33385
  }
33340
33386
  return t;
33341
33387
  }
33342
- function lt(e) {
33343
- var t = {}, r = Jt(e);
33388
+ function ht(e) {
33389
+ var t = {}, r = Kt(e);
33344
33390
  return r || t;
33345
33391
  }
33346
- function vn(e) {
33392
+ function En(e) {
33347
33393
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
33348
33394
  var i = n[r];
33349
33395
  switch (i.stem) {
@@ -33367,7 +33413,7 @@ function vn(e) {
33367
33413
  continue;
33368
33414
  case "measure-unit":
33369
33415
  case "unit":
33370
- t.style = "unit", t.unit = fn(i.options[0]);
33416
+ t.style = "unit", t.unit = bn(i.options[0]);
33371
33417
  continue;
33372
33418
  case "compact-short":
33373
33419
  case "K":
@@ -33379,12 +33425,12 @@ function vn(e) {
33379
33425
  continue;
33380
33426
  case "scientific":
33381
33427
  t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
33382
- return H(H({}, h), lt(u));
33428
+ return H(H({}, h), ht(u));
33383
33429
  }, {}));
33384
33430
  continue;
33385
33431
  case "engineering":
33386
33432
  t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
33387
- return H(H({}, h), lt(u));
33433
+ return H(H({}, h), ht(u));
33388
33434
  }, {}));
33389
33435
  continue;
33390
33436
  case "notation-simple":
@@ -33429,45 +33475,45 @@ function vn(e) {
33429
33475
  case "integer-width":
33430
33476
  if (i.options.length > 1)
33431
33477
  throw new RangeError("integer-width stems only accept a single optional option");
33432
- i.options[0].replace(_n, function(h, u, l, d, m, v) {
33478
+ i.options[0].replace(vn, function(h, u, l, d, m, b) {
33433
33479
  if (u)
33434
33480
  t.minimumIntegerDigits = l.length;
33435
33481
  else {
33436
33482
  if (d && m)
33437
33483
  throw new Error("We currently do not support maximum integer digits");
33438
- if (v)
33484
+ if (b)
33439
33485
  throw new Error("We currently do not support exact integer digits");
33440
33486
  }
33441
33487
  return "";
33442
33488
  });
33443
33489
  continue;
33444
33490
  }
33445
- if (Zt.test(i.stem)) {
33491
+ if (Yt.test(i.stem)) {
33446
33492
  t.minimumIntegerDigits = i.stem.length;
33447
33493
  continue;
33448
33494
  }
33449
- if (at.test(i.stem)) {
33495
+ if (ct.test(i.stem)) {
33450
33496
  if (i.options.length > 1)
33451
33497
  throw new RangeError("Fraction-precision stems only accept a single optional option");
33452
- i.stem.replace(at, function(h, u, l, d, m, v) {
33453
- return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && v ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
33498
+ i.stem.replace(ct, function(h, u, l, d, m, b) {
33499
+ return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && b ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
33454
33500
  });
33455
33501
  var o = i.options[0];
33456
- o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), st(o)));
33502
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), ut(o)));
33457
33503
  continue;
33458
33504
  }
33459
- if (Wt.test(i.stem)) {
33460
- t = H(H({}, t), st(i.stem));
33505
+ if (Qt.test(i.stem)) {
33506
+ t = H(H({}, t), ut(i.stem));
33461
33507
  continue;
33462
33508
  }
33463
- var a = Jt(i.stem);
33509
+ var a = Kt(i.stem);
33464
33510
  a && (t = H(H({}, t), a));
33465
- var s = bn(i.stem);
33511
+ var s = yn(i.stem);
33466
33512
  s && (t = H(H({}, t), s));
33467
33513
  }
33468
33514
  return t;
33469
33515
  }
33470
- var Ce = {
33516
+ var Se = {
33471
33517
  "001": [
33472
33518
  "H",
33473
33519
  "h"
@@ -34882,22 +34928,23 @@ var Ce = {
34882
34928
  "h"
34883
34929
  ]
34884
34930
  };
34885
- function yn(e, t) {
34931
+ function kn(e, t) {
34886
34932
  for (var r = "", n = 0; n < e.length; n++) {
34887
34933
  var i = e.charAt(n);
34888
34934
  if (i === "j") {
34889
34935
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
34890
34936
  o++, n++;
34891
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
34937
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
34892
34938
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
34893
34939
  r += h;
34894
34940
  for (; a-- > 0; )
34895
34941
  r = u + r;
34896
- } else i === "J" ? r += "H" : r += i;
34942
+ } else
34943
+ i === "J" ? r += "H" : r += i;
34897
34944
  }
34898
34945
  return r;
34899
34946
  }
34900
- function En(e) {
34947
+ function Cn(e) {
34901
34948
  var t = e.hourCycle;
34902
34949
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
34903
34950
  e.hourCycles && // @ts-ignore
@@ -34916,23 +34963,23 @@ function En(e) {
34916
34963
  }
34917
34964
  var r = e.language, n;
34918
34965
  r !== "root" && (n = e.maximize().region);
34919
- var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
34966
+ var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
34920
34967
  return i[0];
34921
34968
  }
34922
- var je, kn = new RegExp("^".concat(Xt.source, "*")), Cn = new RegExp("".concat(Xt.source, "*$"));
34969
+ var Le, Sn = new RegExp("^".concat(Jt.source, "*")), xn = new RegExp("".concat(Jt.source, "*$"));
34923
34970
  function N(e, t) {
34924
34971
  return { start: e, end: t };
34925
34972
  }
34926
- var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, Tn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, wn = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Hn = An ? Number.isSafeInteger : function(e) {
34973
+ var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, wn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, Bn = Pn ? Number.isSafeInteger : function(e) {
34927
34974
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
34928
- }, qe = !0;
34975
+ }, Ge = !0;
34929
34976
  try {
34930
- var Pn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
34931
- qe = ((je = Pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
34977
+ var zn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
34978
+ Ge = ((Le = zn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
34932
34979
  } catch {
34933
- qe = !1;
34980
+ Ge = !1;
34934
34981
  }
34935
- var ct = Sn ? (
34982
+ var dt = Mn ? (
34936
34983
  // Native
34937
34984
  function(t, r, n) {
34938
34985
  return t.startsWith(r, n);
@@ -34942,7 +34989,7 @@ var ct = Sn ? (
34942
34989
  function(t, r, n) {
34943
34990
  return t.slice(n, n + r.length) === r;
34944
34991
  }
34945
- ), Ge = xn ? String.fromCodePoint : (
34992
+ ), Fe = Tn ? String.fromCodePoint : (
34946
34993
  // IE11
34947
34994
  function() {
34948
34995
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -34954,9 +35001,9 @@ var ct = Sn ? (
34954
35001
  }
34955
35002
  return n;
34956
35003
  }
34957
- ), ut = (
35004
+ ), mt = (
34958
35005
  // native
34959
- Tn ? Object.fromEntries : (
35006
+ wn ? Object.fromEntries : (
34960
35007
  // Ponyfill
34961
35008
  function(t) {
34962
35009
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -34966,7 +35013,7 @@ var ct = Sn ? (
34966
35013
  return r;
34967
35014
  }
34968
35015
  )
34969
- ), Qt = Mn ? (
35016
+ ), $t = Nn ? (
34970
35017
  // Native
34971
35018
  function(t, r) {
34972
35019
  return t.codePointAt(r);
@@ -34980,7 +35027,7 @@ var ct = Sn ? (
34980
35027
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
34981
35028
  }
34982
35029
  }
34983
- ), Bn = wn ? (
35030
+ ), On = An ? (
34984
35031
  // Native
34985
35032
  function(t) {
34986
35033
  return t.trimStart();
@@ -34988,9 +35035,9 @@ var ct = Sn ? (
34988
35035
  ) : (
34989
35036
  // Ponyfill
34990
35037
  function(t) {
34991
- return t.replace(kn, "");
35038
+ return t.replace(Sn, "");
34992
35039
  }
34993
- ), zn = Nn ? (
35040
+ ), In = Hn ? (
34994
35041
  // Native
34995
35042
  function(t) {
34996
35043
  return t.trimEnd();
@@ -34998,32 +35045,32 @@ var ct = Sn ? (
34998
35045
  ) : (
34999
35046
  // Ponyfill
35000
35047
  function(t) {
35001
- return t.replace(Cn, "");
35048
+ return t.replace(xn, "");
35002
35049
  }
35003
35050
  );
35004
- function Yt(e, t) {
35051
+ function er(e, t) {
35005
35052
  return new RegExp(e, t);
35006
35053
  }
35007
- var Fe;
35008
- if (qe) {
35009
- var ht = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
35010
- Fe = function(t, r) {
35054
+ var Ve;
35055
+ if (Ge) {
35056
+ var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
35057
+ Ve = function(t, r) {
35011
35058
  var n;
35012
- ht.lastIndex = r;
35013
- var i = ht.exec(t);
35059
+ gt.lastIndex = r;
35060
+ var i = gt.exec(t);
35014
35061
  return (n = i[1]) !== null && n !== void 0 ? n : "";
35015
35062
  };
35016
35063
  } else
35017
- Fe = function(t, r) {
35064
+ Ve = function(t, r) {
35018
35065
  for (var n = []; ; ) {
35019
- var i = Qt(t, r);
35020
- if (i === void 0 || Kt(i) || Ln(i))
35066
+ var i = $t(t, r);
35067
+ if (i === void 0 || tr(i) || Un(i))
35021
35068
  break;
35022
35069
  n.push(i), r += i >= 65536 ? 2 : 1;
35023
35070
  }
35024
- return Ge.apply(void 0, n);
35071
+ return Fe.apply(void 0, n);
35025
35072
  };
35026
- var On = (
35073
+ var jn = (
35027
35074
  /** @class */
35028
35075
  function() {
35029
35076
  function e(t, r) {
@@ -35054,7 +35101,7 @@ var On = (
35054
35101
  if (n)
35055
35102
  break;
35056
35103
  return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
35057
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
35104
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
35058
35105
  var a = this.parseTag(t, r);
35059
35106
  if (a.err)
35060
35107
  return a;
@@ -35087,7 +35134,7 @@ var On = (
35087
35134
  return o;
35088
35135
  var a = o.val, s = this.clonePosition();
35089
35136
  if (this.bumpIf("</")) {
35090
- if (this.isEOF() || !Ve(this.char()))
35137
+ if (this.isEOF() || !Xe(this.char()))
35091
35138
  return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
35092
35139
  var h = this.clonePosition(), u = this.parseTagName();
35093
35140
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -35105,7 +35152,7 @@ var On = (
35105
35152
  return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
35106
35153
  }, e.prototype.parseTagName = function() {
35107
35154
  var t = this.offset();
35108
- for (this.bump(); !this.isEOF() && jn(this.char()); )
35155
+ for (this.bump(); !this.isEOF() && Rn(this.char()); )
35109
35156
  this.bump();
35110
35157
  return this.message.slice(t, this.offset());
35111
35158
  }, e.prototype.parseLiteral = function(t, r) {
@@ -35134,7 +35181,7 @@ var On = (
35134
35181
  };
35135
35182
  }, e.prototype.tryParseLeftAngleBracket = function() {
35136
35183
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
35137
- !In(this.peek() || 0)) ? (this.bump(), "<") : null;
35184
+ !Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
35138
35185
  }, e.prototype.tryParseQuote = function(t) {
35139
35186
  if (this.isEOF() || this.char() !== 39)
35140
35187
  return null;
@@ -35168,12 +35215,12 @@ var On = (
35168
35215
  r.push(n);
35169
35216
  this.bump();
35170
35217
  }
35171
- return Ge.apply(void 0, r);
35218
+ return Fe.apply(void 0, r);
35172
35219
  }, e.prototype.tryParseUnquoted = function(t, r) {
35173
35220
  if (this.isEOF())
35174
35221
  return null;
35175
35222
  var n = this.char();
35176
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
35223
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
35177
35224
  }, e.prototype.parseArgument = function(t, r) {
35178
35225
  var n = this.clonePosition();
35179
35226
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -35202,7 +35249,7 @@ var On = (
35202
35249
  return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
35203
35250
  }
35204
35251
  }, e.prototype.parseIdentifierIfPossible = function() {
35205
- var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
35252
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
35206
35253
  this.bumpTo(i);
35207
35254
  var o = this.clonePosition(), a = N(t, o);
35208
35255
  return { value: n, location: a };
@@ -35221,37 +35268,37 @@ var On = (
35221
35268
  var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
35222
35269
  if (d.err)
35223
35270
  return d;
35224
- var m = zn(d.val);
35271
+ var m = In(d.val);
35225
35272
  if (m.length === 0)
35226
35273
  return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
35227
- var v = N(l, this.clonePosition());
35228
- u = { style: m, styleLocation: v };
35274
+ var b = N(l, this.clonePosition());
35275
+ u = { style: m, styleLocation: b };
35229
35276
  }
35230
35277
  var f = this.tryParseArgumentClose(i);
35231
35278
  if (f.err)
35232
35279
  return f;
35233
- var p = N(i, this.clonePosition());
35234
- if (u && ct(u?.style, "::", 0)) {
35235
- var C = Bn(u.style.slice(2));
35280
+ var g = N(i, this.clonePosition());
35281
+ if (u && dt(u?.style, "::", 0)) {
35282
+ var S = On(u.style.slice(2));
35236
35283
  if (s === "number") {
35237
- var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
35284
+ var d = this.parseNumberSkeletonFromString(S, u.styleLocation);
35238
35285
  return d.err ? d : {
35239
- val: { type: B.number, value: n, location: p, style: d.val },
35286
+ val: { type: B.number, value: n, location: g, style: d.val },
35240
35287
  err: null
35241
35288
  };
35242
35289
  } else {
35243
- if (C.length === 0)
35244
- return this.error(w.EXPECT_DATE_TIME_SKELETON, p);
35245
- var _ = C;
35246
- this.locale && (_ = yn(C, this.locale));
35290
+ if (S.length === 0)
35291
+ return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
35292
+ var _ = S;
35293
+ this.locale && (_ = kn(S, this.locale));
35247
35294
  var m = {
35248
- type: ee.dateTime,
35295
+ type: te.dateTime,
35249
35296
  pattern: _,
35250
35297
  location: u.styleLocation,
35251
- parsedOptions: this.shouldParseSkeletons ? mn(_) : {}
35252
- }, b = s === "date" ? B.date : B.time;
35298
+ parsedOptions: this.shouldParseSkeletons ? pn(_) : {}
35299
+ }, v = s === "date" ? B.date : B.time;
35253
35300
  return {
35254
- val: { type: b, value: n, location: p, style: m },
35301
+ val: { type: v, value: n, location: g, style: m },
35255
35302
  err: null
35256
35303
  };
35257
35304
  }
@@ -35260,7 +35307,7 @@ var On = (
35260
35307
  val: {
35261
35308
  type: s === "number" ? B.number : s === "date" ? B.date : B.time,
35262
35309
  value: n,
35263
- location: p,
35310
+ location: g,
35264
35311
  style: (o = u?.style) !== null && o !== void 0 ? o : null
35265
35312
  },
35266
35313
  err: null
@@ -35269,11 +35316,11 @@ var On = (
35269
35316
  case "plural":
35270
35317
  case "selectordinal":
35271
35318
  case "select": {
35272
- var x = this.clonePosition();
35319
+ var C = this.clonePosition();
35273
35320
  if (this.bumpSpace(), !this.bumpIf(","))
35274
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(x, H({}, x)));
35321
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(C, H({}, C)));
35275
35322
  this.bumpSpace();
35276
- var P = this.parseIdentifierIfPossible(), E = 0;
35323
+ var P = this.parseIdentifierIfPossible(), k = 0;
35277
35324
  if (s !== "select" && P.value === "offset") {
35278
35325
  if (!this.bumpIf(":"))
35279
35326
  return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
@@ -35281,7 +35328,7 @@ var On = (
35281
35328
  var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
35282
35329
  if (d.err)
35283
35330
  return d;
35284
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), E = d.val;
35331
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), k = d.val;
35285
35332
  }
35286
35333
  var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
35287
35334
  if (z.err)
@@ -35289,23 +35336,23 @@ var On = (
35289
35336
  var f = this.tryParseArgumentClose(i);
35290
35337
  if (f.err)
35291
35338
  return f;
35292
- var O = N(i, this.clonePosition());
35339
+ var W = N(i, this.clonePosition());
35293
35340
  return s === "select" ? {
35294
35341
  val: {
35295
35342
  type: B.select,
35296
35343
  value: n,
35297
- options: ut(z.val),
35298
- location: O
35344
+ options: mt(z.val),
35345
+ location: W
35299
35346
  },
35300
35347
  err: null
35301
35348
  } : {
35302
35349
  val: {
35303
35350
  type: B.plural,
35304
35351
  value: n,
35305
- options: ut(z.val),
35306
- offset: E,
35352
+ options: mt(z.val),
35353
+ offset: k,
35307
35354
  pluralType: s === "plural" ? "cardinal" : "ordinal",
35308
- location: O
35355
+ location: W
35309
35356
  },
35310
35357
  err: null
35311
35358
  };
@@ -35353,16 +35400,16 @@ var On = (
35353
35400
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
35354
35401
  var n = [];
35355
35402
  try {
35356
- n = gn(t);
35403
+ n = _n(t);
35357
35404
  } catch {
35358
35405
  return this.error(w.INVALID_NUMBER_SKELETON, r);
35359
35406
  }
35360
35407
  return {
35361
35408
  val: {
35362
- type: ee.number,
35409
+ type: te.number,
35363
35410
  tokens: n,
35364
35411
  location: r,
35365
- parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
35412
+ parsedOptions: this.shouldParseSkeletons ? En(n) : {}
35366
35413
  },
35367
35414
  err: null
35368
35415
  };
@@ -35381,20 +35428,20 @@ var On = (
35381
35428
  if (h.has(u))
35382
35429
  return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
35383
35430
  u === "other" && (a = !0), this.bumpSpace();
35384
- var v = this.clonePosition();
35431
+ var b = this.clonePosition();
35385
35432
  if (!this.bumpIf("{"))
35386
35433
  return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
35387
35434
  var f = this.parseMessage(t + 1, r, n);
35388
35435
  if (f.err)
35389
35436
  return f;
35390
- var p = this.tryParseArgumentClose(v);
35391
- if (p.err)
35392
- return p;
35437
+ var g = this.tryParseArgumentClose(b);
35438
+ if (g.err)
35439
+ return g;
35393
35440
  s.push([
35394
35441
  u,
35395
35442
  {
35396
35443
  value: f.val,
35397
- location: N(v, this.clonePosition())
35444
+ location: N(b, this.clonePosition())
35398
35445
  }
35399
35446
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
35400
35447
  }
@@ -35410,7 +35457,7 @@ var On = (
35410
35457
  break;
35411
35458
  }
35412
35459
  var h = N(i, this.clonePosition());
35413
- return o ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
35460
+ return o ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
35414
35461
  }, e.prototype.offset = function() {
35415
35462
  return this.position.offset;
35416
35463
  }, e.prototype.isEOF = function() {
@@ -35425,7 +35472,7 @@ var On = (
35425
35472
  var t = this.position.offset;
35426
35473
  if (t >= this.message.length)
35427
35474
  throw Error("out of bound");
35428
- var r = Qt(this.message, t);
35475
+ var r = $t(this.message, t);
35429
35476
  if (r === void 0)
35430
35477
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
35431
35478
  return r;
@@ -35444,7 +35491,7 @@ var On = (
35444
35491
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
35445
35492
  }
35446
35493
  }, e.prototype.bumpIf = function(t) {
35447
- if (ct(this.message, t, this.offset())) {
35494
+ if (dt(this.message, t, this.offset())) {
35448
35495
  for (var r = 0; r < t.length; r++)
35449
35496
  this.bump();
35450
35497
  return !0;
@@ -35466,7 +35513,7 @@ var On = (
35466
35513
  break;
35467
35514
  }
35468
35515
  }, e.prototype.bumpSpace = function() {
35469
- for (; !this.isEOF() && Kt(this.char()); )
35516
+ for (; !this.isEOF() && tr(this.char()); )
35470
35517
  this.bump();
35471
35518
  }, e.prototype.peek = function() {
35472
35519
  if (this.isEOF())
@@ -35476,46 +35523,47 @@ var On = (
35476
35523
  }, e;
35477
35524
  }()
35478
35525
  );
35479
- function Ve(e) {
35526
+ function Xe(e) {
35480
35527
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
35481
35528
  }
35482
- function In(e) {
35483
- return Ve(e) || e === 47;
35529
+ function Ln(e) {
35530
+ return Xe(e) || e === 47;
35484
35531
  }
35485
- function jn(e) {
35532
+ function Rn(e) {
35486
35533
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
35487
35534
  }
35488
- function Kt(e) {
35535
+ function tr(e) {
35489
35536
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
35490
35537
  }
35491
- function Ln(e) {
35538
+ function Un(e) {
35492
35539
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
35493
35540
  }
35494
- function Xe(e) {
35541
+ function We(e) {
35495
35542
  e.forEach(function(t) {
35496
- if (delete t.location, qt(t) || Gt(t))
35543
+ if (delete t.location, Vt(t) || Xt(t))
35497
35544
  for (var r in t.options)
35498
- delete t.options[r].location, Xe(t.options[r].value);
35499
- else Rt(t) && Vt(t.style) || (Ut(t) || Dt(t)) && De(t.style) ? delete t.style.location : Ft(t) && Xe(t.children);
35545
+ delete t.options[r].location, We(t.options[r].value);
35546
+ else
35547
+ qt(t) && Zt(t.style) || (Gt(t) || Ft(t)) && qe(t.style) ? delete t.style.location : Wt(t) && We(t.children);
35500
35548
  });
35501
35549
  }
35502
- function Rn(e, t) {
35550
+ function Dn(e, t) {
35503
35551
  t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
35504
- var r = new On(e, t).parse();
35552
+ var r = new jn(e, t).parse();
35505
35553
  if (r.err) {
35506
35554
  var n = SyntaxError(w[r.err.kind]);
35507
35555
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
35508
35556
  }
35509
- return t?.captureLocation || Xe(r.val), r.val;
35557
+ return t?.captureLocation || We(r.val), r.val;
35510
35558
  }
35511
- var te;
35559
+ var re;
35512
35560
  (function(e) {
35513
35561
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
35514
- })(te || (te = {}));
35515
- var Ae = (
35562
+ })(re || (re = {}));
35563
+ var He = (
35516
35564
  /** @class */
35517
35565
  function(e) {
35518
- Ne(t, e);
35566
+ Ae(t, e);
35519
35567
  function t(r, n, i) {
35520
35568
  var o = e.call(this, r) || this;
35521
35569
  return o.code = n, o.originalMessage = i, o;
@@ -35524,48 +35572,48 @@ var Ae = (
35524
35572
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
35525
35573
  }, t;
35526
35574
  }(Error)
35527
- ), dt = (
35575
+ ), pt = (
35528
35576
  /** @class */
35529
35577
  function(e) {
35530
- Ne(t, e);
35578
+ Ae(t, e);
35531
35579
  function t(r, n, i, o) {
35532
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
35580
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
35533
35581
  }
35534
35582
  return t;
35535
- }(Ae)
35536
- ), Un = (
35583
+ }(He)
35584
+ ), qn = (
35537
35585
  /** @class */
35538
35586
  function(e) {
35539
- Ne(t, e);
35587
+ Ae(t, e);
35540
35588
  function t(r, n, i) {
35541
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
35589
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
35542
35590
  }
35543
35591
  return t;
35544
- }(Ae)
35545
- ), Dn = (
35592
+ }(He)
35593
+ ), Gn = (
35546
35594
  /** @class */
35547
35595
  function(e) {
35548
- Ne(t, e);
35596
+ Ae(t, e);
35549
35597
  function t(r, n) {
35550
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
35598
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
35551
35599
  }
35552
35600
  return t;
35553
- }(Ae)
35601
+ }(He)
35554
35602
  ), D;
35555
35603
  (function(e) {
35556
35604
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
35557
35605
  })(D || (D = {}));
35558
- function qn(e) {
35606
+ function Fn(e) {
35559
35607
  return e.length < 2 ? e : e.reduce(function(t, r) {
35560
35608
  var n = t[t.length - 1];
35561
35609
  return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
35562
35610
  }, []);
35563
35611
  }
35564
- function Gn(e) {
35612
+ function Vn(e) {
35565
35613
  return typeof e == "function";
35566
35614
  }
35567
- function Se(e, t, r, n, i, o, a) {
35568
- if (e.length === 1 && ot(e[0]))
35615
+ function xe(e, t, r, n, i, o, a) {
35616
+ if (e.length === 1 && lt(e[0]))
35569
35617
  return [
35570
35618
  {
35571
35619
  type: D.literal,
@@ -35574,14 +35622,14 @@ function Se(e, t, r, n, i, o, a) {
35574
35622
  ];
35575
35623
  for (var s = [], h = 0, u = e; h < u.length; h++) {
35576
35624
  var l = u[h];
35577
- if (ot(l)) {
35625
+ if (lt(l)) {
35578
35626
  s.push({
35579
35627
  type: D.literal,
35580
35628
  value: l.value
35581
35629
  });
35582
35630
  continue;
35583
35631
  }
35584
- if (hn(l)) {
35632
+ if (mn(l)) {
35585
35633
  typeof o == "number" && s.push({
35586
35634
  type: D.literal,
35587
35635
  value: r.getNumberFormat(t).format(o)
@@ -35590,89 +35638,89 @@ function Se(e, t, r, n, i, o, a) {
35590
35638
  }
35591
35639
  var d = l.value;
35592
35640
  if (!(i && d in i))
35593
- throw new Dn(d, a);
35641
+ throw new Gn(d, a);
35594
35642
  var m = i[d];
35595
- if (un(l)) {
35643
+ if (dn(l)) {
35596
35644
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
35597
35645
  type: typeof m == "string" ? D.literal : D.object,
35598
35646
  value: m
35599
35647
  });
35600
35648
  continue;
35601
35649
  }
35602
- if (Ut(l)) {
35603
- var v = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
35650
+ if (Gt(l)) {
35651
+ var b = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
35604
35652
  s.push({
35605
35653
  type: D.literal,
35606
- value: r.getDateTimeFormat(t, v).format(m)
35654
+ value: r.getDateTimeFormat(t, b).format(m)
35607
35655
  });
35608
35656
  continue;
35609
35657
  }
35610
- if (Dt(l)) {
35611
- var v = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
35658
+ if (Ft(l)) {
35659
+ var b = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
35612
35660
  s.push({
35613
35661
  type: D.literal,
35614
- value: r.getDateTimeFormat(t, v).format(m)
35662
+ value: r.getDateTimeFormat(t, b).format(m)
35615
35663
  });
35616
35664
  continue;
35617
35665
  }
35618
- if (Rt(l)) {
35619
- var v = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
35620
- v && v.scale && (m = m * (v.scale || 1)), s.push({
35666
+ if (qt(l)) {
35667
+ var b = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
35668
+ b && b.scale && (m = m * (b.scale || 1)), s.push({
35621
35669
  type: D.literal,
35622
- value: r.getNumberFormat(t, v).format(m)
35670
+ value: r.getNumberFormat(t, b).format(m)
35623
35671
  });
35624
35672
  continue;
35625
35673
  }
35626
- if (Ft(l)) {
35627
- var f = l.children, p = l.value, C = i[p];
35628
- if (!Gn(C))
35629
- throw new Un(p, "function", a);
35630
- var _ = Se(f, t, r, n, i, o), b = C(_.map(function(E) {
35631
- return E.value;
35674
+ if (Wt(l)) {
35675
+ var f = l.children, g = l.value, S = i[g];
35676
+ if (!Vn(S))
35677
+ throw new qn(g, "function", a);
35678
+ var _ = xe(f, t, r, n, i, o), v = S(_.map(function(k) {
35679
+ return k.value;
35632
35680
  }));
35633
- Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(E) {
35681
+ Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(k) {
35634
35682
  return {
35635
- type: typeof E == "string" ? D.literal : D.object,
35636
- value: E
35683
+ type: typeof k == "string" ? D.literal : D.object,
35684
+ value: k
35637
35685
  };
35638
35686
  }));
35639
35687
  }
35640
- if (qt(l)) {
35641
- var x = l.options[m] || l.options.other;
35642
- if (!x)
35643
- throw new dt(l.value, m, Object.keys(l.options), a);
35644
- s.push.apply(s, Se(x.value, t, r, n, i));
35688
+ if (Vt(l)) {
35689
+ var C = l.options[m] || l.options.other;
35690
+ if (!C)
35691
+ throw new pt(l.value, m, Object.keys(l.options), a);
35692
+ s.push.apply(s, xe(C.value, t, r, n, i));
35645
35693
  continue;
35646
35694
  }
35647
- if (Gt(l)) {
35648
- var x = l.options["=".concat(m)];
35649
- if (!x) {
35695
+ if (Xt(l)) {
35696
+ var C = l.options["=".concat(m)];
35697
+ if (!C) {
35650
35698
  if (!Intl.PluralRules)
35651
- throw new Ae(`Intl.PluralRules is not available in this environment.
35699
+ throw new He(`Intl.PluralRules is not available in this environment.
35652
35700
  Try polyfilling it using "@formatjs/intl-pluralrules"
35653
- `, te.MISSING_INTL_API, a);
35701
+ `, re.MISSING_INTL_API, a);
35654
35702
  var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
35655
- x = l.options[P] || l.options.other;
35703
+ C = l.options[P] || l.options.other;
35656
35704
  }
35657
- if (!x)
35658
- throw new dt(l.value, m, Object.keys(l.options), a);
35659
- s.push.apply(s, Se(x.value, t, r, n, i, m - (l.offset || 0)));
35705
+ if (!C)
35706
+ throw new pt(l.value, m, Object.keys(l.options), a);
35707
+ s.push.apply(s, xe(C.value, t, r, n, i, m - (l.offset || 0)));
35660
35708
  continue;
35661
35709
  }
35662
35710
  }
35663
- return qn(s);
35711
+ return Fn(s);
35664
35712
  }
35665
- function Fn(e, t) {
35713
+ function Xn(e, t) {
35666
35714
  return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
35667
35715
  return r[n] = H(H({}, e[n]), t[n] || {}), r;
35668
35716
  }, {})) : e;
35669
35717
  }
35670
- function Vn(e, t) {
35718
+ function Wn(e, t) {
35671
35719
  return t ? Object.keys(e).reduce(function(r, n) {
35672
- return r[n] = Fn(e[n], t[n]), r;
35720
+ return r[n] = Xn(e[n], t[n]), r;
35673
35721
  }, H({}, e)) : e;
35674
35722
  }
35675
- function Le(e) {
35723
+ function Re(e) {
35676
35724
  return {
35677
35725
  create: function() {
35678
35726
  return {
@@ -35686,39 +35734,39 @@ function Le(e) {
35686
35734
  }
35687
35735
  };
35688
35736
  }
35689
- function Xn(e) {
35737
+ function Zn(e) {
35690
35738
  return e === void 0 && (e = {
35691
35739
  number: {},
35692
35740
  dateTime: {},
35693
35741
  pluralRules: {}
35694
35742
  }), {
35695
- getNumberFormat: Oe(function() {
35743
+ getNumberFormat: Ie(function() {
35696
35744
  for (var t, r = [], n = 0; n < arguments.length; n++)
35697
35745
  r[n] = arguments[n];
35698
- return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
35746
+ return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
35699
35747
  }, {
35700
- cache: Le(e.number),
35701
- strategy: Ie.variadic
35748
+ cache: Re(e.number),
35749
+ strategy: je.variadic
35702
35750
  }),
35703
- getDateTimeFormat: Oe(function() {
35751
+ getDateTimeFormat: Ie(function() {
35704
35752
  for (var t, r = [], n = 0; n < arguments.length; n++)
35705
35753
  r[n] = arguments[n];
35706
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
35754
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
35707
35755
  }, {
35708
- cache: Le(e.dateTime),
35709
- strategy: Ie.variadic
35756
+ cache: Re(e.dateTime),
35757
+ strategy: je.variadic
35710
35758
  }),
35711
- getPluralRules: Oe(function() {
35759
+ getPluralRules: Ie(function() {
35712
35760
  for (var t, r = [], n = 0; n < arguments.length; n++)
35713
35761
  r[n] = arguments[n];
35714
- return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
35762
+ return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
35715
35763
  }, {
35716
- cache: Le(e.pluralRules),
35717
- strategy: Ie.variadic
35764
+ cache: Re(e.pluralRules),
35765
+ strategy: je.variadic
35718
35766
  })
35719
35767
  };
35720
35768
  }
35721
- var Wn = (
35769
+ var Jn = (
35722
35770
  /** @class */
35723
35771
  function() {
35724
35772
  function e(t, r, n, i) {
@@ -35737,7 +35785,7 @@ var Wn = (
35737
35785
  }, []);
35738
35786
  return l.length <= 1 ? l[0] || "" : l;
35739
35787
  }, this.formatToParts = function(h) {
35740
- return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
35788
+ return xe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
35741
35789
  }, this.resolvedOptions = function() {
35742
35790
  var h;
35743
35791
  return {
@@ -35749,13 +35797,13 @@ var Wn = (
35749
35797
  if (this.message = t, !e.__parse)
35750
35798
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
35751
35799
  var a = i || {};
35752
- var s = tn(a, ["formatters"]);
35800
+ var s = on(a, ["formatters"]);
35753
35801
  this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
35754
35802
  } else
35755
35803
  this.ast = t;
35756
35804
  if (!Array.isArray(this.ast))
35757
35805
  throw new TypeError("A message must be provided as a String or AST.");
35758
- this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
35806
+ this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
35759
35807
  }
35760
35808
  return Object.defineProperty(e, "defaultLocale", {
35761
35809
  get: function() {
@@ -35768,7 +35816,7 @@ var Wn = (
35768
35816
  var r = Intl.NumberFormat.supportedLocalesOf(t);
35769
35817
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
35770
35818
  }
35771
- }, e.__parse = Rn, e.formats = {
35819
+ }, e.__parse = Dn, e.formats = {
35772
35820
  number: {
35773
35821
  integer: {
35774
35822
  maximumFractionDigits: 0
@@ -35829,7 +35877,7 @@ var Wn = (
35829
35877
  }, e;
35830
35878
  }()
35831
35879
  );
35832
- function Zn(e, t) {
35880
+ function Qn(e, t) {
35833
35881
  if (t == null)
35834
35882
  return;
35835
35883
  if (t in e)
@@ -35850,92 +35898,92 @@ function Zn(e, t) {
35850
35898
  n = void 0;
35851
35899
  return n;
35852
35900
  }
35853
- const Z = {}, Jn = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), $t = (e, t) => {
35901
+ const J = {}, Yn = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), rr = (e, t) => {
35854
35902
  if (t == null)
35855
35903
  return;
35856
- if (t in Z && e in Z[t])
35857
- return Z[t][e];
35858
- const r = He(t);
35904
+ if (t in J && e in J[t])
35905
+ return J[t][e];
35906
+ const r = Pe(t);
35859
35907
  for (let n = 0; n < r.length; n++) {
35860
- const i = r[n], o = Yn(i, e);
35908
+ const i = r[n], o = $n(i, e);
35861
35909
  if (o)
35862
- return Jn(e, t, o);
35910
+ return Yn(e, t, o);
35863
35911
  }
35864
35912
  };
35865
- let Ye;
35866
- const fe = we({});
35867
- function Qn(e) {
35868
- return Ye[e] || null;
35913
+ let et;
35914
+ const _e = Ne({});
35915
+ function Kn(e) {
35916
+ return et[e] || null;
35869
35917
  }
35870
- function er(e) {
35871
- return e in Ye;
35918
+ function nr(e) {
35919
+ return e in et;
35872
35920
  }
35873
- function Yn(e, t) {
35874
- if (!er(e))
35921
+ function $n(e, t) {
35922
+ if (!nr(e))
35875
35923
  return null;
35876
- const r = Qn(e);
35877
- return Zn(r, t);
35924
+ const r = Kn(e);
35925
+ return Qn(r, t);
35878
35926
  }
35879
- function Kn(e) {
35927
+ function ei(e) {
35880
35928
  if (e == null)
35881
35929
  return;
35882
- const t = He(e);
35930
+ const t = Pe(e);
35883
35931
  for (let r = 0; r < t.length; r++) {
35884
35932
  const n = t[r];
35885
- if (er(n))
35933
+ if (nr(n))
35886
35934
  return n;
35887
35935
  }
35888
35936
  }
35889
- function tr(e, ...t) {
35890
- delete Z[e], fe.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
35937
+ function ir(e, ...t) {
35938
+ delete J[e], _e.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
35891
35939
  }
35892
- ne(
35893
- [fe],
35940
+ ie(
35941
+ [_e],
35894
35942
  ([e]) => Object.keys(e)
35895
35943
  );
35896
- fe.subscribe((e) => Ye = e);
35897
- const xe = {};
35898
- function $n(e, t) {
35899
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
35944
+ _e.subscribe((e) => et = e);
35945
+ const Me = {};
35946
+ function ti(e, t) {
35947
+ Me[e].delete(t), Me[e].size === 0 && delete Me[e];
35900
35948
  }
35901
- function rr(e) {
35902
- return xe[e];
35949
+ function or(e) {
35950
+ return Me[e];
35903
35951
  }
35904
- function ei(e) {
35905
- return He(e).map((t) => {
35906
- const r = rr(t);
35952
+ function ri(e) {
35953
+ return Pe(e).map((t) => {
35954
+ const r = or(t);
35907
35955
  return [t, r ? [...r] : []];
35908
35956
  }).filter(([, t]) => t.length > 0);
35909
35957
  }
35910
- function We(e) {
35911
- return e == null ? !1 : He(e).some(
35958
+ function Ze(e) {
35959
+ return e == null ? !1 : Pe(e).some(
35912
35960
  (t) => {
35913
35961
  var r;
35914
- return (r = rr(t)) == null ? void 0 : r.size;
35962
+ return (r = or(t)) == null ? void 0 : r.size;
35915
35963
  }
35916
35964
  );
35917
35965
  }
35918
- function ti(e, t) {
35966
+ function ni(e, t) {
35919
35967
  return Promise.all(
35920
- t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
35921
- ).then((n) => tr(e, ...n));
35922
- }
35923
- const ue = {};
35924
- function nr(e) {
35925
- if (!We(e))
35926
- return e in ue ? ue[e] : Promise.resolve();
35927
- const t = ei(e);
35928
- return ue[e] = Promise.all(
35968
+ t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
35969
+ ).then((n) => ir(e, ...n));
35970
+ }
35971
+ const he = {};
35972
+ function ar(e) {
35973
+ if (!Ze(e))
35974
+ return e in he ? he[e] : Promise.resolve();
35975
+ const t = ri(e);
35976
+ return he[e] = Promise.all(
35929
35977
  t.map(
35930
- ([r, n]) => ti(r, n)
35978
+ ([r, n]) => ni(r, n)
35931
35979
  )
35932
35980
  ).then(() => {
35933
- if (We(e))
35934
- return nr(e);
35935
- delete ue[e];
35936
- }), ue[e];
35981
+ if (Ze(e))
35982
+ return ar(e);
35983
+ delete he[e];
35984
+ }), he[e];
35937
35985
  }
35938
- const ri = {
35986
+ const ii = {
35939
35987
  number: {
35940
35988
  scientific: { notation: "scientific" },
35941
35989
  engineering: { notation: "engineering" },
@@ -35964,150 +36012,150 @@ const ri = {
35964
36012
  timeZoneName: "short"
35965
36013
  }
35966
36014
  }
35967
- }, ni = {
36015
+ }, oi = {
35968
36016
  fallbackLocale: null,
35969
36017
  loadingDelay: 200,
35970
- formats: ri,
36018
+ formats: ii,
35971
36019
  warnOnMissingMessages: !0,
35972
36020
  handleMissingMessage: void 0,
35973
36021
  ignoreTag: !0
35974
- }, ii = ni;
35975
- function re() {
35976
- return ii;
36022
+ }, ai = oi;
36023
+ function ne() {
36024
+ return ai;
35977
36025
  }
35978
- const Re = we(!1);
35979
- var oi = Object.defineProperty, ai = Object.defineProperties, si = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
36026
+ const Ue = Ne(!1);
36027
+ var si = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
35980
36028
  for (var r in t || (t = {}))
35981
- li.call(t, r) && pt(e, r, t[r]);
35982
- if (mt)
35983
- for (var r of mt(t))
35984
- ci.call(t, r) && pt(e, r, t[r]);
36029
+ ui.call(t, r) && _t(e, r, t[r]);
36030
+ if (ft)
36031
+ for (var r of ft(t))
36032
+ hi.call(t, r) && _t(e, r, t[r]);
35985
36033
  return e;
35986
- }, hi = (e, t) => ai(e, si(t));
35987
- let Ze;
35988
- const Te = we(null);
35989
- function gt(e) {
36034
+ }, mi = (e, t) => li(e, ci(t));
36035
+ let Je;
36036
+ const Te = Ne(null);
36037
+ function bt(e) {
35990
36038
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
35991
36039
  }
35992
- function He(e, t = re().fallbackLocale) {
35993
- const r = gt(e);
35994
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
36040
+ function Pe(e, t = ne().fallbackLocale) {
36041
+ const r = bt(e);
36042
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
35995
36043
  }
35996
- function Q() {
35997
- return Ze ?? void 0;
36044
+ function Y() {
36045
+ return Je ?? void 0;
35998
36046
  }
35999
36047
  Te.subscribe((e) => {
36000
- Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
36048
+ Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
36001
36049
  });
36002
- const di = (e) => {
36003
- if (e && Kn(e) && We(e)) {
36004
- const { loadingDelay: t } = re();
36050
+ const gi = (e) => {
36051
+ if (e && ei(e) && Ze(e)) {
36052
+ const { loadingDelay: t } = ne();
36005
36053
  let r;
36006
- return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
36007
- () => Re.set(!0),
36054
+ return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
36055
+ () => Ue.set(!0),
36008
36056
  t
36009
- ) : Re.set(!0), nr(e).then(() => {
36057
+ ) : Ue.set(!0), ar(e).then(() => {
36010
36058
  Te.set(e);
36011
36059
  }).finally(() => {
36012
- clearTimeout(r), Re.set(!1);
36060
+ clearTimeout(r), Ue.set(!1);
36013
36061
  });
36014
36062
  }
36015
36063
  return Te.set(e);
36016
- }, ie = hi(ui({}, Te), {
36017
- set: di
36018
- }), Pe = (e) => {
36064
+ }, oe = mi(di({}, Te), {
36065
+ set: gi
36066
+ }), Be = (e) => {
36019
36067
  const t = /* @__PURE__ */ Object.create(null);
36020
36068
  return (n) => {
36021
36069
  const i = JSON.stringify(n);
36022
36070
  return i in t ? t[i] : t[i] = e(n);
36023
36071
  };
36024
36072
  };
36025
- var mi = Object.defineProperty, Me = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
36073
+ var pi = Object.defineProperty, we = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
36026
36074
  for (var r in t || (t = {}))
36027
- ir.call(t, r) && ft(e, r, t[r]);
36028
- if (Me)
36029
- for (var r of Me(t))
36030
- or.call(t, r) && ft(e, r, t[r]);
36075
+ sr.call(t, r) && vt(e, r, t[r]);
36076
+ if (we)
36077
+ for (var r of we(t))
36078
+ lr.call(t, r) && vt(e, r, t[r]);
36031
36079
  return e;
36032
- }, oe = (e, t) => {
36080
+ }, ae = (e, t) => {
36033
36081
  var r = {};
36034
36082
  for (var n in e)
36035
- ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
36036
- if (e != null && Me)
36037
- for (var n of Me(e))
36038
- t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
36083
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
36084
+ if (e != null && we)
36085
+ for (var n of we(e))
36086
+ t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
36039
36087
  return r;
36040
36088
  };
36041
- const me = (e, t) => {
36042
- const { formats: r } = re();
36089
+ const ge = (e, t) => {
36090
+ const { formats: r } = ne();
36043
36091
  if (e in r && t in r[e])
36044
36092
  return r[e][t];
36045
36093
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
36046
- }, pi = Pe(
36094
+ }, fi = Be(
36047
36095
  (e) => {
36048
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
36096
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
36049
36097
  if (r == null)
36050
36098
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
36051
- return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
36099
+ return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
36052
36100
  }
36053
- ), gi = Pe(
36101
+ ), _i = Be(
36054
36102
  (e) => {
36055
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
36103
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
36056
36104
  if (r == null)
36057
36105
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
36058
- return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
36106
+ return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
36059
36107
  }
36060
- ), fi = Pe(
36108
+ ), bi = Be(
36061
36109
  (e) => {
36062
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
36110
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
36063
36111
  if (r == null)
36064
36112
  throw new Error(
36065
36113
  '[svelte-i18n] A "locale" must be set to format time values'
36066
36114
  );
36067
- return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
36115
+ return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
36068
36116
  }
36069
- ), _i = (e = {}) => {
36117
+ ), vi = (e = {}) => {
36070
36118
  var t = e, {
36071
- locale: r = Q()
36072
- } = t, n = oe(t, [
36119
+ locale: r = Y()
36120
+ } = t, n = ae(t, [
36073
36121
  "locale"
36074
36122
  ]);
36075
- return pi(Ke({ locale: r }, n));
36076
- }, bi = (e = {}) => {
36123
+ return fi(tt({ locale: r }, n));
36124
+ }, yi = (e = {}) => {
36077
36125
  var t = e, {
36078
- locale: r = Q()
36079
- } = t, n = oe(t, [
36126
+ locale: r = Y()
36127
+ } = t, n = ae(t, [
36080
36128
  "locale"
36081
36129
  ]);
36082
- return gi(Ke({ locale: r }, n));
36083
- }, vi = (e = {}) => {
36130
+ return _i(tt({ locale: r }, n));
36131
+ }, Ei = (e = {}) => {
36084
36132
  var t = e, {
36085
- locale: r = Q()
36086
- } = t, n = oe(t, [
36133
+ locale: r = Y()
36134
+ } = t, n = ae(t, [
36087
36135
  "locale"
36088
36136
  ]);
36089
- return fi(Ke({ locale: r }, n));
36090
- }, yi = Pe(
36137
+ return bi(tt({ locale: r }, n));
36138
+ }, ki = Be(
36091
36139
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
36092
- (e, t = Q()) => new Wn(e, t, re().formats, {
36093
- ignoreTag: re().ignoreTag
36140
+ (e, t = Y()) => new Jn(e, t, ne().formats, {
36141
+ ignoreTag: ne().ignoreTag
36094
36142
  })
36095
- ), Ei = (e, t = {}) => {
36143
+ ), Ci = (e, t = {}) => {
36096
36144
  var r, n, i, o;
36097
36145
  let a = t;
36098
36146
  typeof e == "object" && (a = e, e = a.id);
36099
36147
  const {
36100
36148
  values: s,
36101
- locale: h = Q(),
36149
+ locale: h = Y(),
36102
36150
  default: u
36103
36151
  } = a;
36104
36152
  if (h == null)
36105
36153
  throw new Error(
36106
36154
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
36107
36155
  );
36108
- let l = $t(e, h);
36156
+ let l = rr(e, h);
36109
36157
  if (!l)
36110
- l = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
36158
+ l = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
36111
36159
  else if (typeof l != "string")
36112
36160
  return console.warn(
36113
36161
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -36116,7 +36164,7 @@ const me = (e, t) => {
36116
36164
  return l;
36117
36165
  let d = l;
36118
36166
  try {
36119
- d = yi(l, h).format(s);
36167
+ d = ki(l, h).format(s);
36120
36168
  } catch (m) {
36121
36169
  m instanceof Error && console.warn(
36122
36170
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -36124,18 +36172,18 @@ const me = (e, t) => {
36124
36172
  );
36125
36173
  }
36126
36174
  return d;
36127
- }, ki = (e, t) => vi(t).format(e), Ci = (e, t) => bi(t).format(e), Si = (e, t) => _i(t).format(e), xi = (e, t = Q()) => $t(e, t), Ti = ne([ie, fe], () => Ei);
36128
- ne([ie], () => ki);
36129
- ne([ie], () => Ci);
36130
- ne([ie], () => Si);
36131
- ne([ie, fe], () => xi);
36132
- function _t(e, t) {
36133
- tr(e, t);
36134
- }
36135
- function Mi(e) {
36136
- ie.set(e);
36137
- }
36138
- const bt = {
36175
+ }, Si = (e, t) => Ei(t).format(e), xi = (e, t) => yi(t).format(e), Mi = (e, t) => vi(t).format(e), Ti = (e, t = Y()) => rr(e, t), wi = ie([oe, _e], () => Ci);
36176
+ ie([oe], () => Si);
36177
+ ie([oe], () => xi);
36178
+ ie([oe], () => Mi);
36179
+ ie([oe, _e], () => Ti);
36180
+ function yt(e, t) {
36181
+ ir(e, t);
36182
+ }
36183
+ function Ni(e) {
36184
+ oe.set(e);
36185
+ }
36186
+ const Et = {
36139
36187
  en: {
36140
36188
  invalidUrl: "Failed to construct 'URL': Invalid URL",
36141
36189
  fetchConsentsError: "Error: Could not fetch consents.",
@@ -36707,18 +36755,18 @@ if (typeof window < "u") {
36707
36755
  }
36708
36756
  };
36709
36757
  };
36710
- customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingC74Ex5kT; }).then((t) => t.G).then(({ default: t }) => {
36758
+ customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingBMZE178n; }).then((t) => t.G).then(({ default: t }) => {
36711
36759
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
36712
36760
  });
36713
36761
  }
36714
- function wi(e) {
36762
+ function Ai(e) {
36715
36763
  let t, r;
36716
36764
  return {
36717
36765
  c() {
36718
36766
  t = V("svg"), r = V("path"), B$1(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), B$1(t, "xmlns", "http://www.w3.org/2000/svg"), B$1(t, "viewBox", "0 0 512 512");
36719
36767
  },
36720
36768
  m(n, i) {
36721
- k(n, t, i), G(t, r);
36769
+ v(n, t, i), G(t, r);
36722
36770
  },
36723
36771
  p: d,
36724
36772
  i: d,
@@ -36728,34 +36776,34 @@ function wi(e) {
36728
36776
  }
36729
36777
  };
36730
36778
  }
36731
- class Ni extends lt$1 {
36779
+ class Hi extends lt$1 {
36732
36780
  constructor(t) {
36733
- super(), ct$1(this, t, null, wi, z, {});
36781
+ super(), ct$1(this, t, null, Ai, z, {});
36734
36782
  }
36735
36783
  }
36736
- customElements.define("circle-exclamation-icon", ot$1(Ni, {}, [], [], !0));
36737
- function Ai(e) {
36784
+ customElements.define("circle-exclamation-icon", ot(Hi, {}, [], [], !0));
36785
+ function Pi(e) {
36738
36786
  I(e, "svelte-ltb9q9", '.DisplayNone.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:none}.ContainerCenter.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:30px}.AccordionHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:10px}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;padding:10px 0}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{padding-bottom:0}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{margin-bottom:0}.ConsentItem.svelte-ltb9q9 .ConsentName.svelte-ltb9q9.svelte-ltb9q9{margin:0}.ConsentItem.svelte-ltb9q9 .ConsentDescription.svelte-ltb9q9.svelte-ltb9q9{font-size:0.8rem}.ToggleSwitch.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:53px;height:30px}.ToggleSwitch.Big.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9.svelte-ltb9q9{opacity:0;width:0;height:0}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9{background-color:var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:disabled+.Slider.svelte-ltb9q9{opacity:0.1}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:focus+.Slider.svelte-ltb9q9{box-shadow:0 0 1px var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9{border-radius:34px}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9:before{border-radius:50%}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:disabled{background:var(--emw--color-pale, var(--emw--color-gray-50, #707070))}.ConsentErrorContainer.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-ltb9q9 circle-exclamation-icon.svelte-ltb9q9.svelte-ltb9q9{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox.svelte-ltb9q9.svelte-ltb9q9{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-ltb9q9.svelte-ltb9q9{position:relative}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__input.svelte-ltb9q9.svelte-ltb9q9{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label.svelte-ltb9q9.svelte-ltb9q9{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-ltb9q9.svelte-ltb9q9{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__error-message.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-ltb9q9.svelte-ltb9q9{width:16px;height:auto}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-ltb9q9.svelte-ltb9q9{opacity:1}');
36739
36787
  }
36740
- function vt(e, t, r) {
36788
+ function kt(e, t, r) {
36741
36789
  const n = e.slice();
36742
36790
  return n[64] = t[r], n;
36743
36791
  }
36744
- function yt(e, t, r) {
36792
+ function Ct(e, t, r) {
36745
36793
  const n = e.slice();
36746
36794
  return n[61] = t[r], n[62] = t, n[63] = r, n;
36747
36795
  }
36748
- function Et(e, t, r) {
36796
+ function St(e, t, r) {
36749
36797
  const n = e.slice();
36750
36798
  return n[64] = t[r], n;
36751
36799
  }
36752
- function Hi(e) {
36753
- let t, r, n = vt$1(
36800
+ function Bi(e) {
36801
+ let t, r, n = kt$1(
36754
36802
  /*playerConsents*/
36755
36803
  e[9]
36756
36804
  ), i = [];
36757
36805
  for (let o = 0; o < n.length; o += 1)
36758
- i[o] = kt(vt(e, n, o));
36806
+ i[o] = xt(kt(e, n, o));
36759
36807
  return {
36760
36808
  c() {
36761
36809
  t = w$1("div"), r = w$1("form");
@@ -36764,7 +36812,7 @@ function Hi(e) {
36764
36812
  B$1(r, "class", "checkbox svelte-ltb9q9"), B$1(t, "class", "legacyStyle");
36765
36813
  },
36766
36814
  m(o, a) {
36767
- k(o, t, a), G(t, r);
36815
+ v(o, t, a), G(t, r);
36768
36816
  for (let s = 0; s < i.length; s += 1)
36769
36817
  i[s] && i[s].m(r, null);
36770
36818
  e[31](r);
@@ -36772,14 +36820,14 @@ function Hi(e) {
36772
36820
  p(o, a) {
36773
36821
  if (a[0] & /*playerConsents, $_, handleInput*/
36774
36822
  590336) {
36775
- n = vt$1(
36823
+ n = kt$1(
36776
36824
  /*playerConsents*/
36777
36825
  o[9]
36778
36826
  );
36779
36827
  let s;
36780
36828
  for (s = 0; s < n.length; s += 1) {
36781
- const h = vt(o, n, s);
36782
- i[s] ? i[s].p(h, a) : (i[s] = kt(h), i[s].c(), i[s].m(r, null));
36829
+ const h = kt(o, n, s);
36830
+ i[s] ? i[s].p(h, a) : (i[s] = xt(h), i[s].c(), i[s].m(r, null));
36783
36831
  }
36784
36832
  for (; s < i.length; s += 1)
36785
36833
  i[s].d(1);
@@ -36791,7 +36839,7 @@ function Hi(e) {
36791
36839
  }
36792
36840
  };
36793
36841
  }
36794
- function Pi(e) {
36842
+ function zi(e) {
36795
36843
  let t = (
36796
36844
  /*$_*/
36797
36845
  e[16]("title") || /*$_*/
@@ -36799,67 +36847,67 @@ function Pi(e) {
36799
36847
  ), r, n, i, o = (
36800
36848
  /*$_*/
36801
36849
  (e[16]("saveButtonContent") || "Save Consents") + ""
36802
- ), a, s, h, u, l, d = t && Ct(e), m = vt$1(
36850
+ ), a, s, h, u, l, d = t && Mt(e), m = kt$1(
36803
36851
  /*consentsCategories*/
36804
36852
  e[8]
36805
- ), v = [];
36806
- for (let p = 0; p < m.length; p += 1)
36807
- v[p] = Nt(yt(e, m, p));
36853
+ ), b = [];
36854
+ for (let g = 0; g < m.length; g += 1)
36855
+ b[g] = Pt(Ct(e, m, g));
36808
36856
  let f = (
36809
36857
  /*errorMessage*/
36810
- e[6] && At(e)
36858
+ e[6] && Bt(e)
36811
36859
  );
36812
36860
  return {
36813
36861
  c() {
36814
36862
  d && d.c(), r = pt$1();
36815
- for (let p = 0; p < v.length; p += 1)
36816
- v[p].c();
36863
+ for (let g = 0; g < b.length; g += 1)
36864
+ b[g].c();
36817
36865
  n = pt$1(), i = w$1("button"), s = pt$1(), f && f.c(), h = yt$1(), B$1(i, "class", "SaveConsentsButton svelte-ltb9q9"), i.disabled = a = !/*isValid*/
36818
36866
  e[14];
36819
36867
  },
36820
- m(p, C) {
36821
- d && d.m(p, C), k(p, r, C);
36822
- for (let _ = 0; _ < v.length; _ += 1)
36823
- v[_] && v[_].m(p, C);
36824
- k(p, n, C), k(p, i, C), i.innerHTML = o, k(p, s, C), f && f.m(p, C), k(p, h, C), u || (l = wt$1(
36868
+ m(g, S) {
36869
+ d && d.m(g, S), v(g, r, S);
36870
+ for (let _ = 0; _ < b.length; _ += 1)
36871
+ b[_] && b[_].m(g, S);
36872
+ v(g, n, S), v(g, i, S), i.innerHTML = o, v(g, s, S), f && f.m(g, S), v(g, h, S), u || (l = wt$1(
36825
36873
  i,
36826
36874
  "click",
36827
36875
  /*saveChanges*/
36828
36876
  e[17]
36829
36877
  ), u = !0);
36830
36878
  },
36831
- p(p, C) {
36832
- if (C[0] & /*$_*/
36879
+ p(g, S) {
36880
+ if (S[0] & /*$_*/
36833
36881
  65536 && (t = /*$_*/
36834
- p[16]("title") || /*$_*/
36835
- p[16]("description")), t ? d ? d.p(p, C) : (d = Ct(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
36882
+ g[16]("title") || /*$_*/
36883
+ g[16]("description")), t ? d ? d.p(g, S) : (d = Mt(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
36836
36884
  867088) {
36837
- m = vt$1(
36885
+ m = kt$1(
36838
36886
  /*consentsCategories*/
36839
- p[8]
36887
+ g[8]
36840
36888
  );
36841
36889
  let _;
36842
36890
  for (_ = 0; _ < m.length; _ += 1) {
36843
- const b = yt(p, m, _);
36844
- v[_] ? v[_].p(b, C) : (v[_] = Nt(b), v[_].c(), v[_].m(n.parentNode, n));
36891
+ const v = Ct(g, m, _);
36892
+ b[_] ? b[_].p(v, S) : (b[_] = Pt(v), b[_].c(), b[_].m(n.parentNode, n));
36845
36893
  }
36846
- for (; _ < v.length; _ += 1)
36847
- v[_].d(1);
36848
- v.length = m.length;
36894
+ for (; _ < b.length; _ += 1)
36895
+ b[_].d(1);
36896
+ b.length = m.length;
36849
36897
  }
36850
- C[0] & /*$_*/
36898
+ S[0] & /*$_*/
36851
36899
  65536 && o !== (o = /*$_*/
36852
- (p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
36900
+ (g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
36853
36901
  16384 && a !== (a = !/*isValid*/
36854
- p[14]) && (i.disabled = a), /*errorMessage*/
36855
- p[6] ? f ? f.p(p, C) : (f = At(p), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
36902
+ g[14]) && (i.disabled = a), /*errorMessage*/
36903
+ g[6] ? f ? f.p(g, S) : (f = Bt(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
36856
36904
  },
36857
- d(p) {
36858
- p && (y(r), y(n), y(i), y(s), y(h)), d && d.d(p), bt$1(v, p), f && f.d(p), u = !1, l();
36905
+ d(g) {
36906
+ g && (y(r), y(n), y(i), y(s), y(h)), d && d.d(g), bt$1(b, g), f && f.d(g), u = !1, l();
36859
36907
  }
36860
36908
  };
36861
36909
  }
36862
- function Bi(e) {
36910
+ function Oi(e) {
36863
36911
  let t, r, n;
36864
36912
  return {
36865
36913
  c() {
@@ -36869,7 +36917,7 @@ function Bi(e) {
36869
36917
  ), B$1(r, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ContainerCenter svelte-ltb9q9");
36870
36918
  },
36871
36919
  m(i, o) {
36872
- k(i, t, o), G(t, r), G(r, n);
36920
+ v(i, t, o), G(t, r), G(r, n);
36873
36921
  },
36874
36922
  p(i, o) {
36875
36923
  o[0] & /*fatalError*/
@@ -36884,7 +36932,7 @@ function Bi(e) {
36884
36932
  }
36885
36933
  };
36886
36934
  }
36887
- function zi(e) {
36935
+ function Ii(e) {
36888
36936
  let t;
36889
36937
  return {
36890
36938
  c() {
@@ -36906,7 +36954,7 @@ function zi(e) {
36906
36954
  );
36907
36955
  },
36908
36956
  m(r, n) {
36909
- k(r, t, n);
36957
+ v(r, t, n);
36910
36958
  },
36911
36959
  p(r, n) {
36912
36960
  n[0] & /*clientstyling*/
@@ -36934,7 +36982,7 @@ function zi(e) {
36934
36982
  }
36935
36983
  };
36936
36984
  }
36937
- function kt(e) {
36985
+ function xt(e) {
36938
36986
  let t, r, n, i, o, a, s, h, u = (
36939
36987
  /*$_*/
36940
36988
  (e[16](`${/*consent*/
@@ -36943,31 +36991,31 @@ function kt(e) {
36943
36991
  ), l = (
36944
36992
  /*consent*/
36945
36993
  e[64].mustAccept ? " *" : ""
36946
- ), d, m, v, f, p, C, _, b, x;
36947
- function P$1(...E) {
36994
+ ), d, m, b, f, g, S, _, v$1, C;
36995
+ function P$1(...k) {
36948
36996
  return (
36949
36997
  /*input_handler_1*/
36950
36998
  e[30](
36951
36999
  /*consent*/
36952
37000
  e[64],
36953
- ...E
37001
+ ...k
36954
37002
  )
36955
37003
  );
36956
37004
  }
36957
37005
  return {
36958
37006
  c() {
36959
- t = w$1("div"), r = w$1("input"), o = pt$1(), a = w$1("label"), s = w$1("div"), h = new Lt$1(!1), d = P(l), v = pt$1(), f = w$1("small"), C = pt$1(), B$1(r, "class", "checkbox__input svelte-ltb9q9"), B$1(r, "type", "checkbox"), r.checked = n = /*consent*/
37007
+ t = w$1("div"), r = w$1("input"), o = pt$1(), a = w$1("label"), s = w$1("div"), h = new Lt(!1), d = P(l), b = pt$1(), f = w$1("small"), S = pt$1(), B$1(r, "class", "checkbox__input svelte-ltb9q9"), B$1(r, "type", "checkbox"), r.checked = n = /*consent*/
36960
37008
  e[64].status === "1", B$1(r, "id", i = `${/*consent*/
36961
37009
  e[64].tagCode}__input`), h.a = d, B$1(s, "class", "checkbox__label-text svelte-ltb9q9"), B$1(a, "class", "checkbox__label svelte-ltb9q9"), B$1(a, "for", m = `${/*consent*/
36962
- e[64].tagCode}__input`), B$1(f, "class", "checkbox__error-message svelte-ltb9q9"), B$1(f, "id", p = "checkBoxError__" + /*consent*/
37010
+ e[64].tagCode}__input`), B$1(f, "class", "checkbox__error-message svelte-ltb9q9"), B$1(f, "id", g = "checkBoxError__" + /*consent*/
36963
37011
  e[64].tagCode), B$1(t, "class", _ = "checkbox__wrapper " + /*consent*/
36964
37012
  e[64].tagCode + "__input svelte-ltb9q9");
36965
37013
  },
36966
- m(E, z) {
36967
- k(E, t, z), G(t, r), G(t, o), G(t, a), G(a, s), h.m(u, s), G(s, d), G(t, v), G(t, f), G(t, C), b || (x = wt$1(r, "input", P$1), b = !0);
37014
+ m(k, z) {
37015
+ v(k, t, z), G(t, r), G(t, o), G(t, a), G(a, s), h.m(u, s), G(s, d), G(t, b), G(t, f), G(t, S), v$1 || (C = wt$1(r, "input", P$1), v$1 = !0);
36968
37016
  },
36969
- p(E, z) {
36970
- e = E, z[0] & /*playerConsents*/
37017
+ p(k, z) {
37018
+ e = k, z[0] & /*playerConsents*/
36971
37019
  512 && n !== (n = /*consent*/
36972
37020
  e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
36973
37021
  512 && i !== (i = `${/*consent*/
@@ -36980,44 +37028,44 @@ function kt(e) {
36980
37028
  e[64].mustAccept ? " *" : "") && Et$1(d, l), z[0] & /*playerConsents*/
36981
37029
  512 && m !== (m = `${/*consent*/
36982
37030
  e[64].tagCode}__input`) && B$1(a, "for", m), z[0] & /*playerConsents*/
36983
- 512 && p !== (p = "checkBoxError__" + /*consent*/
36984
- e[64].tagCode) && B$1(f, "id", p), z[0] & /*playerConsents*/
37031
+ 512 && g !== (g = "checkBoxError__" + /*consent*/
37032
+ e[64].tagCode) && B$1(f, "id", g), z[0] & /*playerConsents*/
36985
37033
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
36986
37034
  e[64].tagCode + "__input svelte-ltb9q9") && B$1(t, "class", _);
36987
37035
  },
36988
- d(E) {
36989
- E && y(t), b = !1, x();
37036
+ d(k) {
37037
+ k && y(t), v$1 = !1, C();
36990
37038
  }
36991
37039
  };
36992
37040
  }
36993
- function Ct(e) {
37041
+ function Mt(e) {
36994
37042
  let t, r = (
36995
37043
  /*$_*/
36996
37044
  e[16]("title")
36997
37045
  ), n, i = (
36998
37046
  /*$_*/
36999
37047
  e[16]("description")
37000
- ), o = r && St(e), a = i && xt(e);
37048
+ ), o = r && Tt(e), a = i && wt(e);
37001
37049
  return {
37002
37050
  c() {
37003
37051
  t = w$1("div"), o && o.c(), n = pt$1(), a && a.c(), B$1(t, "class", "PlayerConsentsHeader svelte-ltb9q9");
37004
37052
  },
37005
37053
  m(s, h) {
37006
- k(s, t, h), o && o.m(t, null), G(t, n), a && a.m(t, null);
37054
+ v(s, t, h), o && o.m(t, null), G(t, n), a && a.m(t, null);
37007
37055
  },
37008
37056
  p(s, h) {
37009
37057
  h[0] & /*$_*/
37010
37058
  65536 && (r = /*$_*/
37011
- s[16]("title")), r ? o ? o.p(s, h) : (o = St(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
37059
+ s[16]("title")), r ? o ? o.p(s, h) : (o = Tt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
37012
37060
  65536 && (i = /*$_*/
37013
- s[16]("description")), i ? a ? a.p(s, h) : (a = xt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
37061
+ s[16]("description")), i ? a ? a.p(s, h) : (a = wt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
37014
37062
  },
37015
37063
  d(s) {
37016
37064
  s && y(t), o && o.d(), a && a.d();
37017
37065
  }
37018
37066
  };
37019
37067
  }
37020
- function St(e) {
37068
+ function Tt(e) {
37021
37069
  let t, r = (
37022
37070
  /*$_*/
37023
37071
  e[16]("title") + ""
@@ -37027,7 +37075,7 @@ function St(e) {
37027
37075
  t = w$1("h2"), n = P(r), B$1(t, "class", "PlayerConsentsTitle");
37028
37076
  },
37029
37077
  m(i, o) {
37030
- k(i, t, o), G(t, n);
37078
+ v(i, t, o), G(t, n);
37031
37079
  },
37032
37080
  p(i, o) {
37033
37081
  o[0] & /*$_*/
@@ -37039,7 +37087,7 @@ function St(e) {
37039
37087
  }
37040
37088
  };
37041
37089
  }
37042
- function xt(e) {
37090
+ function wt(e) {
37043
37091
  let t, r = (
37044
37092
  /*$_*/
37045
37093
  e[16]("description") + ""
@@ -37049,7 +37097,7 @@ function xt(e) {
37049
37097
  t = w$1("p"), n = P(r), B$1(t, "class", "PlayerConsentsDescription");
37050
37098
  },
37051
37099
  m(i, o) {
37052
- k(i, t, o), G(t, n);
37100
+ v(i, t, o), G(t, n);
37053
37101
  },
37054
37102
  p(i, o) {
37055
37103
  o[0] & /*$_*/
@@ -37061,21 +37109,21 @@ function xt(e) {
37061
37109
  }
37062
37110
  };
37063
37111
  }
37064
- function Tt(e) {
37112
+ function Nt(e) {
37065
37113
  let t;
37066
37114
  return {
37067
37115
  c() {
37068
37116
  t = w$1("sup"), t.textContent = "*", B$1(t, "class", "ConsentRequired svelte-ltb9q9");
37069
37117
  },
37070
37118
  m(r, n) {
37071
- k(r, t, n);
37119
+ v(r, t, n);
37072
37120
  },
37073
37121
  d(r) {
37074
37122
  r && y(t);
37075
37123
  }
37076
37124
  };
37077
37125
  }
37078
- function Mt(e) {
37126
+ function At(e) {
37079
37127
  let t, r = (
37080
37128
  /*$_*/
37081
37129
  (e[16](`${/*consent*/
@@ -37087,7 +37135,7 @@ function Mt(e) {
37087
37135
  t = w$1("p"), B$1(t, "class", "ConsentDescription svelte-ltb9q9");
37088
37136
  },
37089
37137
  m(n, i) {
37090
- k(n, t, i), t.innerHTML = r;
37138
+ v(n, t, i), t.innerHTML = r;
37091
37139
  },
37092
37140
  p(n, i) {
37093
37141
  i[0] & /*$_, playerConsents, consentsCategories*/
@@ -37101,20 +37149,20 @@ function Mt(e) {
37101
37149
  }
37102
37150
  };
37103
37151
  }
37104
- function wt(e) {
37152
+ function Ht(e) {
37105
37153
  let t, r, n, i, o = (
37106
37154
  /*$_*/
37107
37155
  (e[16](`${/*consent*/
37108
37156
  e[64].tagCode}__name`) || /*consent*/
37109
37157
  e[64].friendlyName) + ""
37110
- ), a, s, h, u, l, d, m, v, f, p, C, _ = (
37158
+ ), a, s, h, u, l, d, m, b, f, g, S, _ = (
37111
37159
  /*consent*/
37112
- e[64].mustAccept === !0 && Tt()
37113
- ), b = (
37160
+ e[64].mustAccept === !0 && Nt()
37161
+ ), v$1 = (
37114
37162
  /*displayconsentdescription*/
37115
- e[4] === "true" && Mt(e)
37163
+ e[4] === "true" && At(e)
37116
37164
  );
37117
- function x(...P) {
37165
+ function C(...P) {
37118
37166
  return (
37119
37167
  /*input_handler*/
37120
37168
  e[29](
@@ -37126,7 +37174,7 @@ function wt(e) {
37126
37174
  }
37127
37175
  return {
37128
37176
  c() {
37129
- t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt$1(!1), a = pt$1(), _ && _.c(), s = pt$1(), b && b.c(), h = pt$1(), u = w$1("label"), l = w$1("input"), v = pt$1(), f = w$1("span"), i.a = a, B$1(n, "class", "ConsentName svelte-ltb9q9"), B$1(r, "class", "ConsentContent"), B$1(l, "type", "checkbox"), l.disabled = d = /*consent*/
37177
+ t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt(!1), a = pt$1(), _ && _.c(), s = pt$1(), v$1 && v$1.c(), h = pt$1(), u = w$1("label"), l = w$1("input"), b = pt$1(), f = w$1("span"), i.a = a, B$1(n, "class", "ConsentName svelte-ltb9q9"), B$1(r, "class", "ConsentContent"), B$1(l, "type", "checkbox"), l.disabled = d = /*consent*/
37130
37178
  e[64].mustAccept === !0 && /*initialConsentsState*/
37131
37179
  e[12][
37132
37180
  /*consent*/
@@ -37137,23 +37185,23 @@ function wt(e) {
37137
37185
  e[64].tagCode
37138
37186
  ], B$1(l, "class", "svelte-ltb9q9"), B$1(f, "class", "Slider Round svelte-ltb9q9"), B$1(u, "class", "ToggleSwitch svelte-ltb9q9"), B$1(t, "class", "ConsentItem svelte-ltb9q9");
37139
37187
  },
37140
- m(P, E) {
37141
- k(P, t, E), G(t, r), G(r, n), i.m(o, n), G(n, a), _ && _.m(n, null), G(r, s), b && b.m(r, null), G(t, h), G(t, u), G(u, l), G(u, v), G(u, f), p || (C = wt$1(l, "input", x), p = !0);
37188
+ m(P, k) {
37189
+ v(P, t, k), G(t, r), G(r, n), i.m(o, n), G(n, a), _ && _.m(n, null), G(r, s), v$1 && v$1.m(r, null), G(t, h), G(t, u), G(u, l), G(u, b), G(u, f), g || (S = wt$1(l, "input", C), g = !0);
37142
37190
  },
37143
- p(P, E) {
37144
- e = P, E[0] & /*$_, playerConsents, consentsCategories*/
37191
+ p(P, k) {
37192
+ e = P, k[0] & /*$_, playerConsents, consentsCategories*/
37145
37193
  66304 && o !== (o = /*$_*/
37146
37194
  (e[16](`${/*consent*/
37147
37195
  e[64].tagCode}__name`) || /*consent*/
37148
37196
  e[64].friendlyName) + "") && i.p(o), /*consent*/
37149
- e[64].mustAccept === !0 ? _ || (_ = Tt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
37150
- e[4] === "true" ? b ? b.p(e, E) : (b = Mt(e), b.c(), b.m(r, null)) : b && (b.d(1), b = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
37197
+ e[64].mustAccept === !0 ? _ || (_ = Nt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
37198
+ e[4] === "true" ? v$1 ? v$1.p(e, k) : (v$1 = At(e), v$1.c(), v$1.m(r, null)) : v$1 && (v$1.d(1), v$1 = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
37151
37199
  4864 && d !== (d = /*consent*/
37152
37200
  e[64].mustAccept === !0 && /*initialConsentsState*/
37153
37201
  e[12][
37154
37202
  /*consent*/
37155
37203
  e[64].tagCode
37156
- ] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
37204
+ ] === !0) && (l.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
37157
37205
  8960 && m !== (m = /*consentsState*/
37158
37206
  e[13][
37159
37207
  /*consent*/
@@ -37161,17 +37209,17 @@ function wt(e) {
37161
37209
  ]) && (l.checked = m);
37162
37210
  },
37163
37211
  d(P) {
37164
- P && y(t), _ && _.d(), b && b.d(), p = !1, C();
37212
+ P && y(t), _ && _.d(), v$1 && v$1.d(), g = !1, S();
37165
37213
  }
37166
37214
  };
37167
37215
  }
37168
- function Nt(e) {
37216
+ function Pt(e) {
37169
37217
  let t, r, n, i = (
37170
37218
  /*$_*/
37171
37219
  (e[16](`${/*category*/
37172
37220
  e[61].categoryTagCode}__category`) || /*category*/
37173
37221
  e[61].friendlyName) + ""
37174
- ), o, a, s, h, u, l, d, m, v;
37222
+ ), o, a, s, h, u, l, d, m, b;
37175
37223
  function f() {
37176
37224
  e[26].call(
37177
37225
  s,
@@ -37179,7 +37227,7 @@ function Nt(e) {
37179
37227
  e[61]
37180
37228
  );
37181
37229
  }
37182
- function p$1() {
37230
+ function g() {
37183
37231
  return (
37184
37232
  /*change_handler*/
37185
37233
  e[27](
@@ -37188,44 +37236,44 @@ function Nt(e) {
37188
37236
  )
37189
37237
  );
37190
37238
  }
37191
- function C(...x) {
37239
+ function S(...C) {
37192
37240
  return (
37193
37241
  /*func*/
37194
37242
  e[28](
37195
37243
  /*category*/
37196
37244
  e[61],
37197
- ...x
37245
+ ...C
37198
37246
  )
37199
37247
  );
37200
37248
  }
37201
- let _ = vt$1(
37249
+ let _ = kt$1(
37202
37250
  /*playerConsents*/
37203
- e[9].filter(C)
37204
- ), b = [];
37205
- for (let x = 0; x < _.length; x += 1)
37206
- b[x] = wt(Et(e, _, x));
37251
+ e[9].filter(S)
37252
+ ), v$1 = [];
37253
+ for (let C = 0; C < _.length; C += 1)
37254
+ v$1[C] = Ht(St(e, _, C));
37207
37255
  return {
37208
37256
  c() {
37209
37257
  t = w$1("div"), r = w$1("div"), n = w$1("h3"), o = pt$1(), a = w$1("label"), s = w$1("input"), h = pt$1(), u = w$1("span"), l = pt$1(), d = w$1("div");
37210
- for (let x = 0; x < b.length; x += 1)
37211
- b[x].c();
37258
+ for (let C = 0; C < v$1.length; C += 1)
37259
+ v$1[C].c();
37212
37260
  B$1(s, "type", "checkbox"), B$1(s, "class", "svelte-ltb9q9"), B$1(u, "class", "Slider Round svelte-ltb9q9"), B$1(a, "class", "ToggleSwitch Big svelte-ltb9q9"), B$1(r, "class", "AccordionHeader svelte-ltb9q9"), B$1(d, "class", "AccordionContent svelte-ltb9q9"), B$1(t, "class", "AccordionItem svelte-ltb9q9");
37213
37261
  },
37214
- m(x, P) {
37215
- k(x, t, P), G(t, r), G(r, n), n.innerHTML = i, G(r, o), G(r, a), G(a, s), s.checked = /*categoryToggle*/
37262
+ m(C, P) {
37263
+ v(C, t, P), G(t, r), G(r, n), n.innerHTML = i, G(r, o), G(r, a), G(a, s), s.checked = /*categoryToggle*/
37216
37264
  e[11][
37217
37265
  /*category*/
37218
37266
  e[61].categoryTagCode
37219
37267
  ], G(a, h), G(a, u), G(t, l), G(t, d);
37220
- for (let E = 0; E < b.length; E += 1)
37221
- b[E] && b[E].m(d, null);
37222
- m || (v = [
37268
+ for (let k = 0; k < v$1.length; k += 1)
37269
+ v$1[k] && v$1[k].m(d, null);
37270
+ m || (b = [
37223
37271
  wt$1(s, "change", f),
37224
- wt$1(s, "change", p$1)
37272
+ wt$1(s, "change", g)
37225
37273
  ], m = !0);
37226
37274
  },
37227
- p(x, P) {
37228
- if (e = x, P[0] & /*$_, consentsCategories*/
37275
+ p(C, P) {
37276
+ if (e = C, P[0] & /*$_, consentsCategories*/
37229
37277
  65792 && i !== (i = /*$_*/
37230
37278
  (e[16](`${/*category*/
37231
37279
  e[61].categoryTagCode}__category`) || /*category*/
@@ -37236,26 +37284,26 @@ function Nt(e) {
37236
37284
  e[61].categoryTagCode
37237
37285
  ]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
37238
37286
  602896) {
37239
- _ = vt$1(
37287
+ _ = kt$1(
37240
37288
  /*playerConsents*/
37241
- e[9].filter(C)
37289
+ e[9].filter(S)
37242
37290
  );
37243
- let E;
37244
- for (E = 0; E < _.length; E += 1) {
37245
- const z = Et(e, _, E);
37246
- b[E] ? b[E].p(z, P) : (b[E] = wt(z), b[E].c(), b[E].m(d, null));
37291
+ let k;
37292
+ for (k = 0; k < _.length; k += 1) {
37293
+ const z = St(e, _, k);
37294
+ v$1[k] ? v$1[k].p(z, P) : (v$1[k] = Ht(z), v$1[k].c(), v$1[k].m(d, null));
37247
37295
  }
37248
- for (; E < b.length; E += 1)
37249
- b[E].d(1);
37250
- b.length = _.length;
37296
+ for (; k < v$1.length; k += 1)
37297
+ v$1[k].d(1);
37298
+ v$1.length = _.length;
37251
37299
  }
37252
37300
  },
37253
- d(x) {
37254
- x && y(t), bt$1(b, x), m = !1, p(v);
37301
+ d(C) {
37302
+ C && y(t), bt$1(v$1, C), m = !1, p(b);
37255
37303
  }
37256
37304
  };
37257
37305
  }
37258
- function At(e) {
37306
+ function Bt(e) {
37259
37307
  let t, r, n, i, o;
37260
37308
  return {
37261
37309
  c() {
@@ -37265,7 +37313,7 @@ function At(e) {
37265
37313
  ), xt$1(r, "class", "svelte-ltb9q9"), B$1(i, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ConsentErrorContainer svelte-ltb9q9");
37266
37314
  },
37267
37315
  m(a, s) {
37268
- k(a, t, s), G(t, r), G(t, n), G(t, i), G(i, o);
37316
+ v(a, t, s), G(t, r), G(t, n), G(t, i), G(i, o);
37269
37317
  },
37270
37318
  p(a, s) {
37271
37319
  s[0] & /*errorMessage*/
@@ -37280,23 +37328,27 @@ function At(e) {
37280
37328
  }
37281
37329
  };
37282
37330
  }
37283
- function Oi(e) {
37331
+ function ji(e) {
37284
37332
  let t, r;
37285
37333
  function n(a, s) {
37286
37334
  if (
37287
37335
  /*isLoading*/
37288
37336
  a[10]
37289
- ) return zi;
37337
+ )
37338
+ return Ii;
37290
37339
  if (
37291
37340
  /*fatalError*/
37292
37341
  a[7]
37293
- ) return Bi;
37342
+ )
37343
+ return Oi;
37294
37344
  if (
37295
37345
  /*session*/
37296
37346
  a[0]
37297
- ) return Pi;
37347
+ )
37348
+ return zi;
37298
37349
  if (!/*session*/
37299
- a[0]) return Hi;
37350
+ a[0])
37351
+ return Bi;
37300
37352
  }
37301
37353
  let i = n(e), o = i && i(e);
37302
37354
  return {
@@ -37304,7 +37356,7 @@ function Oi(e) {
37304
37356
  t = w$1("div"), r = w$1("div"), o && o.c(), B$1(r, "class", "ConsentsContainer svelte-ltb9q9"), B$1(t, "class", gt$1("") + " svelte-ltb9q9");
37305
37357
  },
37306
37358
  m(a, s) {
37307
- k(a, t, s), G(t, r), o && o.m(r, null), e[32](r);
37359
+ v(a, t, s), G(t, r), o && o.m(r, null), e[32](r);
37308
37360
  },
37309
37361
  p(a, s) {
37310
37362
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
@@ -37316,189 +37368,190 @@ function Oi(e) {
37316
37368
  }
37317
37369
  };
37318
37370
  }
37319
- function Ii(e, t, r) {
37371
+ function Li(e, t, r) {
37320
37372
  let n;
37321
- _t$1(e, Ti, (c) => r(16, n = c));
37322
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: v = "false" } = t, f, p = !1, C = !1, _ = "", b = "", x = "", P = "", E$1 = [], z = [], O = [], ae = !0, _e = !0, G = {}, be = {}, W$1 = {}, U = {}, se, ve, R = {
37373
+ _t$1(e, wi, (c) => r(16, n = c));
37374
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: b = "false" } = t, f, g, S = !1, _ = !1, v = "", C = "", P = "", k = "", z = [], W$1 = [], O = [], se = !0, be = !0, G = {}, ve = {}, Z = {}, U = {}, le, ye, R = {
37323
37375
  none: { key: "0", value: "None" },
37324
37376
  accepted: { key: "1", value: "Accepted" },
37325
37377
  expired: { key: "2", value: "Expired" },
37326
37378
  denied: { key: "3", value: "Denied" },
37327
37379
  suspended: { key: "4", value: "Suspended" }
37328
- }, ye = !1;
37329
- Object.keys(bt).forEach((c) => {
37330
- _t(c, bt[c]);
37380
+ }, Ee = !1;
37381
+ Object.keys(Et).forEach((c) => {
37382
+ yt(c, Et[c]);
37331
37383
  });
37332
- const ar = () => {
37333
- Mi(l);
37334
- }, sr = () => {
37384
+ const cr = () => {
37385
+ Ni(l);
37386
+ }, ur = () => {
37335
37387
  let c = new URL(m);
37336
- fetch(c.href).then((g) => g.json()).then((g) => {
37337
- Object.keys(g).forEach((M) => {
37338
- _t(M, g[M]);
37388
+ fetch(c.href).then((p) => p.json()).then((p) => {
37389
+ Object.keys(p).forEach((T) => {
37390
+ yt(T, p[T]);
37339
37391
  });
37340
- }).catch((g) => {
37341
- console.log(g);
37392
+ }).catch((p) => {
37393
+ console.log(p);
37342
37394
  });
37343
- }, lr = () => {
37344
- i && (_ = i, C = !0), o && (b = o);
37345
- }, Ee = (c, g = !1) => {
37346
- g ? r(7, P = c) : (pr(), r(6, x = c));
37347
- }, le = async (c, g, M, y = !1) => {
37395
+ }, hr = () => {
37396
+ i && (v = i, _ = !0), o && (C = o);
37397
+ }, ke = (c, p = !1) => {
37398
+ p ? r(7, k = c) : (_r(), r(6, P = c));
37399
+ }, ce = async (c, p, T, y = !1) => {
37348
37400
  try {
37349
- const T = await fetch(c, M);
37350
- if (!T.ok)
37351
- throw new Error(n(g));
37352
- const I = await T.json();
37353
- return C ? I : I.filter((F) => F.showOnRegister === !0);
37354
- } catch (T) {
37355
- throw Ee(
37356
- T instanceof TypeError ? n(g) : T.message,
37401
+ const M = await fetch(c, T);
37402
+ if (!M.ok)
37403
+ throw new Error(n(p));
37404
+ const I = await M.json();
37405
+ return _ ? I : I.filter((F) => F.showOnRegister === !0);
37406
+ } catch (M) {
37407
+ throw ke(
37408
+ M instanceof TypeError ? n(p) : M.message,
37357
37409
  y
37358
- ), T;
37410
+ ), M;
37359
37411
  }
37360
- }, cr = async () => {
37412
+ }, dr = async () => {
37361
37413
  try {
37362
- let c = [], g = [];
37363
- if (C ? [c, g] = await $e() : c = await $e(), r(10, ae = !1), z = [...c], r(8, E$1 = hr(z).sort((M, y) => M.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = dr(E$1)), be = { ...G }, r(9, O = [...g]), z.forEach((M) => {
37364
- let y = O.find((T) => T.tagCode === M.tagCode);
37414
+ let c = [], p = [];
37415
+ if (_ ? [c, p] = await rt() : c = await rt(), r(10, se = !1), W$1 = [...c], r(8, z = gr(W$1).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = pr(z)), ve = { ...G }, r(9, O = [...p]), W$1.forEach((T) => {
37416
+ let y = O.find((M) => M.tagCode === T.tagCode);
37365
37417
  y || (y = {
37366
- ...M,
37418
+ ...T,
37367
37419
  status: R.denied.value
37368
- }, O.push(y)), y.description = M.description, y.orderNumber = M.orderNumber;
37369
- }), v === "true") {
37370
- if (r(9, O = O.filter((M) => M.status === R.expired.value)), O.length !== 0) return;
37371
- Ee(n("wrongModalConfig"), !0);
37420
+ }, O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
37421
+ }), b === "true") {
37422
+ if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
37423
+ return;
37424
+ ke(n("wrongModalConfig"), !0);
37372
37425
  }
37373
- mr();
37426
+ fr();
37374
37427
  } catch (c) {
37375
- throw r(10, ae = !1), Ee(
37428
+ throw r(10, se = !1), ke(
37376
37429
  c instanceof TypeError ? n("invalidUrl") : c.message,
37377
37430
  !0
37378
37431
  ), c;
37379
37432
  }
37380
- }, $e = async () => {
37433
+ }, rt = async () => {
37381
37434
  const c = new URL(`${a}/api/v1/gm/consents`);
37382
- if (c.searchParams.append("Status", "Active"), !C)
37383
- return await le(c.href, "fetchConsentsError", { method: "GET" }, !0);
37384
- const g = new URL(`${a}/api/v1/gm/user-consents/${b}`);
37435
+ if (c.searchParams.append("Status", "Active"), !_)
37436
+ return await ce(c.href, "fetchConsentsError", { method: "GET" }, !0);
37437
+ const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
37385
37438
  return await Promise.all([
37386
- le(c.href, "fetchConsentsError", { method: "GET" }, !0),
37387
- le(g.href, "fetchPlayerConsentsError", {
37439
+ ce(c.href, "fetchConsentsError", { method: "GET" }, !0),
37440
+ ce(p.href, "fetchPlayerConsentsError", {
37388
37441
  method: "GET",
37389
37442
  headers: {
37390
- "X-SessionId": _,
37443
+ "X-SessionId": v,
37391
37444
  "Content-Type": "application/json"
37392
37445
  }
37393
37446
  })
37394
37447
  ]);
37395
- }, ur = () => {
37396
- ye = !1;
37397
- const c = new URL(`${a}/api/v2/gm/legislation/consents`), g = {
37448
+ }, mr = () => {
37449
+ Ee = !1;
37450
+ const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
37398
37451
  "Content-Type": "application/json",
37399
37452
  Accept: "application/json"
37400
- }, M = { method: "GET", headers: g };
37401
- fetch(c.href, M).then((y) => y.ok ? y.json() : (ye = !0, y.json().then((T) => (console.error(T), ke(T))))).then((y) => {
37402
- if (!ye) {
37403
- if (z = y, localStorage.getItem("playerConsents")) {
37453
+ }, T = { method: "GET", headers: p };
37454
+ fetch(c.href, T).then((y) => y.ok ? y.json() : (Ee = !0, y.json().then((M) => (console.error(M), Ce(M))))).then((y) => {
37455
+ if (!Ee) {
37456
+ if (W$1 = y, localStorage.getItem("playerConsents")) {
37404
37457
  try {
37405
37458
  r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
37406
- } catch (T) {
37407
- return console.error(T), ke(T);
37459
+ } catch (M) {
37460
+ return console.error(M), Ce(M);
37408
37461
  }
37409
37462
  return;
37410
37463
  }
37411
- return r(9, O = z.map((T) => ({
37412
- id: T.id,
37464
+ return r(9, O = W$1.map((M) => ({
37465
+ id: M.id,
37413
37466
  status: R.denied.key,
37414
- friendlyName: T.friendlyName,
37415
- tagCode: T.tagCode,
37467
+ friendlyName: M.friendlyName,
37468
+ tagCode: M.tagCode,
37416
37469
  selected: null,
37417
- mustAccept: T.mustAccept
37470
+ mustAccept: M.mustAccept
37418
37471
  }))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
37419
37472
  }
37420
- }).catch((y) => (console.error(y), ke(y))).finally(() => {
37421
- r(10, ae = !1);
37473
+ }).catch((y) => (console.error(y), Ce(y))).finally(() => {
37474
+ r(10, se = !1);
37422
37475
  });
37423
- }, hr = (c) => {
37424
- const g = /* @__PURE__ */ new Map();
37425
- return c.forEach((M) => {
37426
- g.has(M.category.categoryTagCode) || g.set(M.category.categoryTagCode, M.category);
37427
- }), Array.from(g.values());
37428
- }, dr = (c) => {
37429
- const g = localStorage.getItem("categoryToggle" + b);
37430
- if (g === null) {
37431
- const M = c.reduce(
37432
- (y, T) => (y[T.categoryTagCode] = !1, y),
37476
+ }, gr = (c) => {
37477
+ const p = /* @__PURE__ */ new Map();
37478
+ return c.forEach((T) => {
37479
+ p.has(T.category.categoryTagCode) || p.set(T.category.categoryTagCode, T.category);
37480
+ }), Array.from(p.values());
37481
+ }, pr = (c) => {
37482
+ const p = localStorage.getItem("categoryToggle" + C);
37483
+ if (p === null) {
37484
+ const T = c.reduce(
37485
+ (y, M) => (y[M.categoryTagCode] = !1, y),
37433
37486
  {}
37434
37487
  );
37435
- return localStorage.setItem("categoryToggle" + b, JSON.stringify(M)), M;
37488
+ return localStorage.setItem("categoryToggle" + C, JSON.stringify(T)), T;
37436
37489
  } else
37437
- return JSON.parse(g);
37438
- }, mr = () => {
37490
+ return JSON.parse(p);
37491
+ }, fr = () => {
37439
37492
  O.forEach((c) => {
37440
- r(12, W$1[c.tagCode] = c.status === R.accepted.value, W$1);
37441
- }), r(13, U = { ...W$1 });
37442
- }, pr = () => {
37443
- r(13, U = { ...W$1 }), r(11, G = { ...be });
37444
- }, gr = async () => {
37445
- if (!_e)
37493
+ r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
37494
+ }), r(13, U = { ...Z });
37495
+ }, _r = () => {
37496
+ r(13, U = { ...Z }), r(11, G = { ...ve });
37497
+ }, br = async () => {
37498
+ if (!be)
37446
37499
  return;
37447
- _e = !1;
37448
- const c = [], g = [];
37500
+ be = !1;
37501
+ const c = [], p = [];
37449
37502
  if (Object.keys(U).forEach((y) => {
37450
- const T = O.find((I) => I.tagCode === y);
37451
- U[y] !== W$1[y] && (T ? c.push({
37503
+ const M = O.find((I) => I.tagCode === y);
37504
+ U[y] !== Z[y] && (M ? c.push({
37452
37505
  tagCode: y,
37453
37506
  status: U[y] ? R.accepted.value : R.denied.value
37454
- }) : g.push({
37507
+ }) : p.push({
37455
37508
  tagCode: y,
37456
37509
  status: U[y] ? R.accepted.value : R.denied.value
37457
37510
  }));
37458
- }), !C) {
37459
- localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), be = { ...G }, window.postMessage(
37511
+ }), !_) {
37512
+ localStorage.setItem("categoryToggle" + C, JSON.stringify(G)), ve = { ...G }, window.postMessage(
37460
37513
  {
37461
37514
  type: "NewPlayerConsentData",
37462
- data: JSON.stringify(g)
37515
+ data: JSON.stringify(p)
37463
37516
  },
37464
37517
  window.location.href
37465
- ), _e = !0;
37518
+ ), be = !0;
37466
37519
  return;
37467
37520
  }
37468
- const M = new URL(`${a}/api/v1/gm/user-consents/${b}`);
37521
+ const T = new URL(`${a}/api/v1/gm/user-consents/${C}`);
37469
37522
  try {
37470
37523
  const y = await Promise.allSettled([
37471
- g.length > 0 && le(M.href, "updateConsentsError", {
37524
+ p.length > 0 && ce(T.href, "updateConsentsError", {
37472
37525
  method: "POST",
37473
37526
  headers: {
37474
- "X-SessionId": _,
37527
+ "X-SessionId": v,
37475
37528
  "Content-Type": "application/json"
37476
37529
  },
37477
- body: JSON.stringify({ userConsents: g })
37530
+ body: JSON.stringify({ userConsents: p })
37478
37531
  }),
37479
- c.length > 0 && le(M.href, "updateConsentsError", {
37532
+ c.length > 0 && ce(T.href, "updateConsentsError", {
37480
37533
  method: "PATCH",
37481
37534
  headers: {
37482
- "X-SessionId": _,
37535
+ "X-SessionId": v,
37483
37536
  "Content-Type": "application/json"
37484
37537
  },
37485
37538
  body: JSON.stringify({ userConsents: c })
37486
37539
  })
37487
37540
  ]);
37488
- y.forEach((T, I) => {
37489
- if (T.status === "rejected" || T.value.ok === !1) {
37490
- const F = I < g.length ? g[I] : c[I - g.length];
37491
- r(13, U[F.tagCode] = W$1[F.tagCode], U);
37541
+ y.forEach((M, I) => {
37542
+ if (M.status === "rejected" || M.value.ok === !1) {
37543
+ const F = I < p.length ? p[I] : c[I - p.length];
37544
+ r(13, U[F.tagCode] = Z[F.tagCode], U);
37492
37545
  }
37493
- }), y.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(G)), be = { ...G }, window.postMessage(
37546
+ }), y.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(G)), ve = { ...G }, window.postMessage(
37494
37547
  {
37495
37548
  type: "PlayerConsentUpdated",
37496
37549
  success: !0
37497
37550
  },
37498
37551
  window.location.href
37499
- ), r(12, W$1 = { ...U }));
37552
+ ), r(12, Z = { ...U }));
37500
37553
  } catch (y) {
37501
- Ee(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
37554
+ ke(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
37502
37555
  {
37503
37556
  type: "PlayerConsentUpdated",
37504
37557
  success: !1
@@ -37506,57 +37559,58 @@ function Ii(e, t, r) {
37506
37559
  window.location.href
37507
37560
  );
37508
37561
  } finally {
37509
- _e = !0, r(14, se = !1);
37562
+ be = !0, r(14, le = !1);
37510
37563
  }
37511
- }, fr = (c) => {
37512
- const g = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
37564
+ }, vr = (c) => {
37565
+ const p = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
37513
37566
  "Content-Type": "application/json",
37514
37567
  Accept: "application/json"
37515
37568
  }, y = {
37516
37569
  playerConsents: O,
37517
37570
  registrationId: c
37518
- }, T = {
37571
+ }, M = {
37519
37572
  method: "POST",
37520
37573
  body: JSON.stringify(y),
37521
- headers: M
37574
+ headers: T
37522
37575
  };
37523
- fetch(g.href, T).then((I) => {
37524
- I.ok || (ye = !0);
37525
- }).catch((I) => (console.error(I), ke(I))).finally(() => {
37526
- r(10, ae = !1);
37576
+ fetch(p.href, M).then((I) => {
37577
+ I.ok || (Ee = !0);
37578
+ }).catch((I) => (console.error(I), Ce(I))).finally(() => {
37579
+ r(10, se = !1);
37527
37580
  });
37528
- }, et = (c) => {
37529
- O.filter((g) => g.category.categoryTagCode === c).forEach((g) => {
37530
- g.status = g.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[g.tagCode] = G[c] || !1, U);
37531
- }), r(14, se = tt());
37532
- }, Be = (c, g, M) => {
37533
- const y = O.find((F) => F.id === M), T = g ? "value" : "key";
37581
+ }, nt = (c) => {
37582
+ O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
37583
+ p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = G[c] || !1, U);
37584
+ }), r(14, le = it());
37585
+ }, ze = (c, p, T) => {
37586
+ const y = O.find((F) => F.id === T), M = p ? "value" : "key";
37534
37587
  let I;
37535
- if (!g && y.mustAccept) {
37536
- const F = Array.from(ve.children);
37537
- for (const ce of F)
37538
- if (I = Array.from(ce.children).find((Mr) => Mr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I) break;
37588
+ if (!p && y.mustAccept) {
37589
+ const F = Array.from(ye.children);
37590
+ for (const ue of F)
37591
+ if (I = Array.from(ue.children).find((Ar) => Ar.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
37592
+ break;
37539
37593
  }
37540
- if (y.status === R.accepted[T] ? (y.status = R.denied[T], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[T], I && (I.innerHTML = "")), g) {
37594
+ if (y.status === R.accepted[M] ? (y.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[M], I && (I.innerHTML = "")), p) {
37541
37595
  r(13, U[y.tagCode] = !U[y.tagCode], U);
37542
- const F = O.filter((ce) => ce.category.categoryTagCode === g.categoryTagCode).every((ce) => ce.status !== R.denied.value);
37543
- r(11, G[g.categoryTagCode] = F, G);
37596
+ const F = O.filter((ue) => ue.category.categoryTagCode === p.categoryTagCode).every((ue) => ue.status !== R.denied.value);
37597
+ r(11, G[p.categoryTagCode] = F, G);
37544
37598
  }
37545
- _r();
37546
- }, _r = ((c, g) => {
37547
- let M;
37599
+ yr();
37600
+ }, yr = ((c, p) => {
37601
+ let T;
37548
37602
  return function(...y) {
37549
- const T = this;
37550
- clearTimeout(M), M = setTimeout(
37603
+ const M = this;
37604
+ clearTimeout(T), T = setTimeout(
37551
37605
  () => {
37552
- c.apply(T, y);
37606
+ c.apply(M, y);
37553
37607
  },
37554
- g
37608
+ p
37555
37609
  );
37556
37610
  };
37557
- })(() => br(), 500), br = () => {
37558
- r(14, se = tt()), i || (window.postMessage({ type: "isConsentsValid", isValid: se }), localStorage.setItem("playerConsents", JSON.stringify(O)));
37559
- }, tt = () => O.filter((g) => O.some((M) => g.tagCode === M.tagCode && M.mustAccept && (g.status === R.denied.key || g.status === R.denied.value))).length === 0, ke = (c) => {
37611
+ })(() => Er(), 500), Er = () => {
37612
+ r(14, le = it()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
37613
+ }, it = () => O.filter((p) => O.some((T) => p.tagCode === T.tagCode && T.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Ce = (c) => {
37560
37614
  window.postMessage(
37561
37615
  {
37562
37616
  type: "WidgetNotification",
@@ -37564,46 +37618,46 @@ function Ii(e, t, r) {
37564
37618
  },
37565
37619
  window.location.href
37566
37620
  );
37567
- }, vr = (c) => {
37568
- c.data && c.data.type !== "setUpPlayerConsents" || fr(c.data.registerid);
37621
+ }, kr = (c) => {
37622
+ c.data && c.data.type !== "setUpPlayerConsents" || vr(c.data.registerid);
37569
37623
  };
37570
37624
  W(() => {
37571
37625
  setTimeout(
37572
37626
  () => {
37573
- r(25, p = !0);
37627
+ r(25, S = !0);
37574
37628
  },
37575
37629
  50
37576
37630
  );
37577
- const c = (g) => vr(g);
37631
+ const c = (p) => kr(p);
37578
37632
  return window.addEventListener("message", c), () => {
37579
- window.removeEventListener("message", c);
37633
+ window.emMessageBus && g && g.unsubscribe(), window.removeEventListener("message", c);
37580
37634
  };
37581
37635
  });
37582
- function yr(c) {
37636
+ function Cr(c) {
37583
37637
  G[c.categoryTagCode] = this.checked, r(11, G);
37584
37638
  }
37585
- const Er = (c) => et(c.categoryTagCode), kr = (c, g) => g.category.categoryTagCode === c.categoryTagCode, Cr = (c, g) => Be(g, c.category, c.id), Sr = (c, g) => Be(g, null, c.id);
37586
- function xr(c) {
37639
+ const Sr = (c) => nt(c.categoryTagCode), xr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Mr = (c, p) => ze(p, c.category, c.id), Tr = (c, p) => ze(p, null, c.id);
37640
+ function wr(c) {
37587
37641
  E[c ? "unshift" : "push"](() => {
37588
- ve = c, r(15, ve);
37642
+ ye = c, r(15, ye);
37589
37643
  });
37590
37644
  }
37591
- function Tr(c) {
37645
+ function Nr(c) {
37592
37646
  E[c ? "unshift" : "push"](() => {
37593
37647
  f = c, r(5, f);
37594
37648
  });
37595
37649
  }
37596
37650
  return e.$$set = (c) => {
37597
- "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, v = c.modalconsents);
37651
+ "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, b = c.modalconsents);
37598
37652
  }, e.$$.update = () => {
37599
37653
  e.$$.dirty[0] & /*isMounted, session*/
37600
- 33554433 && p && i && (lr(), cr()), e.$$.dirty[0] & /*session*/
37601
- 1 && (i || ur()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
37654
+ 33554433 && S && i && (hr(), dr()), e.$$.dirty[0] & /*session*/
37655
+ 1 && (i || mr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
37602
37656
  34 && s && f && ft$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
37603
37657
  36 && h && f && dt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
37604
- 40 && f && at$1(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
37605
- 4194304 && l && ar(), e.$$.dirty[0] & /*translationurl*/
37606
- 8388608 && m && sr();
37658
+ 40 && f && at(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
37659
+ 4194304 && l && cr(), e.$$.dirty[0] & /*translationurl*/
37660
+ 8388608 && m && ur();
37607
37661
  }, [
37608
37662
  i,
37609
37663
  s,
@@ -37611,42 +37665,42 @@ function Ii(e, t, r) {
37611
37665
  u,
37612
37666
  d,
37613
37667
  f,
37614
- x,
37615
37668
  P,
37616
- E$1,
37669
+ k,
37670
+ z,
37617
37671
  O,
37618
- ae,
37672
+ se,
37619
37673
  G,
37620
- W$1,
37674
+ Z,
37621
37675
  U,
37622
- se,
37623
- ve,
37676
+ le,
37677
+ ye,
37624
37678
  n,
37625
- gr,
37626
- et,
37627
- Be,
37679
+ br,
37680
+ nt,
37681
+ ze,
37628
37682
  o,
37629
37683
  a,
37630
37684
  l,
37631
37685
  m,
37632
- v,
37633
- p,
37634
- yr,
37635
- Er,
37636
- kr,
37686
+ b,
37687
+ S,
37637
37688
  Cr,
37638
37689
  Sr,
37639
37690
  xr,
37640
- Tr
37691
+ Mr,
37692
+ Tr,
37693
+ wr,
37694
+ Nr
37641
37695
  ];
37642
37696
  }
37643
- class ji extends lt$1 {
37697
+ class Ri extends lt$1 {
37644
37698
  constructor(t) {
37645
37699
  super(), ct$1(
37646
37700
  this,
37647
37701
  t,
37648
- Ii,
37649
- Oi,
37702
+ Li,
37703
+ ji,
37650
37704
  z,
37651
37705
  {
37652
37706
  session: 0,
@@ -37660,7 +37714,7 @@ class ji extends lt$1 {
37660
37714
  translationurl: 23,
37661
37715
  modalconsents: 24
37662
37716
  },
37663
- Ai,
37717
+ Pi,
37664
37718
  [-1, -1, -1]
37665
37719
  );
37666
37720
  }
@@ -37725,7 +37779,7 @@ class ji extends lt$1 {
37725
37779
  this.$$set({ modalconsents: t }), _();
37726
37780
  }
37727
37781
  }
37728
- ot$1(ji, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
37782
+ ot(Ri, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
37729
37783
 
37730
37784
  function r(t) {
37731
37785
  return function(...n) {
@@ -37739,7 +37793,7 @@ function r(t) {
37739
37793
  };
37740
37794
  }
37741
37795
  customElements.define = r(customElements.define);
37742
- !customElements.get("player-consents") && customElements.define("player-consents", ji.element);
37796
+ !customElements.get("player-consents") && customElements.define("player-consents", Ri.element);
37743
37797
 
37744
37798
  const generalRegistrationCss = "*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.registration__form.hidden {\n display: none;\n}\n\n.registration {\n font-family: \"Roboto\";\n font-style: normal;\n font-family: sans-serif;\n display: flex;\n flex-direction: column;\n gap: 24px;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n}\n.registration__wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.registration__error-message {\n color: var(--emw--color-error, var(--emw--color-red, #ed0909));\n font-size: 13px;\n display: block;\n justify-content: center;\n text-align: center;\n}\n.registration__form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.registration__buttons-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n position: relative;\n}\n.registration__button {\n border-radius: 5px;\n background: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n border: 1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n color: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));\n text-transform: uppercase;\n font-size: 20px;\n height: 44px;\n width: 100%;\n margin: 0px auto;\n padding: 10px 20px;\n font-weight: normal;\n box-shadow: none;\n cursor: pointer;\n}\n.registration__button--disabled {\n background: var(--emw--color-gray-100, #E6E6E6);\n border: 1px solid var(--emw--color-gray-150, #828282);\n pointer-events: none;\n box-shadow: none;\n}\n.registration__button--first-step {\n display: none;\n}\n\n@container (min-width: 450px) {\n .registration__form {\n grid-template-columns: repeat(2, 1fr);\n }\n .registration__buttons-wrapper {\n flex-direction: row-reverse;\n gap: 15px;\n }\n}\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n width: 50px;\n height: 50px;\n}\n.spinner .path {\n stroke: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}";
37745
37799
  const GeneralRegistrationStyle0 = generalRegistrationCss;
@@ -37749,36 +37803,6 @@ const GeneralRegistration = class {
37749
37803
  index.registerInstance(this, hostRef);
37750
37804
  this.registrationWidgetLoaded = index.createEvent(this, "registrationWidgetLoaded", 7);
37751
37805
  this.registrationStepUpdated = index.createEvent(this, "registrationStepUpdated", 7);
37752
- /**
37753
- * Currently selected language
37754
- */
37755
- this.language = 'en';
37756
- /**
37757
- * Client custom styling via inline styles
37758
- */
37759
- this.clientStyling = '';
37760
- /**
37761
- * Client custom styling via url
37762
- */
37763
- this.clientStylingUrl = '';
37764
- /**
37765
- * Translations via URL
37766
- */
37767
- this.translationUrl = '';
37768
- /**
37769
- * Affiliate code to be passed in and sent in the registration.
37770
- */
37771
- this.btag = null;
37772
- /**
37773
- * Boolean flag that tells inputs to emit an event on click.
37774
- */
37775
- this.emitOnClick = false;
37776
- this.isConsentValid = false;
37777
- this.isConsentReady = false;
37778
- this.isLoading = true;
37779
- this.forms = [];
37780
- this.limitStylingAppends = false;
37781
- this.autofilled = false;
37782
37806
  this.listOfInputValues = [];
37783
37807
  this.listOfInputValidity = [];
37784
37808
  this.listOfActions = [];
@@ -37806,6 +37830,25 @@ const GeneralRegistration = class {
37806
37830
  setTimeout(() => { this.host.shadowRoot.prepend(cssFile); }, 1);
37807
37831
  });
37808
37832
  };
37833
+ this.endpoint = undefined;
37834
+ this.language = 'en';
37835
+ this.clientStyling = '';
37836
+ this.clientStylingUrl = '';
37837
+ this.translationUrl = '';
37838
+ this.dateFormat = undefined;
37839
+ this.buttonInsideForm = undefined;
37840
+ this.btag = null;
37841
+ this.emitOnClick = false;
37842
+ this.errorMessage = undefined;
37843
+ this.isFormValid = undefined;
37844
+ this.isConsentValid = false;
37845
+ this.isConsentReady = false;
37846
+ this.isLoading = true;
37847
+ this.isLoadingPOST = undefined;
37848
+ this.registrationStep = undefined;
37849
+ this.forms = [];
37850
+ this.limitStylingAppends = false;
37851
+ this.autofilled = false;
37809
37852
  }
37810
37853
  sendStep() {
37811
37854
  this.registrationStepUpdated.emit(this.registrationStep);
@@ -38369,12 +38412,6 @@ const NumberInput = class {
38369
38412
  index.registerInstance(this, hostRef);
38370
38413
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
38371
38414
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
38372
- /**
38373
- * Client custom styling via inline style
38374
- */
38375
- this.clientStyling = '';
38376
- this.limitStylingAppends = false;
38377
- this.showTooltip = false;
38378
38415
  this.validationPattern = '';
38379
38416
  this.touched = false;
38380
38417
  this.handleInput = (event) => {
@@ -38399,6 +38436,20 @@ const NumberInput = class {
38399
38436
  sheet.innerHTML = this.clientStyling;
38400
38437
  this.stylingContainer.prepend(sheet);
38401
38438
  };
38439
+ this.name = undefined;
38440
+ this.displayName = undefined;
38441
+ this.placeholder = undefined;
38442
+ this.validation = undefined;
38443
+ this.defaultValue = undefined;
38444
+ this.autofilled = undefined;
38445
+ this.tooltip = undefined;
38446
+ this.language = undefined;
38447
+ this.emitValue = undefined;
38448
+ this.clientStyling = '';
38449
+ this.errorMessage = undefined;
38450
+ this.isValid = undefined;
38451
+ this.limitStylingAppends = false;
38452
+ this.showTooltip = false;
38402
38453
  }
38403
38454
  handleStylingChange(newValue, oldValue) {
38404
38455
  if (newValue !== oldValue)
@@ -39287,17 +39338,6 @@ const PasswordInput = class {
39287
39338
  this.sendOriginalValidityState = index.createEvent(this, "sendOriginalValidityState", 7);
39288
39339
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
39289
39340
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
39290
- /**
39291
- * Default value for the input.
39292
- */
39293
- this.defaultValue = '';
39294
- /**
39295
- * Client custom styling via inline style
39296
- */
39297
- this.clientStyling = '';
39298
- this.limitStylingAppends = false;
39299
- this.showTooltip = false;
39300
- this.value = '';
39301
39341
  this.touched = false;
39302
39342
  this.originalValid = false;
39303
39343
  this.validationPattern = '';
@@ -39336,6 +39376,24 @@ const PasswordInput = class {
39336
39376
  sheet.innerHTML = this.clientStyling;
39337
39377
  this.stylingContainer.prepend(sheet);
39338
39378
  };
39379
+ this.name = undefined;
39380
+ this.displayName = undefined;
39381
+ this.placeholder = undefined;
39382
+ this.defaultValue = '';
39383
+ this.autofilled = undefined;
39384
+ this.tooltip = undefined;
39385
+ this.validation = undefined;
39386
+ this.language = undefined;
39387
+ this.emitValue = undefined;
39388
+ this.isDuplicateInput = undefined;
39389
+ this.clientStyling = '';
39390
+ this.isValid = undefined;
39391
+ this.errorMessage = undefined;
39392
+ this.limitStylingAppends = false;
39393
+ this.showTooltip = false;
39394
+ this.passwordComplexity = undefined;
39395
+ this.showPopup = undefined;
39396
+ this.value = '';
39339
39397
  }
39340
39398
  handleStylingChange(newValue, oldValue) {
39341
39399
  if (newValue !== oldValue)
@@ -39520,17 +39578,23 @@ const RadioInput = class {
39520
39578
  index.registerInstance(this, hostRef);
39521
39579
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
39522
39580
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
39523
- /**
39524
- * Client custom styling via inline style
39525
- */
39526
- this.clientStyling = '';
39527
- this.limitStylingAppends = false;
39528
- this.showTooltip = false;
39529
39581
  this.setClientStyling = () => {
39530
39582
  let sheet = document.createElement('style');
39531
39583
  sheet.innerHTML = this.clientStyling;
39532
39584
  this.stylingContainer.prepend(sheet);
39533
39585
  };
39586
+ this.name = undefined;
39587
+ this.displayName = undefined;
39588
+ this.optionsGroup = undefined;
39589
+ this.validation = undefined;
39590
+ this.tooltip = undefined;
39591
+ this.language = undefined;
39592
+ this.emitValue = undefined;
39593
+ this.clientStyling = '';
39594
+ this.errorMessage = undefined;
39595
+ this.isValid = undefined;
39596
+ this.limitStylingAppends = false;
39597
+ this.showTooltip = false;
39534
39598
  }
39535
39599
  handleStylingChange(newValue, oldValue) {
39536
39600
  if (newValue !== oldValue)
@@ -45150,20 +45214,6 @@ const SelectInput = class {
45150
45214
  index.registerInstance(this, hostRef);
45151
45215
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
45152
45216
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
45153
- /**
45154
- * Default value for the input.
45155
- */
45156
- this.defaultValue = '';
45157
- /**
45158
- * Options of the input.
45159
- */
45160
- this.options = [];
45161
- /**
45162
- * Client custom styling via inline style
45163
- */
45164
- this.clientStyling = '';
45165
- this.limitStylingAppends = false;
45166
- this.showTooltip = false;
45167
45217
  this.touched = false;
45168
45218
  this.handleChange = (event) => {
45169
45219
  this.touched = true;
@@ -45192,6 +45242,22 @@ const SelectInput = class {
45192
45242
  sheet.innerHTML = this.clientStyling;
45193
45243
  this.stylingContainer.prepend(sheet);
45194
45244
  };
45245
+ this.name = undefined;
45246
+ this.displayName = undefined;
45247
+ this.placeholder = undefined;
45248
+ this.action = undefined;
45249
+ this.defaultValue = '';
45250
+ this.autofilled = undefined;
45251
+ this.tooltip = undefined;
45252
+ this.options = [];
45253
+ this.validation = undefined;
45254
+ this.language = undefined;
45255
+ this.emitValue = undefined;
45256
+ this.clientStyling = '';
45257
+ this.errorMessage = undefined;
45258
+ this.isValid = undefined;
45259
+ this.limitStylingAppends = false;
45260
+ this.showTooltip = false;
45195
45261
  }
45196
45262
  handleStylingChange(newValue, oldValue) {
45197
45263
  if (newValue !== oldValue)
@@ -45308,12 +45374,6 @@ const TelInput = class {
45308
45374
  index.registerInstance(this, hostRef);
45309
45375
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
45310
45376
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
45311
- /**
45312
- * Client custom styling via inline style
45313
- */
45314
- this.clientStyling = '';
45315
- this.limitStylingAppends = false;
45316
- this.showTooltip = false;
45317
45377
  this.validationPattern = '';
45318
45378
  this.touched = false;
45319
45379
  this.handleInput = (event) => {
@@ -45339,6 +45399,22 @@ const TelInput = class {
45339
45399
  sheet.innerHTML = this.clientStyling;
45340
45400
  this.stylingContainer.prepend(sheet);
45341
45401
  };
45402
+ this.name = undefined;
45403
+ this.displayName = undefined;
45404
+ this.placeholder = undefined;
45405
+ this.showLabels = undefined;
45406
+ this.action = undefined;
45407
+ this.validation = undefined;
45408
+ this.defaultValue = undefined;
45409
+ this.autofilled = undefined;
45410
+ this.tooltip = undefined;
45411
+ this.language = undefined;
45412
+ this.emitValue = undefined;
45413
+ this.clientStyling = '';
45414
+ this.isValid = undefined;
45415
+ this.errorMessage = undefined;
45416
+ this.limitStylingAppends = false;
45417
+ this.showTooltip = false;
45342
45418
  }
45343
45419
  handleStylingChange(newValue, oldValue) {
45344
45420
  if (newValue !== oldValue)
@@ -45473,17 +45549,6 @@ const TextInput = class {
45473
45549
  index.registerInstance(this, hostRef);
45474
45550
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
45475
45551
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
45476
- /**
45477
- * Default value for the input.
45478
- */
45479
- this.defaultValue = '';
45480
- /**
45481
- * Client custom styling via inline style
45482
- */
45483
- this.clientStyling = '';
45484
- this.errorMessage = '';
45485
- this.limitStylingAppends = false;
45486
- this.showTooltip = false;
45487
45552
  this.value = '';
45488
45553
  this.validationPattern = '';
45489
45554
  this.duplicateInputValue = null;
@@ -45513,6 +45578,22 @@ const TextInput = class {
45513
45578
  sheet.innerHTML = this.clientStyling;
45514
45579
  this.stylingContainer.prepend(sheet);
45515
45580
  };
45581
+ this.name = undefined;
45582
+ this.displayName = undefined;
45583
+ this.placeholder = undefined;
45584
+ this.validation = undefined;
45585
+ this.defaultValue = '';
45586
+ this.autofilled = undefined;
45587
+ this.tooltip = undefined;
45588
+ this.language = undefined;
45589
+ this.checkValidity = undefined;
45590
+ this.emitValue = undefined;
45591
+ this.isDuplicateInput = undefined;
45592
+ this.clientStyling = '';
45593
+ this.isValid = undefined;
45594
+ this.errorMessage = '';
45595
+ this.limitStylingAppends = false;
45596
+ this.showTooltip = false;
45516
45597
  }
45517
45598
  handleStylingChange(newValue, oldValue) {
45518
45599
  if (newValue !== oldValue)
@@ -45642,23 +45723,27 @@ const ToggleCheckboxInput = class {
45642
45723
  index.registerInstance(this, hostRef);
45643
45724
  this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
45644
45725
  this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
45645
- /**
45646
- * Default value for the input.
45647
- */
45648
- this.defaultValue = '';
45649
- /**
45650
- * Client custom styling via inline style
45651
- */
45652
- this.clientStyling = '';
45653
- this.limitStylingAppends = false;
45654
- this.showTooltip = false;
45655
- this.showFields = this.defaultValue === 'true';
45656
45726
  this.value = '';
45657
45727
  this.setClientStyling = () => {
45658
45728
  let sheet = document.createElement('style');
45659
45729
  sheet.innerHTML = this.clientStyling;
45660
45730
  this.stylingContainer.prepend(sheet);
45661
45731
  };
45732
+ this.name = undefined;
45733
+ this.displayName = undefined;
45734
+ this.defaultValue = '';
45735
+ this.options = undefined;
45736
+ this.autofilled = undefined;
45737
+ this.tooltip = undefined;
45738
+ this.validation = undefined;
45739
+ this.language = undefined;
45740
+ this.emitValue = undefined;
45741
+ this.clientStyling = '';
45742
+ this.errorMessage = undefined;
45743
+ this.isValid = undefined;
45744
+ this.limitStylingAppends = false;
45745
+ this.showTooltip = false;
45746
+ this.showFields = this.defaultValue === 'true';
45662
45747
  }
45663
45748
  handleStylingChange(newValue, oldValue) {
45664
45749
  if (newValue !== oldValue)