@everymatrix/player-profile-info 1.80.12 → 1.80.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/PlayerProfileInfo-CDDBCA8T.cjs +21 -0
- package/components/{PlayerProfileInfo-BXgVbJo4.js → PlayerProfileInfo-CtryhiO_.js} +2010 -1930
- package/components/{PlayerProfileInfo-CH-E60T0.js → PlayerProfileInfo-qC4II6ak.js} +1902 -1822
- package/es2015/player-profile-info.cjs +1 -1
- package/es2015/player-profile-info.js +1 -1
- package/esnext/player-profile-info.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-YW9b062G.cjs → index-b2193545-9K-aI7zC.cjs} +1 -1
- package/stencil/{index-b2193545-BeKKnKhR.js → index-b2193545-DsMHU6jb.js} +1 -1
- package/stencil/{index-b2193545-HC0t7mHa.js → index-b2193545-R7ZoV-kY.js} +1 -1
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +12 -12
- package/stencil/ui-skeleton-ed169f8f-CpiCXJrP.cjs +55 -0
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +12 -12
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/components/PlayerProfileInfo-DrISBY-b.cjs +0 -21
- package/stencil/ui-skeleton-ae35c6f2-xLf3HyeB.cjs +0 -55
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";var as=Object.defineProperty,ss=Object.defineProperties;var ls=Object.getOwnPropertyDescriptors;var Ao=Object.getOwnPropertySymbols;var us=Object.prototype.hasOwnProperty,cs=Object.prototype.propertyIsEnumerable;var Ei=(e,t,r)=>t in e?as(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ko=(e,t)=>{for(var r in t||(t={}))us.call(t,r)&&Ei(e,r,t[r]);if(Ao)for(var r of Ao(t))cs.call(t,r)&&Ei(e,r,t[r]);return e},xo=(e,t)=>ss(e,ls(t));var Me=(e,t,r)=>(Ei(e,typeof t!="symbol"?t+"":t,r),r);var Ne=(e,t,r)=>new Promise((n,i)=>{var o=c=>{try{u(r.next(c))}catch(p){i(p)}},a=c=>{try{u(r.throw(c))}catch(p){i(p)}},u=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,a);u((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function xe(){}function Ea(e){return e()}function Bo(){return Object.create(null)}function ft(e){e.forEach(Ea)}function Zt(e){return typeof e=="function"}function wa(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function fs(e){return Object.keys(e).length===0}function Aa(e,...t){if(e==null){for(const n of t)n(void 0);return xe}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ps(e,t,r){e.$$.on_destroy.push(Aa(t,r))}function s(e,t){e.appendChild(t)}function hs(e,t,r){const n=ds(e);if(!n.getElementById(t)){const i=d("style");i.id=t,i.textContent=r,ms(n,i)}}function ds(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ms(e,t){return s(e.head||e,t),t.sheet}function T(e,t,r){e.insertBefore(t,r||null)}function I(e){e.parentNode&&e.parentNode.removeChild(e)}function Wt(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function d(e){return document.createElement(e)}function Ut(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function A(e){return document.createTextNode(e)}function P(){return A(" ")}function ka(){return A("")}function G(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function l(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function vs(e){return Array.from(e.childNodes)}function k(e,t){t=""+t,e.data!==t&&(e.data=t)}function q(e,t){e.value=t==null?"":t}function Oo(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function bs(e){const t=e.querySelector(":checked");return t&&t.__value}function ys(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Gr;function Fr(e){Gr=e}function gs(){if(!Gr)throw new Error("Function called outside component initialization");return Gr}function Cs(e){gs().$$.on_mount.push(e)}const Gt=[],zr=[];let $t=[];const Io=[],_s=Promise.resolve();let Ti=!1;function Ps(){Ti||(Ti=!0,_s.then(ke))}function ei(e){$t.push(e)}const wi=new Set;let Ft=0;function ke(){if(Ft!==0)return;const e=Gr;do{try{for(;Ft<Gt.length;){const t=Gt[Ft];Ft++,Fr(t),Ss(t.$$)}}catch(t){throw Gt.length=0,Ft=0,t}for(Fr(null),Gt.length=0,Ft=0;zr.length;)zr.pop()();for(let t=0;t<$t.length;t+=1){const r=$t[t];wi.has(r)||(wi.add(r),r())}$t.length=0}while(Gt.length);for(;Io.length;)Io.pop()();Ti=!1,wi.clear(),Fr(e)}function Ss(e){if(e.fragment!==null){e.update(),ft(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ei)}}function Es(e){const t=[],r=[];$t.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),$t=t}const ws=new Set;function As(e,t){e&&e.i&&(ws.delete(e),e.i(t))}function Ke(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ks(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),ei(()=>{const o=e.$$.on_mount.map(Ea).filter(Zt);e.$$.on_destroy?e.$$.on_destroy.push(...o):ft(o),e.$$.on_mount=[]}),i.forEach(ei)}function xs(e,t){const r=e.$$;r.fragment!==null&&(Es(r.after_update),ft(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Bs(e,t){e.$$.dirty[0]===-1&&(Gt.push(e),Ps(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Os(e,t,r,n,i,o,a=null,u=[-1]){const c=Gr;Fr(e);const p=e.$$={fragment:null,ctx:[],props:o,update:xe,not_equal:i,bound:Bo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Bo(),dirty:u,skip_bound:!1,root:t.target||c.$$.root};a&&a(p.root);let f=!1;if(p.ctx=r?r(e,t.props||{},(m,b,..._)=>{const E=_.length?_[0]:b;return p.ctx&&i(p.ctx[m],p.ctx[m]=E)&&(!p.skip_bound&&p.bound[m]&&p.bound[m](E),f&&Bs(e,m)),b}):[],p.update(),f=!0,ft(p.before_update),p.fragment=n?n(p.ctx):!1,t.target){if(t.hydrate){const m=vs(t.target);p.fragment&&p.fragment.l(m),m.forEach(I)}else p.fragment&&p.fragment.c();t.intro&&As(e.$$.fragment),ks(e,t.target,t.anchor),ke()}Fr(c)}let xa;typeof HTMLElement=="function"&&(xa=class extends HTMLElement{constructor(t,r,n){super();Me(this,"$$ctor");Me(this,"$$s");Me(this,"$$c");Me(this,"$$cn",!1);Me(this,"$$d",{});Me(this,"$$r",!1);Me(this,"$$p_d",{});Me(this,"$$l",{});Me(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Ne(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=d("slot"),o!=="default"&&l(a,"name",o)},m:function(p,f){T(p,a,f)},d:function(p){p&&I(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=ys(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=Zn(a,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:xo(ko({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const a=Zn(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const a of this.$$l[o]){const u=this.$$c.$on(o,a);this.$$l_u.set(a,u)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Zn(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Zn(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Is(e,t,r,n,i,o){let a=class extends xa{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(a.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(c){var p;c=Zn(u,c,t),this.$$d[u]=c,(p=this.$$c)==null||p.$set({[u]:c})}})}),n.forEach(u=>{Object.defineProperty(a.prototype,u,{get(){var c;return(c=this.$$c)==null?void 0:c[u]}})}),e.element=a,a}class Hs{constructor(){Me(this,"$$");Me(this,"$$set")}$destroy(){xs(this,1),this.$destroy=xe}$on(t,r){if(!Zt(r))return xe;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!fs(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ts="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ts);const zt=[];function Ms(e,t){return{subscribe:ii(e,t).subscribe}}function ii(e,t=xe){let r;const n=new Set;function i(u){if(wa(e,u)&&(e=u,r)){const c=!zt.length;for(const p of n)p[1](),zt.push(p,e);if(c){for(let p=0;p<zt.length;p+=2)zt[p][0](zt[p+1]);zt.length=0}}}function o(u){i(u(e))}function a(u,c=xe){const p=[u,c];return n.add(p),n.size===1&&(r=t(i,o)||xe),u(e),()=>{n.delete(p),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:a}}function Yt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Ms(r,(a,u)=>{let c=!1;const p=[];let f=0,m=xe;const b=()=>{if(f)return;m();const E=t(n?p[0]:p,a,u);o?a(E):m=Zt(E)?E:xe},_=i.map((E,g)=>Aa(E,w=>{p[g]=w,f&=~(1<<g),c&&b()},()=>{f|=1<<g}));return c=!0,b(),function(){ft(_),m(),c=!1}})}function Ns(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ds=function(t){return Ls(t)&&!js(t)};function Ls(e){return!!e&&typeof e=="object"}function js(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Fs(e)}var Rs=typeof Symbol=="function"&&Symbol.for,Us=Rs?Symbol.for("react.element"):60103;function Fs(e){return e.$$typeof===Us}function zs(e){return Array.isArray(e)?[]:{}}function Wr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Vt(zs(e),e,t):e}function Gs(e,t,r){return e.concat(t).map(function(n){return Wr(n,r)})}function Ws(e,t){if(!t.customMerge)return Vt;var r=t.customMerge(e);return typeof r=="function"?r:Vt}function $s(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ho(e){return Object.keys(e).concat($s(e))}function Ba(e,t){try{return t in e}catch(r){return!1}}function Vs(e,t){return Ba(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Qs(e,t,r){var n={};return r.isMergeableObject(e)&&Ho(e).forEach(function(i){n[i]=Wr(e[i],r)}),Ho(t).forEach(function(i){Vs(e,i)||(Ba(e,i)&&r.isMergeableObject(t[i])?n[i]=Ws(i,r)(e[i],t[i],r):n[i]=Wr(t[i],r))}),n}function Vt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Gs,r.isMergeableObject=r.isMergeableObject||Ds,r.cloneUnlessOtherwiseSpecified=Wr;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):Qs(e,t,r):Wr(t,r)}Vt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Vt(n,i,r)},{})};var Xs=Vt,qs=Xs;const Zs=Ns(qs);var Mi=function(e,t){return Mi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Mi(e,t)};function oi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Mi(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Qe=function(){return Qe=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Qe.apply(this,arguments)};function Ys(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Ai(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function ki(e,t){var r=t&&t.cache?t.cache:il,n=t&&t.serializer?t.serializer:rl,i=t&&t.strategy?t.strategy:el;return i(e,{cache:r,serializer:n})}function Js(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ks(e,t,r,n){var i=Js(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function Oa(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(i,o)),o}function Ia(e,t,r,n,i){return r.bind(t,e,n,i)}function el(e,t){var r=e.length===1?Ks:Oa;return Ia(e,this,r,t.cache.create(),t.serializer)}function tl(e,t){return Ia(e,this,Oa,t.cache.create(),t.serializer)}var rl=function(){return JSON.stringify(arguments)},nl=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),il={create:function(){return new nl}},xi={variadic:tl},ti=function(){return ti=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ti.apply(this,arguments)};var B;(function(e){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"})(B||(B={}));var z;(function(e){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"})(z||(z={}));var Qt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Qt||(Qt={}));function To(e){return e.type===z.literal}function ol(e){return e.type===z.argument}function Ha(e){return e.type===z.number}function Ta(e){return e.type===z.date}function Ma(e){return e.type===z.time}function Na(e){return e.type===z.select}function Da(e){return e.type===z.plural}function al(e){return e.type===z.pound}function La(e){return e.type===z.tag}function ja(e){return!!(e&&typeof e=="object"&&e.type===Qt.number)}function Ni(e){return!!(e&&typeof e=="object"&&e.type===Qt.dateTime)}var Ra=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,sl=/(?:[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;function ll(e){var t={};return e.replace(sl,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var W=function(){return W=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},W.apply(this,arguments)};var ul=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function cl(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ul).filter(function(b){return b.length>0}),r=[],n=0,i=t;n<i.length;n++){var o=i[n],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var u=a[0],c=a.slice(1),p=0,f=c;p<f.length;p++){var m=f[p];if(m.length===0)throw new Error("Invalid number skeleton")}r.push({stem:u,options:c})}return r}function fl(e){return e.replace(/^(.*?)-/,"")}var Mo=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ua=/^(@+)?(\+|#+)?[rs]?$/g,pl=/(\*)(0+)|(#+)(0+)|(0+)/g,Fa=/^(0+)$/;function No(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ua,function(r,n,i){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)),""}),t}function za(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function hl(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Fa.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Do(e){var t={},r=za(e);return r||t}function dl(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=fl(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=W(W(W({},t),{notation:"scientific"}),i.options.reduce(function(c,p){return W(W({},c),Do(p))},{}));continue;case"engineering":t=W(W(W({},t),{notation:"engineering"}),i.options.reduce(function(c,p){return W(W({},c),Do(p))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(pl,function(c,p,f,m,b,_){if(p)t.minimumIntegerDigits=f.length;else{if(m&&b)throw new Error("We currently do not support maximum integer digits");if(_)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Fa.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Mo.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Mo,function(c,p,f,m,b,_){return f==="*"?t.minimumFractionDigits=p.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:b&&_?(t.minimumFractionDigits=b.length,t.maximumFractionDigits=b.length+_.length):(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length),""});var o=i.options[0];o==="w"?t=W(W({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=W(W({},t),No(o)));continue}if(Ua.test(i.stem)){t=W(W({},t),No(i.stem));continue}var a=za(i.stem);a&&(t=W(W({},t),a));var u=hl(i.stem);u&&(t=W(W({},t),u))}return t}var Xn={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function ml(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var a=1+(o&1),u=o<2?1:3+(o>>1),c="a",p=vl(t);for((p=="H"||p=="k")&&(u=0);u-- >0;)r+=c;for(;a-- >0;)r=p+r}else i==="J"?r+="H":r+=i}return r}function vl(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Xn[n||""]||Xn[r||""]||Xn["".concat(r,"-001")]||Xn["001"];return i[0]}var Bi,bl=new RegExp("^".concat(Ra.source,"*")),yl=new RegExp("".concat(Ra.source,"*$"));function O(e,t){return{start:e,end:t}}var gl=!!String.prototype.startsWith&&"_a".startsWith("a",1),Cl=!!String.fromCodePoint,_l=!!Object.fromEntries,Pl=!!String.prototype.codePointAt,Sl=!!String.prototype.trimStart,El=!!String.prototype.trimEnd,wl=!!Number.isSafeInteger,Al=wl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Di=!0;try{var kl=Wa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Di=((Bi=kl.exec("a"))===null||Bi===void 0?void 0:Bi[0])==="a"}catch(e){Di=!1}var Lo=gl?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Li=Cl?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0,a;i>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},jo=_l?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],a=o[0],u=o[1];r[a]=u}return r},Ga=Pl?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},xl=Sl?function(t){return t.trimStart()}:function(t){return t.replace(bl,"")},Bl=El?function(t){return t.trimEnd()}:function(t){return t.replace(yl,"")};function Wa(e,t){return new RegExp(e,t)}var ji;if(Di){var Ro=Wa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ji=function(t,r){var n;Ro.lastIndex=r;var i=Ro.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else ji=function(t,r){for(var n=[];;){var i=Ga(t,r);if(i===void 0||$a(i)||Tl(i))break;n.push(i),r+=i>=65536?2:1}return Li.apply(void 0,n)};var Ol=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var u=this.clonePosition();this.bump(),i.push({type:z.pound,location:O(u,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(B.UNMATCHED_CLOSING_TAG,O(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Ri(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:z.literal,value:"<".concat(i,"/>"),location:O(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ri(this.char()))return this.error(B.INVALID_TAG,O(u,this.clonePosition()));var c=this.clonePosition(),p=this.parseTagName();return i!==p?this.error(B.UNMATCHED_CLOSING_TAG,O(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:z.tag,value:i,children:a,location:O(n,this.clonePosition())},err:null}:this.error(B.INVALID_TAG,O(u,this.clonePosition())))}else return this.error(B.UNCLOSED_TAG,O(n,this.clonePosition()))}else return this.error(B.INVALID_TAG,O(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Hl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var u=this.tryParseLeftAngleBracket();if(u){i+=u;continue}break}var c=O(n,this.clonePosition());return{val:{type:z.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Il(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Li.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Li(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(B.EMPTY_ARGUMENT,O(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(B.MALFORMED_ARGUMENT,O(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:z.argument,value:i,location:O(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,O(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(B.MALFORMED_ARGUMENT,O(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=ji(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=O(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),u=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(u){case"":return this.error(B.EXPECT_ARGUMENT_TYPE,O(a,c));case"number":case"date":case"time":{this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var b=Bl(m.val);if(b.length===0)return this.error(B.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()));var _=O(f,this.clonePosition());p={style:b,styleLocation:_}}var E=this.tryParseArgumentClose(i);if(E.err)return E;var g=O(i,this.clonePosition());if(p&&Lo(p==null?void 0:p.style,"::",0)){var w=xl(p.style.slice(2));if(u==="number"){var m=this.parseNumberSkeletonFromString(w,p.styleLocation);return m.err?m:{val:{type:z.number,value:n,location:g,style:m.val},err:null}}else{if(w.length===0)return this.error(B.EXPECT_DATE_TIME_SKELETON,g);var x=w;this.locale&&(x=ml(w,this.locale));var b={type:Qt.dateTime,pattern:x,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?ll(x):{}},M=u==="date"?z.date:z.time;return{val:{type:M,value:n,location:g,style:b},err:null}}}return{val:{type:u==="number"?z.number:u==="date"?z.date:z.time,value:n,location:g,style:(o=p==null?void 0:p.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS,O(S,ti({},S)));this.bumpSpace();var N=this.parseIdentifierIfPossible(),j=0;if(u!=="select"&&N.value==="offset"){if(!this.bumpIf(":"))return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),N=this.parseIdentifierIfPossible(),j=m.val}var $=this.tryParsePluralOrSelectOptions(t,u,r,N);if($.err)return $;var E=this.tryParseArgumentClose(i);if(E.err)return E;var ae=O(i,this.clonePosition());return u==="select"?{val:{type:z.select,value:n,options:jo($.val),location:ae},err:null}:{val:{type:z.plural,value:n,options:jo($.val),offset:j,pluralType:u==="plural"?"cardinal":"ordinal",location:ae},err:null}}default:return this.error(B.INVALID_ARGUMENT_TYPE,O(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,O(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,O(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=cl(t)}catch(i){return this.error(B.INVALID_NUMBER_SKELETON,r)}return{val:{type:Qt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?dl(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,u=[],c=new Set,p=i.value,f=i.location;;){if(p.length===0){var m=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var b=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR,B.INVALID_PLURAL_ARGUMENT_SELECTOR);if(b.err)return b;f=O(m,this.clonePosition()),p=this.message.slice(m.offset,this.offset())}else break}if(c.has(p))return this.error(r==="select"?B.DUPLICATE_SELECT_ARGUMENT_SELECTOR:B.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);p==="other"&&(a=!0),this.bumpSpace();var _=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,O(this.clonePosition(),this.clonePosition()));var E=this.parseMessage(t+1,r,n);if(E.err)return E;var g=this.tryParseArgumentClose(_);if(g.err)return g;u.push([p,{value:E.val,location:O(_,this.clonePosition())}]),c.add(p),this.bumpSpace(),o=this.parseIdentifierIfPossible(),p=o.value,f=o.location}return u.length===0?this.error(r==="select"?B.EXPECT_SELECT_ARGUMENT_SELECTOR:B.EXPECT_PLURAL_ARGUMENT_SELECTOR,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(B.MISSING_OTHER_CLAUSE,O(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)o=!0,a=a*10+(u-48),this.bump();else break}var c=O(i,this.clonePosition());return o?(a*=n,Al(a)?{val:a,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Ga(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();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)}},e.prototype.bumpIf=function(t){if(Lo(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&$a(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Ri(e){return e>=97&&e<=122||e>=65&&e<=90}function Il(e){return Ri(e)||e===47}function Hl(e){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}function $a(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Tl(e){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}function Ui(e){e.forEach(function(t){if(delete t.location,Na(t)||Da(t))for(var r in t.options)delete t.options[r].location,Ui(t.options[r].value);else Ha(t)&&ja(t.style)||(Ta(t)||Ma(t))&&Ni(t.style)?delete t.style.location:La(t)&&Ui(t.children)})}function Ml(e,t){t===void 0&&(t={}),t=ti({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ol(e,t).parse();if(r.err){var n=SyntaxError(B[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Ui(r.val),r.val}var Xt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Xt||(Xt={}));var ai=function(e){oi(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Uo=function(e){oi(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Xt.INVALID_VALUE,o)||this}return t}(ai),Nl=function(e){oi(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Xt.INVALID_VALUE,i)||this}return t}(ai),Dl=function(e){oi(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Xt.MISSING_VALUE,n)||this}return t}(ai),oe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(oe||(oe={}));function Ll(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==oe.literal||r.type!==oe.literal?t.push(r):n.value+=r.value,t},[])}function jl(e){return typeof e=="function"}function Yn(e,t,r,n,i,o,a){if(e.length===1&&To(e[0]))return[{type:oe.literal,value:e[0].value}];for(var u=[],c=0,p=e;c<p.length;c++){var f=p[c];if(To(f)){u.push({type:oe.literal,value:f.value});continue}if(al(f)){typeof o=="number"&&u.push({type:oe.literal,value:r.getNumberFormat(t).format(o)});continue}var m=f.value;if(!(i&&m in i))throw new Dl(m,a);var b=i[m];if(ol(f)){(!b||typeof b=="string"||typeof b=="number")&&(b=typeof b=="string"||typeof b=="number"?String(b):""),u.push({type:typeof b=="string"?oe.literal:oe.object,value:b});continue}if(Ta(f)){var _=typeof f.style=="string"?n.date[f.style]:Ni(f.style)?f.style.parsedOptions:void 0;u.push({type:oe.literal,value:r.getDateTimeFormat(t,_).format(b)});continue}if(Ma(f)){var _=typeof f.style=="string"?n.time[f.style]:Ni(f.style)?f.style.parsedOptions:n.time.medium;u.push({type:oe.literal,value:r.getDateTimeFormat(t,_).format(b)});continue}if(Ha(f)){var _=typeof f.style=="string"?n.number[f.style]:ja(f.style)?f.style.parsedOptions:void 0;_&&_.scale&&(b=b*(_.scale||1)),u.push({type:oe.literal,value:r.getNumberFormat(t,_).format(b)});continue}if(La(f)){var E=f.children,g=f.value,w=i[g];if(!jl(w))throw new Nl(g,"function",a);var x=Yn(E,t,r,n,i,o),M=w(x.map(function(j){return j.value}));Array.isArray(M)||(M=[M]),u.push.apply(u,M.map(function(j){return{type:typeof j=="string"?oe.literal:oe.object,value:j}}))}if(Na(f)){var S=f.options[b]||f.options.other;if(!S)throw new Uo(f.value,b,Object.keys(f.options),a);u.push.apply(u,Yn(S.value,t,r,n,i));continue}if(Da(f)){var S=f.options["=".concat(b)];if(!S){if(!Intl.PluralRules)throw new ai(`Intl.PluralRules is not available in this environment.
|
|
2
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
+
`,Xt.MISSING_INTL_API,a);var N=r.getPluralRules(t,{type:f.pluralType}).select(b-(f.offset||0));S=f.options[N]||f.options.other}if(!S)throw new Uo(f.value,b,Object.keys(f.options),a);u.push.apply(u,Yn(S.value,t,r,n,i,b-(f.offset||0)));continue}}return Ll(u)}function Rl(e,t){return t?Qe(Qe(Qe({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=Qe(Qe({},e[n]),t[n]||{}),r},{})):e}function Ul(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Rl(e[n],t[n]),r},Qe({},e)):e}function Oi(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Fl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ki(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ai([void 0],r,!1)))},{cache:Oi(e.number),strategy:xi.variadic}),getDateTimeFormat:ki(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ai([void 0],r,!1)))},{cache:Oi(e.dateTime),strategy:xi.variadic}),getPluralRules:ki(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ai([void 0],r,!1)))},{cache:Oi(e.pluralRules),strategy:xi.variadic})}}var zl=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var p=o.formatToParts(c);if(p.length===1)return p[0].value;var f=p.reduce(function(m,b){return!m.length||b.type!==oe.literal||typeof m[m.length-1]!="string"?m.push(b.value):m[m.length-1]+=b.value,m},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(c){return Yn(o.ast,o.locales,o.formatters,o.formats,c,void 0,o.message)},this.resolvedOptions=function(){var c;return{locale:((c=o.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var u=Ys(a,["formatters"]);this.ast=e.__parse(t,Qe(Qe({},u),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Ul(e.formats,n),this.formatters=i&&i.formatters||Fl(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ml,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Gl(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const ct={},Wl=(e,t,r)=>r&&(t in ct||(ct[t]={}),e in ct[t]||(ct[t][e]=r),r),Va=(e,t)=>{if(t==null)return;if(t in ct&&e in ct[t])return ct[t][e];const r=si(t);for(let n=0;n<r.length;n++){const i=r[n],o=Vl(i,e);if(o)return Wl(e,t,o)}};let qi;const Vr=ii({});function $l(e){return qi[e]||null}function Qa(e){return e in qi}function Vl(e,t){if(!Qa(e))return null;const r=$l(e);return Gl(r,t)}function Ql(e){if(e==null)return;const t=si(e);for(let r=0;r<t.length;r++){const n=t[r];if(Qa(n))return n}}function Xa(e,...t){delete ct[e],Vr.update(r=>(r[e]=Zs.all([r[e]||{},...t]),r))}Yt([Vr],([e])=>Object.keys(e));Vr.subscribe(e=>qi=e);const Jn={};function Xl(e,t){Jn[e].delete(t),Jn[e].size===0&&delete Jn[e]}function qa(e){return Jn[e]}function ql(e){return si(e).map(t=>{const r=qa(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Fi(e){return e==null?!1:si(e).some(t=>{var r;return(r=qa(t))==null?void 0:r.size})}function Zl(e,t){return Promise.all(t.map(n=>(Xl(e,n),n().then(i=>i.default||i)))).then(n=>Xa(e,...n))}const Ur={};function Za(e){if(!Fi(e))return e in Ur?Ur[e]:Promise.resolve();const t=ql(e);return Ur[e]=Promise.all(t.map(([r,n])=>Zl(r,n))).then(()=>{if(Fi(e))return Za(e);delete Ur[e]}),Ur[e]}const Yl={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Jl={fallbackLocale:null,loadingDelay:200,formats:Yl,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Kl=Jl;function qt(){return Kl}const Ii=ii(!1);var eu=Object.defineProperty,tu=Object.defineProperties,ru=Object.getOwnPropertyDescriptors,Fo=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,iu=Object.prototype.propertyIsEnumerable,zo=(e,t,r)=>t in e?eu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ou=(e,t)=>{for(var r in t||(t={}))nu.call(t,r)&&zo(e,r,t[r]);if(Fo)for(var r of Fo(t))iu.call(t,r)&&zo(e,r,t[r]);return e},au=(e,t)=>tu(e,ru(t));let zi;const ri=ii(null);function Go(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function si(e,t=qt().fallbackLocale){const r=Go(e);return t?[...new Set([...r,...Go(t)])]:r}function gt(){return zi!=null?zi:void 0}ri.subscribe(e=>{zi=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const su=e=>{if(e&&Ql(e)&&Fi(e)){const{loadingDelay:t}=qt();let r;return typeof window!="undefined"&>()!=null&&t?r=window.setTimeout(()=>Ii.set(!0),t):Ii.set(!0),Za(e).then(()=>{ri.set(e)}).finally(()=>{clearTimeout(r),Ii.set(!1)})}return ri.set(e)},Jt=au(ou({},ri),{set:su}),li=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var lu=Object.defineProperty,ni=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,Wo=(e,t,r)=>t in e?lu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Zi=(e,t)=>{for(var r in t||(t={}))Ya.call(t,r)&&Wo(e,r,t[r]);if(ni)for(var r of ni(t))Ja.call(t,r)&&Wo(e,r,t[r]);return e},Kt=(e,t)=>{var r={};for(var n in e)Ya.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ni)for(var n of ni(e))t.indexOf(n)<0&&Ja.call(e,n)&&(r[n]=e[n]);return r};const $r=(e,t)=>{const{formats:r}=qt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},uu=li(e=>{var t=e,{locale:r,format:n}=t,i=Kt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=$r("number",n)),new Intl.NumberFormat(r,i)}),cu=li(e=>{var t=e,{locale:r,format:n}=t,i=Kt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=$r("date",n):Object.keys(i).length===0&&(i=$r("date","short")),new Intl.DateTimeFormat(r,i)}),fu=li(e=>{var t=e,{locale:r,format:n}=t,i=Kt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=$r("time",n):Object.keys(i).length===0&&(i=$r("time","short")),new Intl.DateTimeFormat(r,i)}),pu=(e={})=>{var t=e,{locale:r=gt()}=t,n=Kt(t,["locale"]);return uu(Zi({locale:r},n))},hu=(e={})=>{var t=e,{locale:r=gt()}=t,n=Kt(t,["locale"]);return cu(Zi({locale:r},n))},du=(e={})=>{var t=e,{locale:r=gt()}=t,n=Kt(t,["locale"]);return fu(Zi({locale:r},n))},mu=li((e,t=gt())=>new zl(e,t,qt().formats,{ignoreTag:qt().ignoreTag})),vu=(e,t={})=>{var r,n,i,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:u,locale:c=gt(),default:p}=a;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Va(e,c);if(!f)f=(o=(i=(n=(r=qt()).handleMissingMessage)==null?void 0:n.call(r,{locale:c,id:e,defaultValue:p}))!=null?i:p)!=null?o:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!u)return f;let m=f;try{m=mu(f,c).format(u)}catch(b){b instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,b.message)}return m},bu=(e,t)=>du(t).format(e),yu=(e,t)=>hu(t).format(e),gu=(e,t)=>pu(t).format(e),Cu=(e,t=gt())=>Va(e,t),_u=Yt([Jt,Vr],()=>vu);Yt([Jt],()=>bu);Yt([Jt],()=>yu);Yt([Jt],()=>gu);Yt([Jt,Vr],()=>Cu);function $o(e,t){Xa(e,t)}function Pu(e){Jt.set(e)}const Vo={en:{titleProfileInfo:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 12 characters maximum.",userPrefixError:"Prefix value is required",userEmail:"Email:",profileSecurityQuestion:"Security Question",profileSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",profileSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",profileSecurityQuestionError2:"Only letters and numbers are accepted.",firstName:"First Name:",profileSecurityAnswer:"Security Answer",profileSecurityAnswer2:"Document Number:",profileSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",profileSecurityAnswerError2:"Only letters and numbers are accepted.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",iban:"IBAN:",userTitle:"Title:","Mr.":"Mr.","Mrs.":"Mrs.",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddress2:"Address 2:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"Postal Code:",userPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",userNotifications:"Notifications",smsConsent:"Enable SMS notifications",emailmarketingConsent:"Enable Emails",phonecallConsent:"Enable phone call notifications",postConsent:"Enable post notifications","3rdpartyConsent":"Enable third-party notifications",smsandemailConsent:"Enable SMS and email notifications",casinosmsConsent:"Enable SMS notifications",casinoemailConsent:"Enable Emails",casino3rdpartyConsent:"Enable phone call notifications",casinopushConsent:"Enable push notifications",casinomarketingConsent:"Enable marketing materials",casinophonecallConsent:"Enable phone call notifications",sportssmsConsent:"Enable SMS notifications",sportsemailConsent:"Enable Emails",sports3rdpartyConsent:"Enable phone call notifications",sportspushConsent:"Enable push notifications",sportsmarketingConsent:"Enable marketing materials",sportsphonecallConsent:"Enable phone call notifications",bingosmsConsent:"Enable SMS notifications",bingoemailConsent:"Enable Emails",bingo3rdpartyConsent:"Enable phone call notifications",bingopushConsent:"Enable push notifications",bingomarketingConsent:"Enable marketing materials",bingophonecallConsent:"Enable phone call notifications",virtualsportssmsConsent:"Enable SMS notifications",virtualsportsemailConsent:"Enable Emails",virtualsports3rdpartyConsent:"Enable phone call notifications",virtualsportspushConsent:"Enable push notifications",virtualsportsmarketingConsent:"Enable marketing materials",virtualsportsphonecallConsent:"Enable phone call notifications",consentCategoryHeaderCasino:"Casino Promotions",consentCategoryHeaderSports:"Sports Promotions",consentCategoryHeaderBingo:"Bingo Promotions",consentCategoryHeaderVirtualSports:"Virtual Sports Promotions",consentCategoryHeaderMarketing:"Marketing Promotions",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!",userProfileUpdateError:"An error has occured when attempting to update the profile information",locationDetailsDescription:"If you wish to update any of your personal details, please contact Customer Services who may request proof of these changes before updating your account.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},"zh-hk":{titleProfileInfo:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userPrefixError:"需要前綴值",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",profileSecurityAnswer:"安全答案",profileSecurityAnswer2:"文件號碼:",profileSecurityAnswerError:"安全答案長度必須至少1個字符,最多120個字符。",profileSecurityAnswerError2:"僅接受字母和數字。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",iban:"銀行網",userTitle:"標題:","Mr.":"先生","Mrs.":"太太",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddress2:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",smsConsent:"啟用短信通知",emailmarketingConsent:"啟用電子郵件",phonecallConsent:"啟用電話通知",postConsent:"啟用郵件通知","3rdpartyConsent":"啟用第三方通知",smsandemailConsent:"啟用短信和電子郵件通知",casinosmsConsent:"啟用短信通知",casinoemailConsent:"啟用電子郵件",casino3rdpartyConsent:"啟用電話通知",casinopushConsent:"啟用推送通知",casinomarketingConsent:"啟用市場推廣資料",casinophonecallConsent:"啟用電話通知",sportssmsConsent:"啟用短信通知",sportsemailConsent:"啟用電子郵件",sports3rdpartyConsent:"啟用電話通知",sportspushConsent:"啟用推送通知",sportsmarketingConsent:"啟用市場推廣資料",sportsphonecallConsent:"啟用電話通知",bingosmsConsent:"啟用短信通知",bingoemailConsent:"啟用電子郵件",bingo3rdpartyConsent:"啟用電話通知",bingopushConsent:"啟用推送通知",bingomarketingConsent:"啟用市場推廣資料",bingophonecallConsent:"啟用電話通知",virtualsportssmsConsent:"啟用短信通知",virtualsportsemailConsent:"啟用電子郵件",virtualsports3rdpartyConsent:"啟用電話通知",virtualsportspushConsent:"啟用推送通知",virtualsportsmarketingConsent:"啟用市場推廣資料",virtualsportsphonecallConsent:"啟用電話通知",consentCategoryHeaderCasino:"賭場促銷",consentCategoryHeaderSports:"體育促銷",consentCategoryHeaderBingo:"賓果促銷",consentCategoryHeaderVirtualSports:"虛擬體育促銷",consentCategoryHeaderMarketing:"營銷促銷",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!",userProfileUpdateError:"嘗試更新個人資料時出現錯誤",locationDetailsDescription:"如果您希望更新任何個人資料,請聯絡客戶服務部門,他們可能會要求您提供這些變更的證明,然後才會更新您的帳戶。"},fr:{titleProfileInfo:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 12 caractères maximum.",userPrefixError:"La valeur du préfixe est requise",userEmail:"Email:",profileSecurityQuestion:"Question de sécurité",profileSecurityQuestion2:"Type de document (DNI, carte d'identité étrangère, passeport)",profileSecurityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityQuestionError2:"Seuls les lettres et les chiffres sont acceptés.",firstName:"Prénom:",profileSecurityAnswer:"Réponse de sécurité",profileSecurityAnswer2:"Numéro de document :",profileSecurityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityAnswerError2:"Seuls les lettres et les chiffres sont acceptés.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",iban:"IBAN:",userTitle:"Titre:","Mr.":"M.","Mrs.":"Mme",locationDetails:"Détails de l'emplacement",userCountry:"Pays:",userCity:"Ville:",userCityError:"La ville doit comporter au moins 1 caractère et 50 caractères au maximum.",userAddress:"Adresse:",userAddress2:"Adresse 2:",userAddressError:"L'adresse doit comporter au moins 1 caractère et 100 caractères au maximum.",userPostalCode:"Code postal:",userPostalCodeError:"Le code postal doit comporter au moins 1 caractère et 20 caractères au maximum.",userNotifications:"Notifications",smsConsent:"Activer les notifications par sms",emailmarketingConsent:"Activer les e-mails",phonecallConsent:"Activer les notifications d'appel téléphonique",postConsent:"Activer les notifications par courrier","3rdpartyConsent":"Activer les notifications de tiers",smsandemailConsent:"Activer les notifications par SMS et e-mail",casinosmsConsent:"Activer les notifications par SMS",casinoemailConsent:"Activer les e-mails",casino3rdpartyConsent:"Activer les notifications par appel téléphonique",casinopushConsent:"Activer les notifications push",casinomarketingConsent:"Activer les supports marketing",casinophonecallConsent:"Activer les notifications par appel téléphonique",sportssmsConsent:"Activer les notifications par SMS",sportsemailConsent:"Activer les e-mails",sports3rdpartyConsent:"Activer les notifications par appel téléphonique",sportspushConsent:"Activer les notifications push",sportsmarketingConsent:"Activer les supports marketing",sportsphonecallConsent:"Activer les notifications par appel téléphonique",bingosmsConsent:"Activer les notifications par SMS",bingoemailConsent:"Activer les e-mails",bingo3rdpartyConsent:"Activer les notifications par appel téléphonique",bingopushConsent:"Activer les notifications push",bingomarketingConsent:"Activer les supports marketing",bingophonecallConsent:"Activer les notifications par appel téléphonique",virtualsportssmsConsent:"Activer les notifications par SMS",virtualsportsemailConsent:"Activer les e-mails",virtualsports3rdpartyConsent:"Activer les notifications par appel téléphonique",virtualsportspushConsent:"Activer les notifications push",virtualsportsmarketingConsent:"Activer les supports marketing",virtualsportsphonecallConsent:"Activer les notifications par appel téléphonique",consentCategoryHeaderCasino:"Promotions de casino",consentCategoryHeaderSports:"Promotions sportives",consentCategoryHeaderBingo:"Promotions de bingo",consentCategoryHeaderVirtualSports:"Promotions de sports virtuels",consentCategoryHeaderMarketing:"Promotions marketing",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!",userProfileUpdateError:"Une erreur s'est produite lors de la tentative de mise à jour des informations du profil",locationDetailsDescription:"Si vous souhaitez mettre à jour vos informations personnelles, veuillez contacter le service client qui pourrait vous demander une preuve de ces modifications avant de mettre à jour votre compte.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},ro:{titleProfileInfo:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 12 de caractere.",userPrefixError:"Prefixul este necesar",userEmail:"E-mail:",profileSecurityQuestion:"Întrebare de securitate",profileSecurityQuestion2:"Tip de document (DNI, carte de identitate străină, pașaport)",profileSecurityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityQuestionError2:"Sunt acceptate doar litere și cifre.",firstName:"Prenume:",profileSecurityAnswer:"Răspuns de securitate",profileSecurityAnswer2:"Număr document:",profileSecurityAnswerError:"Răspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityAnswerError2:"Sunt acceptate doar litere și cifre.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",iban:"IBAN:",userTitle:"Titlu:","Mr.":"Dl.","Mrs.":"Dna.",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCity:"Oraș:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userAddress:"Adresă:",userAddress2:"Adresă 2:",userAddressError:"Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.",userPostalCode:"Cod poștal:",userPostalCodeError:"Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.",userNotifications:"Notificări",smsConsent:"Activează notificări prin SMS",emailmarketingConsent:"Activează notificări prin E-mail",phonecallConsent:"Activează notificările prin apel telefonic",postConsent:"Activează notificările prin poștă","3rdpartyConsent":"Activează notificările de la parte terță",smsandemailConsent:"Activează notificările prin SMS și e-mail",casinosmsConsent:"Activează notificările prin SMS",casinoemailConsent:"Activează e-mailurile",casino3rdpartyConsent:"Activează notificările prin apel telefonic",casinopushConsent:"Activează notificările push",casinomarketingConsent:"Activează materialele de marketing",casinophonecallConsent:"Activează notificările prin apel telefonic",sportssmsConsent:"Activează notificările prin SMS",sportsemailConsent:"Activează e-mailurile",sports3rdpartyConsent:"Activează notificările prin apel telefonic",sportspushConsent:"Activează notificările push",sportsmarketingConsent:"Activează materialele de marketing",sportsphonecallConsent:"Activează notificările prin apel telefonic",bingosmsConsent:"Activează notificările prin SMS",bingoemailConsent:"Activează e-mailurile",bingo3rdpartyConsent:"Activează notificările prin apel telefonic",bingopushConsent:"Activează notificările push",bingomarketingConsent:"Activează materialele de marketing",bingophonecallConsent:"Activează notificările prin apel telefonic",virtualsportssmsConsent:"Activează notificările prin SMS",virtualsportsemailConsent:"Activează e-mailurile",virtualsports3rdpartyConsent:"Activează notificările prin apel telefonic",virtualsportspushConsent:"Activează notificările push",virtualsportsmarketingConsent:"Activează materialele de marketing",virtualsportsphonecallConsent:"Activează notificările prin apel telefonic",consentCategoryHeaderCasino:"Promoții de cazino",consentCategoryHeaderSports:"Promoții sportive",consentCategoryHeaderBingo:"Promoții de bingo",consentCategoryHeaderVirtualSports:"Promoții pentru sporturi virtuale",consentCategoryHeaderMarketing:"Promoții de marketing",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!",userProfileUpdateError:"A apărut o eroare la încercarea de a actualiza informațiile profilului",locationDetailsDescription:"Dacă doriți să actualizați orice detalii personale, vă rugăm să contactați Serviciul Clienți, care poate solicita o dovadă a acestor modificări înainte de a vă actualiza contul.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},tr:{titleProfileInfo:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",userPrefixError:"Önek değeri gereklidir",userEmail:"E-posta:",profileSecurityQuestion:"Güvenlik Sorusu",profileSecurityQuestion2:"Belge Türü (DNI, Yabancı Kimlik Kartı, Pasaport)",profileSecurityQuestionError:"Güvenlik sorusu en az 1 karakter uzunluğunda, en fazla 120 karakter uzunluğunda olmalıdır.",profileSecurityQuestionError2:"Yalnızca harf ve rakamlar kabul edilir.",firstName:"İlk adı:",profileSecurityAnswer:"Güvenlik cevabı",profileSecurityAnswer2:"Belge Numarası:",profileSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",profileSecurityAnswerError2:"Yalnızca harf ve rakamlar kabul edilir.",lastName:"Soy isim:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",iban:"IBAN:",userTitle:"Başlık:","Mr.":"Bay","Mrs.":"Bayan",locationDetails:"Konum Detayları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",userAddress:"Adres:",userAddress2:"Adres 2:",userAddressError:"Adres en az 1 karakter uzunluğunda ve maksimum 100 karakter olmalıdır.",userPostalCode:"Posta Kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve maksimum 20 karakter uzunluğunda olmalıdır.",userNotifications:"Bildirimler",smsConsent:"SMS bildirimlerini etkinleştir",emailmarketingConsent:"E-postaları Etkinleştir",phonecallConsent:"Telefon araması bildirimlerini etkinleştir",postConsent:"Posta bildirimlerini etkinleştir","3rdpartyConsent":"Üçüncü taraf bildirimlerini etkinleştir",casinosmsConsent:"SMS bildirimlerini etkinleştir",casinoemailConsent:"E-postaları etkinleştir",casino3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",casinopushConsent:"Anlık bildirimleri etkinleştir",casinomarketingConsent:"Pazarlama materyallerini etkinleştir",casinophonecallConsent:"Telefon arama bildirimlerini etkinleştir",sportssmsConsent:"SMS bildirimlerini etkinleştir",sportsemailConsent:"E-postaları etkinleştir",sports3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",sportspushConsent:"Anlık bildirimleri etkinleştir",sportsmarketingConsent:"Pazarlama materyallerini etkinleştir",sportsphonecallConsent:"Telefon arama bildirimlerini etkinleştir",bingosmsConsent:"SMS bildirimlerini etkinleştir",bingoemailConsent:"E-postaları etkinleştir",bingo3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",bingopushConsent:"Anlık bildirimleri etkinleştir",bingomarketingConsent:"Pazarlama materyallerini etkinleştir",bingophonecallConsent:"Telefon arama bildirimlerini etkinleştir",virtualsportssmsConsent:"SMS bildirimlerini etkinleştir",virtualsportsemailConsent:"E-postaları etkinleştir",virtualsports3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",virtualsportspushConsent:"Anlık bildirimleri etkinleştir",virtualsportsmarketingConsent:"Pazarlama materyallerini etkinleştir",virtualsportsphonecallConsent:"Telefon arama bildirimlerini etkinleştir",consentCategoryHeaderCasino:"Kumarhane Promosyonları",consentCategoryHeaderSports:"Spor Promosyonları",consentCategoryHeaderBingo:"Bingo Promosyonları",consentCategoryHeaderVirtualSports:"Sanal Sporlar Promosyonları",consentCategoryHeaderMarketing:"Pazarlama Promosyonları",smsandemailConsent:"SMS ve e-posta bildirimlerini etkinleştir",userProfileSaveChanges:"Değişiklikleri Kaydet",userProfileConfirmationMessage:"Değişiklikleriniz kaydedildi!",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",userProfileUpdateError:"Profil bilgilerini güncellemeye çalışırken bir hata oluştu",locationDetailsDescription:"Kişisel bilgilerinizi güncellemek istiyorsanız, hesabınızı güncellemeden önce bu değişikliklerin kanıtını isteyebilecek Müşteri Hizmetleri ile iletişime geçin.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},es:{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles Personales",userName:"Usuario",userPhone:"Celular / Número / Número Celular",userPhoneError:"Número celular debe tener al menos 5 caracteres y un máximo de 20 caracteres",userPrefixError:"Se requiere el valor del prefijo",userEmail:"Email:",profileSecurityQuestion:"Pregunta de Seguridad",profileSecurityQuestion2:"Tipo de Documento (DNI, Carnet de identidad extranjero, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityQuestionError2:"Solo se aceptan letras y números.",firstName:"Nombre",profileSecurityAnswer:"Respuesta de Seguridad",profileSecurityAnswer2:"Número de Documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityAnswerError2:"Solo se aceptan letras y números.",lastName:"Apellido",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:","Mr.":"Sr.","Mrs.":"Sra.",locationDetails:"Detalles de ubicación",userCountry:"País:",userCity:"Ciudad:",userCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",userAddress:"Dirección:",userAddress2:"Dirección 2:",userAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",userPostalCode:"Código Postal:",userPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",userNotifications:"Notificaciones",smsConsent:"Habilitar notificaciones SMS",emailmarketingConsent:"Habilitar Emails",phonecallConsent:"Habilitar notificaciones de llamadas telefónicas",postConsent:"Habilitar notificaciones por correo","3rdpartyConsent":"Habilitar notificaciones de terceros",smsandemailConsent:"Habilitar notificaciones por SMS y correo electrónico",casinosmsConsent:"Habilitar notificaciones por SMS",casinoemailConsent:"Habilitar correos electrónicos",casino3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",casinopushConsent:"Activar notificaciones push",casinomarketingConsent:"Activar materiales de marketing",casinophonecallConsent:"Activar notificaciones por llamada telefónica",sportssmsConsent:"Habilitar notificaciones por SMS",sportsemailConsent:"Habilitar correos electrónicos",sports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",sportspushConsent:"Activar notificaciones push",sportsmarketingConsent:"Activar materiales de marketing",sportsphonecallConsent:"Activar notificaciones por llamada telefónica",bingosmsConsent:"Habilitar notificaciones por SMS",bingoemailConsent:"Habilitar correos electrónicos",bingo3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",bingopushConsent:"Activar notificaciones push",bingomarketingConsent:"Activar materiales de marketing",bingophonecallConsent:"Activar notificaciones por llamada telefónica",virtualsportssmsConsent:"Habilitar notificaciones por SMS",virtualsportsemailConsent:"Habilitar correos electrónicos",virtualsports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",virtualsportspushConsent:"Activar notificaciones push",virtualsportsmarketingConsent:"Activar materiales de marketing",virtualsportsphonecallConsent:"Activar notificaciones por llamada telefónica",consentCategoryHeaderCasino:"Promociones de casino",consentCategoryHeaderSports:"Promociones deportivas",consentCategoryHeaderBingo:"Promociones de bingo",consentCategoryHeaderVirtualSports:"Promociones de deportes virtuales",consentCategoryHeaderMarketing:"Promociones de marketing",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil",locationDetailsDescription:"Si desea actualizar alguno de sus datos personales, póngase en contacto con el Servicio de Atención al Cliente, que puede solicitar una prueba de estos cambios antes de actualizar su cuenta.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},pt:{titleProfileInfo:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",userPrefixError:"O valor do prefixo é obrigatório",userEmail:"E-mail:",profileSecurityQuestion:"Pergunta de Segurança",profileSecurityQuestion2:"Tipo de Documento (DNI, Cartão de Identificação Estrangeiro, Passaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityQuestionError2:"Somente letras e números são aceitos.",firstName:"Primeiro nome:",profileSecurityAnswer:"Resposta de Segurança",profileSecurityAnswer2:"Número do Documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Título:","Mr.":"Sr.","Mrs.":"Sra.",locationDetails:"Detalhes do local",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",userAddress:"Endereço:",userAddress2:"Endereço 2:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"CEP:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres.",userNotifications:"Notificações",smsConsent:"Ativar notificações por SMS",emailmarketingConsent:"Ativar notificações por e-mail",phonecallConsent:"Ativar notificações de chamadas telefónicas",postConsent:"Ativar notificações de correio","3rdpartyConsent":"Ativar notificações de terceiros",smsandemailConsent:"Ativar notificações por SMS e e-mail",casinosmsConsent:"Ativar notificações por SMS",casinoemailConsent:"Ativar e-mails",casino3rdpartyConsent:"Ativar notificações por chamada telefônica",casinopushConsent:"Ativar notificações push",casinomarketingConsent:"Ativar materiais de marketing",casinophonecallConsent:"Ativar notificações por chamada telefónica",sportssmsConsent:"Ativar notificações por SMS",sportsemailConsent:"Ativar e-mails",sports3rdpartyConsent:"Ativar notificações por chamada telefônica",sportspushConsent:"Ativar notificações push",sportsmarketingConsent:"Ativar materiais de marketing",sportsphonecallConsent:"Ativar notificações por chamada telefónica",bingosmsConsent:"Ativar notificações por SMS",bingoemailConsent:"Ativar e-mails",bingo3rdpartyConsent:"Ativar notificações por chamada telefônica",bingopushConsent:"Ativar notificações push",bingomarketingConsent:"Ativar materiais de marketing",bingophonecallConsent:"Ativar notificações por chamada telefónica",virtualsportssmsConsent:"Ativar notificações por SMS",virtualsportsemailConsent:"Ativar e-mails",virtualsports3rdpartyConsent:"Ativar notificações por chamada telefônica",virtualsportspushConsent:"Ativar notificações push",virtualsportsmarketingConsent:"Ativar materiais de marketing",virtualsportsphonecallConsent:"Ativar notificações por chamada telefónica",consentCategoryHeaderCasino:"Promoções de cassino",consentCategoryHeaderSports:"Promoções esportivas",consentCategoryHeaderBingo:"Promoções de bingo",consentCategoryHeaderVirtualSports:"Promoções de esportes virtuais",consentCategoryHeaderMarketing:"Promoções de marketing",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil",locationDetailsDescription:"Se desejar atualizar qualquer um dos seus dados pessoais, entre em contato com o Serviço de Atendimento ao Cliente, que poderá solicitar uma prova dessas alterações antes de atualizar sua conta.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},hr:{titleProfileInfo:"Informacije o profilu",personalDetails:"Osobni podatci",userName:"Korisničko ime:",userPhone:"Telefon:",userPhoneError:"Broj telefona mora imati najmanje 5 znakova i najviše 12 znakova.",userPrefixError:"Vrijednost prefiksa je potrebna",userEmail:"E-mail:",profileSecurityQuestion:"Sigurnosno pitanje",profileSecurityQuestion2:"Vrsta dokumenta",profileSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",firstName:"Ime",profileSecurityAnswer:"Sigurnosni odgovor",profileSecurityAnswer2:"Broj dokumenta:",profileSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",lastName:"Prezime",dateOfBirth:"Datum rođenja:",currency:"Valuta:",iban:"IBAN:",userTitle:"Titula:","Mr.":"Gosp.","Mrs.":"Gđa.",locationDetails:"Detalji lokacije",userCountry:"Zemlja:",userCity:"Grad:",userCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",userAddress:"Adresa:",userAddress2:"Adresa 2:",userAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",userPostalCode:"Poštanski broj:",userPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",userNotifications:"Obavijesti",smsConsent:"Omogućite SMS obavijesti",emailmarketingConsent:"Omogući e-mail",phonecallConsent:"Omogući obavijesti o telefonskim pozivima",postConsent:"Omogući obavijesti o pošti","3rdpartyConsent":"Omogući obavijesti od trećih strana",smsandemailConsent:"Omogući obavijesti putem SMS-a i e-pošte",casinosmsConsent:"Omogući SMS obavijesti",casinoemailConsent:"Omogući e-poštu",casino3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",casinopushConsent:"Omogući push obavijesti",casinomarketingConsent:"Omogući marketinške materijale",casinophonecallConsent:"Omogući obavijesti putem telefonskog poziva",sportssmsConsent:"Omogući SMS obavijesti",sportsemailConsent:"Omogući e-poštu",sports3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",sportspushConsent:"Omogući push obavijesti",sportsmarketingConsent:"Omogući marketinške materijale",sportsphonecallConsent:"Omogući obavijesti putem telefonskog poziva",bingosmsConsent:"Omogući SMS obavijesti",bingoemailConsent:"Omogući e-poštu",bingo3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",bingopushConsent:"Omogući push obavijesti",bingomarketingConsent:"Omogući marketinške materijale",bingophonecallConsent:"Omogući obavijesti putem telefonskog poziva",virtualsportssmsConsent:"Omogući SMS obavijesti",virtualsportsemailConsent:"Omogući e-poštu",virtualsports3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",virtualsportspushConsent:"Omogući push obavijesti",virtualsportsmarketingConsent:"Omogući marketinške materijale",virtualsportsphonecallConsent:"Omogući obavijesti putem telefonskog poziva",consentCategoryHeaderCasino:"Promocije kasina",consentCategoryHeaderSports:"Sportske promocije",consentCategoryHeaderBingo:"Bingo promocije",consentCategoryHeaderVirtualSports:"Promocije virtualnih sportova",consentCategoryHeaderMarketing:"Marketinške promocije",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!",userProfileUpdateError:"Došlo je do pogreške prilikom pokušaja ažuriranja podataka profila",locationDetailsDescription:"Ako želite ažurirati bilo koje svoje osobne podatke, obratite se Službi za korisnike koja može zatražiti dokaz o tim promjenama prije ažuriranja vašeg računa.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},"pt-br":{titleProfileInfo:"Informação do Perfil",personalDetails:"Detalhes pessoais",userName:"Do utilizador:",userPhone:"Telefone:",userPhoneError:"O número do celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres",userPrefixError:"O valor do prefixo é obrigatório",userEmail:"Correio eletrônico:",profileSecurityQuestion:"Pergunta de segurança:",profileSecurityQuestion2:"Tipo de documento de identidade (Documento de identidade nacional,identidade estrangeira, Pasaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres",profileSecurityQuestionError2:"Somente letras e números são aceitos",firstName:"Nome:",profileSecurityAnswer:"Pergunta de segurança:",profileSecurityAnswer2:"Número do documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos",lastName:"Sobrenome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Qualificação:","Mr.":"Sr.","Mrs.":"Sra.",locationDetails:"Detalhes da localização:",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres",userAddress:"Endereço:",userAddress2:"Endereço 2:",userAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres",userPostalCode:"Código postal:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres",userNotifications:"Notificações",smsConsent:"Habilitar notificações por SMS",emailmarketingConsent:"Ativar e-mail",phonecallConsent:"Ativar notificações de chamadas telefônicas",postConsent:"Ativar notificações de correio","3rdpartyConsent":"Ativar notificações de terceiros",smsandemailConsent:"Ativar notificações por SMS e e-mail",casinosmsConsent:"Ativar notificações por SMS",casinoemailConsent:"Ativar e-mails",casino3rdpartyConsent:"Ativar notificações por chamada telefônica",casinopushConsent:"Ativar notificações push",casinomarketingConsent:"Ativar materiais de marketing",casinophonecallConsent:"Ativar notificações por chamada telefónica",sportssmsConsent:"Ativar notificações por SMS",sportsemailConsent:"Ativar e-mails",sports3rdpartyConsent:"Ativar notificações por chamada telefônica",sportspushConsent:"Ativar notificações push",sportsmarketingConsent:"Ativar materiais de marketing",sportsphonecallConsent:"Ativar notificações por chamada telefónica",bingosmsConsent:"Ativar notificações por SMS",bingoemailConsent:"Ativar e-mails",bingo3rdpartyConsent:"Ativar notificações por chamada telefônica",bingopushConsent:"Ativar notificações push",bingomarketingConsent:"Ativar materiais de marketing",bingophonecallConsent:"Ativar notificações por chamada telefónica",virtualsportssmsConsent:"Ativar notificações por SMS",virtualsportsemailConsent:"Ativar e-mails",virtualsports3rdpartyConsent:"Ativar notificações por chamada telefônica",virtualsportspushConsent:"Ativar notificações push",virtualsportsmarketingConsent:"Ativar materiais de marketing",virtualsportsphonecallConsent:"Ativar notificações por chamada telefónica",consentCategoryHeaderCasino:"Promoções de cassino",consentCategoryHeaderSports:"Promoções esportivas",consentCategoryHeaderBingo:"Promoções de bingo",consentCategoryHeaderVirtualSports:"Promoções de esportes virtuais",consentCategoryHeaderMarketing:"Promoções de marketing",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil",locationDetailsDescription:"Se desejar atualizar qualquer um dos seus dados pessoais, entre em contato com o Serviço de Atendimento ao Cliente, que poderá solicitar uma prova dessas alterações antes de atualizar sua conta.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},"es-mx":{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles personales",userName:"Usuario:",userPhone:"Teléfono:",userPhoneError:"Número de Móvl debe tener al menos 5 caracteres de largo y 12 caracteres máximo",userPrefixError:"Se requiere el valor del prefijo",userEmail:"Correo electrónico:",profileSecurityQuestion:"Pregunta de Seguridad:",profileSecurityQuestion2:"Tipo de documento de identificación (Documento de identidad nacional, Identificación extranjera, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter de largo y máximo 120 caracteres",profileSecurityQuestionError2:"Solo letras y números son aceptados",firstName:"Nombre:",profileSecurityAnswer:"Pregunta de seguridad:",profileSecurityAnswer2:"Número de documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 carácter de largo y máximo 120 caracteres.",profileSecurityAnswerError2:"Solo letras y números son aceptados",lastName:"Apellido:",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:","Mr.":"Sr.","Mrs.":"Sra.",locationDetails:"Detalles de ubicación:",userCountry:"País:",userCity:"Ciudad:",userCityError:"Ciudad debe tener al menos 1 carácter de largo y 50 caracteres máximo",userAddress:"Dirección:",userAddress2:"Dirección 2:",userAddressError:"Dirección debe tener al menos 1 carácter de largo y 100 caracteres máximo",userPostalCode:"Código Postal:",userPostalCodeError:"Código Postal debe tener al menos 1 carácter de largo y 20 caracteres máximo",userNotifications:"Notificaciones",smsConsent:"Habilitar notificaciones de SMS",emailmarketingConsent:"Habilitar correo electrónico",phonecallConsent:"Habilitar notificaciones de llamadas telefónicas",postConsent:"Habilitar notificaciones por correo","3rdpartyConsent":"Habilitar notificaciones de terceros",smsandemailConsent:"Habilitar notificaciones por SMS y correo electrónico",casinosmsConsent:"Habilitar notificaciones por SMS",casinoemailConsent:"Habilitar correos electrónicos",casino3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",casinopushConsent:"Activar notificaciones push",casinomarketingConsent:"Activar materiales de marketing",casinophonecallConsent:"Activar notificaciones por llamada telefónica",sportssmsConsent:"Habilitar notificaciones por SMS",sportsemailConsent:"Habilitar correos electrónicos",sports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",sportspushConsent:"Activar notificaciones push",sportsmarketingConsent:"Activar materiales de marketing",sportsphonecallConsent:"Activar notificaciones por llamada telefónica",bingosmsConsent:"Habilitar notificaciones por SMS",bingoemailConsent:"Habilitar correos electrónicos",bingo3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",bingopushConsent:"Activar notificaciones push",bingomarketingConsent:"Activar materiales de marketing",bingophonecallConsent:"Activar notificaciones por llamada telefónica",virtualsportssmsConsent:"Habilitar notificaciones por SMS",virtualsportsemailConsent:"Habilitar correos electrónicos",virtualsports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",virtualsportspushConsent:"Activar notificaciones push",virtualsportsmarketingConsent:"Activar materiales de marketing",virtualsportsphonecallConsent:"Activar notificaciones por llamada telefónica",consentCategoryHeaderCasino:"Promociones de casino",consentCategoryHeaderSports:"Promociones deportivas",consentCategoryHeaderBingo:"Promociones de bingo",consentCategoryHeaderVirtualSports:"Promociones de deportes virtuales",consentCategoryHeaderMarketing:"Promociones de marketing",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil",locationDetailsDescription:"Si desea actualizar alguno de sus datos personales, póngase en contacto con el Servicio de Atención al Cliente, que puede solicitar una prueba de estos cambios antes de actualizar su cuenta.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"}};function Su(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Eu(e,t){const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function wu(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}/*! *****************************************************************************
|
|
4
|
+
Copyright (c) Microsoft Corporation.
|
|
5
|
+
|
|
6
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
7
|
+
purpose with or without fee is hereby granted.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
10
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
11
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
12
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
14
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
16
|
+
***************************************************************************** */var Gi=function(e,t){return Gi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Gi(e,t)};function Qr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Gi(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Wi(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $i(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(u){a={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function Vi(e,t,r){if(arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||t)}function et(e){return typeof e=="function"}function Ka(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Hi=Ka(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
17
|
+
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
18
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function Qi(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ui=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=Wi(a),c=u.next();!c.done;c=u.next()){var p=c.value;p.remove(this)}}catch(g){t={error:g}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(et(f))try{f()}catch(g){o=g instanceof Hi?g.errors:[g]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var b=Wi(m),_=b.next();!_.done;_=b.next()){var E=_.value;try{Qo(E)}catch(g){o=o!=null?o:[],g instanceof Hi?o=Vi(Vi([],$i(o)),$i(g.errors)):o.push(g)}}}catch(g){n={error:g}}finally{try{_&&!_.done&&(i=b.return)&&i.call(b)}finally{if(n)throw n.error}}}if(o)throw new Hi(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Qo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Qi(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Qi(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),es=ui.EMPTY;function ts(e){return e instanceof ui||e&&"closed"in e&&et(e.remove)&&et(e.add)&&et(e.unsubscribe)}function Qo(e){et(e)?e():e.unsubscribe()}var Au={Promise:void 0},ku={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Vi([e,t],$i(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function xu(e){ku.setTimeout(function(){throw e})}function Xo(){}function Kn(e){e()}var rs=function(e){Qr(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,ts(r)&&r.add(n)):n.destination=Iu,n}return t.create=function(r,n,i){return new Xi(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ui),Bu=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){qn(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){qn(n)}else qn(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){qn(r)}},e}(),Xi=function(e){Qr(t,e);function t(r,n,i){var o=e.call(this)||this,a;return et(r)||!r?a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:a=r,o.destination=new Bu(a),o}return t}(rs);function qn(e){xu(e)}function Ou(e){throw e}var Iu={closed:!0,next:Xo,error:Ou,complete:Xo},Hu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Tu(e){return e}function Mu(e){return e.length===0?Tu:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var qo=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=Du(t)?t:new Xi(t,r,n);return Kn(function(){var a=i,u=a.operator,c=a.source;o.add(u?u.call(o,c):c?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Zo(r),new r(function(i,o){var a=new Xi({next:function(u){try{t(u)}catch(c){o(c),a.unsubscribe()}},error:o,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Hu]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Mu(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Zo(t),new t(function(n,i){var o;r.subscribe(function(a){return o=a},function(a){return i(a)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function Zo(e){var t;return(t=e!=null?e:Au.Promise)!==null&&t!==void 0?t:Promise}function Nu(e){return e&&et(e.next)&&et(e.error)&&et(e.complete)}function Du(e){return e&&e instanceof rs||Nu(e)&&ts(e)}var Lu=Ka(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),ns=function(e){Qr(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Yo(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Lu},t.prototype.next=function(r){var n=this;Kn(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=Wi(n.currentObservers),u=a.next();!u.done;u=a.next()){var c=u.value;c.next(r)}}catch(p){i={error:p}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Kn(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Kn(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,a=i.isStopped,u=i.observers;return o||a?es:(this.currentObservers=null,u.push(r),new ui(function(){n.currentObservers=null,Qi(u,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,a=n.isStopped;i?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new qo;return r.source=this,r},t.create=function(r,n){return new Yo(r,n)},t}(qo),Yo=function(e){Qr(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:es},t}(ns),is={now:function(){return(is.delegate||Date).now()},delegate:void 0},ju=function(e){Qr(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=is);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,a=n._infiniteTimeWindow,u=n._timestampProvider,c=n._windowTime;i||(o.push(r),!a&&o.push(u.now()+c)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,a=i._buffer,u=a.slice(),c=0;c<u.length&&!r.closed;c+=o?1:2)r.next(u[c]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,u=(a?1:2)*n;if(n<1/0&&u<o.length&&o.splice(0,o.length-u),!a){for(var c=i.now(),p=0,f=1;f<o.length&&o[f]<=c;f+=2)p=f;p&&o.splice(0,p+1)}},t}(ns);const Jo=[],Ko={},Ru=(e,t=0)=>{if(Jo.indexOf(e)==-1){const r=new ju(t);Ko[e]=r,Jo.push(e)}return Ko[e]};window.emWidgets={topic:Ru};const Uu=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function Fu(e){hs(e,"svelte-1l69430",`button{font-family:var(--emw--button-typography)}.Hidden{display:none}input,select,option{font-family:inherit}.WelcomeSection{display:grid;gap:0.5rem}.WelcomeSection .WelcomeSectionTitle{margin:0;font-size:1.25rem;line-height:1.2;font-weight:700}.WelcomeSection .WelcomeSectionDescription{margin:0;font-size:0.95rem;line-height:1.4;opacity:0.9}.WelcomeSection .WelcomeSectionProfileRow{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:0.75rem;margin-top:0.25rem}.WelcomeSection .WelcomeSectionProfilePicture{width:40px;height:40px;border-radius:999px;display:grid;place-items:center;color:#333}.WelcomeSection .WelcomeSectionProfilePicture .AvatarIcon{width:100%;height:100%}.WelcomeSection .WelcomeSectionFullName{font-weight:600;font-size:1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.MyAccountCategoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px}.PlayerInfoWrapper .PlayerFadeInWarapper{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerNotificationsHeader h3,.PlayerDetailsHeader h3,.PlayerLocationHeader h3{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emw--color-gray-300, #58586b);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox input{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:10px;line-height:16px;background:var(--emw--color-white, #ffffff);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px)}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox.InvalidField input,.PlayerInfoBox.InvalidPrefix select{border:1px solid var(--emw--color-error, var(--emw--color-red, #fd2839));background:var(--emw--color-pale, #fbecf4);color:var(--emw--color-error, var(--emw--color-red, #fd2839))}.PlayerInfoBox .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #ffffff);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield;appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.LocationDetailsDescription{grid-column:span 2}.PlayerNotificationBox{margin-top:5px;margin-bottom:5px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw--color-gray-100, #e6e6e6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw--color-white, #ffffff);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerNotificationBox.Parent span{font-weight:var(--emw--font-weight-bold, 700)}.PlayerNotificationBox.Child{margin-left:20px}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;max-width:400px;min-width:200px}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{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);color:var(--emw--button-text-color, #ffffff);border-radius:var(--emw--button-border-radius, 10px);max-width:400px;min-width:200px;padding:13px 0;width:100%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsCancelButton{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea{display:flex;gap:50px;padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emw--color-gray-50, #f9f8f8);max-width:unset;border-radius:0}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:ar(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emw--color-gray-300, #58586b);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emw--color-gray-300, #58586b);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emw--color-gray-300, #58586b)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw--button-typography, var(--emw--color-white, #ffffff))}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton.PlayerButtonDisabled{color:var(--emw--color-gray-300, #58586b)}.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{color:var(--emw--color-gray-300, #58586b)}.PlayerDetailsConfirmSave{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}.skeletonContainer{max-width:unset;container-type:inline-size}.skeletonContainer .skeletonWrapper{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonContainer .skeletonWrapper .skeletonHeaderText{width:200px;margin:25px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{width:150px;margin:16px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{display:grid;grid-column-gap:50px;grid-row-gap:23px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:25px;margin-top:15px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer{display:flex;flex-direction:column}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skletonInputText{width:70px;margin:0px 0px 11px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skeletonInputField{border-radius:var(--emw--border-radius-medium, 10px);overflow:hidden}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer{display:flex;flex-direction:column;justify-content:flex-start;padding-bottom:30px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputCircle{margin:5px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputText{width:150px}.skeletonContainer .skeletonWrapper .skeletonButton{width:400px;border-radius:var(--emw--button-border-radius, 10px);overflow:hidden;margin-top:10px}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{padding:20px 15px;width:auto;max-width:unset;border-radius:0px}.skeletonContainer .skeletonWrapper .skeletonHeaderText{margin:10px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{margin-top:31px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{grid-template-columns:1fr;margin-top:13px;grid-row-gap:18px}.skeletonContainer .skeletonWrapper .skeletonButton{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`)}function ea(e,t,r){const n=e.slice();return n[83]=t[r],n[84]=t,n[85]=r,n}function ta(e,t,r){const n=e.slice();return n[86]=t[r],n[87]=t,n[88]=r,n}function ra(e,t,r){const n=e.slice();return n[89]=t[r],n}function zu(e,t,r){const n=e.slice();return n[92]=t[r],n[94]=r,n}function Gu(e,t,r){const n=e.slice();return n[92]=t[r],n[94]=r,n}function Wu(e,t,r){const n=e.slice();return n[92]=t[r],n[94]=r,n}function $u(e){let t;return{c(){t=d("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputText"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,n){T(r,t,n)},p:xe,d(r){r&&I(t)}}}function Vu(e){let t;return{c(){t=d("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputField"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,n){T(r,t,n)},p:xe,d(r){r&&I(t)}}}function Qu(e){let t;return{c(){t=d("div"),t.innerHTML='<div class="skletonInputCircle"><ui-skeleton structure="circle" size="20px" height="10px"></ui-skeleton></div> <div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton></div> ',l(t,"class","skeletonInputContainer")},m(r,n){T(r,t,n)},p:xe,d(r){r&&I(t)}}}function na(e){let t,r,n,i,o,a=e[20]("titleProfileInfo")+"",u,c,p,f,m,b=e[20]("personalDetails")+"",_,E,g,w,x,M=e[20]("userName")+"",S,N,j,$,ae,te,pt,R,V,h=e[20]("userPhone")+"",D,X,tt,K,rt,De,ht,Q,Xe,qe,dt,nt,Ue,it,re,Fe,ot=(e[0]=="true"?e[20]("profileSecurityQuestion2"):e[20]("profileSecurityQuestion"))+"",Ct,Ze,Ie,Xr,ee,_t,Pt,qr,St,Zr,He,at,Et=(e[0]=="true"?e[20]("profileSecurityAnswer2"):e[20]("profileSecurityAnswer"))+"",st,er,mt,Yr,Z,vt,wt,Jr,At,Kr,lt,kt,Ye=e[20]("userEmail")+"",tr,en,Be,xt,bt,Bt,tn,ut,Ot,It=e[20]("dateOfBirth")+"",rr,rn,y,C,H,F,se,U,L,Je=e[20]("firstName")+"",le,yt,Y,Ht,nr,nn,Yi,Tt,on,an=e[20]("lastName")+"",ci,Ji,Le,sn,ir,ln,Ki,Mt,un,cn=e[20]("userTitle")+"",fi,eo,je,fn,or,pn,to,Nt,hn,dn=e[20]("currency")+"",pi,ro,Re,mn,ar,vn,no,io,bn,hi,yn=e[20]("locationDetails")+"",di,oo,ne,Dt,gn,Cn=e[20]("userCountry")+"",mi,ao,Oe,_n,sr,Pn,Sn,so,ze,En,wn=e[20]("userCity")+"",vi,lo,ue,An,kn,uo,xn,co,Ge,Bn,On=e[20]("userAddress")+"",bi,fo,ce,In,Hn,po,Tn,ho,We,Mn,Nn=e[20]("userAddress2")+"",yi,mo,fe,Dn,Ln,vo,jn,bo,$e,Rn,Un=e[20]("userPostalCode")+"",gi,yo,pe,Fn,zn,go,Gn,Co,_o,Ci=Object.keys(e[5].consents).length>0,_i,lr,Lt,Wn=e[20]("userProfileSaveChanges")+"",Pi,$n,Vn,Po,Qn,Si,So,he=e[1]==="true"&&ia(e),de=e[8]&&oa(e),jt=Ke(e[4]),ie=[];for(let J=0;J<jt.length;J+=1)ie[J]=aa(ra(e,jt,J));let me=!e[17]&&sa(e),ve=!e[18]&&la(e),be=!e[15]&&ua(e),ye=!e[16]&&ca(e),ge=e[5].iban.value&&fa(e),Ce=!e[11]&&pa(e),_e=!e[13]&&ha(e),Pe=!e[14]&&da(e),Se=!e[12]&&ma(e),Ee=e[2]==="true"&&va(e),we=Ci&&ba(e),Ae=e[19]&&Pa(e);return{c(){var J,v,Ve,ur,cr,fr,pr,hr,dr,mr,vr,br,yr,gr,Cr,_r,Pr,Sr,Er,wr,Ar,kr,xr,Br,Or,Ir,Hr,Tr,Mr,Nr,Dr,Lr,jr,Rr;he&&he.c(),t=P(),r=d("form"),n=d("div"),de&&de.c(),i=P(),o=d("h2"),u=A(a),p=P(),f=d("div"),m=d("h3"),_=A(b),E=P(),g=d("section"),w=d("div"),x=d("label"),S=A(M),N=P(),j=d("input"),pt=P(),R=d("div"),V=d("label"),D=A(h),X=P(),tt=d("div"),K=d("select");for(let Rt=0;Rt<ie.length;Rt+=1)ie[Rt].c();ht=P(),Q=d("input"),dt=P(),me&&me.c(),nt=P(),ve&&ve.c(),it=P(),re=d("div"),Fe=d("label"),Ct=A(ot),Ze=A(":"),Ie=d("span"),Ie.textContent="*",Xr=P(),ee=d("input"),qr=P(),be&&be.c(),Zr=P(),He=d("div"),at=d("label"),st=A(Et),er=A(":"),mt=d("span"),mt.textContent="*",Yr=P(),Z=d("input"),Jr=P(),ye&&ye.c(),Kr=P(),lt=d("div"),kt=d("label"),tr=A(Ye),en=P(),Be=d("input"),tn=P(),ut=d("div"),Ot=d("label"),rr=A(It),rn=P(),y=d("input"),se=P(),U=d("div"),L=d("label"),le=A(Je),yt=P(),Y=d("input"),Yi=P(),Tt=d("div"),on=d("label"),ci=A(an),Ji=P(),Le=d("input"),Ki=P(),Mt=d("div"),un=d("label"),fi=A(cn),eo=P(),je=d("input"),to=P(),Nt=d("div"),hn=d("label"),pi=A(dn),ro=P(),Re=d("input"),no=P(),ge&&ge.c(),io=P(),bn=d("div"),hi=d("h3"),di=A(yn),oo=P(),ne=d("section"),Dt=d("div"),gn=d("label"),mi=A(Cn),ao=P(),Oe=d("input"),so=P(),ze=d("div"),En=d("label"),vi=A(wn),lo=P(),ue=d("input"),uo=P(),Ce&&Ce.c(),co=P(),Ge=d("div"),Bn=d("label"),bi=A(On),fo=P(),ce=d("input"),po=P(),_e&&_e.c(),ho=P(),We=d("div"),Mn=d("label"),yi=A(Nn),mo=P(),fe=d("input"),vo=P(),Pe&&Pe.c(),bo=P(),$e=d("div"),Rn=d("label"),gi=A(Un),yo=P(),pe=d("input"),go=P(),Se&&Se.c(),Co=P(),Ee&&Ee.c(),_o=P(),we&&we.c(),_i=P(),lr=d("section"),Lt=d("button"),Pi=A(Wn),Po=P(),Ae&&Ae.c(),l(o,"class",c="MyAccountCategoryTitle "+(e[8]?"MyAccountCategoryTitleNone":"")),l(f,"class","PlayerNotificationsHeader"),l(j,"type","text"),l(j,"class",$=`${(J=e[5].username)!=null&&J.readOnly?"FieldDisabled":""}`),j.value=ae=(Ve=(v=e[5].username)==null?void 0:v.value)!=null?Ve:"",j.readOnly=te=(ur=e[5].username)==null?void 0:ur.readOnly,l(w,"class","PlayerInfoBox"),l(K,"class",rt=`${(cr=e[5].mobile)!=null&&cr.readOnly?"FieldDisabled":""}`),K.disabled=De=(fr=e[5].mobile)==null?void 0:fr.readOnly,e[5].mobile.prefix===void 0&&ei(()=>e[41].call(K)),l(Q,"type","text"),l(Q,"class",Xe=`${(pr=e[5].mobile)!=null&&pr.readOnly?"FieldDisabled":""}`),l(Q,"placeholder",e[21].mobile.number),Q.readOnly=qe=(hr=e[5].mobile)==null?void 0:hr.readOnly,l(tt,"class","PlayerPhoneNumber"),l(R,"class",Ue="PlayerInfoBox "+(e[17]?"":"InvalidField")+" "+(e[18]?"":"InvalidPrefix")),l(Ie,"class","FormRequired"),l(Fe,"for","SecurityQuestion"),l(ee,"id","SecurityQuestion"),l(ee,"type","text"),l(ee,"class",_t=`${(dr=e[5].securityQuestion)!=null&&dr.readOnly?"FieldDisabled":""}`),l(ee,"placeholder",e[21].securityQuestion),ee.readOnly=Pt=(mr=e[5].securityQuestion)==null?void 0:mr.readOnly,l(re,"class",St="PlayerInfoBox "+(e[15]?"":"InvalidField")),l(mt,"class","FormRequired"),l(at,"for","SecurityAnswer"),l(Z,"id","SecurityAnswer"),l(Z,"type","text"),l(Z,"class",vt=`${(vr=e[5].securityAnswer)!=null&&vr.readOnly?"FieldDisabled":""}`),l(Z,"placeholder",e[21].securityAnswer),Z.readOnly=wt=(br=e[5].securityAnswer)==null?void 0:br.readOnly,l(He,"class",At="PlayerInfoBox "+(e[16]?"":"InvalidField")),l(kt,"for","UserEmail"),l(Be,"id","UserEmail"),l(Be,"type","email"),l(Be,"class",xt=`${(yr=e[5].email)!=null&&yr.readOnly?"FieldDisabled":""}`),Be.value=bt=e[5].email.value,Be.readOnly=Bt=(gr=e[5].email)==null?void 0:gr.readOnly,l(lt,"class","PlayerInfoBox"),l(Ot,"for","DateOfBirth"),l(y,"id","DateOfBirth"),l(y,"type","text"),l(y,"class",C=`${(Cr=e[5].birth)!=null&&Cr.readOnly?"FieldDisabled":""}`),y.value=H=e[5].birth.value,y.readOnly=F=(_r=e[5].birth)==null?void 0:_r.readOnly,l(ut,"class","PlayerInfoBox"),l(L,"for","FirstName"),l(Y,"id","FirstName"),l(Y,"type","text"),l(Y,"class",Ht=`${(Pr=e[5].firstname)!=null&&Pr.readOnly?"FieldDisabled":""}`),Y.value=nr=e[5].firstname.value,Y.readOnly=nn=(Sr=e[5].firstname)==null?void 0:Sr.readOnly,l(U,"class","PlayerInfoBox"),l(on,"for","LastName"),l(Le,"id","LastName"),l(Le,"type","text"),l(Le,"class",sn=`${(Er=e[5].lastname)!=null&&Er.readOnly?"FieldDisabled":""}`),Le.value=ir=e[5].lastname.value,Le.readOnly=ln=(wr=e[5].lastname)==null?void 0:wr.readOnly,l(Tt,"class","PlayerInfoBox"),l(un,"for","UserTitle"),l(je,"id","UserTitle"),l(je,"type","text"),l(je,"class",fn=`${(Ar=e[5].title)!=null&&Ar.readOnly?"FieldDisabled":""}`),je.value=or=e[5].title.value,je.readOnly=pn=(kr=e[5].title)==null?void 0:kr.readOnly,l(Mt,"class","PlayerInfoBox"),l(hn,"for","Currrency"),l(Re,"id","Currency"),l(Re,"type","text"),l(Re,"class",mn=`${(xr=e[5].currency)!=null&&xr.readOnly?"FieldDisabled":""}`),Re.value=ar=e[5].currency.value,Re.readOnly=vn=(Br=e[5].currency)==null?void 0:Br.readOnly,l(Nt,"class","PlayerInfoBox"),l(g,"class","PlayerDetailsContent"),l(bn,"class","PlayerLocationHeader"),l(gn,"for","UserCountry"),l(Oe,"id","UserCountry"),l(Oe,"type","text"),l(Oe,"class",_n=`PlayerCountry ${(Or=e[5].country)!=null&&Or.readOnly?"FieldDisabled":""}`),Oe.value=sr=e[5].country.countryName,l(Oe,"placeholder",Pn=e[5].country.countryCode),Oe.readOnly=Sn=(Ir=e[5].country)==null?void 0:Ir.readOnly,l(Dt,"class","PlayerInfoBox"),l(En,"for","UserCity"),l(ue,"id","UserCity"),l(ue,"type","text"),l(ue,"class",An=`${(Hr=e[5].city)!=null&&Hr.readOnly?"FieldDisabled":""}`),l(ue,"placeholder",e[21].city),ue.readOnly=kn=(Tr=e[5].city)==null?void 0:Tr.readOnly,l(ze,"class",xn="PlayerInfoBox "+(e[11]?"":"InvalidField")),l(Bn,"for","UserAddress"),l(ce,"id","UserAddress"),l(ce,"type","text"),l(ce,"class",In=`${(Mr=e[5].address1)!=null&&Mr.readOnly?"FieldDisabled":""}`),l(ce,"placeholder",e[21].address1),ce.readOnly=Hn=(Nr=e[5].address1)==null?void 0:Nr.readOnly,l(Ge,"class",Tn="PlayerInfoBox "+(e[13]?"":"InvalidField")),l(Mn,"for","UserAddress"),l(fe,"id","UserAddress2"),l(fe,"type","text"),l(fe,"class",Dn=`${(Dr=e[5].address2)!=null&&Dr.readOnly?"FieldDisabled":""}`),l(fe,"placeholder",e[21].address2),fe.readOnly=Ln=(Lr=e[5].address2)==null?void 0:Lr.readOnly,l(We,"class",jn="PlayerInfoBox "+(e[14]?"":"InvalidField")),l(Rn,"for","UserPostalCode"),l(pe,"id","UserPostalCode"),l(pe,"type","text"),l(pe,"class",Fn=`${(jr=e[5].postalCode)!=null&&jr.readOnly?"FieldDisabled":""}`),l(pe,"placeholder",e[21].postalCode),pe.readOnly=zn=(Rr=e[5].postalCode)==null?void 0:Rr.readOnly,l($e,"class",Gn="PlayerInfoBox "+(e[12]?"":"InvalidField")),l(ne,"class","PlayerLocationContent"),l(Lt,"class",$n="PlayerDetailsSaveButton "+(e[9]&&e[10]?"":"PlayerButtonDisabled")),l(lr,"class",Vn="PlayerDetailsButtonsArea "+(e[8]?"PlayerDetailsButtonsAreaMobile":"")),l(n,"class","PlayerFadeInWarapper"),l(r,"class",Qn="PlayerInfoWrapper "+(e[8]?"PlayerInfoWrapperMobile":""))},m(J,v){he&&he.m(J,v),T(J,t,v),T(J,r,v),s(r,n),de&&de.m(n,null),s(n,i),s(n,o),s(o,u),s(n,p),s(n,f),s(f,m),s(m,_),s(n,E),s(n,g),s(g,w),s(w,x),s(x,S),s(w,N),s(w,j),s(g,pt),s(g,R),s(R,V),s(V,D),s(R,X),s(R,tt),s(tt,K);for(let Ve=0;Ve<ie.length;Ve+=1)ie[Ve]&&ie[Ve].m(K,null);Oo(K,e[5].mobile.prefix,!0),s(tt,ht),s(tt,Q),q(Q,e[5].mobile.number),s(R,dt),me&&me.m(R,null),s(R,nt),ve&&ve.m(R,null),s(g,it),s(g,re),s(re,Fe),s(Fe,Ct),s(Fe,Ze),s(Fe,Ie),s(re,Xr),s(re,ee),q(ee,e[5].securityQuestion.value),s(re,qr),be&&be.m(re,null),s(g,Zr),s(g,He),s(He,at),s(at,st),s(at,er),s(at,mt),s(He,Yr),s(He,Z),q(Z,e[5].securityAnswer.value),s(He,Jr),ye&&ye.m(He,null),s(g,Kr),s(g,lt),s(lt,kt),s(kt,tr),s(lt,en),s(lt,Be),s(g,tn),s(g,ut),s(ut,Ot),s(Ot,rr),s(ut,rn),s(ut,y),s(g,se),s(g,U),s(U,L),s(L,le),s(U,yt),s(U,Y),s(g,Yi),s(g,Tt),s(Tt,on),s(on,ci),s(Tt,Ji),s(Tt,Le),s(g,Ki),s(g,Mt),s(Mt,un),s(un,fi),s(Mt,eo),s(Mt,je),s(g,to),s(g,Nt),s(Nt,hn),s(hn,pi),s(Nt,ro),s(Nt,Re),s(g,no),ge&&ge.m(g,null),s(n,io),s(n,bn),s(bn,hi),s(hi,di),s(n,oo),s(n,ne),s(ne,Dt),s(Dt,gn),s(gn,mi),s(Dt,ao),s(Dt,Oe),s(ne,so),s(ne,ze),s(ze,En),s(En,vi),s(ze,lo),s(ze,ue),q(ue,e[5].city.value),s(ze,uo),Ce&&Ce.m(ze,null),s(ne,co),s(ne,Ge),s(Ge,Bn),s(Bn,bi),s(Ge,fo),s(Ge,ce),q(ce,e[5].address1.value),s(Ge,po),_e&&_e.m(Ge,null),s(ne,ho),s(ne,We),s(We,Mn),s(Mn,yi),s(We,mo),s(We,fe),q(fe,e[5].address2.value),s(We,vo),Pe&&Pe.m(We,null),s(ne,bo),s(ne,$e),s($e,Rn),s(Rn,gi),s($e,yo),s($e,pe),q(pe,e[5].postalCode.value),s($e,go),Se&&Se.m($e,null),s(ne,Co),Ee&&Ee.m(ne,null),s(n,_o),we&&we.m(n,null),s(n,_i),s(n,lr),s(lr,Lt),s(Lt,Pi),s(n,Po),Ae&&Ae.m(n,null),Si||(So=[G(K,"change",e[41]),G(K,"change",e[23]("mobilePrefix")),G(Q,"input",e[42]),G(Q,"keyup",e[23]("mobileNumber")),G(Q,"input",function(){Zt(e[5].mobile.number=e[5].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(e[5].mobile.number=e[5].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),G(ee,"input",e[43]),G(ee,"keyup",e[23]("securityQuestion")),G(Z,"input",e[44]),G(Z,"keyup",e[23]("securityAnswer")),G(ue,"input",e[45]),G(ue,"keyup",e[23]("city")),G(ce,"input",e[46]),G(ce,"keyup",e[23]("address")),G(fe,"input",e[47]),G(fe,"keyup",e[23]("address")),G(pe,"input",e[48]),G(pe,"keyup",e[23]("postalCode")),G(Lt,"click",e[24])],Si=!0)},p(J,v){var Ve,ur,cr,fr,pr,hr,dr,mr,vr,br,yr,gr,Cr,_r,Pr,Sr,Er,wr,Ar,kr,xr,Br,Or,Ir,Hr,Tr,Mr,Nr,Dr,Lr,jr,Rr,Rt,Eo;if(e=J,e[1]==="true"?he?he.p(e,v):(he=ia(e),he.c(),he.m(t.parentNode,t)):he&&(he.d(1),he=null),e[8]?de?de.p(e,v):(de=oa(e),de.c(),de.m(n,i)):de&&(de.d(1),de=null),v[0]&1048576&&a!==(a=e[20]("titleProfileInfo")+"")&&k(u,a),v[0]&256&&c!==(c="MyAccountCategoryTitle "+(e[8]?"MyAccountCategoryTitleNone":""))&&l(o,"class",c),v[0]&1048576&&b!==(b=e[20]("personalDetails")+"")&&k(_,b),v[0]&1048576&&M!==(M=e[20]("userName")+"")&&k(S,M),v[0]&48&&$!==($=`${(Ve=e[5].username)!=null&&Ve.readOnly?"FieldDisabled":""}`)&&l(j,"class",$),v[0]&48&&ae!==(ae=(cr=(ur=e[5].username)==null?void 0:ur.value)!=null?cr:"")&&j.value!==ae&&(j.value=ae),v[0]&48&&te!==(te=(fr=e[5].username)==null?void 0:fr.readOnly)&&(j.readOnly=te),v[0]&1048576&&h!==(h=e[20]("userPhone")+"")&&k(D,h),v[0]&48){jt=Ke(e[4]);let Te;for(Te=0;Te<jt.length;Te+=1){const wo=ra(e,jt,Te);ie[Te]?ie[Te].p(wo,v):(ie[Te]=aa(wo),ie[Te].c(),ie[Te].m(K,null))}for(;Te<ie.length;Te+=1)ie[Te].d(1);ie.length=jt.length}v[0]&48&&rt!==(rt=`${(pr=e[5].mobile)!=null&&pr.readOnly?"FieldDisabled":""}`)&&l(K,"class",rt),v[0]&48&&De!==(De=(hr=e[5].mobile)==null?void 0:hr.readOnly)&&(K.disabled=De),v[0]&48&&Oo(K,e[5].mobile.prefix),v[0]&48&&Xe!==(Xe=`${(dr=e[5].mobile)!=null&&dr.readOnly?"FieldDisabled":""}`)&&l(Q,"class",Xe),v[0]&48&&qe!==(qe=(mr=e[5].mobile)==null?void 0:mr.readOnly)&&(Q.readOnly=qe),v[0]&48&&Q.value!==e[5].mobile.number&&q(Q,e[5].mobile.number),e[17]?me&&(me.d(1),me=null):me?me.p(e,v):(me=sa(e),me.c(),me.m(R,nt)),e[18]?ve&&(ve.d(1),ve=null):ve?ve.p(e,v):(ve=la(e),ve.c(),ve.m(R,null)),v[0]&393216&&Ue!==(Ue="PlayerInfoBox "+(e[17]?"":"InvalidField")+" "+(e[18]?"":"InvalidPrefix"))&&l(R,"class",Ue),v[0]&1048577&&ot!==(ot=(e[0]=="true"?e[20]("profileSecurityQuestion2"):e[20]("profileSecurityQuestion"))+"")&&k(Ct,ot),v[0]&48&&_t!==(_t=`${(vr=e[5].securityQuestion)!=null&&vr.readOnly?"FieldDisabled":""}`)&&l(ee,"class",_t),v[0]&48&&Pt!==(Pt=(br=e[5].securityQuestion)==null?void 0:br.readOnly)&&(ee.readOnly=Pt),v[0]&48&&ee.value!==e[5].securityQuestion.value&&q(ee,e[5].securityQuestion.value),e[15]?be&&(be.d(1),be=null):be?be.p(e,v):(be=ua(e),be.c(),be.m(re,null)),v[0]&32768&&St!==(St="PlayerInfoBox "+(e[15]?"":"InvalidField"))&&l(re,"class",St),v[0]&1048577&&Et!==(Et=(e[0]=="true"?e[20]("profileSecurityAnswer2"):e[20]("profileSecurityAnswer"))+"")&&k(st,Et),v[0]&48&&vt!==(vt=`${(yr=e[5].securityAnswer)!=null&&yr.readOnly?"FieldDisabled":""}`)&&l(Z,"class",vt),v[0]&48&&wt!==(wt=(gr=e[5].securityAnswer)==null?void 0:gr.readOnly)&&(Z.readOnly=wt),v[0]&48&&Z.value!==e[5].securityAnswer.value&&q(Z,e[5].securityAnswer.value),e[16]?ye&&(ye.d(1),ye=null):ye?ye.p(e,v):(ye=ca(e),ye.c(),ye.m(He,null)),v[0]&65536&&At!==(At="PlayerInfoBox "+(e[16]?"":"InvalidField"))&&l(He,"class",At),v[0]&1048576&&Ye!==(Ye=e[20]("userEmail")+"")&&k(tr,Ye),v[0]&48&&xt!==(xt=`${(Cr=e[5].email)!=null&&Cr.readOnly?"FieldDisabled":""}`)&&l(Be,"class",xt),v[0]&48&&bt!==(bt=e[5].email.value)&&Be.value!==bt&&(Be.value=bt),v[0]&48&&Bt!==(Bt=(_r=e[5].email)==null?void 0:_r.readOnly)&&(Be.readOnly=Bt),v[0]&1048576&&It!==(It=e[20]("dateOfBirth")+"")&&k(rr,It),v[0]&48&&C!==(C=`${(Pr=e[5].birth)!=null&&Pr.readOnly?"FieldDisabled":""}`)&&l(y,"class",C),v[0]&48&&H!==(H=e[5].birth.value)&&y.value!==H&&(y.value=H),v[0]&48&&F!==(F=(Sr=e[5].birth)==null?void 0:Sr.readOnly)&&(y.readOnly=F),v[0]&1048576&&Je!==(Je=e[20]("firstName")+"")&&k(le,Je),v[0]&48&&Ht!==(Ht=`${(Er=e[5].firstname)!=null&&Er.readOnly?"FieldDisabled":""}`)&&l(Y,"class",Ht),v[0]&48&&nr!==(nr=e[5].firstname.value)&&Y.value!==nr&&(Y.value=nr),v[0]&48&&nn!==(nn=(wr=e[5].firstname)==null?void 0:wr.readOnly)&&(Y.readOnly=nn),v[0]&1048576&&an!==(an=e[20]("lastName")+"")&&k(ci,an),v[0]&48&&sn!==(sn=`${(Ar=e[5].lastname)!=null&&Ar.readOnly?"FieldDisabled":""}`)&&l(Le,"class",sn),v[0]&48&&ir!==(ir=e[5].lastname.value)&&Le.value!==ir&&(Le.value=ir),v[0]&48&&ln!==(ln=(kr=e[5].lastname)==null?void 0:kr.readOnly)&&(Le.readOnly=ln),v[0]&1048576&&cn!==(cn=e[20]("userTitle")+"")&&k(fi,cn),v[0]&48&&fn!==(fn=`${(xr=e[5].title)!=null&&xr.readOnly?"FieldDisabled":""}`)&&l(je,"class",fn),v[0]&48&&or!==(or=e[5].title.value)&&je.value!==or&&(je.value=or),v[0]&48&&pn!==(pn=(Br=e[5].title)==null?void 0:Br.readOnly)&&(je.readOnly=pn),v[0]&1048576&&dn!==(dn=e[20]("currency")+"")&&k(pi,dn),v[0]&48&&mn!==(mn=`${(Or=e[5].currency)!=null&&Or.readOnly?"FieldDisabled":""}`)&&l(Re,"class",mn),v[0]&48&&ar!==(ar=e[5].currency.value)&&Re.value!==ar&&(Re.value=ar),v[0]&48&&vn!==(vn=(Ir=e[5].currency)==null?void 0:Ir.readOnly)&&(Re.readOnly=vn),e[5].iban.value?ge?ge.p(e,v):(ge=fa(e),ge.c(),ge.m(g,null)):ge&&(ge.d(1),ge=null),v[0]&1048576&&yn!==(yn=e[20]("locationDetails")+"")&&k(di,yn),v[0]&1048576&&Cn!==(Cn=e[20]("userCountry")+"")&&k(mi,Cn),v[0]&48&&_n!==(_n=`PlayerCountry ${(Hr=e[5].country)!=null&&Hr.readOnly?"FieldDisabled":""}`)&&l(Oe,"class",_n),v[0]&48&&sr!==(sr=e[5].country.countryName)&&Oe.value!==sr&&(Oe.value=sr),v[0]&48&&Pn!==(Pn=e[5].country.countryCode)&&l(Oe,"placeholder",Pn),v[0]&48&&Sn!==(Sn=(Tr=e[5].country)==null?void 0:Tr.readOnly)&&(Oe.readOnly=Sn),v[0]&1048576&&wn!==(wn=e[20]("userCity")+"")&&k(vi,wn),v[0]&48&&An!==(An=`${(Mr=e[5].city)!=null&&Mr.readOnly?"FieldDisabled":""}`)&&l(ue,"class",An),v[0]&48&&kn!==(kn=(Nr=e[5].city)==null?void 0:Nr.readOnly)&&(ue.readOnly=kn),v[0]&48&&ue.value!==e[5].city.value&&q(ue,e[5].city.value),e[11]?Ce&&(Ce.d(1),Ce=null):Ce?Ce.p(e,v):(Ce=pa(e),Ce.c(),Ce.m(ze,null)),v[0]&2048&&xn!==(xn="PlayerInfoBox "+(e[11]?"":"InvalidField"))&&l(ze,"class",xn),v[0]&1048576&&On!==(On=e[20]("userAddress")+"")&&k(bi,On),v[0]&48&&In!==(In=`${(Dr=e[5].address1)!=null&&Dr.readOnly?"FieldDisabled":""}`)&&l(ce,"class",In),v[0]&48&&Hn!==(Hn=(Lr=e[5].address1)==null?void 0:Lr.readOnly)&&(ce.readOnly=Hn),v[0]&48&&ce.value!==e[5].address1.value&&q(ce,e[5].address1.value),e[13]?_e&&(_e.d(1),_e=null):_e?_e.p(e,v):(_e=ha(e),_e.c(),_e.m(Ge,null)),v[0]&8192&&Tn!==(Tn="PlayerInfoBox "+(e[13]?"":"InvalidField"))&&l(Ge,"class",Tn),v[0]&1048576&&Nn!==(Nn=e[20]("userAddress2")+"")&&k(yi,Nn),v[0]&48&&Dn!==(Dn=`${(jr=e[5].address2)!=null&&jr.readOnly?"FieldDisabled":""}`)&&l(fe,"class",Dn),v[0]&48&&Ln!==(Ln=(Rr=e[5].address2)==null?void 0:Rr.readOnly)&&(fe.readOnly=Ln),v[0]&48&&fe.value!==e[5].address2.value&&q(fe,e[5].address2.value),e[14]?Pe&&(Pe.d(1),Pe=null):Pe?Pe.p(e,v):(Pe=da(e),Pe.c(),Pe.m(We,null)),v[0]&16384&&jn!==(jn="PlayerInfoBox "+(e[14]?"":"InvalidField"))&&l(We,"class",jn),v[0]&1048576&&Un!==(Un=e[20]("userPostalCode")+"")&&k(gi,Un),v[0]&48&&Fn!==(Fn=`${(Rt=e[5].postalCode)!=null&&Rt.readOnly?"FieldDisabled":""}`)&&l(pe,"class",Fn),v[0]&48&&zn!==(zn=(Eo=e[5].postalCode)==null?void 0:Eo.readOnly)&&(pe.readOnly=zn),v[0]&48&&pe.value!==e[5].postalCode.value&&q(pe,e[5].postalCode.value),e[12]?Se&&(Se.d(1),Se=null):Se?Se.p(e,v):(Se=ma(e),Se.c(),Se.m($e,null)),v[0]&4096&&Gn!==(Gn="PlayerInfoBox "+(e[12]?"":"InvalidField"))&&l($e,"class",Gn),e[2]==="true"?Ee?Ee.p(e,v):(Ee=va(e),Ee.c(),Ee.m(ne,null)):Ee&&(Ee.d(1),Ee=null),v[0]&32&&(Ci=Object.keys(e[5].consents).length>0),Ci?we?we.p(e,v):(we=ba(e),we.c(),we.m(n,_i)):we&&(we.d(1),we=null),v[0]&1048576&&Wn!==(Wn=e[20]("userProfileSaveChanges")+"")&&k(Pi,Wn),v[0]&1536&&$n!==($n="PlayerDetailsSaveButton "+(e[9]&&e[10]?"":"PlayerButtonDisabled"))&&l(Lt,"class",$n),v[0]&256&&Vn!==(Vn="PlayerDetailsButtonsArea "+(e[8]?"PlayerDetailsButtonsAreaMobile":""))&&l(lr,"class",Vn),e[19]?Ae?Ae.p(e,v):(Ae=Pa(e),Ae.c(),Ae.m(n,null)):Ae&&(Ae.d(1),Ae=null),v[0]&256&&Qn!==(Qn="PlayerInfoWrapper "+(e[8]?"PlayerInfoWrapperMobile":""))&&l(r,"class",Qn)},d(J){J&&(I(t),I(r)),he&&he.d(J),de&&de.d(),Wt(ie,J),me&&me.d(),ve&&ve.d(),be&&be.d(),ye&&ye.d(),ge&&ge.d(),Ce&&Ce.d(),_e&&_e.d(),Pe&&Pe.d(),Se&&Se.d(),Ee&&Ee.d(),we&&we.d(),Ae&&Ae.d(),Si=!1,ft(So)}}}function ia(e){let t,r,n=e[20]("welcomePanelTitle").replace("{fullName}",`${e[5].firstname.value} ${e[5].lastname.value}`)+"",i,o,a,u=e[20]("welcomePanelDescription")+"",c,p,f,m,b,_,E=e[5].firstname.value+"",g,w,x=e[5].lastname.value+"",M;return{c(){t=d("section"),r=d("h2"),i=A(n),o=P(),a=d("p"),c=A(u),p=P(),f=d("div"),m=d("div"),m.innerHTML='<svg viewBox="0 0 48 48" class="AvatarIcon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="24" cy="24" r="22" fill="currentColor" opacity="0.12"></circle><circle cx="24" cy="19" r="7" fill="currentColor" opacity="0.35"></circle><path d="M10 38c3.6-7 11-8.5 14-8.5S34.4 31 38 38" fill="currentColor" opacity="0.35"></path></svg>',b=P(),_=d("div"),g=A(E),w=P(),M=A(x),l(r,"class","WelcomeSectionTitle"),l(a,"class","WelcomeSectionDescription"),l(m,"class","WelcomeSectionProfilePicture"),l(m,"aria-hidden","true"),l(_,"class","WelcomeSectionFullName"),l(f,"class","WelcomeSectionProfileRow"),l(f,"role","group"),l(t,"class","WelcomeSection"),l(t,"role","region")},m(S,N){T(S,t,N),s(t,r),s(r,i),s(t,o),s(t,a),s(a,c),s(t,p),s(t,f),s(f,m),s(f,b),s(f,_),s(_,g),s(_,w),s(_,M)},p(S,N){N[0]&1048608&&n!==(n=S[20]("welcomePanelTitle").replace("{fullName}",`${S[5].firstname.value} ${S[5].lastname.value}`)+"")&&k(i,n),N[0]&1048576&&u!==(u=S[20]("welcomePanelDescription")+"")&&k(c,u),N[0]&32&&E!==(E=S[5].firstname.value+"")&&k(g,E),N[0]&32&&x!==(x=S[5].lastname.value+"")&&k(M,x)},d(S){S&&I(t)}}}function oa(e){let t,r,n,i,o,a,u,c,p,f,m=e[20]("titleProfileInfo")+"",b,_,E;return{c(){t=d("div"),r=Ut("svg"),n=Ut("defs"),i=Ut("style"),o=A(`.aaa {
|
|
19
|
+
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
|
|
20
|
+
}
|
|
21
|
+
`),a=Ut("g"),u=Ut("g"),c=Ut("path"),p=P(),f=d("h2"),b=A(m),l(c,"class","aaa"),l(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),l(c,"transform","translate(15 15) rotate(180)"),l(u,"transform","translate(20 158)"),l(a,"transform","translate(-20 -158)"),l(r,"xmlns","http://www.w3.org/2000/svg"),l(r,"width","15"),l(r,"height","15"),l(r,"viewBox","0 0 15 15"),l(f,"class","MyAccountCategoryTitleMobile"),l(t,"class","MenuReturnButton")},m(g,w){T(g,t,w),s(t,r),s(r,n),s(n,i),s(i,o),s(r,a),s(a,u),s(u,c),s(t,p),s(t,f),s(f,b),_||(E=[G(t,"click",e[25]),G(t,"keyup",null)],_=!0)},p(g,w){w[0]&1048576&&m!==(m=g[20]("titleProfileInfo")+"")&&k(b,m)},d(g){g&&I(t),_=!1,ft(E)}}}function Xu(e){let t,r=e[89]+"",n,i;return{c(){t=d("option"),n=A(r),t.__value=i=e[89],q(t,t.__value)},m(o,a){T(o,t,a),s(t,n)},p(o,a){a[0]&16&&r!==(r=o[89]+"")&&k(n,r),a[0]&16&&i!==(i=o[89])&&(t.__value=i,q(t,t.__value))},d(o){o&&I(t)}}}function qu(e){let t,r=e[89]+"",n,i;return{c(){t=d("option"),n=A(r),t.selected=!0,t.__value=i=e[89],q(t,t.__value)},m(o,a){T(o,t,a),s(t,n)},p(o,a){a[0]&16&&r!==(r=o[89]+"")&&k(n,r),a[0]&16&&i!==(i=o[89])&&(t.__value=i,q(t,t.__value))},d(o){o&&I(t)}}}function aa(e){let t;function r(o,a){return o[89]===o[5].mobile.prefix?qu:Xu}let n=r(e),i=n(e);return{c(){i.c(),t=ka()},m(o,a){i.m(o,a),T(o,t,a)},p(o,a){n===(n=r(o))&&i?i.p(o,a):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&I(t),i.d(o)}}}function sa(e){let t,r=e[20]("userPhoneError")+"",n;return{c(){t=d("p"),n=A(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&1048576&&r!==(r=i[20]("userPhoneError")+"")&&k(n,r)},d(i){i&&I(t)}}}function la(e){let t,r=e[20]("userPrefixError")+"",n;return{c(){t=d("p"),n=A(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&1048576&&r!==(r=i[20]("userPrefixError")+"")&&k(n,r)},d(i){i&&I(t)}}}function ua(e){let t,r=(e[0]=="true"?e[20]("profileSecurityQuestionError2"):e[20]("profileSecurityQuestionError"))+"",n;return{c(){t=d("p"),n=A(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&1048577&&r!==(r=(i[0]=="true"?i[20]("profileSecurityQuestionError2"):i[20]("profileSecurityQuestionError"))+"")&&k(n,r)},d(i){i&&I(t)}}}function ca(e){let t,r=(e[0]=="true"?e[20]("profileSecurityAnswerError2"):e[20]("profileSecurityAnswerError"))+"",n;return{c(){t=d("p"),n=A(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&1048577&&r!==(r=(i[0]=="true"?i[20]("profileSecurityAnswerError2"):i[20]("profileSecurityAnswerError"))+"")&&k(n,r)},d(i){i&&I(t)}}}function fa(e){let t,r,n=e[20]("iban")+"",i,o,a,u,c,p;return{c(){var f,m;t=d("div"),r=d("label"),i=A(n),o=P(),a=d("input"),l(r,"for","Iban"),l(a,"id","Iban"),l(a,"type","text"),l(a,"class",u=`${(f=e[5].iban)!=null&&f.readOnly?"FieldDisabled":""}`),a.value=c=e[5].iban.value,a.readOnly=p=(m=e[5].iban)==null?void 0:m.readOnly,l(t,"class","PlayerInfoBox")},m(f,m){T(f,t,m),s(t,r),s(r,i),s(t,o),s(t,a)},p(f,m){var b,_;m[0]&1048576&&n!==(n=f[20]("iban")+"")&&k(i,n),m[0]&48&&u!==(u=`${(b=f[5].iban)!=null&&b.readOnly?"FieldDisabled":""}`)&&l(a,"class",u),m[0]&48&&c!==(c=f[5].iban.value)&&a.value!==c&&(a.value=c),m[0]&48&&p!==(p=(_=f[5].iban)==null?void 0:_.readOnly)&&(a.readOnly=p)},d(f){f&&I(t)}}}function pa(e){let t,r=e[20]("userCityError")+"",n;return{c(){t=d("p"),n=A(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&1048576&&r!==(r=i[20]("userCityError")+"")&&k(n,r)},d(i){i&&I(t)}}}function ha(e){let t,r=e[20]("userAddressError")+"",n;return{c(){t=d("p"),n=A(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&1048576&&r!==(r=i[20]("userAddressError")+"")&&k(n,r)},d(i){i&&I(t)}}}function da(e){let t,r=e[20]("userAddressError")+"",n;return{c(){t=d("p"),n=A(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&1048576&&r!==(r=i[20]("userAddressError")+"")&&k(n,r)},d(i){i&&I(t)}}}function ma(e){let t,r=e[20]("userPostalCodeError")+"",n;return{c(){t=d("p"),n=A(r),l(t,"class","InvalidInput")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&1048576&&r!==(r=i[20]("userPostalCodeError")+"")&&k(n,r)},d(i){i&&I(t)}}}function va(e){let t,r=e[20]("locationDetailsDescription")+"",n;return{c(){t=d("div"),n=A(r),l(t,"class","LocationDetailsDescription")},m(i,o){T(i,t,o),s(t,n)},p(i,o){o[0]&1048576&&r!==(r=i[20]("locationDetailsDescription")+"")&&k(n,r)},d(i){i&&I(t)}}}function ba(e){var p;let t,r,n=e[20]("userNotifications")+"",i,o,a,u=Ke(Object.keys((p=e[5].consents)!=null?p:{})),c=[];for(let f=0;f<u.length;f+=1)c[f]=_a(ea(e,u,f));return{c(){t=d("div"),r=d("h3"),i=A(n),o=P(),a=d("section");for(let f=0;f<c.length;f+=1)c[f].c();l(t,"class","PlayerNotificationsHeader"),l(a,"class","PlayerNotificationsCheckboxArea")},m(f,m){T(f,t,m),s(t,r),s(r,i),T(f,o,m),T(f,a,m);for(let b=0;b<c.length;b+=1)c[b]&&c[b].m(a,null)},p(f,m){var b;if(m[0]&1048576&&n!==(n=f[20]("userNotifications")+"")&&k(i,n),m[0]&206569568){u=Ke(Object.keys((b=f[5].consents)!=null?b:{}));let _;for(_=0;_<u.length;_+=1){const E=ea(f,u,_);c[_]?c[_].p(E,m):(c[_]=_a(E),c[_].c(),c[_].m(a,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=u.length}},d(f){f&&(I(t),I(o),I(a)),Wt(c,f)}}}function ya(e){let t,r=e[22].includes(e[83]),n,i,o=r&&ga(e),a=Ke(e[5].consents[e[83]]),u=[];for(let c=0;c<a.length;c+=1)u[c]=Ca(ta(e,a,c));return{c(){t=d("div"),o&&o.c(),n=P();for(let c=0;c<u.length;c+=1)u[c].c();i=P(),l(t,"class","ConsentGroup")},m(c,p){T(c,t,p),o&&o.m(t,null),s(t,n);for(let f=0;f<u.length;f+=1)u[f]&&u[f].m(t,null);s(t,i)},p(c,p){if(p[0]&32&&(r=c[22].includes(c[83])),r?o?o.p(c,p):(o=ga(c),o.c(),o.m(t,n)):o&&(o.d(1),o=null),p[0]&139460704){a=Ke(c[5].consents[c[83]]);let f;for(f=0;f<a.length;f+=1){const m=ta(c,a,f);u[f]?u[f].p(m,p):(u[f]=Ca(m),u[f].c(),u[f].m(t,i))}for(;f<u.length;f+=1)u[f].d(1);u.length=a.length}},d(c){c&&I(t),o&&o.d(),Wt(u,c)}}}function ga(e){let t,r,n,i,o=e[83],a,u,c,p,f=e[20](`consentCategoryHeader${e[83]}`)+"",m,b,_;const E=()=>e[49](n,o),g=()=>e[49](null,o);return{c(){t=d("div"),r=d("label"),n=d("input"),a=P(),u=d("span"),c=P(),p=d("span"),m=A(f),n.checked=i=e[5].consents[e[83]].every(Sa),l(n,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class","PlayerNotificationBox Parent")},m(w,x){T(w,t,x),s(t,r),s(r,n),E(),s(r,a),s(r,u),s(r,c),s(r,p),s(p,m),b||(_=G(n,"change",function(){Zt(e[26](e[83]))&&e[26](e[83]).apply(this,arguments)}),b=!0)},p(w,x){e=w,x[0]&48&&i!==(i=e[5].consents[e[83]].every(Sa))&&(n.checked=i),o!==e[83]&&(g(),o=e[83],E()),x[0]&1048608&&f!==(f=e[20](`consentCategoryHeader${e[83]}`)+"")&&k(m,f)},d(w){w&&I(t),g(),b=!1,_()}}}function Ca(e){let t,r,n,i=e[83],o=e[86],a,u,c,p,f=e[20](`${e[86].tagCode}Consent`)+"",m,b,_,E;const g=()=>e[50](n,i,o),w=()=>e[50](null,i,o);function x(){e[51].call(n,e[87],e[88])}return{c(){t=d("div"),r=d("label"),n=d("input"),a=P(),u=d("span"),c=P(),p=d("span"),m=A(f),l(n,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class",b="PlayerNotificationBox "+(e[22].includes(e[83])?"Child":""))},m(M,S){T(M,t,S),s(t,r),s(r,n),g(),n.checked=e[86].status,s(r,a),s(r,u),s(r,c),s(r,p),s(p,m),_||(E=[G(n,"change",x),G(n,"change",function(){Zt(e[27](e[83]))&&e[27](e[83]).apply(this,arguments)})],_=!0)},p(M,S){e=M,(i!==e[83]||o!==e[86])&&(w(),i=e[83],o=e[86],g()),S[0]&48&&(n.checked=e[86].status),S[0]&1048608&&f!==(f=e[20](`${e[86].tagCode}Consent`)+"")&&k(m,f),S[0]&48&&b!==(b="PlayerNotificationBox "+(e[22].includes(e[83])?"Child":""))&&l(t,"class",b)},d(M){M&&I(t),w(),_=!1,ft(E)}}}function _a(e){var n;let t,r=((n=e[5].consents[e[83]])==null?void 0:n.length)>0&&ya(e);return{c(){r&&r.c(),t=ka()},m(i,o){r&&r.m(i,o),T(i,t,o)},p(i,o){var a;((a=i[5].consents[i[83]])==null?void 0:a.length)>0?r?r.p(i,o):(r=ya(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(i){i&&I(t),r&&r.d(i)}}}function Pa(e){let t,r,n=e[20]("userProfileConfirmationMessage")+"",i;return{c(){t=d("section"),r=d("p"),i=A(n),l(r,"class","PlayerDetailsConfirmSaveText"),l(t,"class","PlayerDetailsConfirmSave")},m(o,a){T(o,t,a),s(t,r),s(r,i)},p(o,a){a[0]&1048576&&n!==(n=o[20]("userProfileConfirmationMessage")+"")&&k(i,n)},d(o){o&&I(t)}}}function Zu(e){let t,r,n,i,o,a,u,c,p,f,m,b,_,E,g,w,x,M,S,N,j=Ke({length:10}),$=[];for(let h=0;h<j.length;h+=1)$[h]=$u(Wu(e,j,h));let ae=Ke({length:4}),te=[];for(let h=0;h<ae.length;h+=1)te[h]=Vu(Gu(e,ae,h));let pt=Ke({length:4}),R=[];for(let h=0;h<pt.length;h+=1)R[h]=Qu(zu(e,pt,h));let V=!e[7]&&na(e);return{c(){t=d("div"),r=d("div"),n=d("div"),n.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',i=P(),o=d("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=P(),u=d("div");for(let h=0;h<$.length;h+=1)$[h].c();c=P(),p=d("div"),p.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=P(),m=d("div");for(let h=0;h<te.length;h+=1)te[h].c();b=P(),_=d("div"),_.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',E=P(),g=d("div");for(let h=0;h<R.length;h+=1)R[h].c();w=P(),x=d("div"),x.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',S=P(),N=d("div"),V&&V.c(),l(n,"class","skeletonHeaderText"),l(o,"class","skeletonSectionText"),l(u,"class","skeletonSectionContainer"),l(p,"class","skeletonSectionText"),l(m,"class","skeletonSectionContainer"),l(_,"class","skeletonSectionText"),l(g,"class","skeletonConsentsContainer"),l(x,"class","skeletonButton"),l(r,"class","skeletonWrapper"),l(t,"class",M="skeletonContainer "+(e[7]?"":"Hidden"))},m(h,D){T(h,t,D),s(t,r),s(r,n),s(r,i),s(r,o),s(r,a),s(r,u);for(let X=0;X<$.length;X+=1)$[X]&&$[X].m(u,null);s(r,c),s(r,p),s(r,f),s(r,m);for(let X=0;X<te.length;X+=1)te[X]&&te[X].m(m,null);s(r,b),s(r,_),s(r,E),s(r,g);for(let X=0;X<R.length;X+=1)R[X]&&R[X].m(g,null);s(r,w),s(r,x),T(h,S,D),T(h,N,D),V&&V.m(N,null),e[52](N)},p(h,D){D[0]&128&&M!==(M="skeletonContainer "+(h[7]?"":"Hidden"))&&l(t,"class",M),h[7]?V&&(V.d(1),V=null):V?V.p(h,D):(V=na(h),V.c(),V.m(N,null))},i:xe,o:xe,d(h){h&&(I(t),I(S),I(N)),Wt($,h),Wt(te,h),Wt(R,h),V&&V.d(),e[52](null)}}}const Sa=e=>e.status;function Yu(e,t,r){let n;ps(e,_u,y=>r(20,n=y));let{userid:i}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:u="en"}=t,{clientstyling:c}=t,{clientstylingurl:p}=t,{mbsource:f}=t,{translationurl:m}=t,{custominputtextswitch:b="false"}=t,{showwelcomepanel:_="false"}=t,{showlocationdetailsdescription:E="false"}=t,{disabledfields:g="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,w,x=[],M=[],S={},N=[],j=[],$=[],ae,te,pt=window.navigator.userAgent,R="";const V={address1:"i.e.: Glanmire Rd.",address2:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},h={},D={},X=["Marketing","Casino","Sports","Bingo","VirtualSports"],tt=["Casino","Sports","Bingo","VirtualSports"];let K=!0,rt=!1,De=!1,ht=!1,Q=!0,Xe=!0,qe=!0,dt=!0,nt=!0,Ue=!0,it=!0,re=!0,Fe=!0,ot=!1;const Ct={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};window.matchMedia("(min-width: 768px)");const Ze=y=>{try{return JSON.stringify(y)}catch(C){return null}},Ie=y=>Ne(this,null,function*(){try{const C=new URL(`${a}${y}`),F={method:"GET",headers:new Headers({"X-SessionID":o})},se=yield fetch(C.href,F);if(!se.ok)throw new Error(`HTTP error! Status: ${se.status}`);return yield se.json()}catch(C){throw console.error("Fetch error:",C),C}});function Xr(){return Ne(this,null,function*(){r(38,S=yield Ie(`/v1/player/${i}/profile`))})}function ee(){return Ne(this,null,function*(){r(39,N=(yield Ie(`/v1/player/${i}/consent`)).items)})}function _t(){return Ne(this,null,function*(){r(40,j=(yield Ie("/v1/player/consentRequirements")).items)})}function Pt(){return Ne(this,null,function*(){r(37,M=(yield Ie("/v1/player/countries")).countries)})}const qr=()=>{Object.keys(S).forEach(C=>{var H,F,se,U,L,Je;switch(r(5,h[C]={},h),C){case"birth":const le=((H=S[C])==null?void 0:H.day)||"",yt=((F=S[C])==null?void 0:F.month)||"",Y=((se=S[C])==null?void 0:se.year)||"";r(5,h[C].value=`${le}/${yt}/${Y}`,h);break;case"country":r(5,h[C].countryName=((U=M.find(Ht=>Ht.Alpha2Code===S.country))==null?void 0:U.Name)||"I.E. Ireland",h),r(5,h[C].countryCode=S.country||"",h);break;case"mobile":r(5,h[C].prefix=(L=S.mobile)==null?void 0:L.prefix,h),r(5,h[C].number=(Je=S.mobile)==null?void 0:Je.number,h);break;default:r(5,h[C].value=S[C],h)}r(5,h[C].readOnly=$.includes(C),h)}),r(5,h.consents={},h),j.forEach(C=>{if(X.includes(C.category)&&!C.mustAccept){const H=N.find(F=>F.tagCode===C.tagCode);r(5,h.consents[C.category]=h.consents[C.category]||[],h),H?h.consents[C.category].push({tagCode:H.tagCode,status:H.status==="Accepted"}):h.consents[C.category].push({tagCode:C.tagCode,status:!1})}});const y=h.consents;for(const[C,H]of Object.entries(y))D[C]||(r(6,D[C]={},D),r(6,D[C].parent=null,D),H.forEach(F=>r(6,D[C][F.tagCode]=null,D)));te=Ze(h),ae=Ze(h.consents),r(7,K=!1)},St=y=>y.split(","),Zr=()=>{const y=new URL(`${a}/v1/player/operatorSupportedPhoneCodes`);fetch(y.href).then(C=>C.json()).then(C=>r(4,x=C.phoneCodes)).catch(C=>console.log("Failed to fetch phone codes:",C))},He=()=>{r(10,Q=!1),Ue&&it&&Xe&&dt&&nt&&qe&&re&&Fe&&r(10,Q=!0)},at=()=>{r(9,De=Ze(h)!==te)},Et=()=>{ht=Ze(h.consents)!==ae},st=y=>()=>{switch(y){case"mobilePrefix":r(18,Fe=!!h.mobile.prefix);break;case"mobileNumber":r(17,re=!1),h.mobile.number&&h.mobile.number.length>=5&&h.mobile.number.length<=12&&r(17,re=!0);break;case"city":r(11,Xe=!1),h.city.value&&h.city.value.length<=50&&r(11,Xe=!0);break;case"postalCode":r(12,qe=!1),h.postalCode.value&&h.postalCode.value.length<=20&&r(12,qe=!0);break;case"address":r(13,dt=!1),h.address1.value&&h.address1.value.length<=100&&r(13,dt=!0);break;case"address2":r(14,nt=!1),h.address2.value&&h.address2.value.length<=100&&r(14,nt=!0);break;case"securityQuestion":if(r(15,Ue=!1),h.securityQuestion.value)switch(b){case"true":Ct.document.test(h.securityQuestion.value)&&h.securityQuestion.value.length<=50&&r(15,Ue=!0);break;case"false":h.securityQuestion.value&&h.securityQuestion.value.length<=120&&r(15,Ue=!0);break}break;case"securityAnswer":if(r(16,it=!1),h.securityAnswer.value)switch(b){case"true":Ct.document.test(h.securityAnswer.value)&&h.securityAnswer.value.length<=50&&r(16,it=!0);break;case"false":h.securityAnswer.value&&h.securityAnswer.value.length<=120&&r(16,it=!0);break}break;case"consents":Et();break}at(),He()},er=()=>{r(19,ot=!0),setTimeout(()=>{r(19,ot=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("profileUpdateSuccess")}},window.location.href)},mt=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:R}},window.location.href)},Yr=y=>Ne(this,null,function*(){if(y.preventDefault(),De&&!ht&&Q){Z().then(C=>Ne(this,null,function*(){C?(r(38,S=yield Ie(`/v1/player/${i}/profile`)),r(9,De=!1),er()):mt()}));return}if(De&&ht&&Q){Promise.all([Z(),wt()]).then(C=>Ne(this,null,function*(){C[0]&&C[1]?(r(39,N=(yield Ie(`/v1/player/${i}/consent`)).items),r(38,S=yield Ie(`/v1/player/${i}/profile`)),r(9,De=!1),ht=!1,er()):mt()}));return}}),Z=()=>Ne(this,null,function*(){const y=new URL(`${a}/v1/player/${i}/profile`),C=new Headers;C.append("X-SessionID",o),C.append("Content-Type","application/json"),C.append("Accept","application/json");const H=Object.entries(h).reduce((U,[L,Je])=>{var yt;const le=Je;if(!le.readOnly)if(L==="mobile"||L==="phone")U[L]={prefix:le.prefix,number:le.number};else if(L==="consents")U[L]=le;else if(L==="country")U[L]=le.countryCode;else if(L==="birth"&&typeof le.value=="string"){const Y=le.value.split("/");U[L]={year:Y[2],month:Y[1],day:Y[0]}}else U[L]=(yt=le.value)!=null?yt:null;return U},{}),F=Ze(H);if(F===null)return!1;const se={method:"POST",headers:C,body:F};try{const U=yield fetch(y.href,se);if(U.status===200)return!0;const L=yield U.json();return vt(L),!1}catch(U){return console.error(U),vt(U),!1}}),vt=y=>{var H;const C=(H=y.thirdPartyResponse)==null?void 0:H.message;C&&C.includes("Mandatory input parameter is missing: mobilePrefix")?(R=n("userPrefixError"),st("mobilePrefix")()):R=n("userProfileUpdateError")},wt=()=>Ne(this,null,function*(){const y=[],C=h.consents;for(let L of Object.values(C).flat())y.push({tagCode:L.tagCode,status:L.status?"Accepted":"Denied"});const H=new URL(`${a}/v1/player/${i}/consent`),F=new Headers;F.append("X-SessionID",o),F.append("Content-Type","application/json"),F.append("Accept","application/json");const se=Ze({items:y});if(se===null)return!1;const U={method:"POST",headers:F,body:se};return yield fetch(H.href,U).then(L=>L.status==200,L=>(console.error(L),!1))}),Jr=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:rt},window.location.href)},At=()=>{Pu(u)},Kr=()=>{fetch(m).then(C=>C.json()).then(C=>{Object.keys(C).forEach(H=>{$o(H,C[H])})}).catch(C=>{console.log(C)})};Object.keys(Vo).forEach(y=>{$o(y,Vo[y])});const lt=y=>C=>{h.consents[y].forEach(H=>{H.status=C.target.checked,Object.values(D[y]).forEach(F=>{F&&(F.checked=H.status)})}),st("consents")()},kt=y=>C=>{D[y].parent&&r(6,D[y].parent.checked=h.consents[y].every(H=>H.status),D),st("consents")()},Ye=y=>Array.isArray(y)?y.length>0:Object.keys(y).length>0;Cs(()=>(Uu(pt)&&r(8,rt=!0),()=>{}));function tr(){h.mobile.prefix=bs(this),r(5,h),r(4,x)}function en(){h.mobile.number=this.value,r(5,h),r(4,x)}function Be(){h.securityQuestion.value=this.value,r(5,h),r(4,x)}function xt(){h.securityAnswer.value=this.value,r(5,h),r(4,x)}function bt(){h.city.value=this.value,r(5,h),r(4,x)}function Bt(){h.address1.value=this.value,r(5,h),r(4,x)}function tn(){h.address2.value=this.value,r(5,h),r(4,x)}function ut(){h.postalCode.value=this.value,r(5,h),r(4,x)}function Ot(y,C){zr[y?"unshift":"push"](()=>{D[C].parent=y,r(6,D)})}function It(y,C,H){zr[y?"unshift":"push"](()=>{D[C][H.tagCode]=y,r(6,D)})}function rr(y,C){y[C].status=this.checked,r(5,h),r(4,x)}function rn(y){zr[y?"unshift":"push"](()=>{w=y,r(3,w)})}return e.$$set=y=>{"userid"in y&&r(28,i=y.userid),"sessionid"in y&&r(29,o=y.sessionid),"endpoint"in y&&r(30,a=y.endpoint),"lang"in y&&r(31,u=y.lang),"clientstyling"in y&&r(32,c=y.clientstyling),"clientstylingurl"in y&&r(33,p=y.clientstylingurl),"mbsource"in y&&r(34,f=y.mbsource),"translationurl"in y&&r(35,m=y.translationurl),"custominputtextswitch"in y&&r(0,b=y.custominputtextswitch),"showwelcomepanel"in y&&r(1,_=y.showwelcomepanel),"showlocationdetailsdescription"in y&&r(2,E=y.showlocationdetailsdescription),"disabledfields"in y&&r(36,g=y.disabledfields)},e.$$.update=()=>{e.$$.dirty[0]&1879048192&&a&&i&&o&&Xr()&&ee()&&_t(),e.$$.dirty[0]&1073741824&&a&&Pt()&&Zr(),e.$$.dirty[1]&960&&Ye(S)&&Ye(N)&&Ye(j)&&Ye(M)&&qr(),e.$$.dirty[1]&1&&u&&At(),e.$$.dirty[1]&32&&g&&($=St(g)),e.$$.dirty[0]&8|e.$$.dirty[1]&2&&c&&w&&Su(w,c),e.$$.dirty[0]&8|e.$$.dirty[1]&4&&p&&w&&Eu(w,p),e.$$.dirty[0]&8|e.$$.dirty[1]&8&&f&&w&&wu(w,`${f}.Style`),e.$$.dirty[1]&16&&m&&Kr()},[b,_,E,w,x,h,D,K,rt,De,Q,Xe,qe,dt,nt,Ue,it,re,Fe,ot,n,V,tt,st,Yr,Jr,lt,kt,i,o,a,u,c,p,f,m,g,M,S,N,j,tr,en,Be,xt,bt,Bt,tn,ut,Ot,It,rr,rn]}class os extends Hs{constructor(t){super(),Os(this,t,Yu,Zu,wa,{userid:28,sessionid:29,endpoint:30,lang:31,clientstyling:32,clientstylingurl:33,mbsource:34,translationurl:35,custominputtextswitch:0,showwelcomepanel:1,showlocationdetailsdescription:2,disabledfields:36},Fu,[-1,-1,-1,-1])}get userid(){return this.$$.ctx[28]}set userid(t){this.$$set({userid:t}),ke()}get sessionid(){return this.$$.ctx[29]}set sessionid(t){this.$$set({sessionid:t}),ke()}get endpoint(){return this.$$.ctx[30]}set endpoint(t){this.$$set({endpoint:t}),ke()}get lang(){return this.$$.ctx[31]}set lang(t){this.$$set({lang:t}),ke()}get clientstyling(){return this.$$.ctx[32]}set clientstyling(t){this.$$set({clientstyling:t}),ke()}get clientstylingurl(){return this.$$.ctx[33]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),ke()}get mbsource(){return this.$$.ctx[34]}set mbsource(t){this.$$set({mbsource:t}),ke()}get translationurl(){return this.$$.ctx[35]}set translationurl(t){this.$$set({translationurl:t}),ke()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),ke()}get showwelcomepanel(){return this.$$.ctx[1]}set showwelcomepanel(t){this.$$set({showwelcomepanel:t}),ke()}get showlocationdetailsdescription(){return this.$$.ctx[2]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),ke()}get disabledfields(){return this.$$.ctx[36]}set disabledfields(t){this.$$set({disabledfields:t}),ke()}}Is(os,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showwelcomepanel:{},showlocationdetailsdescription:{},disabledfields:{}},[],[],!0);exports.default=os;
|