@everymatrix/player-profile-info 1.76.1 → 1.76.3
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-B-IrrjOm.cjs +21 -0
- package/components/{PlayerProfileInfo-Bm30NbNl.js → PlayerProfileInfo-BsXu0wx1.js} +1002 -1016
- package/components/{PlayerProfileInfo-DTgSMp-3.js → PlayerProfileInfo-Dt0r66Cw.js} +1016 -1030
- 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-BtPvM93e.js → index-b2193545-BbCeNxUG.js} +176 -176
- package/stencil/{index-b2193545-D_KBbaD-.js → index-b2193545-C9PH-6qK.js} +169 -169
- package/stencil/index-b2193545-D-u-gzj3.cjs +1 -0
- package/stencil/{ui-skeleton-NZtdK490.js → ui-skeleton-BKDs0-7H.js} +2 -2
- package/stencil/{ui-skeleton-CWuMYFGQ.js → ui-skeleton-CJbkvgG7.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CKJgMm_5.cjs → ui-skeleton-ae35c6f2-CXlvqczG.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CW3z59Qf.js → ui-skeleton-ae35c6f2-ZB0isFAq.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DlexSQlT.js → ui-skeleton-ae35c6f2-gun6WX2F.js} +1 -1
- package/stencil/{ui-skeleton-BPqjm-YB.cjs → ui-skeleton-bhljBTS7.cjs} +1 -1
- package/components/PlayerProfileInfo-BtYUJalp.cjs +0 -21
- package/stencil/index-b2193545-CgelUAhE.cjs +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";var Ka=Object.defineProperty,es=Object.defineProperties;var ts=Object.getOwnPropertyDescriptors;var Co=Object.getOwnPropertySymbols;var rs=Object.prototype.hasOwnProperty,ns=Object.prototype.propertyIsEnumerable;var Ci=(e,t,r)=>t in e?Ka(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_o=(e,t)=>{for(var r in t||(t={}))rs.call(t,r)&&Ci(e,r,t[r]);if(Co)for(var r of Co(t))ns.call(t,r)&&Ci(e,r,t[r]);return e},So=(e,t)=>es(e,ts(t));var Te=(e,t,r)=>(Ci(e,typeof t!="symbol"?t+"":t,r),r);var Me=(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-bhljBTS7.cjs");function Ee(){}function ya(e){return e()}function Eo(){return Object.create(null)}function ct(e){e.forEach(ya)}function qt(e){return typeof e=="function"}function va(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function is(e){return Object.keys(e).length===0}function ga(e,...t){if(e==null){for(const n of t)n(void 0);return Ee}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function os(e,t,r){e.$$.on_destroy.push(ga(t,r))}function s(e,t){e.appendChild(t)}function as(e,t,r){const n=ss(e);if(!n.getElementById(t)){const i=d("style");i.id=t,i.textContent=r,ls(n,i)}}function ss(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ls(e,t){return s(e.head||e,t),t.sheet}function M(e,t,r){e.insertBefore(t,r||null)}function T(e){e.parentNode&&e.parentNode.removeChild(e)}function zt(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 Rt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function w(e){return document.createTextNode(e)}function S(){return w(" ")}function Ca(){return w("")}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 us(e){return Array.from(e.childNodes)}function x(e,t){t=""+t,e.data!==t&&(e.data=t)}function X(e,t){e.value=t==null?"":t}function Po(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 cs(e){const t=e.querySelector(":checked");return t&&t.__value}function fs(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let zr;function Ur(e){zr=e}function ps(){if(!zr)throw new Error("Function called outside component initialization");return zr}function ds(e){ps().$$.on_mount.push(e)}const Ft=[],Fr=[];let Gt=[];const Ao=[],hs=Promise.resolve();let xi=!1;function ms(){xi||(xi=!0,hs.then(xe))}function Yn(e){Gt.push(e)}const _i=new Set;let jt=0;function xe(){if(jt!==0)return;const e=zr;do{try{for(;jt<Ft.length;){const t=Ft[jt];jt++,Ur(t),bs(t.$$)}}catch(t){throw Ft.length=0,jt=0,t}for(Ur(null),Ft.length=0,jt=0;Fr.length;)Fr.pop()();for(let t=0;t<Gt.length;t+=1){const r=Gt[t];_i.has(r)||(_i.add(r),r())}Gt.length=0}while(Ft.length);for(;Ao.length;)Ao.pop()();xi=!1,_i.clear(),Ur(e)}function bs(e){if(e.fragment!==null){e.update(),ct(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Yn)}}function ys(e){const t=[],r=[];Gt.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Gt=t}const vs=new Set;function gs(e,t){e&&e.i&&(vs.delete(e),e.i(t))}function Ye(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Cs(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Yn(()=>{const o=e.$$.on_mount.map(ya).filter(qt);e.$$.on_destroy?e.$$.on_destroy.push(...o):ct(o),e.$$.on_mount=[]}),i.forEach(Yn)}function _s(e,t){const r=e.$$;r.fragment!==null&&(ys(r.after_update),ct(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Ss(e,t){e.$$.dirty[0]===-1&&(Ft.push(e),ms(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Es(e,t,r,n,i,o,a=null,u=[-1]){const c=zr;Ur(e);const p=e.$$={fragment:null,ctx:[],props:o,update:Ee,not_equal:i,bound:Eo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Eo(),dirty:u,skip_bound:!1,root:t.target||c.$$.root};a&&a(p.root);let f=!1;if(p.ctx=r(e,t.props||{},(h,y,..._)=>{const C=_.length?_[0]:y;return p.ctx&&i(p.ctx[h],p.ctx[h]=C)&&(!p.skip_bound&&p.bound[h]&&p.bound[h](C),f&&Ss(e,h)),y}),p.update(),f=!0,ct(p.before_update),p.fragment=n(p.ctx),t.target){if(t.hydrate){const h=us(t.target);p.fragment&&p.fragment.l(h),h.forEach(T)}else p.fragment&&p.fragment.c();t.intro&&gs(e.$$.fragment),Cs(e,t.target,t.anchor),xe()}Ur(c)}let _a;typeof HTMLElement=="function"&&(_a=class extends HTMLElement{constructor(t,r,n){super();Te(this,"$$ctor");Te(this,"$$s");Te(this,"$$c");Te(this,"$$cn",!1);Te(this,"$$d",{});Te(this,"$$r",!1);Te(this,"$$p_d",{});Te(this,"$$l",{});Te(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 Me(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){M(p,a,f)},d:function(p){p&&T(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=fs(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]=Xn(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:So(_o({},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=Xn(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]=Xn(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 Xn(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 Ps(e,t,r,n,i,o){let a=class extends _a{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=Xn(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 As{constructor(){Te(this,"$$");Te(this,"$$set")}$destroy(){_s(this,1),this.$destroy=Ee}$on(t,r){if(!qt(r))return Ee;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&&!is(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ws="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ws);const Ut=[];function ks(e,t){return{subscribe:ti(e,t).subscribe}}function ti(e,t=Ee){let r;const n=new Set;function i(u){if(va(e,u)&&(e=u,r)){const c=!Ut.length;for(const p of n)p[1](),Ut.push(p,e);if(c){for(let p=0;p<Ut.length;p+=2)Ut[p][0](Ut[p+1]);Ut.length=0}}}function o(u){i(u(e))}function a(u,c=Ee){const p=[u,c];return n.add(p),n.size===1&&(r=t(i,o)||Ee),u(e),()=>{n.delete(p),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:a}}function Zt(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 ks(r,(a,u)=>{let c=!1;const p=[];let f=0,h=Ee;const y=()=>{if(f)return;h();const C=t(n?p[0]:p,a,u);o?a(C):h=qt(C)?C:Ee},_=i.map((C,P)=>ga(C,A=>{p[P]=A,f&=~(1<<P),c&&y()},()=>{f|=1<<P}));return c=!0,y(),function(){ct(_),h(),c=!1}})}function xs(e){return e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bs=function(t){return Os(t)&&!Hs(t)};function Os(e){return!!e&&typeof e=="object"}function Hs(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ms(e)}var Is=typeof Symbol=="function"&&Symbol.for,Ts=Is?Symbol.for("react.element"):60103;function Ms(e){return e.$$typeof===Ts}function Ns(e){return Array.isArray(e)?[]:{}}function Gr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?$t(Ns(e),e,t):e}function Ds(e,t,r){return e.concat(t).map(function(n){return Gr(n,r)})}function Ls(e,t){if(!t.customMerge)return $t;var r=t.customMerge(e);return typeof r=="function"?r:$t}function Rs(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function wo(e){return Object.keys(e).concat(Rs(e))}function Sa(e,t){try{return t in e}catch(r){return!1}}function js(e,t){return Sa(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Us(e,t,r){var n={};return r.isMergeableObject(e)&&wo(e).forEach(function(i){n[i]=Gr(e[i],r)}),wo(t).forEach(function(i){js(e,i)||(Sa(e,i)&&r.isMergeableObject(t[i])?n[i]=Ls(i,r)(e[i],t[i],r):n[i]=Gr(t[i],r))}),n}function $t(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ds,r.isMergeableObject=r.isMergeableObject||Bs,r.cloneUnlessOtherwiseSpecified=Gr;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):Us(e,t,r):Gr(t,r)}$t.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return $t(n,i,r)},{})};var Fs=$t,zs=Fs;const Gs=xs(zs);/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */var Bi=function(e,t){return Bi=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])},Bi(e,t)};function et(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Bi(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var I=function(){return I=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},I.apply(this,arguments)};function Vs(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 Oi(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 Hi(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 Vt(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||t)}function Si(e,t){var r=t&&t.cache?t.cache:Js,n=t&&t.serializer?t.serializer:qs,i=t&&t.strategy?t.strategy:Qs;return i(e,{cache:r,serializer:n})}function $s(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ea(e,t,r,n){var i=$s(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function Pa(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 zi(e,t,r,n,i){return r.bind(t,e,n,i)}function Qs(e,t){var r=e.length===1?Ea:Pa;return zi(e,this,r,t.cache.create(),t.serializer)}function Ws(e,t){return zi(e,this,Pa,t.cache.create(),t.serializer)}function Xs(e,t){return zi(e,this,Ea,t.cache.create(),t.serializer)}var qs=function(){return JSON.stringify(arguments)},Zs=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}(),Js={create:function(){return new Zs}},Ei={variadic:Ws,monadic:Xs},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 F;(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"})(F||(F={}));var Qt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Qt||(Qt={}));function ko(e){return e.type===F.literal}function Ys(e){return e.type===F.argument}function Aa(e){return e.type===F.number}function wa(e){return e.type===F.date}function ka(e){return e.type===F.time}function xa(e){return e.type===F.select}function Ba(e){return e.type===F.plural}function Ks(e){return e.type===F.pound}function Oa(e){return e.type===F.tag}function Ha(e){return!!(e&&typeof e=="object"&&e.type===Qt.number)}function Ii(e){return!!(e&&typeof e=="object"&&e.type===Qt.dateTime)}var Ia=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,el=/(?:[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 tl(e){var t={};return e.replace(el,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 rl=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function nl(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(rl).filter(function(y){return y.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 h=f[p];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:u,options:c})}return r}function il(e){return e.replace(/^(.*?)-/,"")}var xo=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ta=/^(@+)?(\+|#+)?[rs]?$/g,ol=/(\*)(0+)|(#+)(0+)|(0+)/g,Ma=/^(0+)$/;function Bo(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ta,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 Na(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 al(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)),!Ma.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Oo(e){var t={},r=Na(e);return r||t}function sl(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=il(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=I(I(I({},t),{notation:"scientific"}),i.options.reduce(function(c,p){return I(I({},c),Oo(p))},{}));continue;case"engineering":t=I(I(I({},t),{notation:"engineering"}),i.options.reduce(function(c,p){return I(I({},c),Oo(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(ol,function(c,p,f,h,y,_){if(p)t.minimumIntegerDigits=f.length;else{if(h&&y)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(Ma.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(xo.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(xo,function(c,p,f,h,y,_){return f==="*"?t.minimumFractionDigits=p.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:y&&_?(t.minimumFractionDigits=y.length,t.maximumFractionDigits=y.length+_.length):(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length),""});var o=i.options[0];o==="w"?t=I(I({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=I(I({},t),Bo(o)));continue}if(Ta.test(i.stem)){t=I(I({},t),Bo(i.stem));continue}var a=Na(i.stem);a&&(t=I(I({},t),a));var u=al(i.stem);u&&(t=I(I({},t),u))}return t}var Qn={"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 ll(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=ul(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 ul(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=Qn[n||""]||Qn[r||""]||Qn["".concat(r,"-001")]||Qn["001"];return i[0]}var Pi,cl=new RegExp("^".concat(Ia.source,"*")),fl=new RegExp("".concat(Ia.source,"*$"));function O(e,t){return{start:e,end:t}}var pl=!!String.prototype.startsWith&&"_a".startsWith("a",1),dl=!!String.fromCodePoint,hl=!!Object.fromEntries,ml=!!String.prototype.codePointAt,bl=!!String.prototype.trimStart,yl=!!String.prototype.trimEnd,vl=!!Number.isSafeInteger,gl=vl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ti=!0;try{var Cl=La("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ti=((Pi=Cl.exec("a"))===null||Pi===void 0?void 0:Pi[0])==="a"}catch(e){Ti=!1}var Ho=pl?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Mi=dl?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},Io=hl?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},Da=ml?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}},_l=bl?function(t){return t.trimStart()}:function(t){return t.replace(cl,"")},Sl=yl?function(t){return t.trimEnd()}:function(t){return t.replace(fl,"")};function La(e,t){return new RegExp(e,t)}var Ni;if(Ti){var To=La("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ni=function(t,r){var n;To.lastIndex=r;var i=To.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Ni=function(t,r){for(var n=[];;){var i=Da(t,r);if(i===void 0||Ra(i)||wl(i))break;n.push(i),r+=i>=65536?2:1}return Mi.apply(void 0,n)};var El=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:F.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&&Di(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:F.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()||!Di(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:F.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()&&Al(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:F.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Pl(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 Mi.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(),Mi(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:F.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=Ni(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(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var y=Sl(h.val);if(y.length===0)return this.error(B.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()));var _=O(f,this.clonePosition());p={style:y,styleLocation:_}}var C=this.tryParseArgumentClose(i);if(C.err)return C;var P=O(i,this.clonePosition());if(p&&Ho(p==null?void 0:p.style,"::",0)){var A=_l(p.style.slice(2));if(u==="number"){var h=this.parseNumberSkeletonFromString(A,p.styleLocation);return h.err?h:{val:{type:F.number,value:n,location:P,style:h.val},err:null}}else{if(A.length===0)return this.error(B.EXPECT_DATE_TIME_SKELETON,P);var L=A;this.locale&&(L=ll(A,this.locale));var y={type:Qt.dateTime,pattern:L,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?tl(L):{}},k=u==="date"?F.date:F.time;return{val:{type:k,value:n,location:P,style:y},err:null}}}return{val:{type:u==="number"?F.number:u==="date"?F.date:F.time,value:n,location:P,style:(o=p==null?void 0:p.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS,O(N,I({},N)));this.bumpSpace();var D=this.parseIdentifierIfPossible(),W=0;if(u!=="select"&&D.value==="offset"){if(!this.bumpIf(":"))return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),D=this.parseIdentifierIfPossible(),W=h.val}var V=this.tryParsePluralOrSelectOptions(t,u,r,D);if(V.err)return V;var C=this.tryParseArgumentClose(i);if(C.err)return C;var Pe=O(i,this.clonePosition());return u==="select"?{val:{type:F.select,value:n,options:Io(V.val),location:Pe},err:null}:{val:{type:F.plural,value:n,options:Io(V.val),offset:W,pluralType:u==="plural"?"cardinal":"ordinal",location:Pe},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=nl(t)}catch(i){return this.error(B.INVALID_NUMBER_SKELETON,r)}return{val:{type:Qt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?sl(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 h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var y=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR,B.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err)return y;f=O(h,this.clonePosition()),p=this.message.slice(h.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 C=this.parseMessage(t+1,r,n);if(C.err)return C;var P=this.tryParseArgumentClose(_);if(P.err)return P;u.push([p,{value:C.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,gl(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=Da(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(Ho(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()&&Ra(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 Di(e){return e>=97&&e<=122||e>=65&&e<=90}function Pl(e){return Di(e)||e===47}function Al(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 Ra(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function wl(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 Li(e){e.forEach(function(t){if(delete t.location,xa(t)||Ba(t))for(var r in t.options)delete t.options[r].location,Li(t.options[r].value);else Aa(t)&&Ha(t.style)||(wa(t)||ka(t))&&Ii(t.style)?delete t.style.location:Oa(t)&&Li(t.children)})}function kl(e,t){t===void 0&&(t={}),t=I({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new El(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||Li(r.val),r.val}var Wt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Wt||(Wt={}));var ri=function(e){et(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),Mo=function(e){et(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('", "'),'"'),Wt.INVALID_VALUE,o)||this}return t}(ri),xl=function(e){et(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Wt.INVALID_VALUE,i)||this}return t}(ri),Bl=function(e){et(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,'"'),Wt.MISSING_VALUE,n)||this}return t}(ri),re;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(re||(re={}));function Ol(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==re.literal||r.type!==re.literal?t.push(r):n.value+=r.value,t},[])}function Hl(e){return typeof e=="function"}function qn(e,t,r,n,i,o,a){if(e.length===1&&ko(e[0]))return[{type:re.literal,value:e[0].value}];for(var u=[],c=0,p=e;c<p.length;c++){var f=p[c];if(ko(f)){u.push({type:re.literal,value:f.value});continue}if(Ks(f)){typeof o=="number"&&u.push({type:re.literal,value:r.getNumberFormat(t).format(o)});continue}var h=f.value;if(!(i&&h in i))throw new Bl(h,a);var y=i[h];if(Ys(f)){(!y||typeof y=="string"||typeof y=="number")&&(y=typeof y=="string"||typeof y=="number"?String(y):""),u.push({type:typeof y=="string"?re.literal:re.object,value:y});continue}if(wa(f)){var _=typeof f.style=="string"?n.date[f.style]:Ii(f.style)?f.style.parsedOptions:void 0;u.push({type:re.literal,value:r.getDateTimeFormat(t,_).format(y)});continue}if(ka(f)){var _=typeof f.style=="string"?n.time[f.style]:Ii(f.style)?f.style.parsedOptions:n.time.medium;u.push({type:re.literal,value:r.getDateTimeFormat(t,_).format(y)});continue}if(Aa(f)){var _=typeof f.style=="string"?n.number[f.style]:Ha(f.style)?f.style.parsedOptions:void 0;_&&_.scale&&(y=y*(_.scale||1)),u.push({type:re.literal,value:r.getNumberFormat(t,_).format(y)});continue}if(Oa(f)){var C=f.children,P=f.value,A=i[P];if(!Hl(A))throw new xl(P,"function",a);var L=qn(C,t,r,n,i,o),k=A(L.map(function(W){return W.value}));Array.isArray(k)||(k=[k]),u.push.apply(u,k.map(function(W){return{type:typeof W=="string"?re.literal:re.object,value:W}}))}if(xa(f)){var N=f.options[y]||f.options.other;if(!N)throw new Mo(f.value,y,Object.keys(f.options),a);u.push.apply(u,qn(N.value,t,r,n,i));continue}if(Ba(f)){var N=f.options["=".concat(y)];if(!N){if(!Intl.PluralRules)throw new ri(`Intl.PluralRules is not available in this environment.
|
|
15
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
16
|
+
`,Wt.MISSING_INTL_API,a);var D=r.getPluralRules(t,{type:f.pluralType}).select(y-(f.offset||0));N=f.options[D]||f.options.other}if(!N)throw new Mo(f.value,y,Object.keys(f.options),a);u.push.apply(u,qn(N.value,t,r,n,i,y-(f.offset||0)));continue}}return Ol(u)}function Il(e,t){return t?I(I(I({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=I(I({},e[n]),t[n]||{}),r},{})):e}function Tl(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Il(e[n],t[n]),r},I({},e)):e}function Ai(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Ml(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Si(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Vt([void 0],r,!1)))},{cache:Ai(e.number),strategy:Ei.variadic}),getDateTimeFormat:Si(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Vt([void 0],r,!1)))},{cache:Ai(e.dateTime),strategy:Ei.variadic}),getPluralRules:Si(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Vt([void 0],r,!1)))},{cache:Ai(e.pluralRules),strategy:Ei.variadic})}}var Nl=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(h,y){return!h.length||y.type!==re.literal||typeof h[h.length-1]!="string"?h.push(y.value):h[h.length-1]+=y.value,h},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(c){return qn(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=Vs(a,["formatters"]);this.ast=e.__parse(t,I(I({},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=Tl(e.formats,n),this.formatters=i&&i.formatters||Ml(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=kl,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 Dl(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 ut={},Ll=(e,t,r)=>r&&(t in ut||(ut[t]={}),e in ut[t]||(ut[t][e]=r),r),ja=(e,t)=>{if(t==null)return;if(t in ut&&e in ut[t])return ut[t][e];const r=ni(t);for(let n=0;n<r.length;n++){const i=r[n],o=jl(i,e);if(o)return Ll(e,t,o)}};let Gi;const $r=ti({});function Rl(e){return Gi[e]||null}function Ua(e){return e in Gi}function jl(e,t){if(!Ua(e))return null;const r=Rl(e);return Dl(r,t)}function Ul(e){if(e==null)return;const t=ni(e);for(let r=0;r<t.length;r++){const n=t[r];if(Ua(n))return n}}function Fa(e,...t){delete ut[e],$r.update(r=>(r[e]=Gs.all([r[e]||{},...t]),r))}Zt([$r],([e])=>Object.keys(e));$r.subscribe(e=>Gi=e);const Zn={};function Fl(e,t){Zn[e].delete(t),Zn[e].size===0&&delete Zn[e]}function za(e){return Zn[e]}function zl(e){return ni(e).map(t=>{const r=za(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Ri(e){return e==null?!1:ni(e).some(t=>{var r;return(r=za(t))==null?void 0:r.size})}function Gl(e,t){return Promise.all(t.map(n=>(Fl(e,n),n().then(i=>i.default||i)))).then(n=>Fa(e,...n))}const jr={};function Ga(e){if(!Ri(e))return e in jr?jr[e]:Promise.resolve();const t=zl(e);return jr[e]=Promise.all(t.map(([r,n])=>Gl(r,n))).then(()=>{if(Ri(e))return Ga(e);delete jr[e]}),jr[e]}const Vl={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"}}},$l={fallbackLocale:null,loadingDelay:200,formats:Vl,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ql=$l;function Xt(){return Ql}const wi=ti(!1);var Wl=Object.defineProperty,Xl=Object.defineProperties,ql=Object.getOwnPropertyDescriptors,No=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,Do=(e,t,r)=>t in e?Wl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Yl=(e,t)=>{for(var r in t)Zl.call(t,r)&&Do(e,r,t[r]);if(No)for(var r of No(t))Jl.call(t,r)&&Do(e,r,t[r]);return e},Kl=(e,t)=>Xl(e,ql(t));let ji;const Kn=ti(null);function Lo(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ni(e,t=Xt().fallbackLocale){const r=Lo(e);return t?[...new Set([...r,...Lo(t)])]:r}function bt(){return ji!=null?ji:void 0}Kn.subscribe(e=>{ji=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const eu=e=>{if(e&&Ul(e)&&Ri(e)){const{loadingDelay:t}=Xt();let r;return typeof window!="undefined"&&bt()!=null&&t?r=window.setTimeout(()=>wi.set(!0),t):wi.set(!0),Ga(e).then(()=>{Kn.set(e)}).finally(()=>{clearTimeout(r),wi.set(!1)})}return Kn.set(e)},Jt=Kl(Yl({},Kn),{set:eu}),ii=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var tu=Object.defineProperty,ei=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,$a=Object.prototype.propertyIsEnumerable,Ro=(e,t,r)=>t in e?tu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Vi=(e,t)=>{for(var r in t||(t={}))Va.call(t,r)&&Ro(e,r,t[r]);if(ei)for(var r of ei(t))$a.call(t,r)&&Ro(e,r,t[r]);return e},Yt=(e,t)=>{var r={};for(var n in e)Va.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ei)for(var n of ei(e))t.indexOf(n)<0&&$a.call(e,n)&&(r[n]=e[n]);return r};const Vr=(e,t)=>{const{formats:r}=Xt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ru=ii(e=>{var t=e,{locale:r,format:n}=t,i=Yt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Vr("number",n)),new Intl.NumberFormat(r,i)}),nu=ii(e=>{var t=e,{locale:r,format:n}=t,i=Yt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Vr("date",n):Object.keys(i).length===0&&(i=Vr("date","short")),new Intl.DateTimeFormat(r,i)}),iu=ii(e=>{var t=e,{locale:r,format:n}=t,i=Yt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Vr("time",n):Object.keys(i).length===0&&(i=Vr("time","short")),new Intl.DateTimeFormat(r,i)}),ou=(e={})=>{var t=e,{locale:r=bt()}=t,n=Yt(t,["locale"]);return ru(Vi({locale:r},n))},au=(e={})=>{var t=e,{locale:r=bt()}=t,n=Yt(t,["locale"]);return nu(Vi({locale:r},n))},su=(e={})=>{var t=e,{locale:r=bt()}=t,n=Yt(t,["locale"]);return iu(Vi({locale:r},n))},lu=ii((e,t=bt())=>new Nl(e,t,Xt().formats,{ignoreTag:Xt().ignoreTag})),uu=(e,t={})=>{var r,n,i,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:u,locale:c=bt(),default:p}=a;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=ja(e,c);if(!f)f=(o=(i=(n=(r=Xt()).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 h=f;try{h=lu(f,c).format(u)}catch(y){y instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,y.message)}return h},cu=(e,t)=>su(t).format(e),fu=(e,t)=>au(t).format(e),pu=(e,t)=>ou(t).format(e),du=(e,t=bt())=>ja(e,t),hu=Zt([Jt,$r],()=>uu);Zt([Jt],()=>cu);Zt([Jt],()=>fu);Zt([Jt],()=>pu);Zt([Jt,$r],()=>du);function jo(e,t){Fa(e,t)}function mu(e){Jt.set(e)}const Uo={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."},"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."},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."},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."},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."},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."},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."},"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."},"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."}};function bu(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function yu(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 vu(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function Ke(e){return typeof e=="function"}function Qa(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 ki=Qa(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 Ui(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var oi=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=Oi(a),c=u.next();!c.done;c=u.next()){var p=c.value;p.remove(this)}}catch(P){t={error:P}}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(Ke(f))try{f()}catch(P){o=P instanceof ki?P.errors:[P]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var y=Oi(h),_=y.next();!_.done;_=y.next()){var C=_.value;try{Fo(C)}catch(P){o=o!=null?o:[],P instanceof ki?o=Vt(Vt([],Hi(o)),Hi(P.errors)):o.push(P)}}}catch(P){n={error:P}}finally{try{_&&!_.done&&(i=y.return)&&i.call(y)}finally{if(n)throw n.error}}}if(o)throw new ki(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Fo(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)&&Ui(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ui(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Wa=oi.EMPTY;function Xa(e){return e instanceof oi||e&&"closed"in e&&Ke(e.remove)&&Ke(e.add)&&Ke(e.unsubscribe)}function Fo(e){Ke(e)?e():e.unsubscribe()}var gu={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Cu={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Vt([e,t],Hi(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function _u(e){Cu.setTimeout(function(){throw e})}function zo(){}function Jn(e){e()}var qa=function(e){et(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Xa(r)&&r.add(n)):n.destination=Pu,n}return t.create=function(r,n,i){return new Fi(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}(oi),Su=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){Wn(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Wn(n)}else Wn(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Wn(r)}},e}(),Fi=function(e){et(t,e);function t(r,n,i){var o=e.call(this)||this,a;return Ke(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 Su(a),o}return t}(qa);function Wn(e){_u(e)}function Eu(e){throw e}var Pu={closed:!0,next:zo,error:Eu,complete:zo},Au=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function wu(e){return e}function ku(e){return e.length===0?wu:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Go=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=Bu(t)?t:new Fi(t,r,n);return Jn(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=Vo(r),new r(function(i,o){var a=new Fi({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[Au]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ku(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Vo(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 Vo(e){var t;return(t=e!=null?e:gu.Promise)!==null&&t!==void 0?t:Promise}function xu(e){return e&&Ke(e.next)&&Ke(e.error)&&Ke(e.complete)}function Bu(e){return e&&e instanceof qa||xu(e)&&Xa(e)}var Ou=Qa(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Za=function(e){et(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 $o(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ou},t.prototype.next=function(r){var n=this;Jn(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=Oi(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;Jn(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;Jn(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?Wa:(this.currentObservers=null,u.push(r),new oi(function(){n.currentObservers=null,Ui(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 Go;return r.source=this,r},t.create=function(r,n){return new $o(r,n)},t}(Go),$o=function(e){et(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:Wa},t}(Za),Ja={now:function(){return(Ja.delegate||Date).now()},delegate:void 0},Hu=function(e){et(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Ja);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}(Za);const Qo=[],Wo={},Iu=(e,t=0)=>{if(Qo.indexOf(e)==-1){const r=new Hu(t);Wo[e]=r,Qo.push(e)}return Wo[e]};window.emWidgets={topic:Iu};const Tu=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 Mu(e){as(e,"svelte-1vp20x9",`button{font-family:var(--emw--button-typography)}.Hidden{display:none}input,select,option{font-family:inherit}.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 Xo(e,t,r){const n=e.slice();return n[82]=t[r],n[83]=t,n[84]=r,n}function qo(e,t,r){const n=e.slice();return n[85]=t[r],n[86]=t,n[87]=r,n}function Zo(e,t,r){const n=e.slice();return n[88]=t[r],n}function Nu(e,t,r){const n=e.slice();return n[91]=t[r],n[93]=r,n}function Du(e,t,r){const n=e.slice();return n[91]=t[r],n[93]=r,n}function Lu(e,t,r){const n=e.slice();return n[91]=t[r],n[93]=r,n}function Ru(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){M(r,t,n)},p:Ee,d(r){r&&T(t)}}}function ju(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){M(r,t,n)},p:Ee,d(r){r&&T(t)}}}function Uu(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){M(r,t,n)},p:Ee,d(r){r&&T(t)}}}function Jo(e){let t,r,n,i,o=e[19]("titleProfileInfo")+"",a,u,c,p,f,h=e[19]("personalDetails")+"",y,_,C,P,A,L=e[19]("userName")+"",k,N,D,W,V,Pe,Be,$,Ae,b=e[19]("userPhone")+"",E,Ne,z,J,tt,De,ft,Q,We,Xe,pt,rt,Ue,nt,K,Fe,it=(e[0]=="true"?e[19]("profileSecurityQuestion2"):e[19]("profileSecurityQuestion"))+"",yt,qe,Oe,Qr,Y,vt,gt,Wr,Ct,Xr,He,ot,_t=(e[0]=="true"?e[19]("profileSecurityAnswer2"):e[19]("profileSecurityAnswer"))+"",at,Kt,dt,qr,q,St,Et,Zr,Pt,Jr,st,At,Ze=e[19]("userEmail")+"",er,Yr,we,wt,ht,kt,Kr,lt,xt,Bt=e[19]("dateOfBirth")+"",tr,en,v,g,H,j,ne,U,R,Je=e[19]("firstName")+"",ie,mt,Z,Ot,rr,tn,$i,Ht,rn,nn=e[19]("lastName")+"",ai,Qi,Le,on,nr,an,Wi,It,sn,ln=e[19]("userTitle")+"",si,Xi,Re,un,ir,cn,qi,Tt,fn,pn=e[19]("currency")+"",li,Zi,je,dn,or,hn,Ji,Yi,mn,ui,bn=e[19]("locationDetails")+"",ci,Ki,ee,Mt,yn,vn=e[19]("userCountry")+"",fi,eo,ke,gn,ar,Cn,_n,to,ze,Sn,En=e[19]("userCity")+"",pi,ro,oe,Pn,An,no,wn,io,Ge,kn,xn=e[19]("userAddress")+"",di,oo,ae,Bn,On,ao,Hn,so,Ve,In,Tn=e[19]("userAddress2")+"",hi,lo,se,Mn,Nn,uo,Dn,co,$e,Ln,Rn=e[19]("userPostalCode")+"",mi,fo,le,jn,Un,po,Fn,ho,mo,bi=Object.keys(e[4].consents).length>0,yi,sr,Nt,zn=e[19]("userProfileSaveChanges")+"",vi,Gn,Vn,bo,$n,gi,yo,ue=e[7]&&Yo(e),Dt=Ye(e[3]),te=[];for(let Se=0;Se<Dt.length;Se+=1)te[Se]=Ko(Zo(e,Dt,Se));let ce=!e[16]&&ea(e),fe=!e[17]&&ta(e),pe=!e[14]&&ra(e),de=!e[15]&&na(e),he=e[4].iban.value&&ia(e),me=!e[10]&&oa(e),be=!e[12]&&aa(e),ye=!e[13]&&sa(e),ve=!e[11]&&la(e),ge=e[1]==="true"&&ua(e),Ce=bi&&ca(e),_e=e[18]&&ma(e);return{c(){var Se,m,Qe,lr,ur,cr,fr,pr,dr,hr,mr,br,yr,vr,gr,Cr,_r,Sr,Er,Pr,Ar,wr,kr,xr,Br,Or,Hr,Ir,Tr,Mr,Nr,Dr,Lr,Rr;t=d("form"),r=d("div"),ue&&ue.c(),n=S(),i=d("h2"),a=w(o),c=S(),p=d("div"),f=d("h3"),y=w(h),_=S(),C=d("section"),P=d("div"),A=d("label"),k=w(L),N=S(),D=d("input"),Be=S(),$=d("div"),Ae=d("label"),E=w(b),Ne=S(),z=d("div"),J=d("select");for(let Lt=0;Lt<te.length;Lt+=1)te[Lt].c();ft=S(),Q=d("input"),pt=S(),ce&&ce.c(),rt=S(),fe&&fe.c(),nt=S(),K=d("div"),Fe=d("label"),yt=w(it),qe=w(":"),Oe=d("span"),Oe.textContent="*",Qr=S(),Y=d("input"),Wr=S(),pe&&pe.c(),Xr=S(),He=d("div"),ot=d("label"),at=w(_t),Kt=w(":"),dt=d("span"),dt.textContent="*",qr=S(),q=d("input"),Zr=S(),de&&de.c(),Jr=S(),st=d("div"),At=d("label"),er=w(Ze),Yr=S(),we=d("input"),Kr=S(),lt=d("div"),xt=d("label"),tr=w(Bt),en=S(),v=d("input"),ne=S(),U=d("div"),R=d("label"),ie=w(Je),mt=S(),Z=d("input"),$i=S(),Ht=d("div"),rn=d("label"),ai=w(nn),Qi=S(),Le=d("input"),Wi=S(),It=d("div"),sn=d("label"),si=w(ln),Xi=S(),Re=d("input"),qi=S(),Tt=d("div"),fn=d("label"),li=w(pn),Zi=S(),je=d("input"),Ji=S(),he&&he.c(),Yi=S(),mn=d("div"),ui=d("h3"),ci=w(bn),Ki=S(),ee=d("section"),Mt=d("div"),yn=d("label"),fi=w(vn),eo=S(),ke=d("input"),to=S(),ze=d("div"),Sn=d("label"),pi=w(En),ro=S(),oe=d("input"),no=S(),me&&me.c(),io=S(),Ge=d("div"),kn=d("label"),di=w(xn),oo=S(),ae=d("input"),ao=S(),be&&be.c(),so=S(),Ve=d("div"),In=d("label"),hi=w(Tn),lo=S(),se=d("input"),uo=S(),ye&&ye.c(),co=S(),$e=d("div"),Ln=d("label"),mi=w(Rn),fo=S(),le=d("input"),po=S(),ve&&ve.c(),ho=S(),ge&&ge.c(),mo=S(),Ce&&Ce.c(),yi=S(),sr=d("section"),Nt=d("button"),vi=w(zn),bo=S(),_e&&_e.c(),l(i,"class",u="MyAccountCategoryTitle "+(e[7]?"MyAccountCategoryTitleNone":"")),l(p,"class","PlayerNotificationsHeader"),l(D,"type","text"),l(D,"class",W=`${(Se=e[4].username)!=null&&Se.readOnly?"FieldDisabled":""}`),D.value=V=(Qe=(m=e[4].username)==null?void 0:m.value)!=null?Qe:"",D.readOnly=Pe=(lr=e[4].username)==null?void 0:lr.readOnly,l(P,"class","PlayerInfoBox"),l(J,"class",tt=`${(ur=e[4].mobile)!=null&&ur.readOnly?"FieldDisabled":""}`),J.disabled=De=(cr=e[4].mobile)==null?void 0:cr.readOnly,e[4].mobile.prefix===void 0&&Yn(()=>e[40].call(J)),l(Q,"type","text"),l(Q,"class",We=`${(fr=e[4].mobile)!=null&&fr.readOnly?"FieldDisabled":""}`),l(Q,"placeholder",e[20].mobile.number),Q.readOnly=Xe=(pr=e[4].mobile)==null?void 0:pr.readOnly,l(z,"class","PlayerPhoneNumber"),l($,"class",Ue="PlayerInfoBox "+(e[16]?"":"InvalidField")+" "+(e[17]?"":"InvalidPrefix")),l(Oe,"class","FormRequired"),l(Fe,"for","SecurityQuestion"),l(Y,"id","SecurityQuestion"),l(Y,"type","text"),l(Y,"class",vt=`${(dr=e[4].securityQuestion)!=null&&dr.readOnly?"FieldDisabled":""}`),l(Y,"placeholder",e[20].securityQuestion),Y.readOnly=gt=(hr=e[4].securityQuestion)==null?void 0:hr.readOnly,l(K,"class",Ct="PlayerInfoBox "+(e[14]?"":"InvalidField")),l(dt,"class","FormRequired"),l(ot,"for","SecurityAnswer"),l(q,"id","SecurityAnswer"),l(q,"type","text"),l(q,"class",St=`${(mr=e[4].securityAnswer)!=null&&mr.readOnly?"FieldDisabled":""}`),l(q,"placeholder",e[20].securityAnswer),q.readOnly=Et=(br=e[4].securityAnswer)==null?void 0:br.readOnly,l(He,"class",Pt="PlayerInfoBox "+(e[15]?"":"InvalidField")),l(At,"for","UserEmail"),l(we,"id","UserEmail"),l(we,"type","email"),l(we,"class",wt=`${(yr=e[4].email)!=null&&yr.readOnly?"FieldDisabled":""}`),we.value=ht=e[4].email.value,we.readOnly=kt=(vr=e[4].email)==null?void 0:vr.readOnly,l(st,"class","PlayerInfoBox"),l(xt,"for","DateOfBirth"),l(v,"id","DateOfBirth"),l(v,"type","text"),l(v,"class",g=`${(gr=e[4].birth)!=null&&gr.readOnly?"FieldDisabled":""}`),v.value=H=e[4].birth.value,v.readOnly=j=(Cr=e[4].birth)==null?void 0:Cr.readOnly,l(lt,"class","PlayerInfoBox"),l(R,"for","FirstName"),l(Z,"id","FirstName"),l(Z,"type","text"),l(Z,"class",Ot=`${(_r=e[4].firstname)!=null&&_r.readOnly?"FieldDisabled":""}`),Z.value=rr=e[4].firstname.value,Z.readOnly=tn=(Sr=e[4].firstname)==null?void 0:Sr.readOnly,l(U,"class","PlayerInfoBox"),l(rn,"for","LastName"),l(Le,"id","LastName"),l(Le,"type","text"),l(Le,"class",on=`${(Er=e[4].lastname)!=null&&Er.readOnly?"FieldDisabled":""}`),Le.value=nr=e[4].lastname.value,Le.readOnly=an=(Pr=e[4].lastname)==null?void 0:Pr.readOnly,l(Ht,"class","PlayerInfoBox"),l(sn,"for","UserTitle"),l(Re,"id","UserTitle"),l(Re,"type","text"),l(Re,"class",un=`${(Ar=e[4].title)!=null&&Ar.readOnly?"FieldDisabled":""}`),Re.value=ir=e[4].title.value,Re.readOnly=cn=(wr=e[4].title)==null?void 0:wr.readOnly,l(It,"class","PlayerInfoBox"),l(fn,"for","Currrency"),l(je,"id","Currency"),l(je,"type","text"),l(je,"class",dn=`${(kr=e[4].currency)!=null&&kr.readOnly?"FieldDisabled":""}`),je.value=or=e[4].currency.value,je.readOnly=hn=(xr=e[4].currency)==null?void 0:xr.readOnly,l(Tt,"class","PlayerInfoBox"),l(C,"class","PlayerDetailsContent"),l(mn,"class","PlayerLocationHeader"),l(yn,"for","UserCountry"),l(ke,"id","UserCountry"),l(ke,"type","text"),l(ke,"class",gn=`PlayerCountry ${(Br=e[4].country)!=null&&Br.readOnly?"FieldDisabled":""}`),ke.value=ar=e[4].country.countryName,l(ke,"placeholder",Cn=e[4].country.countryCode),ke.readOnly=_n=(Or=e[4].country)==null?void 0:Or.readOnly,l(Mt,"class","PlayerInfoBox"),l(Sn,"for","UserCity"),l(oe,"id","UserCity"),l(oe,"type","text"),l(oe,"class",Pn=`${(Hr=e[4].city)!=null&&Hr.readOnly?"FieldDisabled":""}`),l(oe,"placeholder",e[20].city),oe.readOnly=An=(Ir=e[4].city)==null?void 0:Ir.readOnly,l(ze,"class",wn="PlayerInfoBox "+(e[10]?"":"InvalidField")),l(kn,"for","UserAddress"),l(ae,"id","UserAddress"),l(ae,"type","text"),l(ae,"class",Bn=`${(Tr=e[4].address1)!=null&&Tr.readOnly?"FieldDisabled":""}`),l(ae,"placeholder",e[20].address1),ae.readOnly=On=(Mr=e[4].address1)==null?void 0:Mr.readOnly,l(Ge,"class",Hn="PlayerInfoBox "+(e[12]?"":"InvalidField")),l(In,"for","UserAddress"),l(se,"id","UserAddress2"),l(se,"type","text"),l(se,"class",Mn=`${(Nr=e[4].address2)!=null&&Nr.readOnly?"FieldDisabled":""}`),l(se,"placeholder",e[20].address2),se.readOnly=Nn=(Dr=e[4].address2)==null?void 0:Dr.readOnly,l(Ve,"class",Dn="PlayerInfoBox "+(e[13]?"":"InvalidField")),l(Ln,"for","UserPostalCode"),l(le,"id","UserPostalCode"),l(le,"type","text"),l(le,"class",jn=`${(Lr=e[4].postalCode)!=null&&Lr.readOnly?"FieldDisabled":""}`),l(le,"placeholder",e[20].postalCode),le.readOnly=Un=(Rr=e[4].postalCode)==null?void 0:Rr.readOnly,l($e,"class",Fn="PlayerInfoBox "+(e[11]?"":"InvalidField")),l(ee,"class","PlayerLocationContent"),l(Nt,"class",Gn="PlayerDetailsSaveButton "+(e[8]&&e[9]?"":"PlayerButtonDisabled")),l(sr,"class",Vn="PlayerDetailsButtonsArea "+(e[7]?"PlayerDetailsButtonsAreaMobile":"")),l(r,"class","PlayerFadeInWarapper"),l(t,"class",$n="PlayerInfoWrapper "+(e[7]?"PlayerInfoWrapperMobile":""))},m(Se,m){M(Se,t,m),s(t,r),ue&&ue.m(r,null),s(r,n),s(r,i),s(i,a),s(r,c),s(r,p),s(p,f),s(f,y),s(r,_),s(r,C),s(C,P),s(P,A),s(A,k),s(P,N),s(P,D),s(C,Be),s(C,$),s($,Ae),s(Ae,E),s($,Ne),s($,z),s(z,J);for(let Qe=0;Qe<te.length;Qe+=1)te[Qe]&&te[Qe].m(J,null);Po(J,e[4].mobile.prefix,!0),s(z,ft),s(z,Q),X(Q,e[4].mobile.number),s($,pt),ce&&ce.m($,null),s($,rt),fe&&fe.m($,null),s(C,nt),s(C,K),s(K,Fe),s(Fe,yt),s(Fe,qe),s(Fe,Oe),s(K,Qr),s(K,Y),X(Y,e[4].securityQuestion.value),s(K,Wr),pe&&pe.m(K,null),s(C,Xr),s(C,He),s(He,ot),s(ot,at),s(ot,Kt),s(ot,dt),s(He,qr),s(He,q),X(q,e[4].securityAnswer.value),s(He,Zr),de&&de.m(He,null),s(C,Jr),s(C,st),s(st,At),s(At,er),s(st,Yr),s(st,we),s(C,Kr),s(C,lt),s(lt,xt),s(xt,tr),s(lt,en),s(lt,v),s(C,ne),s(C,U),s(U,R),s(R,ie),s(U,mt),s(U,Z),s(C,$i),s(C,Ht),s(Ht,rn),s(rn,ai),s(Ht,Qi),s(Ht,Le),s(C,Wi),s(C,It),s(It,sn),s(sn,si),s(It,Xi),s(It,Re),s(C,qi),s(C,Tt),s(Tt,fn),s(fn,li),s(Tt,Zi),s(Tt,je),s(C,Ji),he&&he.m(C,null),s(r,Yi),s(r,mn),s(mn,ui),s(ui,ci),s(r,Ki),s(r,ee),s(ee,Mt),s(Mt,yn),s(yn,fi),s(Mt,eo),s(Mt,ke),s(ee,to),s(ee,ze),s(ze,Sn),s(Sn,pi),s(ze,ro),s(ze,oe),X(oe,e[4].city.value),s(ze,no),me&&me.m(ze,null),s(ee,io),s(ee,Ge),s(Ge,kn),s(kn,di),s(Ge,oo),s(Ge,ae),X(ae,e[4].address1.value),s(Ge,ao),be&&be.m(Ge,null),s(ee,so),s(ee,Ve),s(Ve,In),s(In,hi),s(Ve,lo),s(Ve,se),X(se,e[4].address2.value),s(Ve,uo),ye&&ye.m(Ve,null),s(ee,co),s(ee,$e),s($e,Ln),s(Ln,mi),s($e,fo),s($e,le),X(le,e[4].postalCode.value),s($e,po),ve&&ve.m($e,null),s(ee,ho),ge&&ge.m(ee,null),s(r,mo),Ce&&Ce.m(r,null),s(r,yi),s(r,sr),s(sr,Nt),s(Nt,vi),s(r,bo),_e&&_e.m(r,null),gi||(yo=[G(J,"change",e[40]),G(J,"change",e[22]("mobilePrefix")),G(Q,"input",e[41]),G(Q,"keyup",e[22]("mobileNumber")),G(Q,"input",function(){qt(e[4].mobile.number=e[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(e[4].mobile.number=e[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),G(Y,"input",e[42]),G(Y,"keyup",e[22]("securityQuestion")),G(q,"input",e[43]),G(q,"keyup",e[22]("securityAnswer")),G(oe,"input",e[44]),G(oe,"keyup",e[22]("city")),G(ae,"input",e[45]),G(ae,"keyup",e[22]("address")),G(se,"input",e[46]),G(se,"keyup",e[22]("address")),G(le,"input",e[47]),G(le,"keyup",e[22]("postalCode")),G(Nt,"click",e[23])],gi=!0)},p(Se,m){var Qe,lr,ur,cr,fr,pr,dr,hr,mr,br,yr,vr,gr,Cr,_r,Sr,Er,Pr,Ar,wr,kr,xr,Br,Or,Hr,Ir,Tr,Mr,Nr,Dr,Lr,Rr,Lt,vo;if(e=Se,e[7]?ue?ue.p(e,m):(ue=Yo(e),ue.c(),ue.m(r,n)):ue&&(ue.d(1),ue=null),m[0]&524288&&o!==(o=e[19]("titleProfileInfo")+"")&&x(a,o),m[0]&128&&u!==(u="MyAccountCategoryTitle "+(e[7]?"MyAccountCategoryTitleNone":""))&&l(i,"class",u),m[0]&524288&&h!==(h=e[19]("personalDetails")+"")&&x(y,h),m[0]&524288&&L!==(L=e[19]("userName")+"")&&x(k,L),m[0]&24&&W!==(W=`${(Qe=e[4].username)!=null&&Qe.readOnly?"FieldDisabled":""}`)&&l(D,"class",W),m[0]&24&&V!==(V=(ur=(lr=e[4].username)==null?void 0:lr.value)!=null?ur:"")&&D.value!==V&&(D.value=V),m[0]&24&&Pe!==(Pe=(cr=e[4].username)==null?void 0:cr.readOnly)&&(D.readOnly=Pe),m[0]&524288&&b!==(b=e[19]("userPhone")+"")&&x(E,b),m[0]&24){Dt=Ye(e[3]);let Ie;for(Ie=0;Ie<Dt.length;Ie+=1){const go=Zo(e,Dt,Ie);te[Ie]?te[Ie].p(go,m):(te[Ie]=Ko(go),te[Ie].c(),te[Ie].m(J,null))}for(;Ie<te.length;Ie+=1)te[Ie].d(1);te.length=Dt.length}m[0]&24&&tt!==(tt=`${(fr=e[4].mobile)!=null&&fr.readOnly?"FieldDisabled":""}`)&&l(J,"class",tt),m[0]&24&&De!==(De=(pr=e[4].mobile)==null?void 0:pr.readOnly)&&(J.disabled=De),m[0]&24&&Po(J,e[4].mobile.prefix),m[0]&24&&We!==(We=`${(dr=e[4].mobile)!=null&&dr.readOnly?"FieldDisabled":""}`)&&l(Q,"class",We),m[0]&24&&Xe!==(Xe=(hr=e[4].mobile)==null?void 0:hr.readOnly)&&(Q.readOnly=Xe),m[0]&24&&Q.value!==e[4].mobile.number&&X(Q,e[4].mobile.number),e[16]?ce&&(ce.d(1),ce=null):ce?ce.p(e,m):(ce=ea(e),ce.c(),ce.m($,rt)),e[17]?fe&&(fe.d(1),fe=null):fe?fe.p(e,m):(fe=ta(e),fe.c(),fe.m($,null)),m[0]&196608&&Ue!==(Ue="PlayerInfoBox "+(e[16]?"":"InvalidField")+" "+(e[17]?"":"InvalidPrefix"))&&l($,"class",Ue),m[0]&524289&&it!==(it=(e[0]=="true"?e[19]("profileSecurityQuestion2"):e[19]("profileSecurityQuestion"))+"")&&x(yt,it),m[0]&24&&vt!==(vt=`${(mr=e[4].securityQuestion)!=null&&mr.readOnly?"FieldDisabled":""}`)&&l(Y,"class",vt),m[0]&24&>!==(gt=(br=e[4].securityQuestion)==null?void 0:br.readOnly)&&(Y.readOnly=gt),m[0]&24&&Y.value!==e[4].securityQuestion.value&&X(Y,e[4].securityQuestion.value),e[14]?pe&&(pe.d(1),pe=null):pe?pe.p(e,m):(pe=ra(e),pe.c(),pe.m(K,null)),m[0]&16384&&Ct!==(Ct="PlayerInfoBox "+(e[14]?"":"InvalidField"))&&l(K,"class",Ct),m[0]&524289&&_t!==(_t=(e[0]=="true"?e[19]("profileSecurityAnswer2"):e[19]("profileSecurityAnswer"))+"")&&x(at,_t),m[0]&24&&St!==(St=`${(yr=e[4].securityAnswer)!=null&&yr.readOnly?"FieldDisabled":""}`)&&l(q,"class",St),m[0]&24&&Et!==(Et=(vr=e[4].securityAnswer)==null?void 0:vr.readOnly)&&(q.readOnly=Et),m[0]&24&&q.value!==e[4].securityAnswer.value&&X(q,e[4].securityAnswer.value),e[15]?de&&(de.d(1),de=null):de?de.p(e,m):(de=na(e),de.c(),de.m(He,null)),m[0]&32768&&Pt!==(Pt="PlayerInfoBox "+(e[15]?"":"InvalidField"))&&l(He,"class",Pt),m[0]&524288&&Ze!==(Ze=e[19]("userEmail")+"")&&x(er,Ze),m[0]&24&&wt!==(wt=`${(gr=e[4].email)!=null&&gr.readOnly?"FieldDisabled":""}`)&&l(we,"class",wt),m[0]&24&&ht!==(ht=e[4].email.value)&&we.value!==ht&&(we.value=ht),m[0]&24&&kt!==(kt=(Cr=e[4].email)==null?void 0:Cr.readOnly)&&(we.readOnly=kt),m[0]&524288&&Bt!==(Bt=e[19]("dateOfBirth")+"")&&x(tr,Bt),m[0]&24&&g!==(g=`${(_r=e[4].birth)!=null&&_r.readOnly?"FieldDisabled":""}`)&&l(v,"class",g),m[0]&24&&H!==(H=e[4].birth.value)&&v.value!==H&&(v.value=H),m[0]&24&&j!==(j=(Sr=e[4].birth)==null?void 0:Sr.readOnly)&&(v.readOnly=j),m[0]&524288&&Je!==(Je=e[19]("firstName")+"")&&x(ie,Je),m[0]&24&&Ot!==(Ot=`${(Er=e[4].firstname)!=null&&Er.readOnly?"FieldDisabled":""}`)&&l(Z,"class",Ot),m[0]&24&&rr!==(rr=e[4].firstname.value)&&Z.value!==rr&&(Z.value=rr),m[0]&24&&tn!==(tn=(Pr=e[4].firstname)==null?void 0:Pr.readOnly)&&(Z.readOnly=tn),m[0]&524288&&nn!==(nn=e[19]("lastName")+"")&&x(ai,nn),m[0]&24&&on!==(on=`${(Ar=e[4].lastname)!=null&&Ar.readOnly?"FieldDisabled":""}`)&&l(Le,"class",on),m[0]&24&&nr!==(nr=e[4].lastname.value)&&Le.value!==nr&&(Le.value=nr),m[0]&24&&an!==(an=(wr=e[4].lastname)==null?void 0:wr.readOnly)&&(Le.readOnly=an),m[0]&524288&&ln!==(ln=e[19]("userTitle")+"")&&x(si,ln),m[0]&24&&un!==(un=`${(kr=e[4].title)!=null&&kr.readOnly?"FieldDisabled":""}`)&&l(Re,"class",un),m[0]&24&&ir!==(ir=e[4].title.value)&&Re.value!==ir&&(Re.value=ir),m[0]&24&&cn!==(cn=(xr=e[4].title)==null?void 0:xr.readOnly)&&(Re.readOnly=cn),m[0]&524288&&pn!==(pn=e[19]("currency")+"")&&x(li,pn),m[0]&24&&dn!==(dn=`${(Br=e[4].currency)!=null&&Br.readOnly?"FieldDisabled":""}`)&&l(je,"class",dn),m[0]&24&&or!==(or=e[4].currency.value)&&je.value!==or&&(je.value=or),m[0]&24&&hn!==(hn=(Or=e[4].currency)==null?void 0:Or.readOnly)&&(je.readOnly=hn),e[4].iban.value?he?he.p(e,m):(he=ia(e),he.c(),he.m(C,null)):he&&(he.d(1),he=null),m[0]&524288&&bn!==(bn=e[19]("locationDetails")+"")&&x(ci,bn),m[0]&524288&&vn!==(vn=e[19]("userCountry")+"")&&x(fi,vn),m[0]&24&&gn!==(gn=`PlayerCountry ${(Hr=e[4].country)!=null&&Hr.readOnly?"FieldDisabled":""}`)&&l(ke,"class",gn),m[0]&24&&ar!==(ar=e[4].country.countryName)&&ke.value!==ar&&(ke.value=ar),m[0]&24&&Cn!==(Cn=e[4].country.countryCode)&&l(ke,"placeholder",Cn),m[0]&24&&_n!==(_n=(Ir=e[4].country)==null?void 0:Ir.readOnly)&&(ke.readOnly=_n),m[0]&524288&&En!==(En=e[19]("userCity")+"")&&x(pi,En),m[0]&24&&Pn!==(Pn=`${(Tr=e[4].city)!=null&&Tr.readOnly?"FieldDisabled":""}`)&&l(oe,"class",Pn),m[0]&24&&An!==(An=(Mr=e[4].city)==null?void 0:Mr.readOnly)&&(oe.readOnly=An),m[0]&24&&oe.value!==e[4].city.value&&X(oe,e[4].city.value),e[10]?me&&(me.d(1),me=null):me?me.p(e,m):(me=oa(e),me.c(),me.m(ze,null)),m[0]&1024&&wn!==(wn="PlayerInfoBox "+(e[10]?"":"InvalidField"))&&l(ze,"class",wn),m[0]&524288&&xn!==(xn=e[19]("userAddress")+"")&&x(di,xn),m[0]&24&&Bn!==(Bn=`${(Nr=e[4].address1)!=null&&Nr.readOnly?"FieldDisabled":""}`)&&l(ae,"class",Bn),m[0]&24&&On!==(On=(Dr=e[4].address1)==null?void 0:Dr.readOnly)&&(ae.readOnly=On),m[0]&24&&ae.value!==e[4].address1.value&&X(ae,e[4].address1.value),e[12]?be&&(be.d(1),be=null):be?be.p(e,m):(be=aa(e),be.c(),be.m(Ge,null)),m[0]&4096&&Hn!==(Hn="PlayerInfoBox "+(e[12]?"":"InvalidField"))&&l(Ge,"class",Hn),m[0]&524288&&Tn!==(Tn=e[19]("userAddress2")+"")&&x(hi,Tn),m[0]&24&&Mn!==(Mn=`${(Lr=e[4].address2)!=null&&Lr.readOnly?"FieldDisabled":""}`)&&l(se,"class",Mn),m[0]&24&&Nn!==(Nn=(Rr=e[4].address2)==null?void 0:Rr.readOnly)&&(se.readOnly=Nn),m[0]&24&&se.value!==e[4].address2.value&&X(se,e[4].address2.value),e[13]?ye&&(ye.d(1),ye=null):ye?ye.p(e,m):(ye=sa(e),ye.c(),ye.m(Ve,null)),m[0]&8192&&Dn!==(Dn="PlayerInfoBox "+(e[13]?"":"InvalidField"))&&l(Ve,"class",Dn),m[0]&524288&&Rn!==(Rn=e[19]("userPostalCode")+"")&&x(mi,Rn),m[0]&24&&jn!==(jn=`${(Lt=e[4].postalCode)!=null&&Lt.readOnly?"FieldDisabled":""}`)&&l(le,"class",jn),m[0]&24&&Un!==(Un=(vo=e[4].postalCode)==null?void 0:vo.readOnly)&&(le.readOnly=Un),m[0]&24&&le.value!==e[4].postalCode.value&&X(le,e[4].postalCode.value),e[11]?ve&&(ve.d(1),ve=null):ve?ve.p(e,m):(ve=la(e),ve.c(),ve.m($e,null)),m[0]&2048&&Fn!==(Fn="PlayerInfoBox "+(e[11]?"":"InvalidField"))&&l($e,"class",Fn),e[1]==="true"?ge?ge.p(e,m):(ge=ua(e),ge.c(),ge.m(ee,null)):ge&&(ge.d(1),ge=null),m[0]&16&&(bi=Object.keys(e[4].consents).length>0),bi?Ce?Ce.p(e,m):(Ce=ca(e),Ce.c(),Ce.m(r,yi)):Ce&&(Ce.d(1),Ce=null),m[0]&524288&&zn!==(zn=e[19]("userProfileSaveChanges")+"")&&x(vi,zn),m[0]&768&&Gn!==(Gn="PlayerDetailsSaveButton "+(e[8]&&e[9]?"":"PlayerButtonDisabled"))&&l(Nt,"class",Gn),m[0]&128&&Vn!==(Vn="PlayerDetailsButtonsArea "+(e[7]?"PlayerDetailsButtonsAreaMobile":""))&&l(sr,"class",Vn),e[18]?_e?_e.p(e,m):(_e=ma(e),_e.c(),_e.m(r,null)):_e&&(_e.d(1),_e=null),m[0]&128&&$n!==($n="PlayerInfoWrapper "+(e[7]?"PlayerInfoWrapperMobile":""))&&l(t,"class",$n)},d(Se){Se&&T(t),ue&&ue.d(),zt(te,Se),ce&&ce.d(),fe&&fe.d(),pe&&pe.d(),de&&de.d(),he&&he.d(),me&&me.d(),be&&be.d(),ye&&ye.d(),ve&&ve.d(),ge&&ge.d(),Ce&&Ce.d(),_e&&_e.d(),gi=!1,ct(yo)}}}function Yo(e){let t,r,n,i,o,a,u,c,p,f,h=e[19]("titleProfileInfo")+"",y,_,C;return{c(){t=d("div"),r=Rt("svg"),n=Rt("defs"),i=Rt("style"),o=w(`.aaa {
|
|
19
|
+
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
|
|
20
|
+
}
|
|
21
|
+
`),a=Rt("g"),u=Rt("g"),c=Rt("path"),p=S(),f=d("h2"),y=w(h),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(P,A){M(P,t,A),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,y),_||(C=[G(t,"click",e[24]),G(t,"keyup",null)],_=!0)},p(P,A){A[0]&524288&&h!==(h=P[19]("titleProfileInfo")+"")&&x(y,h)},d(P){P&&T(t),_=!1,ct(C)}}}function Fu(e){let t,r=e[88]+"",n,i;return{c(){t=d("option"),n=w(r),t.__value=i=e[88],X(t,t.__value)},m(o,a){M(o,t,a),s(t,n)},p(o,a){a[0]&8&&r!==(r=o[88]+"")&&x(n,r),a[0]&8&&i!==(i=o[88])&&(t.__value=i,X(t,t.__value))},d(o){o&&T(t)}}}function zu(e){let t,r=e[88]+"",n,i;return{c(){t=d("option"),n=w(r),t.selected=!0,t.__value=i=e[88],X(t,t.__value)},m(o,a){M(o,t,a),s(t,n)},p(o,a){a[0]&8&&r!==(r=o[88]+"")&&x(n,r),a[0]&8&&i!==(i=o[88])&&(t.__value=i,X(t,t.__value))},d(o){o&&T(t)}}}function Ko(e){let t;function r(o,a){return o[88]===o[4].mobile.prefix?zu:Fu}let n=r(e),i=n(e);return{c(){i.c(),t=Ca()},m(o,a){i.m(o,a),M(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&&T(t),i.d(o)}}}function ea(e){let t,r=e[19]("userPhoneError")+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPhoneError")+"")&&x(n,r)},d(i){i&&T(t)}}}function ta(e){let t,r=e[19]("userPrefixError")+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPrefixError")+"")&&x(n,r)},d(i){i&&T(t)}}}function ra(e){let t,r=(e[0]=="true"?e[19]("profileSecurityQuestionError2"):e[19]("profileSecurityQuestionError"))+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524289&&r!==(r=(i[0]=="true"?i[19]("profileSecurityQuestionError2"):i[19]("profileSecurityQuestionError"))+"")&&x(n,r)},d(i){i&&T(t)}}}function na(e){let t,r=(e[0]=="true"?e[19]("profileSecurityAnswerError2"):e[19]("profileSecurityAnswerError"))+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524289&&r!==(r=(i[0]=="true"?i[19]("profileSecurityAnswerError2"):i[19]("profileSecurityAnswerError"))+"")&&x(n,r)},d(i){i&&T(t)}}}function ia(e){let t,r,n=e[19]("iban")+"",i,o,a,u,c,p;return{c(){var f,h;t=d("div"),r=d("label"),i=w(n),o=S(),a=d("input"),l(r,"for","Iban"),l(a,"id","Iban"),l(a,"type","text"),l(a,"class",u=`${(f=e[4].iban)!=null&&f.readOnly?"FieldDisabled":""}`),a.value=c=e[4].iban.value,a.readOnly=p=(h=e[4].iban)==null?void 0:h.readOnly,l(t,"class","PlayerInfoBox")},m(f,h){M(f,t,h),s(t,r),s(r,i),s(t,o),s(t,a)},p(f,h){var y,_;h[0]&524288&&n!==(n=f[19]("iban")+"")&&x(i,n),h[0]&24&&u!==(u=`${(y=f[4].iban)!=null&&y.readOnly?"FieldDisabled":""}`)&&l(a,"class",u),h[0]&24&&c!==(c=f[4].iban.value)&&a.value!==c&&(a.value=c),h[0]&24&&p!==(p=(_=f[4].iban)==null?void 0:_.readOnly)&&(a.readOnly=p)},d(f){f&&T(t)}}}function oa(e){let t,r=e[19]("userCityError")+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userCityError")+"")&&x(n,r)},d(i){i&&T(t)}}}function aa(e){let t,r=e[19]("userAddressError")+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userAddressError")+"")&&x(n,r)},d(i){i&&T(t)}}}function sa(e){let t,r=e[19]("userAddressError")+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userAddressError")+"")&&x(n,r)},d(i){i&&T(t)}}}function la(e){let t,r=e[19]("userPostalCodeError")+"",n;return{c(){t=d("p"),n=w(r),l(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPostalCodeError")+"")&&x(n,r)},d(i){i&&T(t)}}}function ua(e){let t,r=e[19]("locationDetailsDescription")+"",n;return{c(){t=d("div"),n=w(r),l(t,"class","LocationDetailsDescription")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("locationDetailsDescription")+"")&&x(n,r)},d(i){i&&T(t)}}}function ca(e){var p;let t,r,n=e[19]("userNotifications")+"",i,o,a,u=Ye(Object.keys((p=e[4].consents)!=null?p:{})),c=[];for(let f=0;f<u.length;f+=1)c[f]=ha(Xo(e,u,f));return{c(){t=d("div"),r=d("h3"),i=w(n),o=S(),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,h){M(f,t,h),s(t,r),s(r,i),M(f,o,h),M(f,a,h);for(let y=0;y<c.length;y+=1)c[y]&&c[y].m(a,null)},p(f,h){var y;if(h[0]&524288&&n!==(n=f[19]("userNotifications")+"")&&x(i,n),h[0]&103284784){u=Ye(Object.keys((y=f[4].consents)!=null?y:{}));let _;for(_=0;_<u.length;_+=1){const C=Xo(f,u,_);c[_]?c[_].p(C,h):(c[_]=ha(C),c[_].c(),c[_].m(a,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=u.length}},d(f){f&&(T(t),T(o),T(a)),zt(c,f)}}}function fa(e){let t,r=e[21].includes(e[82]),n,i,o=r&&pa(e),a=Ye(e[4].consents[e[82]]),u=[];for(let c=0;c<a.length;c+=1)u[c]=da(qo(e,a,c));return{c(){t=d("div"),o&&o.c(),n=S();for(let c=0;c<u.length;c+=1)u[c].c();i=S(),l(t,"class","ConsentGroup")},m(c,p){M(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]&16&&(r=c[21].includes(c[82])),r?o?o.p(c,p):(o=pa(c),o.c(),o.m(t,n)):o&&(o.d(1),o=null),p[0]&69730352){a=Ye(c[4].consents[c[82]]);let f;for(f=0;f<a.length;f+=1){const h=qo(c,a,f);u[f]?u[f].p(h,p):(u[f]=da(h),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&&T(t),o&&o.d(),zt(u,c)}}}function pa(e){let t,r,n,i,o=e[82],a,u,c,p,f=e[19](`consentCategoryHeader${e[82]}`)+"",h,y,_;const C=()=>e[48](n,o),P=()=>e[48](null,o);return{c(){t=d("div"),r=d("label"),n=d("input"),a=S(),u=d("span"),c=S(),p=d("span"),h=w(f),n.checked=i=e[4].consents[e[82]].every(ba),l(n,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class","PlayerNotificationBox Parent")},m(A,L){M(A,t,L),s(t,r),s(r,n),C(),s(r,a),s(r,u),s(r,c),s(r,p),s(p,h),y||(_=G(n,"change",function(){qt(e[25](e[82]))&&e[25](e[82]).apply(this,arguments)}),y=!0)},p(A,L){e=A,L[0]&24&&i!==(i=e[4].consents[e[82]].every(ba))&&(n.checked=i),o!==e[82]&&(P(),o=e[82],C()),L[0]&524304&&f!==(f=e[19](`consentCategoryHeader${e[82]}`)+"")&&x(h,f)},d(A){A&&T(t),P(),y=!1,_()}}}function da(e){let t,r,n,i=e[82],o=e[85],a,u,c,p,f=e[19](`${e[85].tagCode}Consent`)+"",h,y,_,C;const P=()=>e[49](n,i,o),A=()=>e[49](null,i,o);function L(){e[50].call(n,e[86],e[87])}return{c(){t=d("div"),r=d("label"),n=d("input"),a=S(),u=d("span"),c=S(),p=d("span"),h=w(f),l(n,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class",y="PlayerNotificationBox "+(e[21].includes(e[82])?"Child":""))},m(k,N){M(k,t,N),s(t,r),s(r,n),P(),n.checked=e[85].status,s(r,a),s(r,u),s(r,c),s(r,p),s(p,h),_||(C=[G(n,"change",L),G(n,"change",function(){qt(e[26](e[82]))&&e[26](e[82]).apply(this,arguments)})],_=!0)},p(k,N){e=k,(i!==e[82]||o!==e[85])&&(A(),i=e[82],o=e[85],P()),N[0]&24&&(n.checked=e[85].status),N[0]&524304&&f!==(f=e[19](`${e[85].tagCode}Consent`)+"")&&x(h,f),N[0]&24&&y!==(y="PlayerNotificationBox "+(e[21].includes(e[82])?"Child":""))&&l(t,"class",y)},d(k){k&&T(t),A(),_=!1,ct(C)}}}function ha(e){var n;let t,r=((n=e[4].consents[e[82]])==null?void 0:n.length)>0&&fa(e);return{c(){r&&r.c(),t=Ca()},m(i,o){r&&r.m(i,o),M(i,t,o)},p(i,o){var a;((a=i[4].consents[i[82]])==null?void 0:a.length)>0?r?r.p(i,o):(r=fa(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(i){i&&T(t),r&&r.d(i)}}}function ma(e){let t,r,n=e[19]("userProfileConfirmationMessage")+"",i;return{c(){t=d("section"),r=d("p"),i=w(n),l(r,"class","PlayerDetailsConfirmSaveText"),l(t,"class","PlayerDetailsConfirmSave")},m(o,a){M(o,t,a),s(t,r),s(r,i)},p(o,a){a[0]&524288&&n!==(n=o[19]("userProfileConfirmationMessage")+"")&&x(i,n)},d(o){o&&T(t)}}}function Gu(e){let t,r,n,i,o,a,u,c,p,f,h,y,_,C,P,A,L,k,N,D,W=Ye({length:10}),V=[];for(let E=0;E<W.length;E+=1)V[E]=Ru(Lu(e,W,E));let Pe=Ye({length:4}),Be=[];for(let E=0;E<Pe.length;E+=1)Be[E]=ju(Du(e,Pe,E));let $=Ye({length:4}),Ae=[];for(let E=0;E<$.length;E+=1)Ae[E]=Uu(Nu(e,$,E));let b=!e[6]&&Jo(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=S(),o=d("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=S(),u=d("div");for(let E=0;E<V.length;E+=1)V[E].c();c=S(),p=d("div"),p.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=S(),h=d("div");for(let E=0;E<Be.length;E+=1)Be[E].c();y=S(),_=d("div"),_.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',C=S(),P=d("div");for(let E=0;E<Ae.length;E+=1)Ae[E].c();A=S(),L=d("div"),L.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',N=S(),D=d("div"),b&&b.c(),l(n,"class","skeletonHeaderText"),l(o,"class","skeletonSectionText"),l(u,"class","skeletonSectionContainer"),l(p,"class","skeletonSectionText"),l(h,"class","skeletonSectionContainer"),l(_,"class","skeletonSectionText"),l(P,"class","skeletonConsentsContainer"),l(L,"class","skeletonButton"),l(r,"class","skeletonWrapper"),l(t,"class",k="skeletonContainer "+(e[6]?"":"Hidden"))},m(E,Ne){M(E,t,Ne),s(t,r),s(r,n),s(r,i),s(r,o),s(r,a),s(r,u);for(let z=0;z<V.length;z+=1)V[z]&&V[z].m(u,null);s(r,c),s(r,p),s(r,f),s(r,h);for(let z=0;z<Be.length;z+=1)Be[z]&&Be[z].m(h,null);s(r,y),s(r,_),s(r,C),s(r,P);for(let z=0;z<Ae.length;z+=1)Ae[z]&&Ae[z].m(P,null);s(r,A),s(r,L),M(E,N,Ne),M(E,D,Ne),b&&b.m(D,null),e[51](D)},p(E,Ne){Ne[0]&64&&k!==(k="skeletonContainer "+(E[6]?"":"Hidden"))&&l(t,"class",k),E[6]?b&&(b.d(1),b=null):b?b.p(E,Ne):(b=Jo(E),b.c(),b.m(D,null))},i:Ee,o:Ee,d(E){E&&(T(t),T(N),T(D)),zt(V,E),zt(Be,E),zt(Ae,E),b&&b.d(),e[51](null)}}}const ba=e=>e.status;function Vu(e,t,r){let n;os(e,hu,v=>r(19,n=v));let{userid:i}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:u="en"}=t,{clientstyling:c}=t,{clientstylingurl:p}=t,{mbsource:f}=t,{translationurl:h}=t,{custominputtextswitch:y="false"}=t,{showlocationdetailsdescription:_="false"}=t,{disabledfields:C="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,P,A=[],L=[],k={},N=[],D=[],W=[],V,Pe,Be=window.navigator.userAgent,$="";const Ae={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"},b={},E={},Ne=["Marketing","Casino","Sports","Bingo","VirtualSports"],z=["Casino","Sports","Bingo","VirtualSports"];let J=!0,tt=!1,De=!1,ft=!1,Q=!0,We=!0,Xe=!0,pt=!0,rt=!0,Ue=!0,nt=!0,K=!0,Fe=!0,it=!1;const yt={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};window.matchMedia("(min-width: 768px)");const qe=v=>{try{return JSON.stringify(v)}catch(g){return null}},Oe=v=>Me(this,null,function*(){try{const g=new URL(v,a),j={method:"GET",headers:new Headers({"X-SessionID":o})},ne=yield fetch(g.href,j);if(!ne.ok)throw new Error(`HTTP error! Status: ${ne.status}`);return yield ne.json()}catch(g){throw console.error("Fetch error:",g),g}});function Qr(){return Me(this,null,function*(){r(37,k=yield Oe(`/v1/player/${i}/profile`))})}function Y(){return Me(this,null,function*(){r(38,N=(yield Oe(`/v1/player/${i}/consent`)).items)})}function vt(){return Me(this,null,function*(){r(39,D=(yield Oe("/v1/player/consentRequirements")).items)})}function gt(){return Me(this,null,function*(){r(36,L=(yield Oe("/v1/player/countries")).countries)})}const Wr=()=>{Object.keys(k).forEach(g=>{var H,j,ne,U,R,Je;switch(r(4,b[g]={},b),g){case"birth":const ie=((H=k[g])==null?void 0:H.day)||"",mt=((j=k[g])==null?void 0:j.month)||"",Z=((ne=k[g])==null?void 0:ne.year)||"";r(4,b[g].value=`${ie}/${mt}/${Z}`,b);break;case"country":r(4,b[g].countryName=((U=L.find(Ot=>Ot.Alpha2Code===k.country))==null?void 0:U.Name)||"I.E. Ireland",b),r(4,b[g].countryCode=k.country||"",b);break;case"mobile":r(4,b[g].prefix=(R=k.mobile)==null?void 0:R.prefix,b),r(4,b[g].number=(Je=k.mobile)==null?void 0:Je.number,b);break;default:r(4,b[g].value=k[g],b)}r(4,b[g].readOnly=W.includes(g),b)}),r(4,b.consents={},b),D.forEach(g=>{if(Ne.includes(g.category)&&!g.mustAccept){const H=N.find(j=>j.tagCode===g.tagCode);r(4,b.consents[g.category]=b.consents[g.category]||[],b),H?b.consents[g.category].push({tagCode:H.tagCode,status:H.status==="Accepted"}):b.consents[g.category].push({tagCode:g.tagCode,status:!1})}});const v=b.consents;for(const[g,H]of Object.entries(v))E[g]||(r(5,E[g]={},E),r(5,E[g].parent=null,E),H.forEach(j=>r(5,E[g][j.tagCode]=null,E)));Pe=qe(b),V=qe(b.consents),r(6,J=!1)},Ct=v=>v.split(","),Xr=()=>{const v=new URL("v1/player/operatorSupportedPhoneCodes",a);fetch(v.href).then(g=>g.json()).then(g=>r(3,A=g.phoneCodes)).catch(g=>console.log("Failed to fetch phone codes:",g))},He=()=>{r(9,Q=!1),Ue&&nt&&We&&pt&&rt&&Xe&&K&&Fe&&r(9,Q=!0)},ot=()=>{r(8,De=qe(b)!==Pe)},_t=()=>{ft=qe(b.consents)!==V},at=v=>()=>{switch(v){case"mobilePrefix":r(17,Fe=!!b.mobile.prefix);break;case"mobileNumber":r(16,K=!1),b.mobile.number&&b.mobile.number.length>=5&&b.mobile.number.length<=12&&r(16,K=!0);break;case"city":r(10,We=!1),b.city.value&&b.city.value.length<=50&&r(10,We=!0);break;case"postalCode":r(11,Xe=!1),b.postalCode.value&&b.postalCode.value.length<=20&&r(11,Xe=!0);break;case"address":r(12,pt=!1),b.address1.value&&b.address1.value.length<=100&&r(12,pt=!0);break;case"address2":r(13,rt=!1),b.address2.value&&b.address2.value.length<=100&&r(13,rt=!0);break;case"securityQuestion":if(r(14,Ue=!1),b.securityQuestion.value)switch(y){case"true":yt.document.test(b.securityQuestion.value)&&b.securityQuestion.value.length<=50&&r(14,Ue=!0);break;case"false":b.securityQuestion.value&&b.securityQuestion.value.length<=120&&r(14,Ue=!0);break}break;case"securityAnswer":if(r(15,nt=!1),b.securityAnswer.value)switch(y){case"true":yt.document.test(b.securityAnswer.value)&&b.securityAnswer.value.length<=50&&r(15,nt=!0);break;case"false":b.securityAnswer.value&&b.securityAnswer.value.length<=120&&r(15,nt=!0);break}break;case"consents":_t();break}ot(),He()},Kt=()=>{r(18,it=!0),setTimeout(()=>{r(18,it=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("profileUpdateSuccess")}},window.location.href)},dt=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:$}},window.location.href)},qr=v=>Me(this,null,function*(){if(v.preventDefault(),De&&!ft&&Q){q().then(g=>Me(this,null,function*(){g?(r(37,k=yield Oe(`/v1/player/${i}/profile`)),r(8,De=!1),Kt()):dt()}));return}if(De&&ft&&Q){Promise.all([q(),Et()]).then(g=>Me(this,null,function*(){g[0]&&g[1]?(r(38,N=(yield Oe(`/v1/player/${i}/consent`)).items),r(37,k=yield Oe(`/v1/player/${i}/profile`)),r(8,De=!1),ft=!1,Kt()):dt()}));return}}),q=()=>Me(this,null,function*(){const v=new URL(`/v1/player/${i}/profile`,a),g=new Headers;g.append("X-SessionID",o),g.append("Content-Type","application/json"),g.append("Accept","application/json");const H=Object.entries(b).reduce((U,[R,Je])=>{var mt;const ie=Je;if(!ie.readOnly)if(R==="mobile"||R==="phone")U[R]={prefix:ie.prefix,number:ie.number};else if(R==="consents")U[R]=ie;else if(R==="country")U[R]=ie.countryCode;else if(R==="birth"&&typeof ie.value=="string"){const Z=ie.value.split("/");U[R]={year:Z[2],month:Z[1],day:Z[0]}}else U[R]=(mt=ie.value)!=null?mt:null;return U},{}),j=qe(H);if(j===null)return!1;const ne={method:"POST",headers:g,body:j};try{const U=yield fetch(v.href,ne);if(U.status===200)return!0;const R=yield U.json();return St(R),!1}catch(U){return console.error(U),!1}}),St=v=>{var H;const g=(H=v.thirdPartyResponse)==null?void 0:H.message;g&&g.includes("Mandatory input parameter is missing: mobilePrefix")?($=n("userPrefixError"),at("mobilePrefix")()):$=n("userProfileUpdateError")},Et=()=>Me(this,null,function*(){const v=[],g=b.consents;for(let R of Object.values(g).flat())v.push({tagCode:R.tagCode,status:R.status?"Accepted":"Denied"});const H=new URL(`/v1/player/${i}/consent`,a),j=new Headers;j.append("X-SessionID",o),j.append("Content-Type","application/json"),j.append("Accept","application/json");const ne=qe({items:v});if(ne===null)return!1;const U={method:"POST",headers:j,body:ne};return yield fetch(H.href,U).then(R=>R.status==200,R=>(console.error(R),!1))}),Zr=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:tt},window.location.href)},Pt=()=>{mu(u)},Jr=()=>{fetch(h).then(g=>g.json()).then(g=>{Object.keys(g).forEach(H=>{jo(H,g[H])})}).catch(g=>{console.log(g)})};Object.keys(Uo).forEach(v=>{jo(v,Uo[v])});const st=v=>g=>{b.consents[v].forEach(H=>{H.status=g.target.checked,Object.values(E[v]).forEach(j=>{j&&(j.checked=H.status)})}),at("consents")()},At=v=>g=>{E[v].parent&&r(5,E[v].parent.checked=b.consents[v].every(H=>H.status),E),at("consents")()},Ze=v=>Array.isArray(v)?v.length>0:Object.keys(v).length>0;ds(()=>(Tu(Be)&&r(7,tt=!0),()=>{}));function er(){b.mobile.prefix=cs(this),r(4,b),r(3,A)}function Yr(){b.mobile.number=this.value,r(4,b),r(3,A)}function we(){b.securityQuestion.value=this.value,r(4,b),r(3,A)}function wt(){b.securityAnswer.value=this.value,r(4,b),r(3,A)}function ht(){b.city.value=this.value,r(4,b),r(3,A)}function kt(){b.address1.value=this.value,r(4,b),r(3,A)}function Kr(){b.address2.value=this.value,r(4,b),r(3,A)}function lt(){b.postalCode.value=this.value,r(4,b),r(3,A)}function xt(v,g){Fr[v?"unshift":"push"](()=>{E[g].parent=v,r(5,E)})}function Bt(v,g,H){Fr[v?"unshift":"push"](()=>{E[g][H.tagCode]=v,r(5,E)})}function tr(v,g){v[g].status=this.checked,r(4,b),r(3,A)}function en(v){Fr[v?"unshift":"push"](()=>{P=v,r(2,P)})}return e.$$set=v=>{"userid"in v&&r(27,i=v.userid),"sessionid"in v&&r(28,o=v.sessionid),"endpoint"in v&&r(29,a=v.endpoint),"lang"in v&&r(30,u=v.lang),"clientstyling"in v&&r(31,c=v.clientstyling),"clientstylingurl"in v&&r(32,p=v.clientstylingurl),"mbsource"in v&&r(33,f=v.mbsource),"translationurl"in v&&r(34,h=v.translationurl),"custominputtextswitch"in v&&r(0,y=v.custominputtextswitch),"showlocationdetailsdescription"in v&&r(1,_=v.showlocationdetailsdescription),"disabledfields"in v&&r(35,C=v.disabledfields)},e.$$.update=()=>{e.$$.dirty[0]&939524096&&a&&i&&o&&Qr()&&Y()&&vt(),e.$$.dirty[0]&536870912&&a&>()&&Xr(),e.$$.dirty[1]&480&&Ze(k)&&Ze(N)&&Ze(D)&&Ze(L)&&Wr(),e.$$.dirty[0]&1073741824&&u&&Pt(),e.$$.dirty[1]&16&&C&&(W=Ct(C)),e.$$.dirty[0]&4|e.$$.dirty[1]&1&&c&&P&&bu(P,c),e.$$.dirty[0]&4|e.$$.dirty[1]&2&&p&&P&&yu(P,p),e.$$.dirty[0]&4|e.$$.dirty[1]&4&&f&&P&&vu(P,`${f}.Style`),e.$$.dirty[1]&8&&h&&Jr()},[y,_,P,A,b,E,J,tt,De,Q,We,Xe,pt,rt,Ue,nt,K,Fe,it,n,Ae,z,at,qr,Zr,st,At,i,o,a,u,c,p,f,h,C,L,k,N,D,er,Yr,we,wt,ht,kt,Kr,lt,xt,Bt,tr,en]}class Ya extends As{constructor(t){super(),Es(this,t,Vu,Gu,va,{userid:27,sessionid:28,endpoint:29,lang:30,clientstyling:31,clientstylingurl:32,mbsource:33,translationurl:34,custominputtextswitch:0,showlocationdetailsdescription:1,disabledfields:35},Mu,[-1,-1,-1,-1])}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),xe()}get sessionid(){return this.$$.ctx[28]}set sessionid(t){this.$$set({sessionid:t}),xe()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),xe()}get lang(){return this.$$.ctx[30]}set lang(t){this.$$set({lang:t}),xe()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(t){this.$$set({clientstyling:t}),xe()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),xe()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),xe()}get translationurl(){return this.$$.ctx[34]}set translationurl(t){this.$$set({translationurl:t}),xe()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),xe()}get showlocationdetailsdescription(){return this.$$.ctx[1]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),xe()}get disabledfields(){return this.$$.ctx[35]}set disabledfields(t){this.$$set({disabledfields:t}),xe()}}Ps(Ya,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showlocationdetailsdescription:{},disabledfields:{}},[],[],!0);exports.default=Ya;
|