@everymatrix/player-account-gaming-limits-page-2-gm16-nd 1.87.25 → 1.87.27

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.
@@ -1,6 +1,6 @@
1
- "use strict";var Xr=Object.defineProperty,Kr=Object.defineProperties;var Yr=Object.getOwnPropertyDescriptors;var eo=Object.getOwnPropertySymbols;var Zr=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable;var ti=(e,t,i)=>t in e?Xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Me=(e,t)=>{for(var i in t||(t={}))Zr.call(t,i)&&ti(e,i,t[i]);if(eo)for(var i of eo(t))Jr.call(t,i)&&ti(e,i,t[i]);return e},At=(e,t)=>Kr(e,Yr(t));var xe=(e,t,i)=>(ti(e,typeof t!="symbol"?t+"":t,i),i);var ye=(e,t,i)=>new Promise((o,n)=>{var r=m=>{try{l(i.next(m))}catch(u){n(u)}},a=m=>{try{l(i.throw(m))}catch(u){n(u)}},l=m=>m.done?o(m.value):Promise.resolve(m.value).then(r,a);l((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function be(){}function Qr(e,t){for(const i in t)e[i]=t[i];return e}function tn(e){return e()}function to(){return Object.create(null)}function Ee(e){e.forEach(tn)}function Ci(e){return typeof e=="function"}function on(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function $r(e){return Object.keys(e).length===0}function nn(e,...t){if(e==null){for(const o of t)o(void 0);return be}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function ea(e,t,i){e.$$.on_destroy.push(nn(t,i))}function ci(e,t,i,o){if(e){const n=rn(e,t,i,o);return e[0](n)}}function rn(e,t,i,o){return e[1]&&o?Qr(i.ctx.slice(),e[1](o(t))):i.ctx}function mi(e,t,i,o){if(e[2]&&o){const n=e[2](o(i));if(t.dirty===void 0)return n;if(typeof n=="object"){const r=[],a=Math.max(t.dirty.length,n.length);for(let l=0;l<a;l+=1)r[l]=t.dirty[l]|n[l];return r}return t.dirty|n}return t.dirty}function pi(e,t,i,o,n,r){if(n){const a=rn(t,i,o,r);e.p(a,n)}}function di(e){if(e.ctx.length>32){const t=[],i=e.ctx.length/32;for(let o=0;o<i;o++)t[o]=-1;return t}return-1}function h(e,t){e.appendChild(t)}function ta(e,t,i){const o=ia(e);if(!o.getElementById(t)){const n=L("style");n.id=t,n.textContent=i,oa(o,n)}}function ia(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function oa(e,t){return h(e.head||e,t),t.sheet}function P(e,t,i){e.insertBefore(t,i||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function Ge(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function L(e){return document.createElement(e)}function re(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function B(e){return document.createTextNode(e)}function j(){return B(" ")}function Ht(){return B("")}function ce(e,t,i,o){return e.addEventListener(t,i,o),()=>e.removeEventListener(t,i,o)}function b(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function an(e){return e===""?null:+e}function na(e){return Array.from(e.childNodes)}function z(e,t){t=""+t,e.data!==t&&(e.data=t)}function gt(e,t){e.value=t==null?"":t}function Qe(e,t,i,o){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function zt(e,t,i){for(let o=0;o<e.options.length;o+=1){const n=e.options[o];if(n.__value===t){n.selected=!0;return}}(!i||t!==void 0)&&(e.selectedIndex=-1)}function io(e){const t=e.querySelector(":checked");return t&&t.__value}function ra(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let bt;function ht(e){bt=e}function aa(){if(!bt)throw new Error("Function called outside component initialization");return bt}function sa(e){aa().$$.on_mount.push(e)}const Je=[],Nt=[];let $e=[];const oo=[],sn=Promise.resolve();let fi=!1;function ln(){fi||(fi=!0,sn.then($))}function la(){return ln(),sn}function vt(e){$e.push(e)}const ii=new Set;let Ye=0;function $(){if(Ye!==0)return;const e=bt;do{try{for(;Ye<Je.length;){const t=Je[Ye];Ye++,ht(t),ua(t.$$)}}catch(t){throw Je.length=0,Ye=0,t}for(ht(null),Je.length=0,Ye=0;Nt.length;)Nt.pop()();for(let t=0;t<$e.length;t+=1){const i=$e[t];ii.has(i)||(ii.add(i),i())}$e.length=0}while(Je.length);for(;oo.length;)oo.pop()();fi=!1,ii.clear(),ht(e)}function ua(e){if(e.fragment!==null){e.update(),Ee(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(vt)}}function ca(e){const t=[],i=[];$e.forEach(o=>e.indexOf(o)===-1?t.push(o):i.push(o)),i.forEach(o=>o()),$e=t}const Ct=new Set;let Fe;function ma(){Fe={r:0,c:[],p:Fe}}function pa(){Fe.r||Ee(Fe.c),Fe=Fe.p}function et(e,t){e&&e.i&&(Ct.delete(e),e.i(t))}function yt(e,t,i,o){if(e&&e.o){if(Ct.has(e))return;Ct.add(e),Fe.c.push(()=>{Ct.delete(e),o&&(i&&e.d(1),o())}),e.o(t)}else o&&o()}function _e(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function da(e,t,i){const{fragment:o,after_update:n}=e.$$;o&&o.m(t,i),vt(()=>{const r=e.$$.on_mount.map(tn).filter(Ci);e.$$.on_destroy?e.$$.on_destroy.push(...r):Ee(r),e.$$.on_mount=[]}),n.forEach(vt)}function fa(e,t){const i=e.$$;i.fragment!==null&&(ca(i.after_update),Ee(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function ha(e,t){e.$$.dirty[0]===-1&&(Je.push(e),ln(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ga(e,t,i,o,n,r,a=null,l=[-1]){const m=bt;ht(e);const u=e.$$={fragment:null,ctx:[],props:r,update:be,not_equal:n,bound:to(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(m?m.$$.context:[])),callbacks:to(),dirty:l,skip_bound:!1,root:t.target||m.$$.root};a&&a(u.root);let c=!1;if(u.ctx=i?i(e,t.props||{},(f,v,...y)=>{const _=y.length?y[0]:v;return u.ctx&&n(u.ctx[f],u.ctx[f]=_)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](_),c&&ha(e,f)),v}):[],u.update(),c=!0,Ee(u.before_update),u.fragment=o?o(u.ctx):!1,t.target){if(t.hydrate){const f=na(t.target);u.fragment&&u.fragment.l(f),f.forEach(A)}else u.fragment&&u.fragment.c();t.intro&&et(e.$$.fragment),da(e,t.target,t.anchor),$()}ht(m)}let un;typeof HTMLElement=="function"&&(un=class extends HTMLElement{constructor(t,i,o){super();xe(this,"$$ctor");xe(this,"$$s");xe(this,"$$c");xe(this,"$$cn",!1);xe(this,"$$d",{});xe(this,"$$r",!1);xe(this,"$$p_d",{});xe(this,"$$l",{});xe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,o&&this.attachShadow({mode:"open"})}addEventListener(t,i,o){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const n=this.$$c.$on(t,i);this.$$l_u.set(i,n)}super.addEventListener(t,i,o)}removeEventListener(t,i,o){if(super.removeEventListener(t,i,o),this.$$c){const n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return ye(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(r){return()=>{let a;return{c:function(){a=L("slot"),r!=="default"&&b(a,"name",r)},m:function(u,c){P(u,a,c)},d:function(u){u&&A(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},o=ra(this);for(const r of this.$$s)r in o&&(i[r]=[t(r)]);for(const r of this.attributes){const a=this.$$g_p(r.name);a in this.$$d||(this.$$d[a]=Dt(a,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:At(Me({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const a=Dt(r,this.$$d[r],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,a)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const r in this.$$l)for(const a of this.$$l[r]){const l=this.$$c.$on(r,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,i,o){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Dt(t,o,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$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(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function Dt(e,t,i,o){var r;const n=(r=i[e])==null?void 0:r.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!o||!i[e])return t;if(o==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ba(e,t,i,o,n,r){let a=class extends un{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(m){var u;m=Dt(l,m,t),this.$$d[l]=m,(u=this.$$c)==null||u.$set({[l]:m})}})}),o.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var m;return(m=this.$$c)==null?void 0:m[l]}})}),e.element=a,a}class va{constructor(){xe(this,"$$");xe(this,"$$set")}$destroy(){fa(this,1),this.$destroy=be}$on(t,i){if(!Ci(i))return be;const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(i),()=>{const n=o.indexOf(i);n!==-1&&o.splice(n,1)}}$set(t){this.$$set&&!$r(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ya="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ya);const ne={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"},netdeposit:{title:"Net Deposit Limit",value:"netdeposit",callValue:"netDepositLimits",callValue16:"NetDeposit"}},Ze=[];function La(e,t){return{subscribe:Rt(e,t).subscribe}}function Rt(e,t=be){let i;const o=new Set;function n(l){if(on(e,l)&&(e=l,i)){const m=!Ze.length;for(const u of o)u[1](),Ze.push(u,e);if(m){for(let u=0;u<Ze.length;u+=2)Ze[u][0](Ze[u+1]);Ze.length=0}}}function r(l){n(l(e))}function a(l,m=be){const u=[l,m];return o.add(u),o.size===1&&(i=t(n,r)||be),l(e),()=>{o.delete(u),o.size===0&&i&&(i(),i=null)}}return{set:n,update:r,subscribe:a}}function rt(e,t,i){const o=!Array.isArray(e),n=o?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=t.length<2;return La(i,(a,l)=>{let m=!1;const u=[];let c=0,f=be;const v=()=>{if(c)return;f();const _=t(o?u[0]:u,a,l);r?a(_):f=Ci(_)?_:be},y=n.map((_,E)=>nn(_,J=>{u[E]=J,c&=~(1<<E),m&&v()},()=>{c|=1<<E}));return m=!0,v(),function(){Ee(y),f(),m=!1}})}function wa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _a=function(t){return ka(t)&&!xa(t)};function ka(e){return!!e&&typeof e=="object"}function xa(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Aa(e)}var Ea=typeof Symbol=="function"&&Symbol.for,Sa=Ea?Symbol.for("react.element"):60103;function Aa(e){return e.$$typeof===Sa}function Pa(e){return Array.isArray(e)?[]:{}}function Lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?tt(Pa(e),e,t):e}function Ta(e,t,i){return e.concat(t).map(function(o){return Lt(o,i)})}function Ca(e,t){if(!t.customMerge)return tt;var i=t.customMerge(e);return typeof i=="function"?i:tt}function Da(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function no(e){return Object.keys(e).concat(Da(e))}function cn(e,t){try{return t in e}catch(i){return!1}}function Ba(e,t){return cn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ia(e,t,i){var o={};return i.isMergeableObject(e)&&no(e).forEach(function(n){o[n]=Lt(e[n],i)}),no(t).forEach(function(n){Ba(e,n)||(cn(e,n)&&i.isMergeableObject(t[n])?o[n]=Ca(n,i)(e[n],t[n],i):o[n]=Lt(t[n],i))}),o}function tt(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Ta,i.isMergeableObject=i.isMergeableObject||_a,i.cloneUnlessOtherwiseSpecified=Lt;var o=Array.isArray(t),n=Array.isArray(e),r=o===n;return r?o?i.arrayMerge(e,t,i):Ia(e,t,i):Lt(t,i)}tt.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(o,n){return tt(o,n,i)},{})};var Ma=tt,za=Ma;const Na=wa(za);var hi=function(e,t){return hi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(i[n]=o[n])},hi(e,t)};function Ft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");hi(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var Ce=function(){return Ce=Object.assign||function(t){for(var i,o=1,n=arguments.length;o<n;o++){i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Ce.apply(this,arguments)};function ja(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(i[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i}function oi(e,t,i){if(i||arguments.length===2)for(var o=0,n=t.length,r;o<n;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function ni(e,t){var i=t&&t.cache?t.cache:Wa,o=t&&t.serializer?t.serializer:Fa,n=t&&t.strategy?t.strategy:Ha;return n(e,{cache:i,serializer:o})}function Ua(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Oa(e,t,i,o){var n=Ua(o)?o:i(o),r=t.get(n);return typeof r=="undefined"&&(r=e.call(this,o),t.set(n,r)),r}function mn(e,t,i){var o=Array.prototype.slice.call(arguments,3),n=i(o),r=t.get(n);return typeof r=="undefined"&&(r=e.apply(this,o),t.set(n,r)),r}function pn(e,t,i,o,n){return i.bind(t,e,o,n)}function Ha(e,t){var i=e.length===1?Oa:mn;return pn(e,this,i,t.cache.create(),t.serializer)}function Ra(e,t){return pn(e,this,mn,t.cache.create(),t.serializer)}var Fa=function(){return JSON.stringify(arguments)},Ga=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,i){this.cache[t]=i},e}(),Wa={create:function(){return new Ga}},ri={variadic:Ra},jt=function(){return jt=Object.assign||function(t){for(var i,o=1,n=arguments.length;o<n;o++){i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},jt.apply(this,arguments)};var K;(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"})(K||(K={}));var se;(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"})(se||(se={}));var it;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(it||(it={}));function ro(e){return e.type===se.literal}function Va(e){return e.type===se.argument}function dn(e){return e.type===se.number}function fn(e){return e.type===se.date}function hn(e){return e.type===se.time}function gn(e){return e.type===se.select}function bn(e){return e.type===se.plural}function qa(e){return e.type===se.pound}function vn(e){return e.type===se.tag}function yn(e){return!!(e&&typeof e=="object"&&e.type===it.number)}function gi(e){return!!(e&&typeof e=="object"&&e.type===it.dateTime)}var Ln=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Xa=/(?:[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 Ka(e){var t={};return e.replace(Xa,function(i){var o=i.length;switch(i[0]){case"G":t.era=o===4?"long":o===5?"narrow":"short";break;case"y":t.year=o===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"][o-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][o-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=o===4?"long":o===5?"narrow":"short";break;case"e":if(o<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"c":if(o<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-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"][o-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][o-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][o-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][o-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"][o-1];break;case"s":t.second=["numeric","2-digit"][o-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=o<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 ue=function(){return ue=Object.assign||function(t){for(var i,o=1,n=arguments.length;o<n;o++){i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},ue.apply(this,arguments)};var Ya=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Za(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ya).filter(function(v){return v.length>0}),i=[],o=0,n=t;o<n.length;o++){var r=n[o],a=r.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],m=a.slice(1),u=0,c=m;u<c.length;u++){var f=c[u];if(f.length===0)throw new Error("Invalid number skeleton")}i.push({stem:l,options:m})}return i}function Ja(e){return e.replace(/^(.*?)-/,"")}var ao=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,wn=/^(@+)?(\+|#+)?[rs]?$/g,Qa=/(\*)(0+)|(#+)(0+)|(0+)/g,_n=/^(0+)$/;function so(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(wn,function(i,o,n){return typeof n!="string"?(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length):n==="+"?t.minimumSignificantDigits=o.length:o[0]==="#"?t.maximumSignificantDigits=o.length:(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length+(typeof n=="string"?n.length:0)),""}),t}function kn(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 $a(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 i=e.slice(0,2);if(i==="+!"?(t.signDisplay="always",e=e.slice(2)):i==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!_n.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function lo(e){var t={},i=kn(e);return i||t}function es(e){for(var t={},i=0,o=e;i<o.length;i++){var n=o[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.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=Ja(n.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=ue(ue(ue({},t),{notation:"scientific"}),n.options.reduce(function(m,u){return ue(ue({},m),lo(u))},{}));continue;case"engineering":t=ue(ue(ue({},t),{notation:"engineering"}),n.options.reduce(function(m,u){return ue(ue({},m),lo(u))},{}));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(n.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(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Qa,function(m,u,c,f,v,y){if(u)t.minimumIntegerDigits=c.length;else{if(f&&v)throw new Error("We currently do not support maximum integer digits");if(y)throw new Error("We currently do not support exact integer digits")}return""});continue}if(_n.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(ao.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(ao,function(m,u,c,f,v,y){return c==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:v&&y?(t.minimumFractionDigits=v.length,t.maximumFractionDigits=v.length+y.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var r=n.options[0];r==="w"?t=ue(ue({},t),{trailingZeroDisplay:"stripIfInteger"}):r&&(t=ue(ue({},t),so(r)));continue}if(wn.test(n.stem)){t=ue(ue({},t),so(n.stem));continue}var a=kn(n.stem);a&&(t=ue(ue({},t),a));var l=$a(n.stem);l&&(t=ue(ue({},t),l))}return t}var Pt={"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 ts(e,t){for(var i="",o=0;o<e.length;o++){var n=e.charAt(o);if(n==="j"){for(var r=0;o+1<e.length&&e.charAt(o+1)===n;)r++,o++;var a=1+(r&1),l=r<2?1:3+(r>>1),m="a",u=is(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)i+=m;for(;a-- >0;)i=u+i}else n==="J"?i+="H":i+=n}return i}function is(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 i=e.language,o;i!=="root"&&(o=e.maximize().region);var n=Pt[o||""]||Pt[i||""]||Pt["".concat(i,"-001")]||Pt["001"];return n[0]}var ai,os=new RegExp("^".concat(Ln.source,"*")),ns=new RegExp("".concat(Ln.source,"*$"));function Y(e,t){return{start:e,end:t}}var rs=!!String.prototype.startsWith&&"_a".startsWith("a",1),as=!!String.fromCodePoint,ss=!!Object.fromEntries,ls=!!String.prototype.codePointAt,us=!!String.prototype.trimStart,cs=!!String.prototype.trimEnd,ms=!!Number.isSafeInteger,ps=ms?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},bi=!0;try{var ds=En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bi=((ai=ds.exec("a"))===null||ai===void 0?void 0:ai[0])==="a"}catch(e){bi=!1}var uo=rs?function(t,i,o){return t.startsWith(i,o)}:function(t,i,o){return t.slice(o,o+i.length)===i},vi=as?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var o="",n=t.length,r=0,a;n>r;){if(a=t[r++],a>1114111)throw RangeError(a+" is not a valid code point");o+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return o},co=ss?Object.fromEntries:function(t){for(var i={},o=0,n=t;o<n.length;o++){var r=n[o],a=r[0],l=r[1];i[a]=l}return i},xn=ls?function(t,i){return t.codePointAt(i)}:function(t,i){var o=t.length;if(!(i<0||i>=o)){var n=t.charCodeAt(i),r;return n<55296||n>56319||i+1===o||(r=t.charCodeAt(i+1))<56320||r>57343?n:(n-55296<<10)+(r-56320)+65536}},fs=us?function(t){return t.trimStart()}:function(t){return t.replace(os,"")},hs=cs?function(t){return t.trimEnd()}:function(t){return t.replace(ns,"")};function En(e,t){return new RegExp(e,t)}var yi;if(bi){var mo=En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yi=function(t,i){var o;mo.lastIndex=i;var n=mo.exec(t);return(o=n[1])!==null&&o!==void 0?o:""}}else yi=function(t,i){for(var o=[];;){var n=xn(t,i);if(n===void 0||Sn(n)||ys(n))break;o.push(n),i+=n>=65536?2:1}return vi.apply(void 0,o)};var gs=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.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,i,o){for(var n=[];!this.isEOF();){var r=this.char();if(r===123){var a=this.parseArgument(t,o);if(a.err)return a;n.push(a.val)}else{if(r===125&&t>0)break;if(r===35&&(i==="plural"||i==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:se.pound,location:Y(l,this.clonePosition())})}else if(r===60&&!this.ignoreTag&&this.peek()===47){if(o)break;return this.error(K.UNMATCHED_CLOSING_TAG,Y(this.clonePosition(),this.clonePosition()))}else if(r===60&&!this.ignoreTag&&Li(this.peek()||0)){var a=this.parseTag(t,i);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(t,i);if(a.err)return a;n.push(a.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,i){var o=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:se.literal,value:"<".concat(n,"/>"),location:Y(o,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(t+1,i,!0);if(r.err)return r;var a=r.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Li(this.char()))return this.error(K.INVALID_TAG,Y(l,this.clonePosition()));var m=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(K.UNMATCHED_CLOSING_TAG,Y(m,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:se.tag,value:n,children:a,location:Y(o,this.clonePosition())},err:null}:this.error(K.INVALID_TAG,Y(l,this.clonePosition())))}else return this.error(K.UNCLOSED_TAG,Y(o,this.clonePosition()))}else return this.error(K.INVALID_TAG,Y(o,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&vs(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var o=this.clonePosition(),n="";;){var r=this.tryParseQuote(i);if(r){n+=r;continue}var a=this.tryParseUnquoted(t,i);if(a){n+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var m=Y(o,this.clonePosition());return{val:{type:se.literal,value:n,location:m},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!bs(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 i=[this.char()];for(this.bump();!this.isEOF();){var o=this.char();if(o===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(o);this.bump()}return vi.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var o=this.char();return o===60||o===123||o===35&&(i==="plural"||i==="selectordinal")||o===125&&t>0?null:(this.bump(),vi(o))},e.prototype.parseArgument=function(t,i){var o=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Y(o,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(K.EMPTY_ARGUMENT,Y(o,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(K.MALFORMED_ARGUMENT,Y(o,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Y(o,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:se.argument,value:n,location:Y(o,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Y(o,this.clonePosition())):this.parseArgumentOptions(t,i,n,o);default:return this.error(K.MALFORMED_ARGUMENT,Y(o,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),o=yi(this.message,i),n=i+o.length;this.bumpTo(n);var r=this.clonePosition(),a=Y(t,r);return{value:o,location:a}},e.prototype.parseArgumentOptions=function(t,i,o,n){var r,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,m=this.clonePosition();switch(l){case"":return this.error(K.EXPECT_ARGUMENT_TYPE,Y(a,m));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var v=hs(f.val);if(v.length===0)return this.error(K.EXPECT_ARGUMENT_STYLE,Y(this.clonePosition(),this.clonePosition()));var y=Y(c,this.clonePosition());u={style:v,styleLocation:y}}var _=this.tryParseArgumentClose(n);if(_.err)return _;var E=Y(n,this.clonePosition());if(u&&uo(u==null?void 0:u.style,"::",0)){var J=fs(u.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(J,u.styleLocation);return f.err?f:{val:{type:se.number,value:o,location:E,style:f.val},err:null}}else{if(J.length===0)return this.error(K.EXPECT_DATE_TIME_SKELETON,E);var ae=J;this.locale&&(ae=ts(J,this.locale));var v={type:it.dateTime,pattern:ae,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ka(ae):{}},N=l==="date"?se.date:se.time;return{val:{type:N,value:o,location:E,style:v},err:null}}}return{val:{type:l==="number"?se.number:l==="date"?se.date:se.time,value:o,location:E,style:(r=u==null?void 0:u.style)!==null&&r!==void 0?r:null},err:null}}case"plural":case"selectordinal":case"select":{var M=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(K.EXPECT_SELECT_ARGUMENT_OPTIONS,Y(M,jt({},M)));this.bumpSpace();var U=this.parseIdentifierIfPossible(),W=0;if(l!=="select"&&U.value==="offset"){if(!this.bumpIf(":"))return this.error(K.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Y(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(K.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,K.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),U=this.parseIdentifierIfPossible(),W=f.val}var R=this.tryParsePluralOrSelectOptions(t,l,i,U);if(R.err)return R;var _=this.tryParseArgumentClose(n);if(_.err)return _;var G=Y(n,this.clonePosition());return l==="select"?{val:{type:se.select,value:o,options:co(R.val),location:G},err:null}:{val:{type:se.plural,value:o,options:co(R.val),offset:W,pluralType:l==="plural"?"cardinal":"ordinal",location:G},err:null}}default:return this.error(K.INVALID_ARGUMENT_TYPE,Y(a,m))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Y(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var o=this.char();switch(o){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(K.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Y(n,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(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var o=[];try{o=Za(t)}catch(n){return this.error(K.INVALID_NUMBER_SKELETON,i)}return{val:{type:it.number,tokens:o,location:i,parsedOptions:this.shouldParseSkeletons?es(o):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,o,n){for(var r,a=!1,l=[],m=new Set,u=n.value,c=n.location;;){if(u.length===0){var f=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var v=this.tryParseDecimalInteger(K.EXPECT_PLURAL_ARGUMENT_SELECTOR,K.INVALID_PLURAL_ARGUMENT_SELECTOR);if(v.err)return v;c=Y(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(m.has(u))return this.error(i==="select"?K.DUPLICATE_SELECT_ARGUMENT_SELECTOR:K.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(a=!0),this.bumpSpace();var y=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?K.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:K.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Y(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,i,o);if(_.err)return _;var E=this.tryParseArgumentClose(y);if(E.err)return E;l.push([u,{value:_.val,location:Y(y,this.clonePosition())}]),m.add(u),this.bumpSpace(),r=this.parseIdentifierIfPossible(),u=r.value,c=r.location}return l.length===0?this.error(i==="select"?K.EXPECT_SELECT_ARGUMENT_SELECTOR:K.EXPECT_PLURAL_ARGUMENT_SELECTOR,Y(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(K.MISSING_OTHER_CLAUSE,Y(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var o=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(o=-1);for(var r=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)r=!0,a=a*10+(l-48),this.bump();else break}var m=Y(n,this.clonePosition());return r?(a*=o,ps(a)?{val:a,err:null}:this.error(i,m)):this.error(t,m)},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 i=xn(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},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(uo(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),o=this.message.indexOf(t,i);return o>=0?(this.bumpTo(o),!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 i=this.offset();if(i===t)break;if(i>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()&&Sn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),o=this.message.charCodeAt(i+(t>=65536?2:1));return o!=null?o:null},e}();function Li(e){return e>=97&&e<=122||e>=65&&e<=90}function bs(e){return Li(e)||e===47}function vs(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 Sn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ys(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 wi(e){e.forEach(function(t){if(delete t.location,gn(t)||bn(t))for(var i in t.options)delete t.options[i].location,wi(t.options[i].value);else dn(t)&&yn(t.style)||(fn(t)||hn(t))&&gi(t.style)?delete t.style.location:vn(t)&&wi(t.children)})}function Ls(e,t){t===void 0&&(t={}),t=jt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new gs(e,t).parse();if(i.err){var o=SyntaxError(K[i.err.kind]);throw o.location=i.err.location,o.originalMessage=i.err.message,o}return t!=null&&t.captureLocation||wi(i.val),i.val}var ot;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ot||(ot={}));var Gt=function(e){Ft(t,e);function t(i,o,n){var r=e.call(this,i)||this;return r.code=o,r.originalMessage=n,r}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),po=function(e){Ft(t,e);function t(i,o,n,r){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(o,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ot.INVALID_VALUE,r)||this}return t}(Gt),ws=function(e){Ft(t,e);function t(i,o,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(o),ot.INVALID_VALUE,n)||this}return t}(Gt),_s=function(e){Ft(t,e);function t(i,o){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(o,'"'),ot.MISSING_VALUE,o)||this}return t}(Gt),ge;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ge||(ge={}));function ks(e){return e.length<2?e:e.reduce(function(t,i){var o=t[t.length-1];return!o||o.type!==ge.literal||i.type!==ge.literal?t.push(i):o.value+=i.value,t},[])}function xs(e){return typeof e=="function"}function Bt(e,t,i,o,n,r,a){if(e.length===1&&ro(e[0]))return[{type:ge.literal,value:e[0].value}];for(var l=[],m=0,u=e;m<u.length;m++){var c=u[m];if(ro(c)){l.push({type:ge.literal,value:c.value});continue}if(qa(c)){typeof r=="number"&&l.push({type:ge.literal,value:i.getNumberFormat(t).format(r)});continue}var f=c.value;if(!(n&&f in n))throw new _s(f,a);var v=n[f];if(Va(c)){(!v||typeof v=="string"||typeof v=="number")&&(v=typeof v=="string"||typeof v=="number"?String(v):""),l.push({type:typeof v=="string"?ge.literal:ge.object,value:v});continue}if(fn(c)){var y=typeof c.style=="string"?o.date[c.style]:gi(c.style)?c.style.parsedOptions:void 0;l.push({type:ge.literal,value:i.getDateTimeFormat(t,y).format(v)});continue}if(hn(c)){var y=typeof c.style=="string"?o.time[c.style]:gi(c.style)?c.style.parsedOptions:o.time.medium;l.push({type:ge.literal,value:i.getDateTimeFormat(t,y).format(v)});continue}if(dn(c)){var y=typeof c.style=="string"?o.number[c.style]:yn(c.style)?c.style.parsedOptions:void 0;y&&y.scale&&(v=v*(y.scale||1)),l.push({type:ge.literal,value:i.getNumberFormat(t,y).format(v)});continue}if(vn(c)){var _=c.children,E=c.value,J=n[E];if(!xs(J))throw new ws(E,"function",a);var ae=Bt(_,t,i,o,n,r),N=J(ae.map(function(W){return W.value}));Array.isArray(N)||(N=[N]),l.push.apply(l,N.map(function(W){return{type:typeof W=="string"?ge.literal:ge.object,value:W}}))}if(gn(c)){var M=c.options[v]||c.options.other;if(!M)throw new po(c.value,v,Object.keys(c.options),a);l.push.apply(l,Bt(M.value,t,i,o,n));continue}if(bn(c)){var M=c.options["=".concat(v)];if(!M){if(!Intl.PluralRules)throw new Gt(`Intl.PluralRules is not available in this environment.
1
+ "use strict";var Yr=Object.defineProperty,Zr=Object.defineProperties;var Jr=Object.getOwnPropertyDescriptors;var io=Object.getOwnPropertySymbols;var Qr=Object.prototype.hasOwnProperty,$r=Object.prototype.propertyIsEnumerable;var oi=(e,t,i)=>t in e?Yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Me=(e,t)=>{for(var i in t||(t={}))Qr.call(t,i)&&oi(e,i,t[i]);if(io)for(var i of io(t))$r.call(t,i)&&oi(e,i,t[i]);return e},Pt=(e,t)=>Zr(e,Jr(t));var xe=(e,t,i)=>(oi(e,typeof t!="symbol"?t+"":t,i),i);var ye=(e,t,i)=>new Promise((o,n)=>{var r=m=>{try{l(i.next(m))}catch(u){n(u)}},a=m=>{try{l(i.throw(m))}catch(u){n(u)}},l=m=>m.done?o(m.value):Promise.resolve(m.value).then(r,a);l((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function be(){}function ea(e,t){for(const i in t)e[i]=t[i];return e}function nn(e){return e()}function oo(){return Object.create(null)}function Ee(e){e.forEach(nn)}function Bi(e){return typeof e=="function"}function rn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ta(e){return Object.keys(e).length===0}function an(e,...t){if(e==null){for(const o of t)o(void 0);return be}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function ia(e,t,i){e.$$.on_destroy.push(an(t,i))}function pi(e,t,i,o){if(e){const n=sn(e,t,i,o);return e[0](n)}}function sn(e,t,i,o){return e[1]&&o?ea(i.ctx.slice(),e[1](o(t))):i.ctx}function di(e,t,i,o){if(e[2]&&o){const n=e[2](o(i));if(t.dirty===void 0)return n;if(typeof n=="object"){const r=[],a=Math.max(t.dirty.length,n.length);for(let l=0;l<a;l+=1)r[l]=t.dirty[l]|n[l];return r}return t.dirty|n}return t.dirty}function fi(e,t,i,o,n,r){if(n){const a=sn(t,i,o,r);e.p(a,n)}}function hi(e){if(e.ctx.length>32){const t=[],i=e.ctx.length/32;for(let o=0;o<i;o++)t[o]=-1;return t}return-1}function h(e,t){e.appendChild(t)}function oa(e,t,i){const o=na(e);if(!o.getElementById(t)){const n=w("style");n.id=t,n.textContent=i,ra(o,n)}}function na(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ra(e,t){return h(e.head||e,t),t.sheet}function P(e,t,i){e.insertBefore(t,i||null)}function T(e){e.parentNode&&e.parentNode.removeChild(e)}function Ge(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function w(e){return document.createElement(e)}function ne(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function D(e){return document.createTextNode(e)}function N(){return D(" ")}function Ft(){return D("")}function ce(e,t,i,o){return e.addEventListener(t,i,o),()=>e.removeEventListener(t,i,o)}function b(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function ln(e){return e===""?null:+e}function aa(e){return Array.from(e.childNodes)}function M(e,t){t=""+t,e.data!==t&&(e.data=t)}function vt(e,t){e.value=t==null?"":t}function et(e,t,i,o){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function zt(e,t,i){for(let o=0;o<e.options.length;o+=1){const n=e.options[o];if(n.__value===t){n.selected=!0;return}}(!i||t!==void 0)&&(e.selectedIndex=-1)}function no(e){const t=e.querySelector(":checked");return t&&t.__value}function sa(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let yt;function bt(e){yt=e}function la(){if(!yt)throw new Error("Function called outside component initialization");return yt}function ua(e){la().$$.on_mount.push(e)}const Qe=[],Ut=[];let tt=[];const ro=[],un=Promise.resolve();let gi=!1;function cn(){gi||(gi=!0,un.then(Q))}function ca(){return cn(),un}function Lt(e){tt.push(e)}const ni=new Set;let Ze=0;function Q(){if(Ze!==0)return;const e=yt;do{try{for(;Ze<Qe.length;){const t=Qe[Ze];Ze++,bt(t),ma(t.$$)}}catch(t){throw Qe.length=0,Ze=0,t}for(bt(null),Qe.length=0,Ze=0;Ut.length;)Ut.pop()();for(let t=0;t<tt.length;t+=1){const i=tt[t];ni.has(i)||(ni.add(i),i())}tt.length=0}while(Qe.length);for(;ro.length;)ro.pop()();gi=!1,ni.clear(),bt(e)}function ma(e){if(e.fragment!==null){e.update(),Ee(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Lt)}}function pa(e){const t=[],i=[];tt.forEach(o=>e.indexOf(o)===-1?t.push(o):i.push(o)),i.forEach(o=>o()),tt=t}const Bt=new Set;let Fe;function da(){Fe={r:0,c:[],p:Fe}}function fa(){Fe.r||Ee(Fe.c),Fe=Fe.p}function it(e,t){e&&e.i&&(Bt.delete(e),e.i(t))}function wt(e,t,i,o){if(e&&e.o){if(Bt.has(e))return;Bt.add(e),Fe.c.push(()=>{Bt.delete(e),o&&(i&&e.d(1),o())}),e.o(t)}else o&&o()}function _e(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ha(e,t,i){const{fragment:o,after_update:n}=e.$$;o&&o.m(t,i),Lt(()=>{const r=e.$$.on_mount.map(nn).filter(Bi);e.$$.on_destroy?e.$$.on_destroy.push(...r):Ee(r),e.$$.on_mount=[]}),n.forEach(Lt)}function ga(e,t){const i=e.$$;i.fragment!==null&&(pa(i.after_update),Ee(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function ba(e,t){e.$$.dirty[0]===-1&&(Qe.push(e),cn(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function va(e,t,i,o,n,r,a=null,l=[-1]){const m=yt;bt(e);const u=e.$$={fragment:null,ctx:[],props:r,update:be,not_equal:n,bound:oo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(m?m.$$.context:[])),callbacks:oo(),dirty:l,skip_bound:!1,root:t.target||m.$$.root};a&&a(u.root);let c=!1;if(u.ctx=i?i(e,t.props||{},(f,v,...y)=>{const _=y.length?y[0]:v;return u.ctx&&n(u.ctx[f],u.ctx[f]=_)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](_),c&&ba(e,f)),v}):[],u.update(),c=!0,Ee(u.before_update),u.fragment=o?o(u.ctx):!1,t.target){if(t.hydrate){const f=aa(t.target);u.fragment&&u.fragment.l(f),f.forEach(T)}else u.fragment&&u.fragment.c();t.intro&&it(e.$$.fragment),ha(e,t.target,t.anchor),Q()}bt(m)}let mn;typeof HTMLElement=="function"&&(mn=class extends HTMLElement{constructor(t,i,o){super();xe(this,"$$ctor");xe(this,"$$s");xe(this,"$$c");xe(this,"$$cn",!1);xe(this,"$$d",{});xe(this,"$$r",!1);xe(this,"$$p_d",{});xe(this,"$$l",{});xe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,o&&this.attachShadow({mode:"open"})}addEventListener(t,i,o){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const n=this.$$c.$on(t,i);this.$$l_u.set(i,n)}super.addEventListener(t,i,o)}removeEventListener(t,i,o){if(super.removeEventListener(t,i,o),this.$$c){const n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return ye(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(r){return()=>{let a;return{c:function(){a=w("slot"),r!=="default"&&b(a,"name",r)},m:function(u,c){P(u,a,c)},d:function(u){u&&T(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},o=sa(this);for(const r of this.$$s)r in o&&(i[r]=[t(r)]);for(const r of this.attributes){const a=this.$$g_p(r.name);a in this.$$d||(this.$$d[a]=It(a,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Pt(Me({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const a=It(r,this.$$d[r],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,a)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const r in this.$$l)for(const a of this.$$l[r]){const l=this.$$c.$on(r,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,i,o){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=It(t,o,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$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(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function It(e,t,i,o){var r;const n=(r=i[e])==null?void 0:r.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!o||!i[e])return t;if(o==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ya(e,t,i,o,n,r){let a=class extends mn{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(m){var u;m=It(l,m,t),this.$$d[l]=m,(u=this.$$c)==null||u.$set({[l]:m})}})}),o.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var m;return(m=this.$$c)==null?void 0:m[l]}})}),e.element=a,a}class La{constructor(){xe(this,"$$");xe(this,"$$set")}$destroy(){ga(this,1),this.$destroy=be}$on(t,i){if(!Bi(i))return be;const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(i),()=>{const n=o.indexOf(i);n!==-1&&o.splice(n,1)}}$set(t){this.$$set&&!ta(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const wa="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(wa);const oe={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"},netdeposit:{title:"Net Deposit Limit",value:"netdeposit",callValue:"netDepositLimits",callValue16:"NetDeposit"}},Je=[];function _a(e,t){return{subscribe:Gt(e,t).subscribe}}function Gt(e,t=be){let i;const o=new Set;function n(l){if(rn(e,l)&&(e=l,i)){const m=!Je.length;for(const u of o)u[1](),Je.push(u,e);if(m){for(let u=0;u<Je.length;u+=2)Je[u][0](Je[u+1]);Je.length=0}}}function r(l){n(l(e))}function a(l,m=be){const u=[l,m];return o.add(u),o.size===1&&(i=t(n,r)||be),l(e),()=>{o.delete(u),o.size===0&&i&&(i(),i=null)}}return{set:n,update:r,subscribe:a}}function st(e,t,i){const o=!Array.isArray(e),n=o?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=t.length<2;return _a(i,(a,l)=>{let m=!1;const u=[];let c=0,f=be;const v=()=>{if(c)return;f();const _=t(o?u[0]:u,a,l);r?a(_):f=Bi(_)?_:be},y=n.map((_,S)=>an(_,Z=>{u[S]=Z,c&=~(1<<S),m&&v()},()=>{c|=1<<S}));return m=!0,v(),function(){Ee(y),f(),m=!1}})}function ka(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xa=function(t){return Ea(t)&&!Sa(t)};function Ea(e){return!!e&&typeof e=="object"}function Sa(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Pa(e)}var Aa=typeof Symbol=="function"&&Symbol.for,Ta=Aa?Symbol.for("react.element"):60103;function Pa(e){return e.$$typeof===Ta}function Ca(e){return Array.isArray(e)?[]:{}}function _t(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ot(Ca(e),e,t):e}function Da(e,t,i){return e.concat(t).map(function(o){return _t(o,i)})}function Ba(e,t){if(!t.customMerge)return ot;var i=t.customMerge(e);return typeof i=="function"?i:ot}function Ia(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function ao(e){return Object.keys(e).concat(Ia(e))}function pn(e,t){try{return t in e}catch(i){return!1}}function Ma(e,t){return pn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function ja(e,t,i){var o={};return i.isMergeableObject(e)&&ao(e).forEach(function(n){o[n]=_t(e[n],i)}),ao(t).forEach(function(n){Ma(e,n)||(pn(e,n)&&i.isMergeableObject(t[n])?o[n]=Ba(n,i)(e[n],t[n],i):o[n]=_t(t[n],i))}),o}function ot(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Da,i.isMergeableObject=i.isMergeableObject||xa,i.cloneUnlessOtherwiseSpecified=_t;var o=Array.isArray(t),n=Array.isArray(e),r=o===n;return r?o?i.arrayMerge(e,t,i):ja(e,t,i):_t(t,i)}ot.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(o,n){return ot(o,n,i)},{})};var Na=ot,za=Na;const Ua=ka(za);var bi=function(e,t){return bi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(i[n]=o[n])},bi(e,t)};function Wt(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 i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var Ce=function(){return Ce=Object.assign||function(t){for(var i,o=1,n=arguments.length;o<n;o++){i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Ce.apply(this,arguments)};function Oa(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(i[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i}function ri(e,t,i){if(i||arguments.length===2)for(var o=0,n=t.length,r;o<n;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function ai(e,t){var i=t&&t.cache?t.cache:qa,o=t&&t.serializer?t.serializer:Wa,n=t&&t.strategy?t.strategy:Fa;return n(e,{cache:i,serializer:o})}function Ha(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ra(e,t,i,o){var n=Ha(o)?o:i(o),r=t.get(n);return typeof r=="undefined"&&(r=e.call(this,o),t.set(n,r)),r}function dn(e,t,i){var o=Array.prototype.slice.call(arguments,3),n=i(o),r=t.get(n);return typeof r=="undefined"&&(r=e.apply(this,o),t.set(n,r)),r}function fn(e,t,i,o,n){return i.bind(t,e,o,n)}function Fa(e,t){var i=e.length===1?Ra:dn;return fn(e,this,i,t.cache.create(),t.serializer)}function Ga(e,t){return fn(e,this,dn,t.cache.create(),t.serializer)}var Wa=function(){return JSON.stringify(arguments)},Va=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,i){this.cache[t]=i},e}(),qa={create:function(){return new Va}},si={variadic:Ga},Ot=function(){return Ot=Object.assign||function(t){for(var i,o=1,n=arguments.length;o<n;o++){i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Ot.apply(this,arguments)};var X;(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"})(X||(X={}));var se;(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"})(se||(se={}));var nt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(nt||(nt={}));function so(e){return e.type===se.literal}function Xa(e){return e.type===se.argument}function hn(e){return e.type===se.number}function gn(e){return e.type===se.date}function bn(e){return e.type===se.time}function vn(e){return e.type===se.select}function yn(e){return e.type===se.plural}function Ka(e){return e.type===se.pound}function Ln(e){return e.type===se.tag}function wn(e){return!!(e&&typeof e=="object"&&e.type===nt.number)}function vi(e){return!!(e&&typeof e=="object"&&e.type===nt.dateTime)}var _n=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ya=/(?:[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 Za(e){var t={};return e.replace(Ya,function(i){var o=i.length;switch(i[0]){case"G":t.era=o===4?"long":o===5?"narrow":"short";break;case"y":t.year=o===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"][o-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][o-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=o===4?"long":o===5?"narrow":"short";break;case"e":if(o<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"c":if(o<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-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"][o-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][o-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][o-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][o-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"][o-1];break;case"s":t.second=["numeric","2-digit"][o-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=o<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 ue=function(){return ue=Object.assign||function(t){for(var i,o=1,n=arguments.length;o<n;o++){i=arguments[o];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},ue.apply(this,arguments)};var Ja=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Qa(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ja).filter(function(v){return v.length>0}),i=[],o=0,n=t;o<n.length;o++){var r=n[o],a=r.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],m=a.slice(1),u=0,c=m;u<c.length;u++){var f=c[u];if(f.length===0)throw new Error("Invalid number skeleton")}i.push({stem:l,options:m})}return i}function $a(e){return e.replace(/^(.*?)-/,"")}var lo=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,kn=/^(@+)?(\+|#+)?[rs]?$/g,es=/(\*)(0+)|(#+)(0+)|(0+)/g,xn=/^(0+)$/;function uo(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(kn,function(i,o,n){return typeof n!="string"?(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length):n==="+"?t.minimumSignificantDigits=o.length:o[0]==="#"?t.maximumSignificantDigits=o.length:(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length+(typeof n=="string"?n.length:0)),""}),t}function En(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 ts(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 i=e.slice(0,2);if(i==="+!"?(t.signDisplay="always",e=e.slice(2)):i==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!xn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function co(e){var t={},i=En(e);return i||t}function is(e){for(var t={},i=0,o=e;i<o.length;i++){var n=o[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.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=$a(n.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=ue(ue(ue({},t),{notation:"scientific"}),n.options.reduce(function(m,u){return ue(ue({},m),co(u))},{}));continue;case"engineering":t=ue(ue(ue({},t),{notation:"engineering"}),n.options.reduce(function(m,u){return ue(ue({},m),co(u))},{}));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(n.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(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(es,function(m,u,c,f,v,y){if(u)t.minimumIntegerDigits=c.length;else{if(f&&v)throw new Error("We currently do not support maximum integer digits");if(y)throw new Error("We currently do not support exact integer digits")}return""});continue}if(xn.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(lo.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(lo,function(m,u,c,f,v,y){return c==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:v&&y?(t.minimumFractionDigits=v.length,t.maximumFractionDigits=v.length+y.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var r=n.options[0];r==="w"?t=ue(ue({},t),{trailingZeroDisplay:"stripIfInteger"}):r&&(t=ue(ue({},t),uo(r)));continue}if(kn.test(n.stem)){t=ue(ue({},t),uo(n.stem));continue}var a=En(n.stem);a&&(t=ue(ue({},t),a));var l=ts(n.stem);l&&(t=ue(ue({},t),l))}return t}var Ct={"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 os(e,t){for(var i="",o=0;o<e.length;o++){var n=e.charAt(o);if(n==="j"){for(var r=0;o+1<e.length&&e.charAt(o+1)===n;)r++,o++;var a=1+(r&1),l=r<2?1:3+(r>>1),m="a",u=ns(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)i+=m;for(;a-- >0;)i=u+i}else n==="J"?i+="H":i+=n}return i}function ns(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 i=e.language,o;i!=="root"&&(o=e.maximize().region);var n=Ct[o||""]||Ct[i||""]||Ct["".concat(i,"-001")]||Ct["001"];return n[0]}var li,rs=new RegExp("^".concat(_n.source,"*")),as=new RegExp("".concat(_n.source,"*$"));function K(e,t){return{start:e,end:t}}var ss=!!String.prototype.startsWith&&"_a".startsWith("a",1),ls=!!String.fromCodePoint,us=!!Object.fromEntries,cs=!!String.prototype.codePointAt,ms=!!String.prototype.trimStart,ps=!!String.prototype.trimEnd,ds=!!Number.isSafeInteger,fs=ds?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},yi=!0;try{var hs=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yi=((li=hs.exec("a"))===null||li===void 0?void 0:li[0])==="a"}catch(e){yi=!1}var mo=ss?function(t,i,o){return t.startsWith(i,o)}:function(t,i,o){return t.slice(o,o+i.length)===i},Li=ls?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var o="",n=t.length,r=0,a;n>r;){if(a=t[r++],a>1114111)throw RangeError(a+" is not a valid code point");o+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return o},po=us?Object.fromEntries:function(t){for(var i={},o=0,n=t;o<n.length;o++){var r=n[o],a=r[0],l=r[1];i[a]=l}return i},Sn=cs?function(t,i){return t.codePointAt(i)}:function(t,i){var o=t.length;if(!(i<0||i>=o)){var n=t.charCodeAt(i),r;return n<55296||n>56319||i+1===o||(r=t.charCodeAt(i+1))<56320||r>57343?n:(n-55296<<10)+(r-56320)+65536}},gs=ms?function(t){return t.trimStart()}:function(t){return t.replace(rs,"")},bs=ps?function(t){return t.trimEnd()}:function(t){return t.replace(as,"")};function An(e,t){return new RegExp(e,t)}var wi;if(yi){var fo=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wi=function(t,i){var o;fo.lastIndex=i;var n=fo.exec(t);return(o=n[1])!==null&&o!==void 0?o:""}}else wi=function(t,i){for(var o=[];;){var n=Sn(t,i);if(n===void 0||Tn(n)||ws(n))break;o.push(n),i+=n>=65536?2:1}return Li.apply(void 0,o)};var vs=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.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,i,o){for(var n=[];!this.isEOF();){var r=this.char();if(r===123){var a=this.parseArgument(t,o);if(a.err)return a;n.push(a.val)}else{if(r===125&&t>0)break;if(r===35&&(i==="plural"||i==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:se.pound,location:K(l,this.clonePosition())})}else if(r===60&&!this.ignoreTag&&this.peek()===47){if(o)break;return this.error(X.UNMATCHED_CLOSING_TAG,K(this.clonePosition(),this.clonePosition()))}else if(r===60&&!this.ignoreTag&&_i(this.peek()||0)){var a=this.parseTag(t,i);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(t,i);if(a.err)return a;n.push(a.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,i){var o=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:se.literal,value:"<".concat(n,"/>"),location:K(o,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(t+1,i,!0);if(r.err)return r;var a=r.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!_i(this.char()))return this.error(X.INVALID_TAG,K(l,this.clonePosition()));var m=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(X.UNMATCHED_CLOSING_TAG,K(m,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:se.tag,value:n,children:a,location:K(o,this.clonePosition())},err:null}:this.error(X.INVALID_TAG,K(l,this.clonePosition())))}else return this.error(X.UNCLOSED_TAG,K(o,this.clonePosition()))}else return this.error(X.INVALID_TAG,K(o,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ls(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var o=this.clonePosition(),n="";;){var r=this.tryParseQuote(i);if(r){n+=r;continue}var a=this.tryParseUnquoted(t,i);if(a){n+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var m=K(o,this.clonePosition());return{val:{type:se.literal,value:n,location:m},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ys(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 i=[this.char()];for(this.bump();!this.isEOF();){var o=this.char();if(o===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(o);this.bump()}return Li.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var o=this.char();return o===60||o===123||o===35&&(i==="plural"||i==="selectordinal")||o===125&&t>0?null:(this.bump(),Li(o))},e.prototype.parseArgument=function(t,i){var o=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(X.EXPECT_ARGUMENT_CLOSING_BRACE,K(o,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(X.EMPTY_ARGUMENT,K(o,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(X.MALFORMED_ARGUMENT,K(o,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(X.EXPECT_ARGUMENT_CLOSING_BRACE,K(o,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:se.argument,value:n,location:K(o,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(X.EXPECT_ARGUMENT_CLOSING_BRACE,K(o,this.clonePosition())):this.parseArgumentOptions(t,i,n,o);default:return this.error(X.MALFORMED_ARGUMENT,K(o,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),o=wi(this.message,i),n=i+o.length;this.bumpTo(n);var r=this.clonePosition(),a=K(t,r);return{value:o,location:a}},e.prototype.parseArgumentOptions=function(t,i,o,n){var r,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,m=this.clonePosition();switch(l){case"":return this.error(X.EXPECT_ARGUMENT_TYPE,K(a,m));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var v=bs(f.val);if(v.length===0)return this.error(X.EXPECT_ARGUMENT_STYLE,K(this.clonePosition(),this.clonePosition()));var y=K(c,this.clonePosition());u={style:v,styleLocation:y}}var _=this.tryParseArgumentClose(n);if(_.err)return _;var S=K(n,this.clonePosition());if(u&&mo(u==null?void 0:u.style,"::",0)){var Z=gs(u.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(Z,u.styleLocation);return f.err?f:{val:{type:se.number,value:o,location:S,style:f.val},err:null}}else{if(Z.length===0)return this.error(X.EXPECT_DATE_TIME_SKELETON,S);var re=Z;this.locale&&(re=os(Z,this.locale));var v={type:nt.dateTime,pattern:re,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Za(re):{}},j=l==="date"?se.date:se.time;return{val:{type:j,value:o,location:S,style:v},err:null}}}return{val:{type:l==="number"?se.number:l==="date"?se.date:se.time,value:o,location:S,style:(r=u==null?void 0:u.style)!==null&&r!==void 0?r:null},err:null}}case"plural":case"selectordinal":case"select":{var I=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(X.EXPECT_SELECT_ARGUMENT_OPTIONS,K(I,Ot({},I)));this.bumpSpace();var z=this.parseIdentifierIfPossible(),W=0;if(l!=="select"&&z.value==="offset"){if(!this.bumpIf(":"))return this.error(X.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,K(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(X.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,X.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),z=this.parseIdentifierIfPossible(),W=f.val}var R=this.tryParsePluralOrSelectOptions(t,l,i,z);if(R.err)return R;var _=this.tryParseArgumentClose(n);if(_.err)return _;var G=K(n,this.clonePosition());return l==="select"?{val:{type:se.select,value:o,options:po(R.val),location:G},err:null}:{val:{type:se.plural,value:o,options:po(R.val),offset:W,pluralType:l==="plural"?"cardinal":"ordinal",location:G},err:null}}default:return this.error(X.INVALID_ARGUMENT_TYPE,K(a,m))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(X.EXPECT_ARGUMENT_CLOSING_BRACE,K(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var o=this.char();switch(o){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(X.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,K(n,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(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var o=[];try{o=Qa(t)}catch(n){return this.error(X.INVALID_NUMBER_SKELETON,i)}return{val:{type:nt.number,tokens:o,location:i,parsedOptions:this.shouldParseSkeletons?is(o):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,o,n){for(var r,a=!1,l=[],m=new Set,u=n.value,c=n.location;;){if(u.length===0){var f=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var v=this.tryParseDecimalInteger(X.EXPECT_PLURAL_ARGUMENT_SELECTOR,X.INVALID_PLURAL_ARGUMENT_SELECTOR);if(v.err)return v;c=K(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(m.has(u))return this.error(i==="select"?X.DUPLICATE_SELECT_ARGUMENT_SELECTOR:X.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(a=!0),this.bumpSpace();var y=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?X.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:X.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,K(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,i,o);if(_.err)return _;var S=this.tryParseArgumentClose(y);if(S.err)return S;l.push([u,{value:_.val,location:K(y,this.clonePosition())}]),m.add(u),this.bumpSpace(),r=this.parseIdentifierIfPossible(),u=r.value,c=r.location}return l.length===0?this.error(i==="select"?X.EXPECT_SELECT_ARGUMENT_SELECTOR:X.EXPECT_PLURAL_ARGUMENT_SELECTOR,K(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(X.MISSING_OTHER_CLAUSE,K(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var o=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(o=-1);for(var r=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)r=!0,a=a*10+(l-48),this.bump();else break}var m=K(n,this.clonePosition());return r?(a*=o,fs(a)?{val:a,err:null}:this.error(i,m)):this.error(t,m)},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 i=Sn(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},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(mo(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),o=this.message.indexOf(t,i);return o>=0?(this.bumpTo(o),!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 i=this.offset();if(i===t)break;if(i>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()&&Tn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),o=this.message.charCodeAt(i+(t>=65536?2:1));return o!=null?o:null},e}();function _i(e){return e>=97&&e<=122||e>=65&&e<=90}function ys(e){return _i(e)||e===47}function Ls(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 Tn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ws(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 ki(e){e.forEach(function(t){if(delete t.location,vn(t)||yn(t))for(var i in t.options)delete t.options[i].location,ki(t.options[i].value);else hn(t)&&wn(t.style)||(gn(t)||bn(t))&&vi(t.style)?delete t.style.location:Ln(t)&&ki(t.children)})}function _s(e,t){t===void 0&&(t={}),t=Ot({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new vs(e,t).parse();if(i.err){var o=SyntaxError(X[i.err.kind]);throw o.location=i.err.location,o.originalMessage=i.err.message,o}return t!=null&&t.captureLocation||ki(i.val),i.val}var rt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(rt||(rt={}));var Vt=function(e){Wt(t,e);function t(i,o,n){var r=e.call(this,i)||this;return r.code=o,r.originalMessage=n,r}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ho=function(e){Wt(t,e);function t(i,o,n,r){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(o,'". Options are "').concat(Object.keys(n).join('", "'),'"'),rt.INVALID_VALUE,r)||this}return t}(Vt),ks=function(e){Wt(t,e);function t(i,o,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(o),rt.INVALID_VALUE,n)||this}return t}(Vt),xs=function(e){Wt(t,e);function t(i,o){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(o,'"'),rt.MISSING_VALUE,o)||this}return t}(Vt),ge;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ge||(ge={}));function Es(e){return e.length<2?e:e.reduce(function(t,i){var o=t[t.length-1];return!o||o.type!==ge.literal||i.type!==ge.literal?t.push(i):o.value+=i.value,t},[])}function Ss(e){return typeof e=="function"}function Mt(e,t,i,o,n,r,a){if(e.length===1&&so(e[0]))return[{type:ge.literal,value:e[0].value}];for(var l=[],m=0,u=e;m<u.length;m++){var c=u[m];if(so(c)){l.push({type:ge.literal,value:c.value});continue}if(Ka(c)){typeof r=="number"&&l.push({type:ge.literal,value:i.getNumberFormat(t).format(r)});continue}var f=c.value;if(!(n&&f in n))throw new xs(f,a);var v=n[f];if(Xa(c)){(!v||typeof v=="string"||typeof v=="number")&&(v=typeof v=="string"||typeof v=="number"?String(v):""),l.push({type:typeof v=="string"?ge.literal:ge.object,value:v});continue}if(gn(c)){var y=typeof c.style=="string"?o.date[c.style]:vi(c.style)?c.style.parsedOptions:void 0;l.push({type:ge.literal,value:i.getDateTimeFormat(t,y).format(v)});continue}if(bn(c)){var y=typeof c.style=="string"?o.time[c.style]:vi(c.style)?c.style.parsedOptions:o.time.medium;l.push({type:ge.literal,value:i.getDateTimeFormat(t,y).format(v)});continue}if(hn(c)){var y=typeof c.style=="string"?o.number[c.style]:wn(c.style)?c.style.parsedOptions:void 0;y&&y.scale&&(v=v*(y.scale||1)),l.push({type:ge.literal,value:i.getNumberFormat(t,y).format(v)});continue}if(Ln(c)){var _=c.children,S=c.value,Z=n[S];if(!Ss(Z))throw new ks(S,"function",a);var re=Mt(_,t,i,o,n,r),j=Z(re.map(function(W){return W.value}));Array.isArray(j)||(j=[j]),l.push.apply(l,j.map(function(W){return{type:typeof W=="string"?ge.literal:ge.object,value:W}}))}if(vn(c)){var I=c.options[v]||c.options.other;if(!I)throw new ho(c.value,v,Object.keys(c.options),a);l.push.apply(l,Mt(I.value,t,i,o,n));continue}if(yn(c)){var I=c.options["=".concat(v)];if(!I){if(!Intl.PluralRules)throw new Vt(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
- `,ot.MISSING_INTL_API,a);var U=i.getPluralRules(t,{type:c.pluralType}).select(v-(c.offset||0));M=c.options[U]||c.options.other}if(!M)throw new po(c.value,v,Object.keys(c.options),a);l.push.apply(l,Bt(M.value,t,i,o,n,v-(c.offset||0)));continue}}return ks(l)}function Es(e,t){return t?Ce(Ce(Ce({},e||{}),t||{}),Object.keys(e).reduce(function(i,o){return i[o]=Ce(Ce({},e[o]),t[o]||{}),i},{})):e}function Ss(e,t){return t?Object.keys(e).reduce(function(i,o){return i[o]=Es(e[o],t[o]),i},Ce({},e)):e}function si(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function As(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ni(function(){for(var t,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return new((t=Intl.NumberFormat).bind.apply(t,oi([void 0],i,!1)))},{cache:si(e.number),strategy:ri.variadic}),getDateTimeFormat:ni(function(){for(var t,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return new((t=Intl.DateTimeFormat).bind.apply(t,oi([void 0],i,!1)))},{cache:si(e.dateTime),strategy:ri.variadic}),getPluralRules:ni(function(){for(var t,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return new((t=Intl.PluralRules).bind.apply(t,oi([void 0],i,!1)))},{cache:si(e.pluralRules),strategy:ri.variadic})}}var Ps=function(){function e(t,i,o,n){i===void 0&&(i=e.defaultLocale);var r=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(m){var u=r.formatToParts(m);if(u.length===1)return u[0].value;var c=u.reduce(function(f,v){return!f.length||v.type!==ge.literal||typeof f[f.length-1]!="string"?f.push(v.value):f[f.length-1]+=v.value,f},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(m){return Bt(r.ast,r.locales,r.formatters,r.formats,m,void 0,r.message)},this.resolvedOptions=function(){var m;return{locale:((m=r.resolvedLocale)===null||m===void 0?void 0:m.toString())||Intl.NumberFormat.supportedLocalesOf(r.locales)[0]}},this.getAst=function(){return r.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),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=n||{};a.formatters;var l=ja(a,["formatters"]);this.ast=e.__parse(t,Ce(Ce({},l),{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=Ss(e.formats,o),this.formatters=n&&n.formatters||As(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 i=Intl.NumberFormat.supportedLocalesOf(t);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ls,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 Ts(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let o=e;for(let n=0;n<i.length;n++)if(typeof o=="object"){if(n>0){const r=i.slice(n,i.length).join(".");if(r in o){o=o[r];break}}o=o[i[n]]}else o=void 0;return o}const Oe={},Cs=(e,t,i)=>i&&(t in Oe||(Oe[t]={}),e in Oe[t]||(Oe[t][e]=i),i),An=(e,t)=>{if(t==null)return;if(t in Oe&&e in Oe[t])return Oe[t][e];const i=Wt(t);for(let o=0;o<i.length;o++){const n=i[o],r=Bs(n,e);if(r)return Cs(e,t,r)}};let Di;const _t=Rt({});function Ds(e){return Di[e]||null}function Pn(e){return e in Di}function Bs(e,t){if(!Pn(e))return null;const i=Ds(e);return Ts(i,t)}function Is(e){if(e==null)return;const t=Wt(e);for(let i=0;i<t.length;i++){const o=t[i];if(Pn(o))return o}}function Tn(e,...t){delete Oe[e],_t.update(i=>(i[e]=Na.all([i[e]||{},...t]),i))}rt([_t],([e])=>Object.keys(e));_t.subscribe(e=>Di=e);const It={};function Ms(e,t){It[e].delete(t),It[e].size===0&&delete It[e]}function Cn(e){return It[e]}function zs(e){return Wt(e).map(t=>{const i=Cn(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function _i(e){return e==null?!1:Wt(e).some(t=>{var i;return(i=Cn(t))==null?void 0:i.size})}function Ns(e,t){return Promise.all(t.map(o=>(Ms(e,o),o().then(n=>n.default||n)))).then(o=>Tn(e,...o))}const ft={};function Dn(e){if(!_i(e))return e in ft?ft[e]:Promise.resolve();const t=zs(e);return ft[e]=Promise.all(t.map(([i,o])=>Ns(i,o))).then(()=>{if(_i(e))return Dn(e);delete ft[e]}),ft[e]}const js={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"}}},Us={fallbackLocale:null,loadingDelay:200,formats:js,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Os=Us;function nt(){return Os}const li=Rt(!1);var Hs=Object.defineProperty,Rs=Object.defineProperties,Fs=Object.getOwnPropertyDescriptors,fo=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,Ws=Object.prototype.propertyIsEnumerable,ho=(e,t,i)=>t in e?Hs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Vs=(e,t)=>{for(var i in t||(t={}))Gs.call(t,i)&&ho(e,i,t[i]);if(fo)for(var i of fo(t))Ws.call(t,i)&&ho(e,i,t[i]);return e},qs=(e,t)=>Rs(e,Fs(t));let ki;const Ut=Rt(null);function go(e){return e.split("-").map((t,i,o)=>o.slice(0,i+1).join("-")).reverse()}function Wt(e,t=nt().fallbackLocale){const i=go(e);return t?[...new Set([...i,...go(t)])]:i}function We(){return ki!=null?ki:void 0}Ut.subscribe(e=>{ki=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Xs=e=>{if(e&&Is(e)&&_i(e)){const{loadingDelay:t}=nt();let i;return typeof window!="undefined"&&We()!=null&&t?i=window.setTimeout(()=>li.set(!0),t):li.set(!0),Dn(e).then(()=>{Ut.set(e)}).finally(()=>{clearTimeout(i),li.set(!1)})}return Ut.set(e)},at=qs(Vs({},Ut),{set:Xs}),Vt=e=>{const t=Object.create(null);return o=>{const n=JSON.stringify(o);return n in t?t[n]:t[n]=e(o)}};var Ks=Object.defineProperty,Ot=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,bo=(e,t,i)=>t in e?Ks(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Bi=(e,t)=>{for(var i in t||(t={}))Bn.call(t,i)&&bo(e,i,t[i]);if(Ot)for(var i of Ot(t))In.call(t,i)&&bo(e,i,t[i]);return e},st=(e,t)=>{var i={};for(var o in e)Bn.call(e,o)&&t.indexOf(o)<0&&(i[o]=e[o]);if(e!=null&&Ot)for(var o of Ot(e))t.indexOf(o)<0&&In.call(e,o)&&(i[o]=e[o]);return i};const wt=(e,t)=>{const{formats:i}=nt();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ys=Vt(e=>{var t=e,{locale:i,format:o}=t,n=st(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return o&&(n=wt("number",o)),new Intl.NumberFormat(i,n)}),Zs=Vt(e=>{var t=e,{locale:i,format:o}=t,n=st(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return o?n=wt("date",o):Object.keys(n).length===0&&(n=wt("date","short")),new Intl.DateTimeFormat(i,n)}),Js=Vt(e=>{var t=e,{locale:i,format:o}=t,n=st(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return o?n=wt("time",o):Object.keys(n).length===0&&(n=wt("time","short")),new Intl.DateTimeFormat(i,n)}),Qs=(e={})=>{var t=e,{locale:i=We()}=t,o=st(t,["locale"]);return Ys(Bi({locale:i},o))},$s=(e={})=>{var t=e,{locale:i=We()}=t,o=st(t,["locale"]);return Zs(Bi({locale:i},o))},el=(e={})=>{var t=e,{locale:i=We()}=t,o=st(t,["locale"]);return Js(Bi({locale:i},o))},tl=Vt((e,t=We())=>new Ps(e,t,nt().formats,{ignoreTag:nt().ignoreTag})),il=(e,t={})=>{var i,o,n,r;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:m=We(),default:u}=a;if(m==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=An(e,m);if(!c)c=(r=(n=(o=(i=nt()).handleMissingMessage)==null?void 0:o.call(i,{locale:m,id:e,defaultValue:u}))!=null?n:u)!=null?r:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!l)return c;let f=c;try{f=tl(c,m).format(l)}catch(v){v instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,v.message)}return f},ol=(e,t)=>el(t).format(e),nl=(e,t)=>$s(t).format(e),rl=(e,t)=>Qs(t).format(e),al=(e,t=We())=>An(e,t),sl=rt([at,_t],()=>il);rt([at],()=>ol);rt([at],()=>nl);rt([at],()=>rl);rt([at,_t],()=>al);function vo(e,t){Tn(e,t)}function ll(e){at.set(e)}const Ue={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newDailyLimit:"New daily limit",newWeeklyLimit:"New weekly limit",newMonthlyLimit:"New monthly limit",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",seconds:"seconds",updateText:"will be applied on",updateAfterConfirm:"will be applied after confirmation",acknowledgedLimit:"Limit update confirmed and will be applied in ~1 min",removedLimitText:"The limit will be removed on",removeAfterConfirm:"The limit will be removed after confirmation.",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",loss:"Loss Limit",lossAll:"Loss - All Limit",lossCasino:"Loss - Casino Limit",lossSports:"Loss - Sports Limit",deposit:"Deposit Limit",depositAll:"Deposit - All Limit",depositCasino:"Deposit - Casino Limit",depositSports:"Deposit - Sports Limit",wager:"Wager Limit",wagerAll:"Wager - All Limit",wagerCasino:"Wager - Casino Limit",wagerSports:"Wager - Sports Limit",stake:"Stake Limit",stakeAll:"Stake - All Limit",stakeCasino:"Stake - Casino Limit",stakeSports:"Stake - Sports Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",confirmUpdateLimit:"CONFIRM",cancelUpdateLimit:"CANCEL",reloadLimitsButton:"RELOAD",setLimit:"Set new limit",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"An error has occurred.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",sessionExpiredException:"Your session has expired",popup3:`Thank you!
3
+ `,rt.MISSING_INTL_API,a);var z=i.getPluralRules(t,{type:c.pluralType}).select(v-(c.offset||0));I=c.options[z]||c.options.other}if(!I)throw new ho(c.value,v,Object.keys(c.options),a);l.push.apply(l,Mt(I.value,t,i,o,n,v-(c.offset||0)));continue}}return Es(l)}function As(e,t){return t?Ce(Ce(Ce({},e||{}),t||{}),Object.keys(e).reduce(function(i,o){return i[o]=Ce(Ce({},e[o]),t[o]||{}),i},{})):e}function Ts(e,t){return t?Object.keys(e).reduce(function(i,o){return i[o]=As(e[o],t[o]),i},Ce({},e)):e}function ui(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function Ps(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ai(function(){for(var t,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return new((t=Intl.NumberFormat).bind.apply(t,ri([void 0],i,!1)))},{cache:ui(e.number),strategy:si.variadic}),getDateTimeFormat:ai(function(){for(var t,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return new((t=Intl.DateTimeFormat).bind.apply(t,ri([void 0],i,!1)))},{cache:ui(e.dateTime),strategy:si.variadic}),getPluralRules:ai(function(){for(var t,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return new((t=Intl.PluralRules).bind.apply(t,ri([void 0],i,!1)))},{cache:ui(e.pluralRules),strategy:si.variadic})}}var Cs=function(){function e(t,i,o,n){i===void 0&&(i=e.defaultLocale);var r=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(m){var u=r.formatToParts(m);if(u.length===1)return u[0].value;var c=u.reduce(function(f,v){return!f.length||v.type!==ge.literal||typeof f[f.length-1]!="string"?f.push(v.value):f[f.length-1]+=v.value,f},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(m){return Mt(r.ast,r.locales,r.formatters,r.formats,m,void 0,r.message)},this.resolvedOptions=function(){var m;return{locale:((m=r.resolvedLocale)===null||m===void 0?void 0:m.toString())||Intl.NumberFormat.supportedLocalesOf(r.locales)[0]}},this.getAst=function(){return r.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),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=n||{};a.formatters;var l=Oa(a,["formatters"]);this.ast=e.__parse(t,Ce(Ce({},l),{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=Ts(e.formats,o),this.formatters=n&&n.formatters||Ps(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 i=Intl.NumberFormat.supportedLocalesOf(t);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=_s,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 Ds(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let o=e;for(let n=0;n<i.length;n++)if(typeof o=="object"){if(n>0){const r=i.slice(n,i.length).join(".");if(r in o){o=o[r];break}}o=o[i[n]]}else o=void 0;return o}const Oe={},Bs=(e,t,i)=>i&&(t in Oe||(Oe[t]={}),e in Oe[t]||(Oe[t][e]=i),i),Pn=(e,t)=>{if(t==null)return;if(t in Oe&&e in Oe[t])return Oe[t][e];const i=qt(t);for(let o=0;o<i.length;o++){const n=i[o],r=Ms(n,e);if(r)return Bs(e,t,r)}};let Ii;const xt=Gt({});function Is(e){return Ii[e]||null}function Cn(e){return e in Ii}function Ms(e,t){if(!Cn(e))return null;const i=Is(e);return Ds(i,t)}function js(e){if(e==null)return;const t=qt(e);for(let i=0;i<t.length;i++){const o=t[i];if(Cn(o))return o}}function Dn(e,...t){delete Oe[e],xt.update(i=>(i[e]=Ua.all([i[e]||{},...t]),i))}st([xt],([e])=>Object.keys(e));xt.subscribe(e=>Ii=e);const jt={};function Ns(e,t){jt[e].delete(t),jt[e].size===0&&delete jt[e]}function Bn(e){return jt[e]}function zs(e){return qt(e).map(t=>{const i=Bn(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function xi(e){return e==null?!1:qt(e).some(t=>{var i;return(i=Bn(t))==null?void 0:i.size})}function Us(e,t){return Promise.all(t.map(o=>(Ns(e,o),o().then(n=>n.default||n)))).then(o=>Dn(e,...o))}const gt={};function In(e){if(!xi(e))return e in gt?gt[e]:Promise.resolve();const t=zs(e);return gt[e]=Promise.all(t.map(([i,o])=>Us(i,o))).then(()=>{if(xi(e))return In(e);delete gt[e]}),gt[e]}const Os={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"}}},Hs={fallbackLocale:null,loadingDelay:200,formats:Os,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Rs=Hs;function at(){return Rs}const ci=Gt(!1);var Fs=Object.defineProperty,Gs=Object.defineProperties,Ws=Object.getOwnPropertyDescriptors,go=Object.getOwnPropertySymbols,Vs=Object.prototype.hasOwnProperty,qs=Object.prototype.propertyIsEnumerable,bo=(e,t,i)=>t in e?Fs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Xs=(e,t)=>{for(var i in t||(t={}))Vs.call(t,i)&&bo(e,i,t[i]);if(go)for(var i of go(t))qs.call(t,i)&&bo(e,i,t[i]);return e},Ks=(e,t)=>Gs(e,Ws(t));let Ei;const Ht=Gt(null);function vo(e){return e.split("-").map((t,i,o)=>o.slice(0,i+1).join("-")).reverse()}function qt(e,t=at().fallbackLocale){const i=vo(e);return t?[...new Set([...i,...vo(t)])]:i}function We(){return Ei!=null?Ei:void 0}Ht.subscribe(e=>{Ei=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ys=e=>{if(e&&js(e)&&xi(e)){const{loadingDelay:t}=at();let i;return typeof window!="undefined"&&We()!=null&&t?i=window.setTimeout(()=>ci.set(!0),t):ci.set(!0),In(e).then(()=>{Ht.set(e)}).finally(()=>{clearTimeout(i),ci.set(!1)})}return Ht.set(e)},lt=Ks(Xs({},Ht),{set:Ys}),Xt=e=>{const t=Object.create(null);return o=>{const n=JSON.stringify(o);return n in t?t[n]:t[n]=e(o)}};var Zs=Object.defineProperty,Rt=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,jn=Object.prototype.propertyIsEnumerable,yo=(e,t,i)=>t in e?Zs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Mi=(e,t)=>{for(var i in t||(t={}))Mn.call(t,i)&&yo(e,i,t[i]);if(Rt)for(var i of Rt(t))jn.call(t,i)&&yo(e,i,t[i]);return e},ut=(e,t)=>{var i={};for(var o in e)Mn.call(e,o)&&t.indexOf(o)<0&&(i[o]=e[o]);if(e!=null&&Rt)for(var o of Rt(e))t.indexOf(o)<0&&jn.call(e,o)&&(i[o]=e[o]);return i};const kt=(e,t)=>{const{formats:i}=at();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Js=Xt(e=>{var t=e,{locale:i,format:o}=t,n=ut(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return o&&(n=kt("number",o)),new Intl.NumberFormat(i,n)}),Qs=Xt(e=>{var t=e,{locale:i,format:o}=t,n=ut(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return o?n=kt("date",o):Object.keys(n).length===0&&(n=kt("date","short")),new Intl.DateTimeFormat(i,n)}),$s=Xt(e=>{var t=e,{locale:i,format:o}=t,n=ut(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return o?n=kt("time",o):Object.keys(n).length===0&&(n=kt("time","short")),new Intl.DateTimeFormat(i,n)}),el=(e={})=>{var t=e,{locale:i=We()}=t,o=ut(t,["locale"]);return Js(Mi({locale:i},o))},tl=(e={})=>{var t=e,{locale:i=We()}=t,o=ut(t,["locale"]);return Qs(Mi({locale:i},o))},il=(e={})=>{var t=e,{locale:i=We()}=t,o=ut(t,["locale"]);return $s(Mi({locale:i},o))},ol=Xt((e,t=We())=>new Cs(e,t,at().formats,{ignoreTag:at().ignoreTag})),nl=(e,t={})=>{var i,o,n,r;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:m=We(),default:u}=a;if(m==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Pn(e,m);if(!c)c=(r=(n=(o=(i=at()).handleMissingMessage)==null?void 0:o.call(i,{locale:m,id:e,defaultValue:u}))!=null?n:u)!=null?r:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!l)return c;let f=c;try{f=ol(c,m).format(l)}catch(v){v instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,v.message)}return f},rl=(e,t)=>il(t).format(e),al=(e,t)=>tl(t).format(e),sl=(e,t)=>el(t).format(e),ll=(e,t=We())=>Pn(e,t),ul=st([lt,xt],()=>nl);st([lt],()=>rl);st([lt],()=>al);st([lt],()=>sl);st([lt,xt],()=>ll);function Lo(e,t){Dn(e,t)}function cl(e){lt.set(e)}const Ue={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newDailyLimit:"New daily limit",newWeeklyLimit:"New weekly limit",newMonthlyLimit:"New monthly limit",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",seconds:"seconds",updateText:"will be applied on",updateAfterConfirm:"will be applied after confirmation",acknowledgedLimit:"Limit update confirmed and will be applied in ~1 min",removedLimitText:"The limit will be removed on",removeAfterConfirm:"The limit will be removed after confirmation.",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",loss:"Loss Limit",lossAll:"Loss - All Limit",lossCasino:"Loss - Casino Limit",lossSports:"Loss - Sports Limit",deposit:"Deposit Limit",depositAll:"Deposit - All Limit",depositCasino:"Deposit - Casino Limit",depositSports:"Deposit - Sports Limit",wager:"Wager Limit",wagerAll:"Wager - All Limit",wagerCasino:"Wager - Casino Limit",wagerSports:"Wager - Sports Limit",stake:"Stake Limit",stakeAll:"Stake - All Limit",stakeCasino:"Stake - Casino Limit",stakeSports:"Stake - Sports Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",confirmUpdateLimit:"CONFIRM",cancelUpdateLimit:"CANCEL",reloadLimitsButton:"RELOAD",setLimit:"Set new limit",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"An error has occurred.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",sessionExpiredException:"Your session has expired",popup3:`Thank you!
4
4
  We have transmited your desired limit to Lugas
5
5
  Please be aware that the limit will only come into effect after 8 days at the latest.`,popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"The value entered must be higher than {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be less than {maxValue} {currency}.",invalidInputMessage:"Please enter a valid number.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",internalServerError:"Unfortunately, there was an error setting your LUGAS limit. Please try again or contact our customer support at <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government","dataLayer-sports":"Sports","dataLayer-casino":"Casino","dataLayer-wager":"Wager","dataLayer-loss":"Loss","dataLayer-deposit":"Deposit","dataLayer-daily":"Daily","dataLayer-weekly":"Weekly","dataLayer-monthly":"Monthly",netdepositAll:"Net Deposit Limit",uploadDocumentHeader:"Upload a Supporting Document",uploadButtonText:"Click here to Upload",documentUploadTitle:"Document Upload",uploadDocumentContent:'<p>Click here <label class="labelText" for="files">Browse</label></br>JPG/PEG, PNG or PDF files up to 50MB</p>',uploadHistory:"Upload History:",noFileUploaded:"No file uploaded",submitButton:"Submit",fileExtenssionDeny:"The file extenssion is not a valid one",fileSizeExceeded:"Maximum amount of file size was exceeded",uploadSuccess:"File uploaded successfully",errorUploadDocument:"There was an error with the uploading function",filesUploadError:"The uploaded files either exeeded allowed size or don't respect the allowed extensions types.",updateAfterDocApproval:"will be applied after document approval.",limitInDocReview:"You can't update a limit if it's in pendning.",scheduleNotFoundException:"Schedule does not exist",genericLimitsPopupError:"An unexpected error has occurred. Please try again",limitNotificationFail:"Something went wrong while setting your account limits. Try again later.",companyLimitsInfoText:"According to your active deposit limits and your payment history the maximum amount you can deposit at the moment is:"},hu:{loadingText:"` Az oldal töltődik, kérlek várj…`",Monthly:"Havi",Weekly:"Heti",Daily:"Napi",adjectiveMonthly:"Havi",adjectiveWeekly:"Heti",adjectiveDaily:"Napi",newDailyLimit:"Új napi limit",newWeeklyLimit:"Új heti limit",newMonthlyLimit:"Új havi limit",None:" ",noPeriod:".",per:"per",noLimitText:"Nincs limit beállítva",lugasPrivacy:"A szolgáltatóközi LUGAS-limit a szolgáltatók számára nem látható.",limitType:"Limit típus",period:"Időszak",amount:"Összeg",minutes:" perc",new:"Új",limit:"limit",setLimit:"Limit beállítása",loss:"Veszteség limit",lossAll:"Veszteség - Összes limit",lossCasino:"Veszteség - Kaszinó limit",lossSports:"Veszteség - Sport limit",deposit:"Befizetési limit",depositAll:"Befizetés - Összes limit",depositCasino:"Befizetés - Kaszinó limit",depositSports:"Befizetés - Sport limit",wager:"Fogadási limit",wagerAll:"Fogadás - Összes limit",wagerCasino:"Fogadás - Kaszinó limit",wagerSports:"Fogadás - Sport limit",stake:"Fogadási limit",stakeAll:"Tét - Összes limit",stakeCasino:"Tét - Kaszinó limit",stakeSports:"Tét - Sport limit",lugas:"Aktuális befizetési limit",sessionLimit:"Munkamenet időkorlátja",sessionLimitUpdated:"A munkamenet időkorlátját frissítettük.",cumulativeSession:"Időszakos időkorlát",removeLimit:"Limit törlése",popupPendingUpdate:"Limit módosítási kérésed megkaptuk. Kérjük, vedd figyelembe, hogy a frissítés csak ekkor lép életbe: ",popupImmediateUpdate:"Az új {selectedLimit}: {updatedAmount} {selectedPeriod}",popupTitle:" ",popupSuccess:"Limitbeállításaidat sikeresen elmentettük.",popupError:"Hiba történt.",kycNotNeeded:"A befizetési limitet sikeresen beállítottuk. Limitjeid bármikor módosíthatod a fiókbeállításokban.",kycNeeded1:"Havi befizetési limitre a következő összeg került beállításra:",kycNeeded2:". Ahhoz, hogy a limitet a kért összegre emeljük, kérjük, dokumentumok feltöltésével add meg a szükséges információkat.",uploadDocumentsButton:"DOKUMENTUMOK FELTÖLTÉSE",closeButton:"BEZÁR",invalidInputMessageLimitMin:"A megadott értéknek nagyobbnak kell lennie, mint {minValue} {currency}.",invalidInputMessageLimitMax:"A megadott értéknek kisebbnek kell lennie, mint {maxValue} {currency}.",invalidInputMessage:"Kérjük, adjon meg egy érvényes számot.",unableToUpdatePendingRequest:"Nem tudtuk frissíteni a limited, mert egy másik frissítés már folyamatban van. Kérjük, próbáld meg újra, miután az aktuális frissítés beállításra került.",docsRequired:"A dokumentumok feltöltése kötelező.",okButton:"Rendben",seconds:"másodpercek",updateText:"alkalmazva lesz",updateAfterConfirm:"jóváhagyás után kerül alkalmazásra",acknowledgedLimit:"A limit frissítése megerősítve, és ~1 percen belül alkalmazásra kerül",removedLimitText:"A limit eltávolításra kerül",removeAfterConfirm:"A limit jóváhagyás után kerül eltávolításra",confirmUpdateLimit:"MEGERŐSÍTÉS",cancelUpdateLimit:"MÉGSE",reloadLimitsButton:"FRISSÍTÉS",popupUpdateLimit:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupUpdateLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupRemoveLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",sessionExpiredException:"A munkamenet lejárt","dataLayer-sports":"Sportfogadás","dataLayer-casino":"Kaszinó","dataLayer-all":"Minden","dataLayer-wager":"Fogadási limit","dataLayer-loss":"Veszteség limit","dataLayer-deposit":"Befizetési limit","dataLayer-daily":"Napi","dataLayer-weekly":"Heti","dataLayer-monthly":"Havi",netdepositAll:"Nettó befizetési limit",uploadDocumentHeader:"Támogató dokumentum feltöltése",uploadButtonText:"Kattintson ide a feltöltéshez",documentUploadTitle:"Dokumentum feltöltése",uploadDocumentContent:'<p>Húzza ide és dobja le <label class="labelText" for="files">Böngészés</label></br>JPG/PEG, PNG vagy PDF fájlok legfeljebb 50 MB-ig</p>',uploadHistory:"Feltöltési előzmények:",noFileUploaded:"Nincs feltöltött fájl",submitButton:"Beküldés",fileExtenssionDeny:"A fájl kiterjesztése nem érvényes",fileSizeExceeded:"A fájl mérete meghaladta a maximális méretet",uploadSuccess:"A fájl sikeresen feltöltve",errorUploadDocument:"Hiba történt a feltöltési funkcióval",filesUploadError:"A feltöltött fájlok vagy meghaladták a megengedett méretet, vagy nem felelnek meg az engedélyezett kiterjesztések típusainak.",limitInDocReview:"Nem frissítheti a korlátot, ha az függőben van.",scheduleNotFoundException:"Az ütemezés nem létezik",genericLimitsPopupError:"Váratlan hiba történt. Kérjük, próbálja meg újra",limitNotificationFail:"Hiba történt a fiókkorlátok beállítása során. Próbálja újra később.",companyLimitsInfoText:"Az aktív befizetési limiteid és a fizetési előzményeid alapján a jelenlegi maximális befizethető összeg:"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",newDailyLimit:"Neues Tageslimit",newWeeklyLimit:"Neues Wochenlimit",newMonthlyLimit:"Neues Monatslimit",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",loss:"Verlustlimit",lossAll:"Verlust - Gesamtes Limit",lossCasino:"Verlust - Casino-Limit",lossSports:"Verlust - Sport-Limit",deposit:"Einzahlungslimit",depositAll:"Einzahlung - Gesamtes Limit",depositCasino:"Einzahlung - Casino-Limit",depositSports:"Einzahlung - Sport-Limit",wager:"Wettlimit",wagerAll:"Wette - Gesamtes Limit",wagerCasino:"Wette - Casino-Limit",wagerSports:"Wette - Sport-Limit",stake:"Einsatzlimit",stakeAll:"Einsatz - Gesamtes Limit",stakeCasino:"Einsatz - Casino-Limit",stakeSports:"Einsatz - Sport-Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",setLimit:"Neues Limit setzen",popupError:"Es ist ein Fehler aufgetreten.",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",popup3:`Vielen Dank!
6
6
  Wir haben Ihr gewünschtes Limit an Lugas übermittelt.
@@ -27,9 +27,9 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
27
27
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
28
28
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
29
29
  PERFORMANCE OF THIS SOFTWARE.
30
- ***************************************************************************** */var xi=function(e,t){return xi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(i[n]=o[n])},xi(e,t)};function kt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");xi(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function Ei(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],o=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Si(e,t){var i=typeof Symbol=="function"&&e[Symbol.iterator];if(!i)return e;var o=i.call(e),n,r=[],a;try{for(;(t===void 0||t-- >0)&&!(n=o.next()).done;)r.push(n.value)}catch(l){a={error:l}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}return r}function Ai(e,t,i){if(arguments.length===2)for(var o=0,n=t.length,r;o<n;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}function ze(e){return typeof e=="function"}function Mn(e){var t=function(o){Error.call(o),o.stack=new Error().stack},i=e(t);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var ui=Mn(function(e){return function(i){e(this),this.message=i?i.length+` errors occurred during unsubscription:
30
+ ***************************************************************************** */var Si=function(e,t){return Si=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(i[n]=o[n])},Si(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");Si(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function Ai(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],o=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ti(e,t){var i=typeof Symbol=="function"&&e[Symbol.iterator];if(!i)return e;var o=i.call(e),n,r=[],a;try{for(;(t===void 0||t-- >0)&&!(n=o.next()).done;)r.push(n.value)}catch(l){a={error:l}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}return r}function Pi(e,t,i){if(arguments.length===2)for(var o=0,n=t.length,r;o<n;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}function je(e){return typeof e=="function"}function Nn(e){var t=function(o){Error.call(o),o.stack=new Error().stack},i=e(t);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var mi=Nn(function(e){return function(i){e(this),this.message=i?i.length+` errors occurred during unsubscription:
31
31
  `+i.map(function(o,n){return n+1+") "+o.toString()}).join(`
32
- `):"",this.name="UnsubscriptionError",this.errors=i}});function Pi(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var qt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,i,o,n,r;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=Ei(a),m=l.next();!m.done;m=l.next()){var u=m.value;u.remove(this)}}catch(E){t={error:E}}finally{try{m&&!m.done&&(i=l.return)&&i.call(l)}finally{if(t)throw t.error}}else a.remove(this);var c=this.initialTeardown;if(ze(c))try{c()}catch(E){r=E instanceof ui?E.errors:[E]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var v=Ei(f),y=v.next();!y.done;y=v.next()){var _=y.value;try{yo(_)}catch(E){r=r!=null?r:[],E instanceof ui?r=Ai(Ai([],Si(r)),Si(E.errors)):r.push(E)}}}catch(E){o={error:E}}finally{try{y&&!y.done&&(n=v.return)&&n.call(v)}finally{if(o)throw o.error}}}if(r)throw new ui(r)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)yo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}},e.prototype._hasParent=function(t){var i=this._parentage;return i===t||Array.isArray(i)&&i.includes(t)},e.prototype._addParent=function(t){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t},e.prototype._removeParent=function(t){var i=this._parentage;i===t?this._parentage=null:Array.isArray(i)&&Pi(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&&Pi(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),zn=qt.EMPTY;function Nn(e){return e instanceof qt||e&&"closed"in e&&ze(e.remove)&&ze(e.add)&&ze(e.unsubscribe)}function yo(e){ze(e)?e():e.unsubscribe()}var ul={Promise:void 0},cl={setTimeout:function(e,t){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return setTimeout.apply(void 0,Ai([e,t],Si(i)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function ml(e){cl.setTimeout(function(){throw e})}function Lo(){}function Mt(e){e()}var jn=function(e){kt(t,e);function t(i){var o=e.call(this)||this;return o.isStopped=!1,i?(o.destination=i,Nn(i)&&i.add(o)):o.destination=fl,o}return t.create=function(i,o,n){return new Ti(i,o,n)},t.prototype.next=function(i){this.isStopped||this._next(i)},t.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},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(i){this.destination.next(i)},t.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(qt),pl=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var i=this.partialObserver;if(i.next)try{i.next(t)}catch(o){Tt(o)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(o){Tt(o)}else Tt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){Tt(i)}},e}(),Ti=function(e){kt(t,e);function t(i,o,n){var r=e.call(this)||this,a;return ze(i)||!i?a={next:i!=null?i:void 0,error:o!=null?o:void 0,complete:n!=null?n:void 0}:a=i,r.destination=new pl(a),r}return t}(jn);function Tt(e){ml(e)}function dl(e){throw e}var fl={closed:!0,next:Lo,error:dl,complete:Lo},hl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function gl(e){return e}function bl(e){return e.length===0?gl:e.length===1?e[0]:function(i){return e.reduce(function(o,n){return n(o)},i)}}var wo=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(t,i,o){var n=this,r=yl(t)?t:new Ti(t,i,o);return Mt(function(){var a=n,l=a.operator,m=a.source;r.add(l?l.call(r,m):m?n._subscribe(r):n._trySubscribe(r))}),r},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(i){t.error(i)}},e.prototype.forEach=function(t,i){var o=this;return i=_o(i),new i(function(n,r){var a=new Ti({next:function(l){try{t(l)}catch(m){r(m),a.unsubscribe()}},error:r,complete:n});o.subscribe(a)})},e.prototype._subscribe=function(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)},e.prototype[hl]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return bl(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=_o(t),new t(function(o,n){var r;i.subscribe(function(a){return r=a},function(a){return n(a)},function(){return o(r)})})},e.create=function(t){return new e(t)},e}();function _o(e){var t;return(t=e!=null?e:ul.Promise)!==null&&t!==void 0?t:Promise}function vl(e){return e&&ze(e.next)&&ze(e.error)&&ze(e.complete)}function yl(e){return e&&e instanceof jn||vl(e)&&Nn(e)}var Ll=Mn(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Un=function(e){kt(t,e);function t(){var i=e.call(this)||this;return i.closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return t.prototype.lift=function(i){var o=new ko(this,this);return o.operator=i,o},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ll},t.prototype.next=function(i){var o=this;Mt(function(){var n,r;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var a=Ei(o.currentObservers),l=a.next();!l.done;l=a.next()){var m=l.value;m.next(i)}}catch(u){n={error:u}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}})},t.prototype.error=function(i){var o=this;Mt(function(){if(o._throwIfClosed(),!o.isStopped){o.hasError=o.isStopped=!0,o.thrownError=i;for(var n=o.observers;n.length;)n.shift().error(i)}})},t.prototype.complete=function(){var i=this;Mt(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var o=i.observers;o.length;)o.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(i){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,i)},t.prototype._subscribe=function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)},t.prototype._innerSubscribe=function(i){var o=this,n=this,r=n.hasError,a=n.isStopped,l=n.observers;return r||a?zn:(this.currentObservers=null,l.push(i),new qt(function(){o.currentObservers=null,Pi(l,i)}))},t.prototype._checkFinalizedStatuses=function(i){var o=this,n=o.hasError,r=o.thrownError,a=o.isStopped;n?i.error(r):a&&i.complete()},t.prototype.asObservable=function(){var i=new wo;return i.source=this,i},t.create=function(i,o){return new ko(i,o)},t}(wo),ko=function(e){kt(t,e);function t(i,o){var n=e.call(this)||this;return n.destination=i,n.source=o,n}return t.prototype.next=function(i){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,i)},t.prototype.error=function(i){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,i)},t.prototype.complete=function(){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||o===void 0||o.call(i)},t.prototype._subscribe=function(i){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(i))!==null&&n!==void 0?n:zn},t}(Un),On={now:function(){return(On.delegate||Date).now()},delegate:void 0},wl=function(e){kt(t,e);function t(i,o,n){i===void 0&&(i=1/0),o===void 0&&(o=1/0),n===void 0&&(n=On);var r=e.call(this)||this;return r._bufferSize=i,r._windowTime=o,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=o===1/0,r._bufferSize=Math.max(1,i),r._windowTime=Math.max(1,o),r}return t.prototype.next=function(i){var o=this,n=o.isStopped,r=o._buffer,a=o._infiniteTimeWindow,l=o._timestampProvider,m=o._windowTime;n||(r.push(i),!a&&r.push(l.now()+m)),this._trimBuffer(),e.prototype.next.call(this,i)},t.prototype._subscribe=function(i){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(i),n=this,r=n._infiniteTimeWindow,a=n._buffer,l=a.slice(),m=0;m<l.length&&!i.closed;m+=r?1:2)i.next(l[m]);return this._checkFinalizedStatuses(i),o},t.prototype._trimBuffer=function(){var i=this,o=i._bufferSize,n=i._timestampProvider,r=i._buffer,a=i._infiniteTimeWindow,l=(a?1:2)*o;if(o<1/0&&l<r.length&&r.splice(0,r.length-l),!a){for(var m=n.now(),u=0,c=1;c<r.length&&r[c]<=m;c+=2)u=c;u&&r.splice(0,u+1)}},t}(Un);const xo=[],Eo={},_l=(e,t=0)=>{if(xo.indexOf(e)==-1){const i=new wl(t);Eo[e]=i,xo.push(e)}return Eo[e]};window.emWidgets={topic:_l};const kl=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));String(Number.MAX_SAFE_INTEGER).length;function xl(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function El(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(o=>o.text()).then(o=>{const n=document.createElement("style");n.innerHTML=o,e&&e.appendChild(n)}).catch(o=>{console.error("There was an error while trying to load client styling from URL",o)})}function Sl(e,t,i){if(window.emMessageBus){const o=document.createElement("style");window.emMessageBus.subscribe(t,n=>{o.innerHTML=n,e&&e.appendChild(o)})}}function Al(e){ta(e,"svelte-1ke3xwy",':host{font-family:system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:var(--emw--font-size-large, 20px)}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-display:swap}input{width:100%;padding:10px 18px;margin:12px 0;border-radius:var(--emw--border-radius-large, 10px);box-shadow:none;font-size:var(--emw--font-size-x-large, 20px);border:1px solid var(---emw--color-gray-150, #a9b6ce);background:var(--emw--color-white, #ffffff);color:var(--emw--color-typography-contrast, #444444)}input:focus,input :focus-within,input :focus-visible,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))}.LimitPeriodDropdownWrapper.Mobile,.LimitAmountInputWrapper.Mobile{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-bold, 700)}.LimitPeriodDropdownWrapper select:disabled,.LimitPeriodDropdownWrapper input:disabled,.LimitAmountInputWrapper select:disabled,.LimitAmountInputWrapper input:disabled{background-color:revert}select{width:100%;padding:10px 18px;margin:12px 0;border-radius:var(--emw--border-radius-large, 10px);box-shadow:none;font-size:var(--emw--font-size-large, 20px);cursor:pointer;color:var(--emw--color-typography-contrast, #444444);border:1px solid var(---emw--color-gray-150, #a9b6ce);appearance:none;background:url("../assets/arrow-down.svg") no-repeat;background-color:var(--emw--color-white, #ffffff);background-size:20px 20px;background-position:calc(100% - 15px)}select:focus,select :focus-within,select :focus-visible,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))}.Mobile input,.Mobile select{font-size:var(--emw--font-size-small, 14px);padding:5px 15px;background-size:15px 15px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gm16{width:100%;color:var(--emw--color-typography-contrast, #444444);animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px;color:var(--emw--color-typography-contrast, #444444);width:100%;float:left}.LimitsInteractionArea.Mobile{padding:0}.LimitsInteractionArea .InvalidInput{color:var(--emw--color-error, #fd2839);font-size:var(--emw--font-size-small, 14px);padding:6px 0px;margin-bottom:6px}.LimitsInteractionArea label,.LimitsInteractionArea button{width:320px}.LimitsList{width:100%;display:flex;flex-direction:column;z-index:0}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:var(--emw--font-size-small, 14px)}.LimitsPageContainer{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;z-index:90;min-height:500px}.LimitsPageContainer .LimitWrapper{font-size:var(--emw--font-size-large, 20px);min-height:120px;max-height:400px;margin:12px 0;background:var(--emw--color-typography, #fff);border:5px solid transparent;background-clip:padding-box;padding:8px 12px;border-radius:var(--emw--border-radius-large, 10px);position:relative}.LimitsPageContainer .LimitWrapper::after{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-secondary, #e1a749) 80%, black 10%), var(--emw--color-secondary, #e1a749), color-mix(in srgb, var(--emw--color-secondary, #e1a749) 80%, white 20%));border-radius:var(--emw--border-radius-large, 10px);position:absolute;top:-10px;bottom:-10px;left:-10px;right:-10px;content:"";z-index:-1}.LimitsPageContainer .LimitWrapper:not(:first-child){margin-top:12px}.LimitsPageContainer .LimitWrapper.Mobile{width:100%}.LimitsPageContainer .LimitWrapper.Mobile::after{top:-7px;bottom:-7px;left:-7px;right:-7px}.LimitSubmitButton,.ConfirmButton,.SubmitDocumentButton{margin-top:20px;background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #0e5924);border-radius:var(--emw--button-border-radius, 10px);padding:15px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.LimitSubmitButton.Mobile,.ConfirmButton.Mobile,.SubmitDocumentButton.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.LimitSubmitButton:disabled,.ConfirmButton:disabled,.SubmitDocumentButton:disabled{background:var(--emw--color-grey-150, #c0cbc3);border:2px solid color-mix(in srgb, var(--emw--color-grey-150, #c0cbc3) 90%, black 10%);cursor:not-allowed}.SubmitDocumentButton{width:100%}.CloseButton{background:var(--emw--color-white, #ffffff);color:var(--emw--color-gray-300, #58586b);border:1px solid var(--emw--color-gray-300, #58586b);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.LimitDetails{padding:8px 4px 8px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #f9f8f8)}.LimitWrapper.netdeposit.ActiveProgressBar{min-width:450px}.LimitWrapper.netdeposit.ActiveProgressBar.Mobile{min-width:100%}.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper.Mobile{align-items:flex-start}.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper.Mobile .ProgressBarContainer{max-width:100%}.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper .ProgressBarContainer{max-width:250px}.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper.Mobile .ProgressBarContainer,.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper.Mobile .Progress-bar-container{height:25px}.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper .ProgressBarContainer,.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper .Progress-bar-container{height:30px}.ProgressBarContainer{display:none}.netdeposit .ProgressBarContainer{display:flex;position:relative;width:100%}.netdeposit .Progress-bar-container{width:100%;background-color:transparent;border-radius:10px;overflow:hidden;border:1px solid rgba(var(--emw--color-primary-rgb), 0.5)}.netdeposit .Progress-bar-fill{height:100%;background-color:rgba(var(--emw--color-primary-rgb), 0.5);position:relative;transition:width 0.3s ease;display:flex;align-items:center;justify-content:center}.netdeposit .Progress-bar-label{position:absolute;width:100%;text-align:center;top:50%;transform:translateY(-50%);color:black;font-weight:bold;font-size:14px;opacity:0.5;pointer-events:none;z-index:2}.netdeposit .ZeroProgress{border:1px solid rgba(130, 130, 130, 0.3)}.netdeposit .ZeroProgress .Progress-bar-label{opacity:0.3}.LimitDetailsTextWrapper{display:flex;justify-content:space-between;align-items:center;font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-grey-150, #c0cbc3);padding-bottom:16px;border-bottom:1px solid var(--emw--color-grey-150, #c0cbc3);gap:10px}.LimitDetailsTextWrapper .PendingLimit{color:var(--emw--color-grey-150, #c0cbc3);padding-left:4px}.LimitDetailsTextWrapper .CompanyLimitsInfoText{font-size:var(--emw--font-size-small, 14px);margin-top:5px}.LimitDetailsTextWrapper .CompanyLimitsInfoText span{font-weight:bold}.LimitDetailsTextWrapper .CurrentLimitContainer{width:100%;display:flex;flex-direction:column;gap:5px}.LimitDetailsTextWrapper .CurrentLimit span,.LimitDetailsTextWrapper .PendingLimit span{color:color-mix(in srgb, var(--emw--color-secondary, #e1a749) 80%, black 10%)}.LimitDetailsTextWrapper.Mobile{gap:20px;flex-direction:column;font-size:var(--emw--font-size-small, 14px)}.LimitDetails:last-child .LimitDetailsTextWrapper{border-bottom:none;padding-bottom:0px}.PendingLimit{color:var(--emw--color-typography-contrast, #444444)}.LimitTitle{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22b04e);text-align:left;font-weight:600;margin:25px 0 10px}.LimitTitle.Mobile{font-size:var(--emw--font-size-medium, 16px)}.LimitsInfoText{white-space:pre-line;margin:15px 0;font-size:var(--emw--font-size-medium, 16px)}.LimitsInfoText.Mobile{font-size:var(--emw--font-size-small, 14px)}.PopupOverlay{position:absolute;top:0;left:0;background:rgba(35, 38, 43, 0.7);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center;z-index:99}.PopupContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;justify-content:space-between;width:30vw}.PopupContainer .documentAction{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.PopupContainer .documentAction .documentDragArea{width:100%;height:100%;border:2px dashed var(--emw--color-primary, #22b04e);padding:20px;border-radius:var(--emw--button-border-radius, 10px);display:flex;align-items:center;justify-content:center;flex-direction:column;margin-top:20px}.PopupContainer .documentAction .documentDragArea .icon{width:60px;fill:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.PopupContainer .documentAction .documentDragArea header{font-size:var(--emw--font-size-small, 12px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.PopupContainer .documentAction .documentDragArea span{font-size:var(--emw--font-size-small, 12px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));margin:10px 0 15px 0;text-align:center}.PopupContainer .documentAction .documentDragArea span .labelText{font-size:var(--emw--font-size-small, 12px);text-decoration:underline;cursor:pointer}.PopupContainer .documentAction .documentDragArea button{width:100%;text-align:center;margin-top:20px;background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #0e5924);border-radius:var(--emw--button-border-radius, 10px);padding:15px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-small, 12px)}.PopupContainer .documentAction .documentDragArea.active{border:2px solid #fff}.PopupContainer .documentAction .uploadHistory{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;margin-top:20px;gap:5px}.PopupContainer .documentAction .uploadHistory .historyHeader{font-size:var(--emw--font-size-medium, 15px)}.PopupContainer .documentAction .uploadHistory .historyItem{font-size:var(--emw--font-size-small, 12px);margin-left:10px}.PopupContainer .documentAction .uploadHistory p{width:100%;text-align:left;color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));margin:0}.PopupContainer .documentAction .filesError{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:var(--emw--font-size-small, 12px);line-height:10px;margin-top:20px}.PopupContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:103%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.PopupContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.PopupContainer.Mobile{width:85vw;border-radius:var(--emw--border-radius-large, 10px)}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:var(--emw--font-size-large, 20px)}.PopupTitleWrapper button{background:transparent;color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-x-large, 20px);border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:var(--emw--font-size-large, 20px);padding:12px}.DescriptionParagraph.Mobile{font-size:var(--emw--font-size-small, 14px)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px;fill:var(--emw--color-typography, #fff)}.LimitDetails{display:flex;flex-direction:column}.ContainerLimitActions{display:flex;flex-direction:row;gap:10px}.ContainerLimitActions.Mobile{width:100%;gap:20px;align-items:flex-start;justify-content:flex-start}.ReloadLimitButton,.RemoveLimitButton,.ConfirmLimitButton,.CancelLimitButton{font-size:var(--emw--font-size-medium, 16px);width:100%;max-width:150px;background:transparent;color:var(--emw--color-error, #e91d1d);border:1px solid var(--emw--color-error, #e91d1d);border-radius:var(--emw--button-border-radius, 10px);padding:10px 29px;cursor:pointer;position:relative;white-space:nowrap}.ReloadLimitButton.Mobile,.RemoveLimitButton.Mobile,.ConfirmLimitButton.Mobile,.CancelLimitButton.Mobile{padding:10px 10px;font-size:var(--emw--font-size-x-small, 12px)}.ReloadLimitButton:hover,.RemoveLimitButton:hover,.ConfirmLimitButton:hover,.CancelLimitButton:hover{background:var(--emw--color-error, #e91d1d);color:var(--emw--color-white, #ffffff)}.ReloadLimitButton.disabled,.RemoveLimitButton.disabled,.ConfirmLimitButton.disabled,.CancelLimitButton.disabled{color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #e6e6e6));border-color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #e6e6e6));cursor:default}.ReloadLimitButton.disabled:hover,.RemoveLimitButton.disabled:hover,.ConfirmLimitButton.disabled:hover,.CancelLimitButton.disabled:hover{background:none;color:none}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}.skeletonLimitContainer{width:100%;min-height:500px;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonLimitContainer .skeletonLimitText{margin:20px 0px;width:20%}.skeletonLimitContainer .skeletonLimitWrapper{min-height:150px;max-height:400px;display:flex;flex-direction:column;margin:12px 0;background:var(--emw--color-typography, #fff);border:5px solid transparent;background-clip:padding-box;padding:0px 12px;border-radius:var(--emw--border-radius-large, 10px);position:relative}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount{width:100%;margin-top:15px;display:flex;flex-direction:column;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount .skeletonAmountText{width:40%;overflow:hidden}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount .skeletonSubText{width:80%;overflow:hidden}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%;width:30%;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton div{width:100%;overflow:hidden;border-radius:50px}@container (max-width: 768px){.skeletonLimitContainer .skeletonLimitWrapper{width:100%;margin:0px;min-height:348px;max-height:500px;justify-content:space-between}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent{width:100%;flex-direction:column;width:100%;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton{display:flex;flex-direction:row;gap:10px;width:100%}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton div{border-radius:50px;overflow:hidden}}.skeletonLimitContainer .skeletonInputWrapper{display:flex;flex-direction:column;width:320px;gap:10px;margin-top:30px}.skeletonLimitContainer .skeletonInputWrapper .skletonHeader{width:100%;margin-top:20px}.skeletonLimitContainer .skeletonInputWrapper .skletonSubText{width:40%}.skeletonLimitContainer .skeletonInputWrapper .skeletonPeriod,.skeletonLimitContainer .skeletonInputWrapper .skeletonInputAmount,.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{width:100%;border-radius:30px;overflow:hidden}.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{margin-top:20px}@container (max-width: 768px){.skeletonLimitContainer .skeletonInputWrapper{width:100%;margin-top:20px}.skeletonLimitContainer .skeletonInputWrapper .skeletonPeriod,.skeletonLimitContainer .skeletonInputWrapper .skeletonInputAmount,.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{width:inherit}.skeletonLimitContainer .skeletonInputWrapper .skletonSubText{margin-top:10px}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}const Pl=e=>({}),So=e=>({});function Ao(e,t,i){const o=e.slice();return o[158]=t[i],o}function Po(e,t,i){const o=e.slice();return o[161]=t[i],o[163]=i,o}function To(e,t,i){const o=e.slice();return o[161]=t[i],o}function Co(e,t,i){const o=e.slice();return o[161]=t[i],o[166]=t,o[163]=i,o}function Do(e,t,i){const o=e.slice();return o[167]=t[i],o[168]=t,o[169]=i,o}const Tl=e=>({}),Bo=e=>({});function Cl(e,t,i){const o=e.slice();return o[155]=t[i],o}const Dl=e=>({}),Io=e=>({});function Mo(e,t,i){const o=e.slice();return o[170]=t[i],o}function zo(e){let t,i,o;function n(l,m){return l[29]?l[31]&&!l[27]?Il:Bl:Ml}let r=n(e),a=r(e);return{c(){t=L("div"),i=L("div"),a.c(),b(i,"class",o="PopupContainer "+e[17]+" "+(e[36]?"":"Mobile")),b(t,"class","PopupOverlay")},m(l,m){P(l,t,m),h(t,i),a.m(i,null)},p(l,m){r===(r=n(l))&&a?a.p(l,m):(a.d(1),a=r(l),a&&(a.c(),a.m(i,null))),m[0]&131072&&o!==(o="PopupContainer "+l[17]+" "+(l[36]?"":"Mobile"))&&b(i,"class",o)},d(l){l&&A(t),a.d()}}}function Bl(e){let t,i,o=e[35]("popupTitle")+"",n,r,a,l,m,u,c,f,v,y,_,E,J;function ae(D,O){return D[27]?jl:D[20]==2?Nl:zl}let N=ae(e),M=N(e);function U(D,O){return D[27]?Hl:D[20]==2?Ol:Ul}let W=U(e),R=W(e);function G(D,O){return D[20]==2?Fl:Rl}let Z=G(e),q=Z(e);return{c(){t=L("div"),i=L("span"),n=B(o),r=j(),a=L("button"),a.textContent="X",l=j(),m=L("div"),u=L("div"),M.c(),c=j(),R.c(),f=j(),v=L("p"),y=j(),q.c(),_=Ht(),b(i,"class","PopupTitle"),b(a,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(u,"class","ResultIconWrapper"),b(v,"class","DescriptionParagraph "+(e[36]?"":"Mobile")),b(m,"class","DescriptionWrapper")},m(D,O){P(D,t,O),h(t,i),h(i,n),h(t,r),h(t,a),P(D,l,O),P(D,m,O),h(m,u),M.m(u,null),h(u,c),R.m(u,null),h(m,f),h(m,v),v.innerHTML=e[16],P(D,y,O),q.m(D,O),P(D,_,O),E||(J=ce(a,"click",e[51]),E=!0)},p(D,O){O[1]&16&&o!==(o=D[35]("popupTitle")+"")&&z(n,o),N!==(N=ae(D))&&(M.d(1),M=N(D),M&&(M.c(),M.m(u,c))),W===(W=U(D))&&R?R.p(D,O):(R.d(1),R=W(D),R&&(R.c(),R.m(u,null))),O[0]&65536&&(v.innerHTML=D[16]),Z===(Z=G(D))&&q?q.p(D,O):(q.d(1),q=Z(D),q&&(q.c(),q.m(_.parentNode,_)))},d(D){D&&(A(t),A(l),A(m),A(y),A(_)),M.d(),R.d(),q.d(D),E=!1,J()}}}function Il(e){let t,i,o=e[35]("documentUploadTitle")+"",n,r,a,l,m,u,c,f,v,y,_=e[35]("uploadDocumentHeader")+"",E,J,ae,N=e[35]("uploadDocumentContent")+"",M,U,W,R,G,Z=e[35]("uploadHistory")+"",q,D,O,X,x,H=e[35]("submitButton")+"",le,ie,ee,Q;function Ne(T,V){return T[21]&&T[21].length>0?Wl:Gl}let Se=Ne(e),C=Se(e),w=!e[30]&&e[21]&&e[21].length>0&&jo(e);return{c(){t=L("div"),i=L("span"),n=B(o),r=j(),a=L("button"),a.textContent="X",l=j(),m=L("div"),u=L("div"),c=L("label"),f=L("div"),f.innerHTML=`<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 486.3 486.3" xml:space="preserve"><g><g><path d="M395.5,135.8c-5.2-30.9-20.5-59.1-43.9-80.5c-26-23.8-59.8-36.9-95-36.9c-27.2,0-53.7,7.8-76.4,22.5
32
+ `):"",this.name="UnsubscriptionError",this.errors=i}});function Ci(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Kt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,i,o,n,r;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=Ai(a),m=l.next();!m.done;m=l.next()){var u=m.value;u.remove(this)}}catch(S){t={error:S}}finally{try{m&&!m.done&&(i=l.return)&&i.call(l)}finally{if(t)throw t.error}}else a.remove(this);var c=this.initialTeardown;if(je(c))try{c()}catch(S){r=S instanceof mi?S.errors:[S]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var v=Ai(f),y=v.next();!y.done;y=v.next()){var _=y.value;try{wo(_)}catch(S){r=r!=null?r:[],S instanceof mi?r=Pi(Pi([],Ti(r)),Ti(S.errors)):r.push(S)}}}catch(S){o={error:S}}finally{try{y&&!y.done&&(n=v.return)&&n.call(v)}finally{if(o)throw o.error}}}if(r)throw new mi(r)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)wo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}},e.prototype._hasParent=function(t){var i=this._parentage;return i===t||Array.isArray(i)&&i.includes(t)},e.prototype._addParent=function(t){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t},e.prototype._removeParent=function(t){var i=this._parentage;i===t?this._parentage=null:Array.isArray(i)&&Ci(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&&Ci(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),zn=Kt.EMPTY;function Un(e){return e instanceof Kt||e&&"closed"in e&&je(e.remove)&&je(e.add)&&je(e.unsubscribe)}function wo(e){je(e)?e():e.unsubscribe()}var ml={Promise:void 0},pl={setTimeout:function(e,t){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return setTimeout.apply(void 0,Pi([e,t],Ti(i)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function dl(e){pl.setTimeout(function(){throw e})}function _o(){}function Nt(e){e()}var On=function(e){Et(t,e);function t(i){var o=e.call(this)||this;return o.isStopped=!1,i?(o.destination=i,Un(i)&&i.add(o)):o.destination=gl,o}return t.create=function(i,o,n){return new Di(i,o,n)},t.prototype.next=function(i){this.isStopped||this._next(i)},t.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},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(i){this.destination.next(i)},t.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Kt),fl=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var i=this.partialObserver;if(i.next)try{i.next(t)}catch(o){Dt(o)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(o){Dt(o)}else Dt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){Dt(i)}},e}(),Di=function(e){Et(t,e);function t(i,o,n){var r=e.call(this)||this,a;return je(i)||!i?a={next:i!=null?i:void 0,error:o!=null?o:void 0,complete:n!=null?n:void 0}:a=i,r.destination=new fl(a),r}return t}(On);function Dt(e){dl(e)}function hl(e){throw e}var gl={closed:!0,next:_o,error:hl,complete:_o},bl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function vl(e){return e}function yl(e){return e.length===0?vl:e.length===1?e[0]:function(i){return e.reduce(function(o,n){return n(o)},i)}}var ko=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(t,i,o){var n=this,r=wl(t)?t:new Di(t,i,o);return Nt(function(){var a=n,l=a.operator,m=a.source;r.add(l?l.call(r,m):m?n._subscribe(r):n._trySubscribe(r))}),r},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(i){t.error(i)}},e.prototype.forEach=function(t,i){var o=this;return i=xo(i),new i(function(n,r){var a=new Di({next:function(l){try{t(l)}catch(m){r(m),a.unsubscribe()}},error:r,complete:n});o.subscribe(a)})},e.prototype._subscribe=function(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)},e.prototype[bl]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return yl(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=xo(t),new t(function(o,n){var r;i.subscribe(function(a){return r=a},function(a){return n(a)},function(){return o(r)})})},e.create=function(t){return new e(t)},e}();function xo(e){var t;return(t=e!=null?e:ml.Promise)!==null&&t!==void 0?t:Promise}function Ll(e){return e&&je(e.next)&&je(e.error)&&je(e.complete)}function wl(e){return e&&e instanceof On||Ll(e)&&Un(e)}var _l=Nn(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Hn=function(e){Et(t,e);function t(){var i=e.call(this)||this;return i.closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return t.prototype.lift=function(i){var o=new Eo(this,this);return o.operator=i,o},t.prototype._throwIfClosed=function(){if(this.closed)throw new _l},t.prototype.next=function(i){var o=this;Nt(function(){var n,r;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var a=Ai(o.currentObservers),l=a.next();!l.done;l=a.next()){var m=l.value;m.next(i)}}catch(u){n={error:u}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}})},t.prototype.error=function(i){var o=this;Nt(function(){if(o._throwIfClosed(),!o.isStopped){o.hasError=o.isStopped=!0,o.thrownError=i;for(var n=o.observers;n.length;)n.shift().error(i)}})},t.prototype.complete=function(){var i=this;Nt(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var o=i.observers;o.length;)o.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(i){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,i)},t.prototype._subscribe=function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)},t.prototype._innerSubscribe=function(i){var o=this,n=this,r=n.hasError,a=n.isStopped,l=n.observers;return r||a?zn:(this.currentObservers=null,l.push(i),new Kt(function(){o.currentObservers=null,Ci(l,i)}))},t.prototype._checkFinalizedStatuses=function(i){var o=this,n=o.hasError,r=o.thrownError,a=o.isStopped;n?i.error(r):a&&i.complete()},t.prototype.asObservable=function(){var i=new ko;return i.source=this,i},t.create=function(i,o){return new Eo(i,o)},t}(ko),Eo=function(e){Et(t,e);function t(i,o){var n=e.call(this)||this;return n.destination=i,n.source=o,n}return t.prototype.next=function(i){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,i)},t.prototype.error=function(i){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,i)},t.prototype.complete=function(){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||o===void 0||o.call(i)},t.prototype._subscribe=function(i){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(i))!==null&&n!==void 0?n:zn},t}(Hn),Rn={now:function(){return(Rn.delegate||Date).now()},delegate:void 0},kl=function(e){Et(t,e);function t(i,o,n){i===void 0&&(i=1/0),o===void 0&&(o=1/0),n===void 0&&(n=Rn);var r=e.call(this)||this;return r._bufferSize=i,r._windowTime=o,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=o===1/0,r._bufferSize=Math.max(1,i),r._windowTime=Math.max(1,o),r}return t.prototype.next=function(i){var o=this,n=o.isStopped,r=o._buffer,a=o._infiniteTimeWindow,l=o._timestampProvider,m=o._windowTime;n||(r.push(i),!a&&r.push(l.now()+m)),this._trimBuffer(),e.prototype.next.call(this,i)},t.prototype._subscribe=function(i){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(i),n=this,r=n._infiniteTimeWindow,a=n._buffer,l=a.slice(),m=0;m<l.length&&!i.closed;m+=r?1:2)i.next(l[m]);return this._checkFinalizedStatuses(i),o},t.prototype._trimBuffer=function(){var i=this,o=i._bufferSize,n=i._timestampProvider,r=i._buffer,a=i._infiniteTimeWindow,l=(a?1:2)*o;if(o<1/0&&l<r.length&&r.splice(0,r.length-l),!a){for(var m=n.now(),u=0,c=1;c<r.length&&r[c]<=m;c+=2)u=c;u&&r.splice(0,u+1)}},t}(Hn);const So=[],Ao={},xl=(e,t=0)=>{if(So.indexOf(e)==-1){const i=new kl(t);Ao[e]=i,So.push(e)}return Ao[e]};window.emWidgets={topic:xl};const El=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));String(Number.MAX_SAFE_INTEGER).length;const $e="__WIDGET_GLOBAL_STYLE_CACHE__";function Sl(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Al(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(o=>o.text()).then(o=>{const n=document.createElement("style");n.innerHTML=o,e&&e.appendChild(n)}).catch(o=>{console.error("There was an error while trying to load client styling from URL",o)})}function Tl(e,t,i,o=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!o)return i=Pl(e,t),i;window[$e]||(window[$e]={}),i=Cl(e,t);const r=i.unsubscribe.bind(i),a=()=>{if(window[$e][t]){const l=window[$e][t];l.refCount>1?l.refCount=l.refCount-1:delete window[$e][t]}r()};return i.unsubscribe=a,i}function Pl(e,t){const i=document.createElement("style");return window.emMessageBus.subscribe(t,o=>{e&&(i.innerHTML=o,e.appendChild(i))})}function Cl(e,t){return window.emMessageBus.subscribe(t,i=>{var l;if(!e)return;const o=e.getRootNode(),n=window[$e];let r=(l=n[t])==null?void 0:l.sheet;r?n[t].refCount=n[t].refCount+1:(r=new CSSStyleSheet,r.replaceSync(i),n[t]={sheet:r,refCount:1});const a=o.adoptedStyleSheets||[];a.includes(r)||(o.adoptedStyleSheets=[...a,r])})}function Dl(e){oa(e,"svelte-1ke3xwy",':host{font-family:system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:var(--emw--font-size-large, 20px)}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-display:swap}input{width:100%;padding:10px 18px;margin:12px 0;border-radius:var(--emw--border-radius-large, 10px);box-shadow:none;font-size:var(--emw--font-size-x-large, 20px);border:1px solid var(---emw--color-gray-150, #a9b6ce);background:var(--emw--color-white, #ffffff);color:var(--emw--color-typography-contrast, #444444)}input:focus,input :focus-within,input :focus-visible,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))}.LimitPeriodDropdownWrapper.Mobile,.LimitAmountInputWrapper.Mobile{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-bold, 700)}.LimitPeriodDropdownWrapper select:disabled,.LimitPeriodDropdownWrapper input:disabled,.LimitAmountInputWrapper select:disabled,.LimitAmountInputWrapper input:disabled{background-color:revert}select{width:100%;padding:10px 18px;margin:12px 0;border-radius:var(--emw--border-radius-large, 10px);box-shadow:none;font-size:var(--emw--font-size-large, 20px);cursor:pointer;color:var(--emw--color-typography-contrast, #444444);border:1px solid var(---emw--color-gray-150, #a9b6ce);appearance:none;background:url("../assets/arrow-down.svg") no-repeat;background-color:var(--emw--color-white, #ffffff);background-size:20px 20px;background-position:calc(100% - 15px)}select:focus,select :focus-within,select :focus-visible,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))}.Mobile input,.Mobile select{font-size:var(--emw--font-size-small, 14px);padding:5px 15px;background-size:15px 15px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gm16{width:100%;color:var(--emw--color-typography-contrast, #444444);animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px;color:var(--emw--color-typography-contrast, #444444);width:100%;float:left}.LimitsInteractionArea.Mobile{padding:0}.LimitsInteractionArea .InvalidInput{color:var(--emw--color-error, #fd2839);font-size:var(--emw--font-size-small, 14px);padding:6px 0px;margin-bottom:6px}.LimitsInteractionArea label,.LimitsInteractionArea button{width:320px}.LimitsList{width:100%;display:flex;flex-direction:column;z-index:0}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:var(--emw--font-size-small, 14px)}.LimitsPageContainer{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;z-index:90;min-height:500px}.LimitsPageContainer .LimitWrapper{font-size:var(--emw--font-size-large, 20px);min-height:120px;max-height:400px;margin:12px 0;background:var(--emw--color-typography, #fff);border:5px solid transparent;background-clip:padding-box;padding:8px 12px;border-radius:var(--emw--border-radius-large, 10px);position:relative}.LimitsPageContainer .LimitWrapper::after{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-secondary, #e1a749) 80%, black 10%), var(--emw--color-secondary, #e1a749), color-mix(in srgb, var(--emw--color-secondary, #e1a749) 80%, white 20%));border-radius:var(--emw--border-radius-large, 10px);position:absolute;top:-10px;bottom:-10px;left:-10px;right:-10px;content:"";z-index:-1}.LimitsPageContainer .LimitWrapper:not(:first-child){margin-top:12px}.LimitsPageContainer .LimitWrapper.Mobile{width:100%}.LimitsPageContainer .LimitWrapper.Mobile::after{top:-7px;bottom:-7px;left:-7px;right:-7px}.LimitSubmitButton,.ConfirmButton,.SubmitDocumentButton{margin-top:20px;background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #0e5924);border-radius:var(--emw--button-border-radius, 10px);padding:15px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.LimitSubmitButton.Mobile,.ConfirmButton.Mobile,.SubmitDocumentButton.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.LimitSubmitButton:disabled,.ConfirmButton:disabled,.SubmitDocumentButton:disabled{background:var(--emw--color-grey-150, #c0cbc3);border:2px solid color-mix(in srgb, var(--emw--color-grey-150, #c0cbc3) 90%, black 10%);cursor:not-allowed}.SubmitDocumentButton{width:100%}.CloseButton{background:var(--emw--color-white, #ffffff);color:var(--emw--color-gray-300, #58586b);border:1px solid var(--emw--color-gray-300, #58586b);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.LimitDetails{padding:8px 4px 8px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #f9f8f8)}.LimitWrapper.netdeposit.ActiveProgressBar{min-width:450px}.LimitWrapper.netdeposit.ActiveProgressBar.Mobile{min-width:100%}.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper.Mobile{align-items:flex-start}.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper.Mobile .ProgressBarContainer{max-width:100%}.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper .ProgressBarContainer{max-width:250px}.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper.Mobile .ProgressBarContainer,.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper.Mobile .Progress-bar-container{height:25px}.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper .ProgressBarContainer,.LimitWrapper.netdeposit.ActiveProgressBar .LimitDetailsTextWrapper .Progress-bar-container{height:30px}.ProgressBarContainer{display:none}.netdeposit .ProgressBarContainer{display:flex;position:relative;width:100%}.netdeposit .Progress-bar-container{width:100%;background-color:transparent;border-radius:10px;overflow:hidden;border:1px solid rgba(var(--emw--color-primary-rgb), 0.5)}.netdeposit .Progress-bar-fill{height:100%;background-color:rgba(var(--emw--color-primary-rgb), 0.5);position:relative;transition:width 0.3s ease;display:flex;align-items:center;justify-content:center}.netdeposit .Progress-bar-label{position:absolute;width:100%;text-align:center;top:50%;transform:translateY(-50%);color:black;font-weight:bold;font-size:14px;opacity:0.5;pointer-events:none;z-index:2}.netdeposit .ZeroProgress{border:1px solid rgba(130, 130, 130, 0.3)}.netdeposit .ZeroProgress .Progress-bar-label{opacity:0.3}.LimitDetailsTextWrapper{display:flex;justify-content:space-between;align-items:center;font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-grey-150, #c0cbc3);padding-bottom:16px;border-bottom:1px solid var(--emw--color-grey-150, #c0cbc3);gap:10px}.LimitDetailsTextWrapper .PendingLimit{color:var(--emw--color-grey-150, #c0cbc3);padding-left:4px}.LimitDetailsTextWrapper .CompanyLimitsInfoText{font-size:var(--emw--font-size-small, 14px);margin-top:5px}.LimitDetailsTextWrapper .CompanyLimitsInfoText span{font-weight:bold}.LimitDetailsTextWrapper .CurrentLimitContainer{width:100%;display:flex;flex-direction:column;gap:5px}.LimitDetailsTextWrapper .CurrentLimit span,.LimitDetailsTextWrapper .PendingLimit span{color:color-mix(in srgb, var(--emw--color-secondary, #e1a749) 80%, black 10%)}.LimitDetailsTextWrapper.Mobile{gap:20px;flex-direction:column;font-size:var(--emw--font-size-small, 14px)}.LimitDetails:last-child .LimitDetailsTextWrapper{border-bottom:none;padding-bottom:0px}.PendingLimit{color:var(--emw--color-typography-contrast, #444444)}.LimitTitle{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22b04e);text-align:left;font-weight:600;margin:25px 0 10px}.LimitTitle.Mobile{font-size:var(--emw--font-size-medium, 16px)}.LimitsInfoText{white-space:pre-line;margin:15px 0;font-size:var(--emw--font-size-medium, 16px)}.LimitsInfoText.Mobile{font-size:var(--emw--font-size-small, 14px)}.PopupOverlay{position:absolute;top:0;left:0;background:rgba(35, 38, 43, 0.7);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center;z-index:99}.PopupContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;justify-content:space-between;width:30vw}.PopupContainer .documentAction{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.PopupContainer .documentAction .documentDragArea{width:100%;height:100%;border:2px dashed var(--emw--color-primary, #22b04e);padding:20px;border-radius:var(--emw--button-border-radius, 10px);display:flex;align-items:center;justify-content:center;flex-direction:column;margin-top:20px}.PopupContainer .documentAction .documentDragArea .icon{width:60px;fill:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.PopupContainer .documentAction .documentDragArea header{font-size:var(--emw--font-size-small, 12px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.PopupContainer .documentAction .documentDragArea span{font-size:var(--emw--font-size-small, 12px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));margin:10px 0 15px 0;text-align:center}.PopupContainer .documentAction .documentDragArea span .labelText{font-size:var(--emw--font-size-small, 12px);text-decoration:underline;cursor:pointer}.PopupContainer .documentAction .documentDragArea button{width:100%;text-align:center;margin-top:20px;background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #0e5924);border-radius:var(--emw--button-border-radius, 10px);padding:15px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-small, 12px)}.PopupContainer .documentAction .documentDragArea.active{border:2px solid #fff}.PopupContainer .documentAction .uploadHistory{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;margin-top:20px;gap:5px}.PopupContainer .documentAction .uploadHistory .historyHeader{font-size:var(--emw--font-size-medium, 15px)}.PopupContainer .documentAction .uploadHistory .historyItem{font-size:var(--emw--font-size-small, 12px);margin-left:10px}.PopupContainer .documentAction .uploadHistory p{width:100%;text-align:left;color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));margin:0}.PopupContainer .documentAction .filesError{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:var(--emw--font-size-small, 12px);line-height:10px;margin-top:20px}.PopupContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:103%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.PopupContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.PopupContainer.Mobile{width:85vw;border-radius:var(--emw--border-radius-large, 10px)}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:var(--emw--font-size-large, 20px)}.PopupTitleWrapper button{background:transparent;color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-x-large, 20px);border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:var(--emw--font-size-large, 20px);padding:12px}.DescriptionParagraph.Mobile{font-size:var(--emw--font-size-small, 14px)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px;fill:var(--emw--color-typography, #fff)}.LimitDetails{display:flex;flex-direction:column}.ContainerLimitActions{display:flex;flex-direction:row;gap:10px}.ContainerLimitActions.Mobile{width:100%;gap:20px;align-items:flex-start;justify-content:flex-start}.ReloadLimitButton,.RemoveLimitButton,.ConfirmLimitButton,.CancelLimitButton{font-size:var(--emw--font-size-medium, 16px);width:100%;max-width:150px;background:transparent;color:var(--emw--color-error, #e91d1d);border:1px solid var(--emw--color-error, #e91d1d);border-radius:var(--emw--button-border-radius, 10px);padding:10px 29px;cursor:pointer;position:relative;white-space:nowrap}.ReloadLimitButton.Mobile,.RemoveLimitButton.Mobile,.ConfirmLimitButton.Mobile,.CancelLimitButton.Mobile{padding:10px 10px;font-size:var(--emw--font-size-x-small, 12px)}.ReloadLimitButton:hover,.RemoveLimitButton:hover,.ConfirmLimitButton:hover,.CancelLimitButton:hover{background:var(--emw--color-error, #e91d1d);color:var(--emw--color-white, #ffffff)}.ReloadLimitButton.disabled,.RemoveLimitButton.disabled,.ConfirmLimitButton.disabled,.CancelLimitButton.disabled{color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #e6e6e6));border-color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #e6e6e6));cursor:default}.ReloadLimitButton.disabled:hover,.RemoveLimitButton.disabled:hover,.ConfirmLimitButton.disabled:hover,.CancelLimitButton.disabled:hover{background:none;color:none}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}.skeletonLimitContainer{width:100%;min-height:500px;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonLimitContainer .skeletonLimitText{margin:20px 0px;width:20%}.skeletonLimitContainer .skeletonLimitWrapper{min-height:150px;max-height:400px;display:flex;flex-direction:column;margin:12px 0;background:var(--emw--color-typography, #fff);border:5px solid transparent;background-clip:padding-box;padding:0px 12px;border-radius:var(--emw--border-radius-large, 10px);position:relative}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount{width:100%;margin-top:15px;display:flex;flex-direction:column;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount .skeletonAmountText{width:40%;overflow:hidden}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount .skeletonSubText{width:80%;overflow:hidden}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%;width:30%;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton div{width:100%;overflow:hidden;border-radius:50px}@container (max-width: 768px){.skeletonLimitContainer .skeletonLimitWrapper{width:100%;margin:0px;min-height:348px;max-height:500px;justify-content:space-between}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent{width:100%;flex-direction:column;width:100%;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton{display:flex;flex-direction:row;gap:10px;width:100%}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton div{border-radius:50px;overflow:hidden}}.skeletonLimitContainer .skeletonInputWrapper{display:flex;flex-direction:column;width:320px;gap:10px;margin-top:30px}.skeletonLimitContainer .skeletonInputWrapper .skletonHeader{width:100%;margin-top:20px}.skeletonLimitContainer .skeletonInputWrapper .skletonSubText{width:40%}.skeletonLimitContainer .skeletonInputWrapper .skeletonPeriod,.skeletonLimitContainer .skeletonInputWrapper .skeletonInputAmount,.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{width:100%;border-radius:30px;overflow:hidden}.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{margin-top:20px}@container (max-width: 768px){.skeletonLimitContainer .skeletonInputWrapper{width:100%;margin-top:20px}.skeletonLimitContainer .skeletonInputWrapper .skeletonPeriod,.skeletonLimitContainer .skeletonInputWrapper .skeletonInputAmount,.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{width:inherit}.skeletonLimitContainer .skeletonInputWrapper .skletonSubText{margin-top:10px}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}const Bl=e=>({}),To=e=>({});function Po(e,t,i){const o=e.slice();return o[158]=t[i],o}function Co(e,t,i){const o=e.slice();return o[161]=t[i],o[163]=i,o}function Do(e,t,i){const o=e.slice();return o[161]=t[i],o}function Bo(e,t,i){const o=e.slice();return o[161]=t[i],o[166]=t,o[163]=i,o}function Io(e,t,i){const o=e.slice();return o[167]=t[i],o[168]=t,o[169]=i,o}const Il=e=>({}),Mo=e=>({});function Ml(e,t,i){const o=e.slice();return o[155]=t[i],o}const jl=e=>({}),jo=e=>({});function No(e,t,i){const o=e.slice();return o[170]=t[i],o}function zo(e){let t,i,o;function n(l,m){return l[29]?l[31]&&!l[27]?zl:Nl:Ul}let r=n(e),a=r(e);return{c(){t=w("div"),i=w("div"),a.c(),b(i,"class",o="PopupContainer "+e[17]+" "+(e[36]?"":"Mobile")),b(t,"class","PopupOverlay")},m(l,m){P(l,t,m),h(t,i),a.m(i,null)},p(l,m){r===(r=n(l))&&a?a.p(l,m):(a.d(1),a=r(l),a&&(a.c(),a.m(i,null))),m[0]&131072&&o!==(o="PopupContainer "+l[17]+" "+(l[36]?"":"Mobile"))&&b(i,"class",o)},d(l){l&&T(t),a.d()}}}function Nl(e){let t,i,o=e[35]("popupTitle")+"",n,r,a,l,m,u,c,f,v,y,_,S,Z;function re(C,U){return C[27]?Rl:C[20]==2?Hl:Ol}let j=re(e),I=j(e);function z(C,U){return C[27]?Wl:C[20]==2?Gl:Fl}let W=z(e),R=W(e);function G(C,U){return C[20]==2?ql:Vl}let Y=G(e),V=Y(e);return{c(){t=w("div"),i=w("span"),n=D(o),r=N(),a=w("button"),a.textContent="X",l=N(),m=w("div"),u=w("div"),I.c(),c=N(),R.c(),f=N(),v=w("p"),y=N(),V.c(),_=Ft(),b(i,"class","PopupTitle"),b(a,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(u,"class","ResultIconWrapper"),b(v,"class","DescriptionParagraph "+(e[36]?"":"Mobile")),b(m,"class","DescriptionWrapper")},m(C,U){P(C,t,U),h(t,i),h(i,n),h(t,r),h(t,a),P(C,l,U),P(C,m,U),h(m,u),I.m(u,null),h(u,c),R.m(u,null),h(m,f),h(m,v),v.innerHTML=e[16],P(C,y,U),V.m(C,U),P(C,_,U),S||(Z=ce(a,"click",e[51]),S=!0)},p(C,U){U[1]&16&&o!==(o=C[35]("popupTitle")+"")&&M(n,o),j!==(j=re(C))&&(I.d(1),I=j(C),I&&(I.c(),I.m(u,c))),W===(W=z(C))&&R?R.p(C,U):(R.d(1),R=W(C),R&&(R.c(),R.m(u,null))),U[0]&65536&&(v.innerHTML=C[16]),Y===(Y=G(C))&&V?V.p(C,U):(V.d(1),V=Y(C),V&&(V.c(),V.m(_.parentNode,_)))},d(C){C&&(T(t),T(l),T(m),T(y),T(_)),I.d(),R.d(),V.d(C),S=!1,Z()}}}function zl(e){let t,i,o=e[35]("documentUploadTitle")+"",n,r,a,l,m,u,c,f,v,y,_=e[35]("uploadDocumentHeader")+"",S,Z,re,j=e[35]("uploadDocumentContent")+"",I,z,W,R,G,Y=e[35]("uploadHistory")+"",V,C,U,q,x,O=e[35]("submitButton")+"",le,te,$,J;function Ne(E,H){return E[21]&&E[21].length>0?Kl:Xl}let Se=Ne(e),ae=Se(e),L=!e[30]&&e[21]&&e[21].length>0&&Oo(e);return{c(){t=w("div"),i=w("span"),n=D(o),r=N(),a=w("button"),a.textContent="X",l=N(),m=w("div"),u=w("div"),c=w("label"),f=w("div"),f.innerHTML=`<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 486.3 486.3" xml:space="preserve"><g><g><path d="M395.5,135.8c-5.2-30.9-20.5-59.1-43.9-80.5c-26-23.8-59.8-36.9-95-36.9c-27.2,0-53.7,7.8-76.4,22.5
33
33
  c-18.9,12.2-34.6,28.7-45.7,48.1c-4.8-0.9-9.8-1.4-14.8-1.4c-42.5,0-77.1,34.6-77.1,77.1c0,5.5,0.6,10.8,1.6,16
34
34
  C16.7,200.7,0,232.9,0,267.2c0,27.7,10.3,54.6,29.1,75.9c19.3,21.8,44.8,34.7,72,36.2c0.3,0,0.5,0,0.8,0h86
35
35
  c7.5,0,13.5-6,13.5-13.5s-6-13.5-13.5-13.5h-85.6C61.4,349.8,27,310.9,27,267.1c0-28.3,15.2-54.7,39.7-69
@@ -38,15 +38,15 @@ PERFORMANCE OF THIS SOFTWARE.
38
38
  c0,49.7-39.1,92.9-87.3,96.6h-73.7c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h74.2c0.3,0,0.6,0,1,0c30.5-2.2,59-16.2,80.2-39.6
39
39
  c21.1-23.2,32.6-53,32.6-84C486.2,199.5,447.9,149.6,395.5,135.8z"></path><path d="M324.2,280c5.3-5.3,5.3-13.8,0-19.1l-71.5-71.5c-2.5-2.5-6-4-9.5-4s-7,1.4-9.5,4l-71.5,71.5c-5.3,5.3-5.3,13.8,0,19.1
40
40
  c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4l48.5-48.5v222.9c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5V231.5l48.5,48.5
41
- C310.4,285.3,318.9,285.3,324.2,280z"></path></g></g></svg>`,v=j(),y=L("header"),E=B(_),J=j(),ae=L("span"),M=j(),U=L("input"),W=j(),R=L("div"),G=L("p"),q=B(Z),D=j(),C.c(),O=j(),w&&w.c(),X=j(),x=L("button"),le=B(H),b(i,"class","PopupTitle"),b(a,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(f,"class","icon"),b(U,"id","files"),b(U,"type","file"),Qe(U,"display","none"),b(c,"class","documentDragArea"),b(c,"for","files"),b(G,"class","historyHeader"),b(R,"class","uploadHistory"),b(x,"class","SubmitDocumentButton "+(e[36]?"":"Mobile")),x.disabled=ie=!e[21]||!(e[21].length>0)||!e[30],b(u,"class","documentAction"),b(m,"class","DescriptionWrapper")},m(T,V){P(T,t,V),h(t,i),h(i,n),h(t,r),h(t,a),P(T,l,V),P(T,m,V),h(m,u),h(u,c),h(c,f),h(c,v),h(c,y),h(y,E),h(c,J),h(c,ae),ae.innerHTML=N,h(c,M),h(c,U),h(u,W),h(u,R),h(R,G),h(G,q),h(R,D),C.m(R,null),h(u,O),w&&w.m(u,null),h(u,X),h(u,x),h(x,le),ee||(Q=[ce(a,"click",e[51]),ce(U,"change",e[76]),ce(x,"click",e[54])],ee=!0)},p(T,V){V[1]&16&&o!==(o=T[35]("documentUploadTitle")+"")&&z(n,o),V[1]&16&&_!==(_=T[35]("uploadDocumentHeader")+"")&&z(E,_),V[1]&16&&N!==(N=T[35]("uploadDocumentContent")+"")&&(ae.innerHTML=N),V[1]&16&&Z!==(Z=T[35]("uploadHistory")+"")&&z(q,Z),Se===(Se=Ne(T))&&C?C.p(T,V):(C.d(1),C=Se(T),C&&(C.c(),C.m(R,null))),!T[30]&&T[21]&&T[21].length>0?w?w.p(T,V):(w=jo(T),w.c(),w.m(u,X)):w&&(w.d(1),w=null),V[1]&16&&H!==(H=T[35]("submitButton")+"")&&z(le,H),V[0]&1075838976&&ie!==(ie=!T[21]||!(T[21].length>0)||!T[30])&&(x.disabled=ie)},d(T){T&&(A(t),A(l),A(m)),C.d(),w&&w.d(),ee=!1,Ee(Q)}}}function Ml(e){let t;return{c(){t=L("div"),b(t,"class","LoadingIndicator")},m(i,o){P(i,t,o)},p:be,d(i){i&&A(t)}}}function zl(e){let t,i,o,n,r,a;return{c(){t=re("svg"),i=re("defs"),o=re("style"),n=B(`.fil0 {
41
+ C310.4,285.3,318.9,285.3,324.2,280z"></path></g></g></svg>`,v=N(),y=w("header"),S=D(_),Z=N(),re=w("span"),I=N(),z=w("input"),W=N(),R=w("div"),G=w("p"),V=D(Y),C=N(),ae.c(),U=N(),L&&L.c(),q=N(),x=w("button"),le=D(O),b(i,"class","PopupTitle"),b(a,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(f,"class","icon"),b(z,"id","files"),b(z,"type","file"),et(z,"display","none"),b(c,"class","documentDragArea"),b(c,"for","files"),b(G,"class","historyHeader"),b(R,"class","uploadHistory"),b(x,"class","SubmitDocumentButton "+(e[36]?"":"Mobile")),x.disabled=te=!e[21]||!(e[21].length>0)||!e[30],b(u,"class","documentAction"),b(m,"class","DescriptionWrapper")},m(E,H){P(E,t,H),h(t,i),h(i,n),h(t,r),h(t,a),P(E,l,H),P(E,m,H),h(m,u),h(u,c),h(c,f),h(c,v),h(c,y),h(y,S),h(c,Z),h(c,re),re.innerHTML=j,h(c,I),h(c,z),h(u,W),h(u,R),h(R,G),h(G,V),h(R,C),ae.m(R,null),h(u,U),L&&L.m(u,null),h(u,q),h(u,x),h(x,le),$||(J=[ce(a,"click",e[51]),ce(z,"change",e[76]),ce(x,"click",e[54])],$=!0)},p(E,H){H[1]&16&&o!==(o=E[35]("documentUploadTitle")+"")&&M(n,o),H[1]&16&&_!==(_=E[35]("uploadDocumentHeader")+"")&&M(S,_),H[1]&16&&j!==(j=E[35]("uploadDocumentContent")+"")&&(re.innerHTML=j),H[1]&16&&Y!==(Y=E[35]("uploadHistory")+"")&&M(V,Y),Se===(Se=Ne(E))&&ae?ae.p(E,H):(ae.d(1),ae=Se(E),ae&&(ae.c(),ae.m(R,null))),!E[30]&&E[21]&&E[21].length>0?L?L.p(E,H):(L=Oo(E),L.c(),L.m(u,q)):L&&(L.d(1),L=null),H[1]&16&&O!==(O=E[35]("submitButton")+"")&&M(le,O),H[0]&1075838976&&te!==(te=!E[21]||!(E[21].length>0)||!E[30])&&(x.disabled=te)},d(E){E&&(T(t),T(l),T(m)),ae.d(),L&&L.d(),$=!1,Ee(J)}}}function Ul(e){let t;return{c(){t=w("div"),b(t,"class","LoadingIndicator")},m(i,o){P(i,t,o)},p:be,d(i){i&&T(t)}}}function Ol(e){let t,i,o,n,r,a;return{c(){t=ne("svg"),i=ne("defs"),o=ne("style"),n=D(`.fil0 {
42
42
  fill: black;
43
43
  fill-rule: nonzero;
44
44
  }
45
- `),r=re("g"),a=re("polygon"),b(o,"type","text/css"),b(a,"class","fil0"),b(a,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"xml:space","preserve"),b(t,"version","1.1"),Qe(t,"shape-rendering","geometricPrecision"),Qe(t,"text-rendering","geometricPrecision"),Qe(t,"image-rendering","optimizeQuality"),b(t,"viewBox","0 0 90 69"),b(t,"x","0px"),b(t,"y","0px"),b(t,"fill-rule","evenodd"),b(t,"clip-rule","evenodd")},m(l,m){P(l,t,m),h(t,i),h(i,o),h(o,n),h(t,r),h(r,a)},d(l){l&&A(t)}}}function Nl(e){let t,i,o;return{c(){t=re("svg"),i=re("g"),o=re("path"),b(o,"id","XMLID_6_"),b(o,"d",`M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
45
+ `),r=ne("g"),a=ne("polygon"),b(o,"type","text/css"),b(a,"class","fil0"),b(a,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"xml:space","preserve"),b(t,"version","1.1"),et(t,"shape-rendering","geometricPrecision"),et(t,"text-rendering","geometricPrecision"),et(t,"image-rendering","optimizeQuality"),b(t,"viewBox","0 0 90 69"),b(t,"x","0px"),b(t,"y","0px"),b(t,"fill-rule","evenodd"),b(t,"clip-rule","evenodd")},m(l,m){P(l,t,m),h(t,i),h(i,o),h(o,n),h(t,r),h(r,a)},d(l){l&&T(t)}}}function Hl(e){let t,i,o;return{c(){t=ne("svg"),i=ne("g"),o=ne("path"),b(o,"id","XMLID_6_"),b(o,"d",`M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
46
46
  c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
47
47
  c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
48
- h256.5v-82.1H429v366.5H429.9z`),b(i,"id","XMLID_1_"),b(t,"version","1.1"),b(t,"id","Layer_1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 512 512"),Qe(t,"enable-background","new 0 0 512 512"),b(t,"xml:space","preserve")},m(n,r){P(n,t,r),h(t,i),h(i,o)},d(n){n&&A(t)}}}function jl(e){let t,i,o,n,r,a,l,m,u,c,f,v,y,_,E,J,ae,N,M;return{c(){t=re("svg"),i=re("g"),o=re("path"),n=re("path"),r=re("g"),a=re("g"),l=re("g"),m=re("g"),u=re("g"),c=re("g"),f=re("g"),v=re("g"),y=re("g"),_=re("g"),E=re("g"),J=re("g"),ae=re("g"),N=re("g"),M=re("g"),b(o,"d",`M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26
48
+ h256.5v-82.1H429v366.5H429.9z`),b(i,"id","XMLID_1_"),b(t,"version","1.1"),b(t,"id","Layer_1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 512 512"),et(t,"enable-background","new 0 0 512 512"),b(t,"xml:space","preserve")},m(n,r){P(n,t,r),h(t,i),h(i,o)},d(n){n&&T(t)}}}function Rl(e){let t,i,o,n,r,a,l,m,u,c,f,v,y,_,S,Z,re,j,I;return{c(){t=ne("svg"),i=ne("g"),o=ne("path"),n=ne("path"),r=ne("g"),a=ne("g"),l=ne("g"),m=ne("g"),u=ne("g"),c=ne("g"),f=ne("g"),v=ne("g"),y=ne("g"),_=ne("g"),S=ne("g"),Z=ne("g"),re=ne("g"),j=ne("g"),I=ne("g"),b(o,"d",`M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26
49
49
  S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`),b(n,"d",`M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
50
50
  s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36
51
51
  s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293
52
- c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),b(t,"version","1.1"),b(t,"id","Capa_1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 52 52"),Qe(t,"enable-background","new 0 0 52 52"),b(t,"xml:space","preserve")},m(U,W){P(U,t,W),h(t,i),h(i,o),h(i,n),h(t,r),h(t,a),h(t,l),h(t,m),h(t,u),h(t,c),h(t,f),h(t,v),h(t,y),h(t,_),h(t,E),h(t,J),h(t,ae),h(t,N),h(t,M)},d(U){U&&A(t)}}}function Ul(e){let t,i=e[35]("popupSuccess")+"",o;return{c(){t=L("p"),o=B(i)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("popupSuccess")+"")&&z(o,i)},d(n){n&&A(t)}}}function Ol(e){let t,i=e[35]("docsRequired")+"",o;return{c(){t=L("p"),o=B(i)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("docsRequired")+"")&&z(o,i)},d(n){n&&A(t)}}}function Hl(e){let t,i=e[35]("popupError")+"",o;return{c(){t=L("p"),o=B(i)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("popupError")+"")&&z(o,i)},d(n){n&&A(t)}}}function Rl(e){let t,i=e[35]("okButton")+"",o,n,r;return{c(){t=L("button"),o=B(i),b(t,"class","ConfirmButton "+(e[36]?"":"Mobile"))},m(a,l){P(a,t,l),h(t,o),n||(r=ce(t,"click",e[51]),n=!0)},p(a,l){l[1]&16&&i!==(i=a[35]("okButton")+"")&&z(o,i)},d(a){a&&A(t),n=!1,r()}}}function Fl(e){let t,i=e[35]("uploadDocumentsButton")+"",o,n,r=e[35]("closeButton")+"",a,l,m;return{c(){t=L("button"),o=j(),n=L("button"),a=B(r),b(t,"class","ConfirmButton"),b(n,"class","CloseButton")},m(u,c){P(u,t,c),t.innerHTML=i,P(u,o,c),P(u,n,c),h(n,a),l||(m=[ce(t,"click",e[52]),ce(n,"click",e[51])],l=!0)},p(u,c){c[1]&16&&i!==(i=u[35]("uploadDocumentsButton")+"")&&(t.innerHTML=i),c[1]&16&&r!==(r=u[35]("closeButton")+"")&&z(a,r)},d(u){u&&(A(t),A(o),A(n)),l=!1,Ee(m)}}}function Gl(e){let t,i=e[35]("noFileUploaded")+"",o;return{c(){t=L("p"),o=B(i),b(t,"class","historyItem")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("noFileUploaded")+"")&&z(o,i)},d(n){n&&A(t)}}}function Wl(e){let t,i=_e(Array.from(e[21])),o=[];for(let n=0;n<i.length;n+=1)o[n]=No(Mo(e,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=Ht()},m(n,r){for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(n,r);P(n,t,r)},p(n,r){if(r[0]&2097152){i=_e(Array.from(n[21]));let a;for(a=0;a<i.length;a+=1){const l=Mo(n,i,a);o[a]?o[a].p(l,r):(o[a]=No(l),o[a].c(),o[a].m(t.parentNode,t))}for(;a<o.length;a+=1)o[a].d(1);o.length=i.length}},d(n){n&&A(t),Ge(o,n)}}}function No(e){let t,i=e[170].name+"",o;return{c(){t=L("p"),o=B(i),b(t,"class","historyItem")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&2097152&&i!==(i=n[170].name+"")&&z(o,i)},d(n){n&&A(t)}}}function jo(e){let t,i=e[35]("filesUploadError")+"",o;return{c(){t=L("p"),o=B(i),b(t,"class","filesError")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("filesUploadError")+"")&&z(o,i)},d(n){n&&A(t)}}}function Vl(e){let t,i,o,n,r,a,l=e[35]("setLimit")+"",m,u,c,f,v,y,_,E=e[24]?`${e[35]("amount")}`:`${e[35](`new${e[13]}Limit`)}`,J,ae,N,M,U,W,R,G,Z,q;const D=e[75].LimitsList,O=ci(D,e,e[74],Bo),X=O||au(e);let x=_e(e[10]),H=[];for(let w=0;w<x.length;w+=1)H[w]=Ko(To(e,x,w));let le=e[3]==="true"&&Yo(e),ie=e[23]&&Zo(e),ee=e[24]&&Qo(e),Q=e[32]&&!e[33]&&en(e);const Ne=e[75].LimitSubmitButton,Se=ci(Ne,e,e[74],So),C=Se||su(e);return{c(){t=L("div"),i=L("div"),X&&X.c(),o=j(),n=L("form");for(let w=0;w<H.length;w+=1)H[w].c();r=j(),a=L("p"),m=B(l),u=j(),le&&le.c(),c=j(),ie&&ie.c(),f=j(),ee&&ee.c(),v=j(),y=L("label"),_=L("span"),J=B(E),ae=j(),N=L("input"),U=j(),Q&&Q.c(),W=j(),C&&C.c(),b(a,"class","LimitTitle "+(e[36]?"":"Mobile")),b(_,"class","LimitInputText"),b(N,"type","number"),b(N,"pattern","[0-9]*"),b(N,"step",M=e[7]==="true"?"0.01":"1"),N.disabled=e[33],b(y,"class","LimitAmountInputWrapper "+(e[36]?"":"Mobile")),b(n,"class","LimitsInteractionArea "+(e[36]?"":"Mobile")),b(i,"class","LimitsPageContainer"),b(t,"class",R="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+e[5]))},m(w,T){P(w,t,T),h(t,i),X&&X.m(i,null),h(i,o),h(i,n);for(let V=0;V<H.length;V+=1)H[V]&&H[V].m(n,null);h(n,r),h(n,a),h(a,m),h(n,u),le&&le.m(n,null),h(n,c),ie&&ie.m(n,null),h(n,f),ee&&ee.m(n,null),h(n,v),h(n,y),h(y,_),h(_,J),h(y,ae),h(y,N),gt(N,e[19]),h(y,U),Q&&Q.m(y,null),h(n,W),C&&C.m(n,null),G=!0,Z||(q=[ce(N,"input",e[85]),ce(N,"input",e[42]),ce(N,"wheel",e[43]),ce(n,"submit",e[44])],Z=!0)},p(w,T){if(O?O.p&&(!G||T[2]&4096)&&pi(O,D,w,w[74],G?mi(D,w[74],T,Tl):di(w[74]),Bo):X&&X.p&&(!G||T[0]&4195862|T[1]&16)&&X.p(w,G?T:[-1,-1,-1,-1,-1,-1]),T[0]&1024|T[1]&48){x=_e(w[10]);let V;for(V=0;V<x.length;V+=1){const De=To(w,x,V);H[V]?H[V].p(De,T):(H[V]=Ko(De),H[V].c(),H[V].m(n,r))}for(;V<H.length;V+=1)H[V].d(1);H.length=x.length}(!G||T[1]&16)&&l!==(l=w[35]("setLimit")+"")&&z(m,l),w[3]==="true"?le?le.p(w,T):(le=Yo(w),le.c(),le.m(n,c)):le&&(le.d(1),le=null),w[23]?ie?ie.p(w,T):(ie=Zo(w),ie.c(),ie.m(n,f)):ie&&(ie.d(1),ie=null),w[24]?ee?ee.p(w,T):(ee=Qo(w),ee.c(),ee.m(n,v)):ee&&(ee.d(1),ee=null),(!G||T[0]&16785408|T[1]&16)&&E!==(E=w[24]?`${w[35]("amount")}`:`${w[35](`new${w[13]}Limit`)}`)&&z(J,E),(!G||T[0]&128&&M!==(M=w[7]==="true"?"0.01":"1"))&&b(N,"step",M),(!G||T[1]&4)&&(N.disabled=w[33]),T[0]&524288&&an(N.value)!==w[19]&&gt(N,w[19]),w[32]&&!w[33]?Q?Q.p(w,T):(Q=en(w),Q.c(),Q.m(y,null)):Q&&(Q.d(1),Q=null),Se?Se.p&&(!G||T[2]&4096)&&pi(Se,Ne,w,w[74],G?mi(Ne,w[74],T,Pl):di(w[74]),So):C&&C.p&&(!G||T[1]&26)&&C.p(w,G?T:[-1,-1,-1,-1,-1,-1]),(!G||T[0]&32&&R!==(R="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+w[5])))&&b(t,"class",R)},i(w){G||(et(X,w),et(C,w),G=!0)},o(w){yt(X,w),yt(C,w),G=!1},d(w){w&&A(t),X&&X.d(w),Ge(H,w),le&&le.d(),ie&&ie.d(),ee&&ee.d(),Q&&Q.d(),C&&C.d(w),Z=!1,Ee(q)}}}function ql(e){let t;return{c(){t=L("p"),t.textContent="500 Server error"},m(i,o){P(i,t,o)},p:be,i:be,o:be,d(i){i&&A(t)}}}function Xl(e){let t;const i=e[75].LimitSkeleton,o=ci(i,e,e[74],Io),n=o||uu(e);return{c(){n&&n.c()},m(r,a){n&&n.m(r,a),t=!0},p(r,a){o&&o.p&&(!t||a[2]&4096)&&pi(o,i,r,r[74],t?mi(i,r[74],a,Dl):di(r[74]),Io)},i(r){t||(et(n,r),t=!0)},o(r){yt(n,r),t=!1},d(r){n&&n.d(r)}}}function Uo(e){let t,i=e[35]("activeLimitsInfoText")+"",o;return{c(){t=L("p"),o=B(i),b(t,"class","LimitsInfoText "+(e[36]?"":"Mobile"))},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("activeLimitsInfoText")+"")&&z(o,i)},d(n){n&&A(t)}}}function Kl(e){let t,i,o,n=e[35]("noLimitText")+"",r;return{c(){t=L("div"),i=L("div"),o=L("div"),r=B(n),b(o,"class","LimitDetailsTextWrapper "+(e[36]?"":"Mobile")),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(a,l){P(a,t,l),h(t,i),h(i,o),h(o,r)},p(a,l){l[1]&16&&n!==(n=a[35]("noLimitText")+"")&&z(r,n)},d(a){a&&A(t)}}}function Yl(e){let t,i,o,n=e[35]("lugasPrivacy")+"",r;return{c(){t=L("div"),i=L("div"),o=L("div"),r=B(n),b(o,"class","LimitDetailsTextWrapper "+(e[36]?"":"Mobile")),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(a,l){P(a,t,l),h(t,i),h(i,o),h(o,r)},p(a,l){l[1]&16&&n!==(n=a[35]("lugasPrivacy")+"")&&z(r,n)},d(a){a&&A(t)}}}function Zl(e){let t,i=_e(e[161].currentLimits),o=[];for(let n=0;n<i.length;n+=1)o[n]=Vo(Do(e,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=Ht()},m(n,r){for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(n,r);P(n,t,r)},p(n,r){if(r[0]&4195862|r[1]&755248){i=_e(n[161].currentLimits);let a;for(a=0;a<i.length;a+=1){const l=Do(n,i,a);o[a]?o[a].p(l,r):(o[a]=Vo(l),o[a].c(),o[a].m(t.parentNode,t))}for(;a<o.length;a+=1)o[a].d(1);o.length=i.length}},d(n){n&&A(t),Ge(o,n)}}}function Jl(e){let t,i,o,n=e[35]("lugasPrivacy")+"",r;return{c(){t=L("div"),i=L("div"),o=L("div"),r=B(n),b(o,"class","LimitDetailsTextWrapper "+(e[36]?"":"Mobile")),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(a,l){P(a,t,l),h(t,i),h(i,o),h(o,r)},p(a,l){l[1]&16&&n!==(n=a[35]("lugasPrivacy")+"")&&z(r,n)},d(a){a&&A(t)}}}function Ql(e){let t,i=`${e[50](e[167])}`,o;return{c(){t=L("span"),o=B(i)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&1024&&i!==(i=`${n[50](n[167])}`)&&z(o,i)},d(n){n&&A(t)}}}function $l(e){let t,i=`${e[50](e[167],!0)}`,o;return{c(){t=L("span"),o=B(i)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&1024&&i!==(i=`${n[50](n[167],!0)}`)&&z(o,i)},d(n){n&&A(t)}}}function Oo(e){let t,i,o=`${e[50](e[167],!1,!0)}`,n,r,a=`${e[167].period!=="None"||e[167].value!=="cumulativeSession"?" ":e[35]("per")} ${e[35](`${e[167].period}`)} ${e[35]("updateAfterDocApproval")}`,l;return{c(){t=L("div"),i=L("span"),n=B(o),r=j(),l=B(a),b(t,"class","PendingLimit")},m(m,u){P(m,t,u),h(t,i),h(i,n),h(t,r),h(t,l)},p(m,u){u[0]&1024&&o!==(o=`${m[50](m[167],!1,!0)}`)&&z(n,o),u[0]&1024|u[1]&16&&a!==(a=`${m[167].period!=="None"||m[167].value!=="cumulativeSession"?" ":m[35]("per")} ${m[35](`${m[167].period}`)} ${m[35]("updateAfterDocApproval")}`)&&z(l,a)},d(m){m&&A(t)}}}function Ho(e){let t,i=e[35]("companyLimitsInfoText")+"",o,n,r,a=e[167].currency+"",l,m=e[41](e[167].limitBalances[0])+"",u;return{c(){t=L("div"),o=B(i),n=j(),r=L("span"),l=B(a),u=B(m),b(t,"class","CompanyLimitsInfoText")},m(c,f){P(c,t,f),h(t,o),h(t,n),h(t,r),h(r,l),h(r,u)},p(c,f){f[1]&16&&i!==(i=c[35]("companyLimitsInfoText")+"")&&z(o,i),f[0]&1024&&a!==(a=c[167].currency+"")&&z(l,a),f[0]&1024&&m!==(m=c[41](c[167].limitBalances[0])+"")&&z(u,m)},d(c){c&&A(t)}}}function eu(e){let t,i,o=`${e[50](e[167],!0)}`,n,r;function a(u,c){return u[167].isCoolOffCompleted?ru:nu}let l=a(e),m=l(e);return{c(){t=L("div"),i=L("span"),n=B(o),r=j(),m.c(),b(t,"class","PendingLimit")},m(u,c){P(u,t,c),h(t,i),h(i,n),h(t,r),m.m(t,null)},p(u,c){c[0]&1024&&o!==(o=`${u[50](u[167],!0)}`)&&z(n,o),l===(l=a(u))&&m?m.p(u,c):(m.d(1),m=l(u),m&&(m.c(),m.m(t,null)))},d(u){u&&A(t),m.d()}}}function tu(e){let t,i=`${e[35]("removedLimitText")} ${e[167].expiryDate}`,o;return{c(){t=L("div"),o=B(i),b(t,"class","PendingLimit")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&1024|r[1]&16&&i!==(i=`${n[35]("removedLimitText")} ${n[167].expiryDate}`)&&z(o,i)},d(n){n&&A(t)}}}function iu(e){let t,i=`${e[35]("removeAfterConfirm")}`,o;return{c(){t=L("div"),o=B(i),b(t,"class","PendingLimit")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=`${n[35]("removeAfterConfirm")}`)&&z(o,i)},d(n){n&&A(t)}}}function ou(e){let t,i=`${e[35]("acknowledgedLimit")}`,o;return{c(){t=L("div"),o=B(i),b(t,"class","PendingLimit")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=`${n[35]("acknowledgedLimit")}`)&&z(o,i)},d(n){n&&A(t)}}}function nu(e){let t=`${e[167].period!=="None"||e[167].value!=="cumulativeSession"?" ":e[35]("per")} ${e[35](`${e[167].period}`)} ${e[35]("updateText")} ${e[167].expiryDate}`,i;return{c(){i=B(t)},m(o,n){P(o,i,n)},p(o,n){n[0]&1024|n[1]&16&&t!==(t=`${o[167].period!=="None"||o[167].value!=="cumulativeSession"?" ":o[35]("per")} ${o[35](`${o[167].period}`)} ${o[35]("updateText")} ${o[167].expiryDate}`)&&z(i,t)},d(o){o&&A(i)}}}function ru(e){let t=`${e[167].period!=="None"||e[167].value!=="cumulativeSession"?" ":e[35]("per")} ${e[35](`${e[167].period}`)} ${e[35]("updateAfterConfirm")}`,i;return{c(){i=B(t)},m(o,n){P(o,i,n)},p(o,n){n[0]&1024|n[1]&16&&t!==(t=`${o[167].period!=="None"||o[167].value!=="cumulativeSession"?" ":o[35]("per")} ${o[35](`${o[167].period}`)} ${o[35]("updateAfterConfirm")}`)&&z(i,t)},d(o){o&&A(i)}}}function Ro(e){let t,i,o=e[22][e[167].scheduleId].timer+"",n,r,a,l;return{c(){t=L("div"),i=L("button"),n=B(o),b(i,"class",r="ReloadLimitButton "+(e[36]?"":"Mobile")+" "+(e[22][e[167].scheduleId].timerStopped?"":"disabled")),b(t,"class","ContainerLimitActions "+(e[36]?"":"Mobile"))},m(m,u){P(m,t,u),h(t,i),h(i,n),a||(l=ce(i,"click",e[77]),a=!0)},p(m,u){u[0]&4195328&&o!==(o=m[22][m[167].scheduleId].timer+"")&&z(n,o),u[0]&4195328&&r!==(r="ReloadLimitButton "+(m[36]?"":"Mobile")+" "+(m[22][m[167].scheduleId].timerStopped?"":"disabled"))&&b(i,"class",r)},d(m){m&&A(t),a=!1,l()}}}function Fo(e){let t,i,o=e[35]("removeLimit")+"",n,r,a;function l(){return e[78](e[167])}return{c(){t=L("div"),i=L("button"),n=B(o),b(i,"class","RemoveLimitButton "+(e[36]?"":"Mobile")),b(t,"class","ContainerLimitActions "+(e[36]?"":"Mobile"))},m(m,u){P(m,t,u),h(t,i),h(i,n),r||(a=ce(i,"click",l),r=!0)},p(m,u){e=m,u[1]&16&&o!==(o=e[35]("removeLimit")+"")&&z(n,o)},d(m){m&&A(t),r=!1,a()}}}function Go(e){let t,i,o=e[35]("confirmUpdateLimit")+"",n,r,a,l=e[35]("cancelUpdateLimit")+"",m,u,c;function f(){return e[79](e[167])}function v(){return e[80](e[167])}return{c(){t=L("div"),i=L("button"),n=B(o),r=j(),a=L("button"),m=B(l),b(i,"class","ConfirmLimitButton "+(e[36]?"":"Mobile")),b(a,"class","CancelLimitButton "+(e[36]?"":"Mobile")),b(t,"class","ContainerLimitActions "+(e[36]?"":"Mobile"))},m(y,_){P(y,t,_),h(t,i),h(i,n),h(t,r),h(t,a),h(a,m),u||(c=[ce(i,"click",f),ce(a,"click",v)],u=!0)},p(y,_){e=y,_[1]&16&&o!==(o=e[35]("confirmUpdateLimit")+"")&&z(n,o),_[1]&16&&l!==(l=e[35]("cancelUpdateLimit")+"")&&z(m,l)},d(y){y&&A(t),u=!1,Ee(c)}}}function Wo(e){let t,i=e[163],o=e[169];const n=()=>e[81](t,i,o),r=()=>e[81](null,i,o);return{c(){t=L("div"),t.innerHTML="",b(t,"class","ProgressBarContainer")},m(a,l){P(a,t,l),n()},p(a,l){e=a,(i!==e[163]||o!==e[169])&&(r(),i=e[163],o=e[169],n())},d(a){a&&A(t),r()}}}function Vo(e){let t,i,o,n,r,a=`${e[167].period!=="None"||e[167].value!=="cumulativeSession"?" ":e[35]("per")} ${e[35](`${e[167].period}`)}`,l,m,u,c,f,v,y=!e[167].isModified&&e[4].indexOf(e[161].value)>-1&&!e[167].reviewPending.id,_,E,J;function ae(x,H){return x[167].acknowledgedLimit?$l:Ql}let N=ae(e),M=N(e),U=e[167].reviewPending&&e[167].reviewPending.id&&Oo(e),W=e[1]==="true"&&e[167].limitType==="deposit"&&e[167].limitBalances&&e[167].limitBalances.length>0&&Ho(e);function R(x,H){if(x[167].acknowledgedLimit)return ou;if(x[167].isModified&&x[167].updateAmount==0&&x[167].isCoolOffCompleted)return iu;if(x[167].isModified&&x[167].updateAmount==0&&!x[167].isCoolOffCompleted)return tu;if(x[167].isModified)return eu}let G=R(e),Z=G&&G(e),q=e[167].acknowledgedLimit&&!e[167].reviewPending.id&&Ro(e),D=y&&Fo(e),O=e[167].isCoolOffCompleted&!e[167].acknowledgedLimit&&!e[167].reviewPending.id&&Go(e),X=e[2]==="true"&&e[9][e[163]]&&e[167].limitType==="netdeposit"&&Wo(e);return{c(){t=L("div"),i=L("div"),o=L("div"),n=L("div"),M.c(),r=j(),l=B(a),m=j(),U&&U.c(),u=j(),W&&W.c(),c=j(),Z&&Z.c(),f=j(),q&&q.c(),v=j(),D&&D.c(),_=j(),O&&O.c(),E=j(),X&&X.c(),J=j(),b(n,"class","CurrentLimit"),b(o,"class","CurrentLimitContainer"),b(i,"class","LimitDetailsTextWrapper "+(e[36]?"":"Mobile")),b(t,"class","LimitDetails")},m(x,H){P(x,t,H),h(t,i),h(i,o),h(o,n),M.m(n,null),h(n,r),h(n,l),h(o,m),U&&U.m(o,null),h(o,u),W&&W.m(o,null),h(o,c),Z&&Z.m(o,null),h(i,f),q&&q.m(i,null),h(i,v),D&&D.m(i,null),h(i,_),O&&O.m(i,null),h(i,E),X&&X.m(i,null),h(t,J)},p(x,H){N===(N=ae(x))&&M?M.p(x,H):(M.d(1),M=N(x),M&&(M.c(),M.m(n,r))),H[0]&1024|H[1]&16&&a!==(a=`${x[167].period!=="None"||x[167].value!=="cumulativeSession"?" ":x[35]("per")} ${x[35](`${x[167].period}`)}`)&&z(l,a),x[167].reviewPending&&x[167].reviewPending.id?U?U.p(x,H):(U=Oo(x),U.c(),U.m(o,u)):U&&(U.d(1),U=null),x[1]==="true"&&x[167].limitType==="deposit"&&x[167].limitBalances&&x[167].limitBalances.length>0?W?W.p(x,H):(W=Ho(x),W.c(),W.m(o,c)):W&&(W.d(1),W=null),G===(G=R(x))&&Z?Z.p(x,H):(Z&&Z.d(1),Z=G&&G(x),Z&&(Z.c(),Z.m(o,null))),x[167].acknowledgedLimit&&!x[167].reviewPending.id?q?q.p(x,H):(q=Ro(x),q.c(),q.m(i,v)):q&&(q.d(1),q=null),H[0]&1040&&(y=!x[167].isModified&&x[4].indexOf(x[161].value)>-1&&!x[167].reviewPending.id),y?D?D.p(x,H):(D=Fo(x),D.c(),D.m(i,_)):D&&(D.d(1),D=null),x[167].isCoolOffCompleted&!x[167].acknowledgedLimit&&!x[167].reviewPending.id?O?O.p(x,H):(O=Go(x),O.c(),O.m(i,E)):O&&(O.d(1),O=null),x[2]==="true"&&x[9][x[163]]&&x[167].limitType==="netdeposit"?X?X.p(x,H):(X=Wo(x),X.c(),X.m(i,null)):X&&(X.d(1),X=null)},d(x){x&&A(t),M.d(),U&&U.d(),W&&W.d(),Z&&Z.d(),q&&q.d(),D&&D.d(),O&&O.d(),X&&X.d()}}}function qo(e){let t,i=e[49](e[161])+"",o,n,r=e[161].value==="netdeposit"&&e[35]("activeLimitsInfoText")!=="activeLimitsInfoText"&&e[35]("activeLimitsInfoText").trim().length,a,l,m,u,c=r&&Uo(e);function f(_,E){var J;return _[161].value==="lugas"?Jl:((J=_[161].currentLimits)==null?void 0:J.length)>0?Zl:_[161].value==="lugas"?Yl:Kl}let v=f(e),y=v(e);return{c(){t=L("p"),o=B(i),n=j(),c&&c.c(),a=j(),l=L("div"),y.c(),m=j(),b(t,"class","LimitTitle "+(e[36]?"":"Mobile")),b(l,"class",u="LimitWrapper "+e[161].value+" "+(e[2]==="true"&&e[161].value==="netdeposit"?"ActiveProgressBar":"")+" "+(e[36]?"":"Mobile"))},m(_,E){P(_,t,E),h(t,o),P(_,n,E),c&&c.m(_,E),P(_,a,E),P(_,l,E),y.m(l,null),h(l,m)},p(_,E){E[0]&1024&&i!==(i=_[49](_[161])+"")&&z(o,i),E[0]&1024|E[1]&16&&(r=_[161].value==="netdeposit"&&_[35]("activeLimitsInfoText")!=="activeLimitsInfoText"&&_[35]("activeLimitsInfoText").trim().length),r?c?c.p(_,E):(c=Uo(_),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null),v===(v=f(_))&&y?y.p(_,E):(y.d(1),y=v(_),y&&(y.c(),y.m(l,m))),E[0]&1028&&u!==(u="LimitWrapper "+_[161].value+" "+(_[2]==="true"&&_[161].value==="netdeposit"?"ActiveProgressBar":"")+" "+(_[36]?"":"Mobile"))&&b(l,"class",u)},d(_){_&&(A(t),A(n),A(a),A(l)),c&&c.d(_),y.d()}}}function au(e){let t,i=_e(e[10]),o=[];for(let n=0;n<i.length;n+=1)o[n]=qo(Co(e,i,n));return{c(){t=L("div");for(let n=0;n<o.length;n+=1)o[n].c();b(t,"class","LimitsList")},m(n,r){P(n,t,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(t,null)},p(n,r){if(r[0]&4195862|r[1]&1017392){i=_e(n[10]);let a;for(a=0;a<i.length;a+=1){const l=Co(n,i,a);o[a]?o[a].p(l,r):(o[a]=qo(l),o[a].c(),o[a].m(t,null))}for(;a<o.length;a+=1)o[a].d(1);o.length=i.length}},d(n){n&&A(t),Ge(o,n)}}}function Xo(e){let t,i=e[35]("newLimitInfoText")+"",o;return{c(){t=L("p"),o=B(i),b(t,"class","LimitsInfoText "+(e[36]?"":"Mobile"))},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("newLimitInfoText")+"")&&z(o,i)},d(n){n&&A(t)}}}function Ko(e){let t=e[161].value==="netdeposit"&&e[35]("newLimitInfoText")!=="newLimitInfoText"&&e[35]("newLimitInfoText").trim().length,i,o=t&&Xo(e);return{c(){o&&o.c(),i=Ht()},m(n,r){o&&o.m(n,r),P(n,i,r)},p(n,r){r[0]&1024|r[1]&16&&(t=n[161].value==="netdeposit"&&n[35]("newLimitInfoText")!=="newLimitInfoText"&&n[35]("newLimitInfoText").trim().length),t?o?o.p(n,r):(o=Xo(n),o.c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(n){n&&A(i),o&&o.d(n)}}}function Yo(e){let t,i,o=e[35]("complianceText")+"",n;return{c(){t=L("div"),i=L("p"),n=B(o),b(i,"class","LimitComplianceText"),b(t,"class","LimitCompliance")},m(r,a){P(r,t,a),h(t,i),h(i,n)},p(r,a){a[1]&16&&o!==(o=r[35]("complianceText")+"")&&z(n,o)},d(r){r&&A(t)}}}function Zo(e){let t,i,o=e[35]("limitType")+"",n,r,a,l,m,u=_e(e[10]),c=[];for(let f=0;f<u.length;f+=1)c[f]=Jo(Po(e,u,f));return{c(){t=L("label"),i=L("span"),n=B(o),r=j(),a=L("select");for(let f=0;f<c.length;f+=1)c[f].c();b(i,"class","LimitSelectText"),b(a,"name",""),b(a,"id",""),e[18]===void 0&&vt(()=>e[82].call(a)),b(t,"class","LimitTypeDropdownWrapper "+(e[36]?"":"Mobile"))},m(f,v){P(f,t,v),h(t,i),h(i,n),h(t,r),h(t,a);for(let y=0;y<c.length;y+=1)c[y]&&c[y].m(a,null);zt(a,e[18],!0),l||(m=[ce(a,"change",e[82]),ce(a,"change",e[83])],l=!0)},p(f,v){if(v[1]&16&&o!==(o=f[35]("limitType")+"")&&z(n,o),v[0]&1024|v[1]&262144){u=_e(f[10]);let y;for(y=0;y<u.length;y+=1){const _=Po(f,u,y);c[y]?c[y].p(_,v):(c[y]=Jo(_),c[y].c(),c[y].m(a,null))}for(;y<c.length;y+=1)c[y].d(1);c.length=u.length}v[0]&262144&&zt(a,f[18])},d(f){f&&A(t),Ge(c,f),l=!1,Ee(m)}}}function Jo(e){let t,i=e[49](e[161])+"",o;return{c(){t=L("option"),o=B(i),t.__value=e[163],gt(t,t.__value)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&1024&&i!==(i=n[49](n[161])+"")&&z(o,i)},d(n){n&&A(t)}}}function Qo(e){let t,i,o=e[35]("period")+"",n,r,a,l,m,u=_e(e[11][e[12]].periods),c=[];for(let f=0;f<u.length;f+=1)c[f]=$o(Ao(e,u,f));return{c(){t=L("label"),i=L("span"),n=B(o),r=j(),a=L("select");for(let f=0;f<c.length;f+=1)c[f].c();b(i,"class","PeriodSelectText"),b(a,"name",""),b(a,"id",""),a.disabled=e[33],e[13]===void 0&&vt(()=>e[84].call(a)),b(t,"class","LimitPeriodDropdownWrapper "+(e[36]?"":"Mobile"))},m(f,v){P(f,t,v),h(t,i),h(i,n),h(t,r),h(t,a);for(let y=0;y<c.length;y+=1)c[y]&&c[y].m(a,null);zt(a,e[13],!0),l||(m=[ce(a,"change",e[84]),ce(a,"change",e[37])],l=!0)},p(f,v){if(v[1]&16&&o!==(o=f[35]("period")+"")&&z(n,o),v[0]&6144|v[1]&16){u=_e(f[11][f[12]].periods);let y;for(y=0;y<u.length;y+=1){const _=Ao(f,u,y);c[y]?c[y].p(_,v):(c[y]=$o(_),c[y].c(),c[y].m(a,null))}for(;y<c.length;y+=1)c[y].d(1);c.length=u.length}v[1]&4&&(a.disabled=f[33]),v[0]&14336&&zt(a,f[13])},d(f){f&&A(t),Ge(c,f),l=!1,Ee(m)}}}function $o(e){let t,i=e[35](e[158])+"",o,n;return{c(){t=L("option"),o=B(i),t.__value=n=e[158],gt(t,t.__value),t.selected=!0},m(r,a){P(r,t,a),h(t,o)},p(r,a){a[0]&6144|a[1]&16&&i!==(i=r[35](r[158])+"")&&z(o,i),a[0]&6144&&n!==(n=r[158])&&(t.__value=n,gt(t,t.__value))},d(r){r&&A(t)}}}function en(e){let t,i=e[19]===null?`${e[35]("invalidInputMessage")}`:e[19]<e[14]?`${e[35]("invalidInputMessageLimitMin",{values:{minValue:e[14],maxValue:e[15],currency:e[0]}})}`:`${e[35]("invalidInputMessageLimitMax",{values:{minValue:e[14],maxValue:e[15],currency:e[0]}})}`,o;return{c(){t=L("p"),o=B(i),b(t,"class","InvalidInput")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&573441|r[1]&16&&i!==(i=n[19]===null?`${n[35]("invalidInputMessage")}`:n[19]<n[14]?`${n[35]("invalidInputMessageLimitMin",{values:{minValue:n[14],maxValue:n[15],currency:n[0]}})}`:`${n[35]("invalidInputMessageLimitMax",{values:{minValue:n[14],maxValue:n[15],currency:n[0]}})}`)&&z(o,i)},d(n){n&&A(t)}}}function su(e){let t,i=e[35]("setLimit")+"",o,n;return{c(){t=L("button"),o=B(i),b(t,"class","LimitSubmitButton "+(e[36]?"":"Mobile")),b(t,"type","submit"),t.disabled=n=e[32]||e[34]},m(r,a){P(r,t,a),h(t,o)},p(r,a){a[1]&16&&i!==(i=r[35]("setLimit")+"")&&z(o,i),a[1]&10&&n!==(n=r[32]||r[34])&&(t.disabled=n)},d(r){r&&A(t)}}}function lu(e){let t;return{c(){t=L("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',b(t,"class","skeletonLimitContent")},m(i,o){P(i,t,o)},p:be,d(i){i&&A(t)}}}function uu(e){let t,i,o,n,r,a,l=_e(Array(3)),m=[];for(let u=0;u<l.length;u+=1)m[u]=lu(Cl(e,l,u));return{c(){t=L("div"),i=L("div"),i.innerHTML='<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>',o=j(),n=L("div");for(let u=0;u<m.length;u+=1)m[u].c();r=j(),a=L("div"),a.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',b(i,"class","skeletonLimitText"),b(n,"class","skeletonLimitWrapper"),b(a,"class","skeletonInputWrapper"),b(t,"class","skeletonLimitContainer")},m(u,c){P(u,t,c),h(t,i),h(t,o),h(t,n);for(let f=0;f<m.length;f+=1)m[f]&&m[f].m(n,null);h(t,r),h(t,a)},p:be,d(u){u&&A(t),Ge(m,u)}}}function cu(e){let t,i,o,n,r,a=e[28]&&e[6]==="false"&&zo(e);const l=[Xl,ql,Vl],m=[];function u(c,f){return c[25]?0:c[26]?1:c[25]?-1:2}return~(o=u(e))&&(n=m[o]=l[o](e)),{c(){t=L("div"),a&&a.c(),i=j(),n&&n.c()},m(c,f){P(c,t,f),a&&a.m(t,null),h(t,i),~o&&m[o].m(t,null),e[86](t),r=!0},p(c,f){c[28]&&c[6]==="false"?a?a.p(c,f):(a=zo(c),a.c(),a.m(t,i)):a&&(a.d(1),a=null);let v=o;o=u(c),o===v?~o&&m[o].p(c,f):(n&&(ma(),yt(m[v],1,1,()=>{m[v]=null}),pa()),~o?(n=m[o],n?n.p(c,f):(n=m[o]=l[o](c),n.c()),et(n,1),n.m(t,null)):n=null)},i(c){r||(et(n),r=!0)},o(c){yt(n),r=!1},d(c){c&&A(t),a&&a.d(),~o&&m[o].d(),e[86](null)}}}function mu(e,t,i){let o;ea(e,sl,s=>i(35,o=s));let{$$slots:n={},$$scope:r}=t,{lang:a="en"}=t,{currency:l=""}=t,{limits:m=""}=t,{session:u=""}=t,{userid:c=""}=t,{endpoint:f=""}=t,{apiversion:v=""}=t,{companylimits:y="false"}=t,{customcurrencysymbols:_=""}=t,{netdepositprogress:E="false"}=t,{enablecompliancetext:J=""}=t,{deletelimit:ae=""}=t,{amountsconfig:N=""}=t,{periodsconfig:M=""}=t,{defaultperiod:U=""}=t,{limittabindex:W=""}=t,{limitformat:R=""}=t,{allowedextenssion:G=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:Z="12934000"}=t,{clientstyling:q=""}=t,{clientstylingurl:D=""}=t,{translationurl:O=""}=t,{mbsource:X}=t,{timezone:x="GMT"}=t,{isLimitNotification:H="false"}=t,{cooloffstrictmode:le="false"}=t,{inputhasdecimals:ie}=t,ee,Q=[],Ne=window.navigator.userAgent,Se=!kl(Ne),C="",w="",T="",V="",De="",xt="",Be="",he="",lt="",Ve=0,Ii,te,ut,F=[],Ae={},Pe={},qe={},Rn={},He,Xe={EUR:"€",RON:" lei",USD:"$"},Et={remove:{}},fe={},Mi=!1,Xt=!1,me=!0,ke=!1,Kt=!1,Ke=!1,Le=!1,je=!1,ct=!1,Re=!1,zi=!1,Yt=!1;const Ni={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},ji={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},Fn=()=>{fetch(O).then(p=>p.json()).then(p=>{Object.keys(p).forEach(d=>{vo(d,p[d])})}).catch(p=>{console.log(p)})};Object.keys(Ue).forEach(s=>{vo(s,Ue[s])});const Zt=s=>`dataLayer-${s}`,pe=(s,p)=>{typeof gtag=="function"&&gtag({event:s,limit_category:Ue[a][Zt(T.toLowerCase())]||T,limit_type:Ue[a][Zt(C.toLowerCase())]||C,limit_period:Ue[a][Zt(w.toLowerCase())]||w,limit_amount:te||p})},Gn=()=>{var g;const s=N.split(",").map(k=>k.split(":")),p=M.split(",").map(k=>k.split(":"));for(let[k,S]of s.entries())if(S[0]!==p[k][0])throw new Error(`Limit config mismatch: "${S[0]}" does not match "${p[k][0]}"`);const d=s.reduce((k,S,I)=>{const oe=S[0].slice(S[0].indexOf("(")+1,S[0].indexOf(")")),ve=S[0].slice(0,S[0].indexOf("(")),Ie=S[1],St=p[I][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),dt={value:oe,product:ve,minMax:Ie,periods:St,callValue:ne[oe].callValue,callValue16:ne[oe].callValue16,title:ne[oe].title};return k.push(dt),k},[]);for(let k=0;k<d.length;k++)i(10,F[k].product=d[k].product,F),i(10,F[k].min=parseInt(d[k].minMax.split("-")[0],10),F),i(10,F[k].max=parseInt(d[k].minMax.split("-")[1],10),F),i(11,ne[d[k].value].periods=d[k].periods,ne);xt=(g=F[0])==null?void 0:g.value,F.forEach(k=>{Pe[k.value]={min:k.min,max:k.max},Rn[k.value]=k.product}),Pe&&(Pe[xt]?(i(14,V=Pe[xt].min),i(15,De=Pe[xt].max)):(i(14,V=1),i(15,De=9999999)))},Wn=()=>{const s=/\(([^)]+)\)/g;return[...N.matchAll(s)].flat().filter(d=>!d.includes("("))},Vn=()=>{Wn().forEach(d=>{ne[d]?F.push(Me({},ne[d])):console.error(`Unknown limit: ${d}`)}),Gn(),i(12,C=F[0].value);const p=ne[C].periods;i(13,w=U&&p.find(d=>d===U)||p[0]),T=F[0].product,i(23,Mi=F.length>1),i(24,Xt=ne[C].periods.length>1)},Ui=(s,p)=>{var g,k,S;const d=(k=(g=s==null?void 0:s[0])==null?void 0:g.currentLimits)==null?void 0:k.find(I=>I.period===p);return(S=d==null?void 0:d.isCoolOffCompleted)!=null?S:!0},qn=()=>{le==="true"&&i(34,Yt=!Ui(F,w))},Oi=()=>{i(12,C=F[Ve].value),i(13,w=ne[C].periods[0]),i(24,Xt=ne[C].periods.length>1)},Hi=()=>{T=F[Ve].product},de=s=>{if(s.status>=300)Xn(s);else return i(27,Kt=!1),s.status!==204?s.json():s},Xn=s=>{i(26,ke=!0);let p;throw s.json().then(d=>{for(const g in ji)if(d.error&&ji[g].some(k=>d.error.includes(k))){p=g;break}console.error("errType",p),!p&&pt(d)}).finally(()=>{p&&pt(p),i(26,ke=!1),i(25,me=!1)}),new Error("An error occured during the fetch request")},Kn=()=>ye(this,null,function*(){if(!(te>0))return;Te(),i(25,me=!0);let s=new URL(`${f}/v2/player/${c}/limits`),p={};C==="sessionLimit"?p={sessionLimit:te,sessionLimitUnit:"minute"}:C==="cumulativeSession"?p[ne[C].callValue]=[{period:w,minutes:te}]:p[ne[C].callValue]=[{period:ne[C].periods[0]==="None"?null:w,amount:te,currency:l}];let d={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(p)};const g=yield fetch(s.href,d);yield de(g),pe("self_limitation_success"),yield we()}),Ri=()=>ye(this,null,function*(){var ve;const s=F[Ve],p=(ve=s==null?void 0:s.currentLimits)==null?void 0:ve.find(Ie=>Ie.period===w),d=qi();if(d&&d.reviewPending&&d.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("limitInDocReview")}},window.location.href);if(Te(),i(25,me=!0),d&&d.reviewRequired&&!Be&&te>d.amount){i(31,ct=!0),i(29,Le=!0);return}const g=p?"v2":"v1",k=new URL(`${f}/${g}/player/${c}/limits/monetary/${p?p.id:""}`),S=p?"PUT":"POST",I=p?Be?{amount:te,skipCoolOff:!1,payload:{DocumentId:Be}}:{amount:te,skipCoolOff:!1}:{amount:te,currency:l,period:ne[C].periods[0]==="None"?null:w,type:ne[C].callValue16,products:[T!=null?T:"All"],walletTypes:["Deposit","NetDeposit"].includes(ne[C].callValue16)?["All"]:["RealCash"]};let oe={method:S,headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(I)};try{const Ie=yield fetch(k.href,oe);yield de(Ie),pe("self_limitation_success"),yield we()}finally{i(31,ct=!1),Be=""}}),Yn=()=>ye(this,null,function*(){if(!(te>0))return;Te(),i(25,me=!0);const s=new URL(`${f}/v1/player/${c}/limits/session/`);let g={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:te,sessionLimitUnit:"minute"})};const k=yield fetch(s.href,g);yield de(k),pe("self_limitation_success"),yield we()}),Zn=()=>ye(this,null,function*(){if(!(te>0))return;Te(),i(25,me=!0);const s=new URL(`${f}/v1/player/${c}/limits/session/`);let g={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:w,minutes:te}]})};const k=yield fetch(s.href,g);yield de(k),pe("self_limitation_success"),yield we()}),Jn=()=>ye(this,null,function*(){if(!(te>0))return;Te(),i(25,me=!0);const s=new URL(`${f}/v2/player/${c}/limit/lugas`);let g={method:"POST",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:te,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};const k=yield fetch(s.href,g),S=yield de(k);i(20,ut=S.popup),Ii=S.regulatorDepositLimitAmount,pe("self_limitation_success"),yield we()}),Qn=()=>ye(this,null,function*(){qe={};try{if(v==="gm16")switch(C){case"lugas":yield Jn();break;case"sessionLimit":yield Yn();break;case"cumulativeSession":yield Zn();break;default:yield Ri();break}else if(v==="gmcore")yield Kn();else throw Error(`Invalid apiversion attribute: ${v}`);H==="true"&&(window.postMessage({type:"WidgetNotification",data:{type:"success",message:he}},window.location.href),window.postMessage({type:"SubmitLimitNotificationSuccess"},window.location.href))}catch(s){H==="true"&&window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("limitNotificationFail")}},window.location.href),console.error("limitUpdateError:",s)}pe("self_limitation_request")}),we=()=>ye(this,null,function*(){switch(v){case"gmcore":yield $n();break;case"gm16":yield er();break}}),$n=()=>ye(this,null,function*(){i(25,me=!0);let s=new URL(`${f}/v2/player/${c}/limits`),p={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const d=yield fetch(s.href,p);Ae=de(d),Ke&&pt(),lr(Ae),ur(Ae),i(19,te=null)}catch(d){console.error("Error LimitsWidget: ",d),i(26,ke=!0)}finally{i(25,me=!1)}}),er=()=>ye(this,null,function*(){i(25,me=!0);const s=F.some(S=>S.value==="sessionLimit"||S.value==="cumulativeLimit");let p=!s;const d=new URL(`${f}/v1/player/${c}/limits/monetary`),g=new URL(`${f}/v1/player/${c}/limits/session`),k={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const S=yield fetch(d.href,k),I=yield de(S);Ae=I,cr(I),Ke&&pt(),i(19,te=null)}catch(S){console.error("Error LimitsWidget: ",S),i(26,ke=!0)}finally{p&&i(25,me=!1),p=!0}if(s)try{const S=yield fetch(g.href,k),I=yield de(S);mr(I),pr(I),Ke&&(C==="sessionLimit"||C==="cumulativeSession")&&pt(),i(19,te=null)}catch(S){console.error("Error LimitsWidget: ",S),i(26,ke=!0)}finally{p&&i(25,me=!1),p=!0}}),tr=()=>ye(this,null,function*(){var S;let s=new URL(`${f}/v1/player/${c}/limits/monetary/balance`);const p=[],d={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const I=yield fetch(s.href,d),oe=yield de(I);p.push(oe)}catch(I){console.error("Error LimitsWidget: ",I),i(26,ke=!0)}const g=F.length?F.filter(I=>I.value==="netdeposit"):[];if(!g.length)return;const k=(S=p.find(I=>I.limitBalances))==null?void 0:S.limitBalances.filter(I=>I.limitType==="NetDeposit");if(g.length&&(k!=null&&k.length)){const I=g[0].currentLimits;g[0].currentLimits=I.map(oe=>{const ve=k.find(Ie=>Ie.limitDefinitionId===oe.id);return Me(Me({},oe),ve?{spentBalance:ve.spentBalance}:{})})}i(10,F=g)}),ir=()=>ye(this,null,function*(){const s=new URL(`/api/pam/v1/limit-balances/most-restrictive?userId=${c}&playerLimitTypes=Deposit&playerLimitTypes=NetDeposit&playerLimitTypes=OperatorDeposit&playerLimitTypes=OperatorNetDeposit`,f),p={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const d=yield fetch(s.href,p),g=yield de(d);or(g)}catch(d){console.error("Error LimitsWidget: ",d),i(26,ke=!0)}}),or=s=>{const p=s.limitBalances;i(10,F=F.map(d=>d.value==="deposit"&&d.currentLimits?At(Me({},d),{currentLimits:d.currentLimits.map(g=>At(Me({},g),{limitBalances:p}))}):d))},nr=s=>parseFloat((d=>{var S,I,oe;if(!d)return 0;const g=(S=d==null?void 0:d.limitAmount)!=null?S:0,k=(oe=(I=d==null?void 0:d.spentBalance)==null?void 0:I.amount)!=null?oe:0;return k>=g?0:g-k})(s).toString()).toFixed(2),rr=()=>F.every((s,p)=>{var d,g;return((d=s.currentLimits)==null?void 0:d.length)===((g=Q[p])==null?void 0:g.length)&&s.value==="netdeposit"&&Q[p].every(k=>k!==null)}),ar=(s,p,d)=>{const g=s>0?Math.min(p/s*100,100):0,k=Math.round(g),S=document.createElement("div");S.className=`Progress-bar-container ${k===0?"ZeroProgress":""}`;const I=document.createElement("div");I.className="Progress-bar-fill",I.style.width=`${g}%`;const oe=document.createElement("span");return oe.className="Progress-bar-label",oe.textContent=`${d}${p}`,S.appendChild(I),S.appendChild(oe),S},sr=(s,p)=>{var ve;const d=Q[s][p];if(!d)return;const g=F[s].currentLimits[p],k=g.amount,S=((ve=g.spentBalance)==null?void 0:ve.amount)||0,I=g.currency;d.innerHTML="";const oe=ar(k,S,I);d.appendChild(oe)},Jt=()=>ye(this,null,function*(){var p,d;yield la();let s=!0;for(let g=0;g<F.length;g++){for(let k=0;k<(((p=F[g].currentLimits)==null?void 0:p.length)||0);k++)if(!Q[g]||!Q[g][k]){s=!1;break}if(!s)break}if(!s){setTimeout(()=>Jt(),10);return}for(let g=0;g<F.length;g++)for(let k=0;k<(((d=F[g].currentLimits)==null?void 0:d.length)||0);k++)sr(g,k)}),lr=s=>{F.forEach(p=>{p.currentLimits=[];const d=Array.isArray(s[ne[p.value].callValue])?s[ne[p.value].callValue]:[s[ne[p.value].callValue]];d.length===0||d[0]===void 0||(d.forEach((g,k)=>{var I;const S=s[ne[p.value].callValue][k];p.currentLimits.push({}),p.currentLimits[k].limitType=p.value,p.currentLimits[k].amount=R?S.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(S.amount),p.currentLimits[k].currency=(I=Xe[S.currency])!=null?I:S.currency,p.currentLimits[k].period=S.period,p.currentLimits[k].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(S.updateAmount),p.currentLimits[k].isModified=S.isModified,p.currentLimits[k].expiryDate=`${new Date(S.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`}),p.currentLimits=mt(p.currentLimits))})},ur=s=>{const p=o("minutes");F.filter(d=>d.value==="sessionLimit"||d.value==="cumulativeSession").forEach(d=>{var g;d.currentLimits=[],(g=s[ne[d.value].callValue])==null||g.forEach((k,S)=>{const I=s[ne[d.value].callValue][S];d.currentLimits.push({limitType:d.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(I.minutes),currency:p,isModified:I.isModified,period:d.value==="cumulativeSession"?I.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(I.updateMinutes),expiryDate:`${new Date(I.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`})}),d.currentLimits=mt(d.currentLimits)})},cr=s=>{s!=null&&s.limits&&(F.filter(p=>p.value!=="sessionLimit"&&p.value!=="cumulativeSession").forEach(p=>{var d;p.currentLimits=[];for(const g of s.limits){if(g.type!==p.callValue16||!g.products.includes(p.product))continue;let k=0,S=g.schedules.length>0?g.schedules.find(I=>I.id):{};g.schedules.length>0&&(k=R?S.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(S.updateAmount)),p.currentLimits.push({limitType:p.value,amount:R?g.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.amount),currency:(d=Xe[g.currency])!=null?d:g.currency,isModified:g.schedules.length>0,period:g.period,product:g.products[0],updateAmount:k,isCoolOffCompleted:S?S.isCoolOffCompleted:!1,reviewRequired:g.reviewRequired?g.reviewRequired:!1,reviewPending:g.reviewPending?g.reviewPending:{},scheduleId:S?S.id:null,expiryDate:g.schedules.length>0?`${new Date(g.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`:"",id:g.id}),p.currentLimits.forEach(I=>{I.acknowledgedLimit=Object.keys(fe).some(oe=>I.scheduleId===oe)}),le==="true"&&i(34,Yt=!Ui(F,w))}p.currentLimits=mt(p.currentLimits)}),E==="true"&&tr(),y==="true"&&ir())},mr=s=>{s!=null&&s.sessionLimit&&F.filter(p=>p.value==="sessionLimit").forEach(p=>{p.currentLimits=[],p.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:o("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),p.currentLimits=mt(p.currentLimits)})},pr=s=>{s!=null&&s.cumulativeSessionLimits&&F.filter(p=>p.value==="cumulativeSession").forEach(p=>{p.currentLimits=[];for(const d of s.cumulativeSessionLimits)p.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.minutes),currency:o("minutes"),isModified:d.isModified,period:d.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.updateMinutes),expiryDate:d.expiryDate});p.currentLimits=mt(p.currentLimits)})},mt=s=>{const p={Daily:0,Weekly:1,Monthly:2};return s.sort((d,g)=>p[d.period]-p[g.period]),s},Fi=s=>{window.postMessage({type:"InValidLimit",data:s},window.location.href)},Gi=()=>{if(te===null||Number.isNaN(te)){i(32,Re=!0),Fi(Re);return}if(ie==="false"){const s=Math.round(te);te!==s&&i(19,te=s)}i(32,Re=te<V||te>De),Fi(Re)},dr=s=>s.preventDefault(),Wi=s=>{s&&s.preventDefault(),Gi(),Re||Qn()},Vi=()=>{i(32,Re=!1),Pe!=null&&Pe[C]?(i(14,V=Pe[C].min),i(15,De=Pe[C].max)):(i(14,V=1),i(15,De=9999999))},fr=()=>{if(Ae){const s=Ae[ne[C].callValue].find(g=>g.period===w),p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let d=o("popupImmediateUpdate").replace("{selectedLimit}",Qt(s)).replace("{updatedAmount}",p).replace("{currency}",Xe[s.currency]||s.currency).replace("{selectedPeriod}",o(`${w}`));i(16,he=s.isModified?`${o("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`:d)}i(29,Le=!0)},qi=()=>{if(!Ae)return;const s=Ae.limits;let p=null;return Object.keys(qe).length>0?p=s.find(d=>d.id===qe.id):p=s==null?void 0:s.find(d=>d.type.toLowerCase()===Ni[C].toLowerCase()&&(d.period===w||d.period==="None")&&d.products[0]===T),(p==null?void 0:p.schedules.length)>0&&fe[p==null?void 0:p.schedules[0].id]&&(p.amount=p.schedules[0].updateAmount),p},hr=()=>{let s=qi();if(!s){i(29,Le=!0);return}const p=Ji(s)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount),d=s.schedules.length>0?`${new Date(s.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`:"";let g=o("popupImmediateUpdate").replace("{selectedLimit}",Qt(s)).replace("{updatedAmount}",p).replace("{selectedPeriod}",o(`${s.period}`));s.schedules.length>0&&fe[s.schedules[0].id]?i(16,he=g):i(16,he=s.schedules.length>0?`${o("popupPendingUpdate")} ${d}`:g),i(29,Le=!0)},gr=()=>{ut==1&&i(17,lt="PopupKyc"),ut==2&&(i(16,he=`${o("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Ii)} ${l} ${o("popup2_b")}`),i(17,lt="PopupKyc2")),ut==3&&(i(16,he=o("popup3")),i(17,lt="PopupSuccess")),i(29,Le=!0)},br=()=>{i(16,he=o("sessionLimitUpdated")),i(29,Le=!0)},vr=()=>{if(Ae){const s=Ae[ne[C].callValue].find(g=>(g.period===w||w==="None")&&g.products[0]===T),p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let d=o("popupImmediateUpdate").replace("{selectedLimit}",o(`${C}`)).replace("{updatedAmount}",p).replace("{currency}",o("minutes")).replace("{selectedPeriod}",o(`${w}`));i(16,he=s.isModified?`${o("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`:d)}i(29,Le=!0)},yr=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("Limit update is not permitted due to LimitUpdateControl")},Lr=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("Limit remove is not permitted due to LimitUpdateControl")},wr=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("[NotFoundException] Limit does not exist")},_r=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("[Exception] Schedule does not exist")},kr=s=>{var p,d;return((p=s.details)==null?void 0:p.includes("Invalid Session"))||((d=s.error)==null?void 0:d.includes("Invalid Session"))},pt=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),ke){if(i(27,Kt=!0),!s){i(29,Le=!0);return}yr(s)?i(16,he=o("popupUpdateLimitException")):Lr(s)?i(16,he=o("popupRemoveLimitException")):wr(s)?i(16,he=o("notFoundException")):_r(s)?i(16,he=o("scheduleNotFoundException")):kr(s)?i(16,he=o("sessionExpiredException")):i(16,he=o("genericLimitsPopupError")),i(29,Le=!0);return}switch(v){case"gmcore":C==="sessionLimit"||C==="cumulativeSession"?vr():fr();break;case"gm16":C==="lugas"?gr():C==="sessionLimit"||C==="cumulativeSession"?br():hr();break;default:throw new Error(`Invalid apiversion attribute: ${v}`)}},Te=()=>{i(28,Ke=!0),window.postMessage({type:"DisableScroll"},window.location.href)},xr=s=>{i(12,C=s.limitType),i(13,w=s.period),Te(),i(25,me=!0);let p=new URL(`${f}/v2/player/${c}/limits/${Ni[s.limitType]}`);s.limitType!=="sessionLimit"&&p.searchParams.append("periods",s.period);let d={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,d).then(g=>de(g)).then(g=>{pe("self_limitation_cancel_success",s.amount),we()}).catch(g=>{pe("self_limitation_cancel_failed",s.amount),console.log(g),i(26,ke=!0)})},Xi=s=>{switch(Et.remove=s,v){case"gmcore":xr(s);break;case"gm16":qe=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Er(s):Ki(s);break}pe("self_limitation_cancel_request",s.amount)},Er=s=>{const p=new URL(`${f}/v1/player/${c}/limits/session/session`),d=new URL(`${f}/v1/player/${c}/limits/session/cumulativeSession?periods=${s.period}`);let g;switch(s.limitType){case"sessionLimit":g=p;break;case"cumulativeSession":g=d;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}Te(),i(25,me=!0);let k={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(g.href,k).then(S=>de(S)).then(S=>{pe("self_limitation_cancel_success",s.amount),we()}).catch(S=>{pe("self_limitation_cancel_failed",s.amount),console.log(S),i(26,ke=!0)})},Ki=s=>{if(Te(),i(25,me=!0),s&&s.reviewRequired&&!Be){i(31,ct=!0),i(29,Le=!0);return}const p=new URL(`${f}/v1/player/${c}/limits/monetary/${s.id}`);let d={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};Be&&p.searchParams.append("documentId",Be),fetch(p.href,d).then(g=>de(g)).then(g=>{pe("self_limitation_cancel_success",s.amount),we()}).catch(g=>{pe("self_limitation_cancel_failed",s.amount),console.log(g),i(26,ke=!0)}).finally(()=>{Et.remove={},i(31,ct=!1),Be=""})},Yi=s=>{const p=new URL(`${f}/v1/player/${c}/limits/schedule/${s.scheduleId}`);Te(),i(25,me=!0);let d={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,d).then(g=>de(g)).then(g=>{qe=s,pe("self_limitation_cancel_success",s.updateAmount),we()}).catch(g=>{pe("self_limitation_cancel_failed",s.updateAmount),console.log(g)})},Zi=s=>{const p=new URL(`${f}/v1/player/${c}/limits/schedule/acknowledge/${s.scheduleId}`);Te(),i(25,me=!0);let d={method:"PATCH",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,d).then(g=>de(g)).then(g=>{qe=s,Sr(s),pe("self_limitation_confirm_success",s.amount),we()}).catch(g=>{pe("self_limitation_confirm_failed",s.amount),console.log(g)})},Sr=s=>{let p=60;i(22,fe[s.scheduleId]={},fe),i(22,fe[s.scheduleId].timer=`${p} ${Ue[a].seconds}`,fe),i(22,fe[s.scheduleId].timerStopped=!1,fe);let d=window.setInterval(()=>p===0?(window.clearInterval(d),i(22,fe[s.scheduleId].timerStopped=!0,fe),i(22,fe[s.scheduleId].timer=Ue[a].reloadLimitsButton,fe)):i(22,fe[s.scheduleId].timer=`${--p} ${Ue[a].seconds}`,fe),1e3)},Qt=s=>{let p;return s?p=s.value?o(s.value+s.product):o(s.type.toLowerCase()+s.products[0]):p=o(C),p},Ji=(s,p=!1,d=!1)=>{if(!R)return d?`${s.reviewPending.requestAmount}${s.currency}`:p?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let g=R;const k=g.match(/\{(\d+)decimals\}/),S=ie==="true"?k?parseInt(k[1],10):2:0,I=k?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let oe;d?oe=s.reviewPending.requestAmount||0:oe=p?s.updateAmount:s.amount;let ve=ie==="true"?parseFloat(oe).toFixed(S):Math.round(parseFloat(oe)).toString();const[Ie,St]=R.includes(".")?[",","."]:[".",","];let[dt,ei]=ve.includes(".")?ve.split("."):[ve,""];if(dt=dt.replace(/\B(?=(\d{3})+(?!\d))/g,Ie),g=g.replace("{currency}",Xe[s.currency]||s.currency).replace("{amount}",dt).replace(I,ie==="true"&&ei?ei:""),ie==="true"||!ei){const Vr=St==="."?"\\.":St,qr=new RegExp(`${Vr}(?=[\\s\\D]|$)`,"g");g=g.replace(qr,"").trim()}return g},$t=()=>{i(29,Le=i(28,Ke=!1)),i(17,lt=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href),i(25,me=!1)},Ar=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),$t()},Pr=s=>{console.log(s);let p=0;return Object.keys(s).forEach(d=>{p+=s[d].size}),p<=Number(Z)},Tr=s=>{let p=!1;return Object.keys(s).forEach(d=>{const g=s[d].name.split(".").pop();return G.includes(g)?p=!0:p=!1}),p},Qi=s=>!s&&!(s.length>0)?i(30,je=!1):(i(21,He=s),Pr(He)?Tr(He)?i(30,je=!0):(console.error(o("fileExtenssionDeny")),i(30,je=!1)):(console.error(o("fileSizeExceeded")),i(30,je=!1))),Cr=()=>{if(!je)return;i(29,Le=!1);const s=new URL(`${f}/api/v1/mm/content/${c}/url-upload/`),p={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":u},body:JSON.stringify({})};fetch(s,p).then(d=>de(d)).then(d=>{Dr(d)}).catch(d=>{console.error(o("errorUploadDocument"),d),i(21,He=null),i(30,je=!1)})},Dr=s=>{const p=new FormData;p.append(s.requestId,He[0]),fetch(s.url,{method:"POST",body:p}).then(d=>de(d)).then(d=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("uploadSuccess")}},window.location.href),Be=d.Files[0].Reference,Et.remove.id?Ki(Et.remove):Ri()}).catch(d=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("errorUploadDocument")}},window.location.href),console.error(o("errorUploadDocument"),d)}).finally(()=>{$t(),i(21,He=null),i(30,je=!1)})},Br=()=>{if(!_)return;let s={};_.split(",").forEach(p=>{let d=p.split(":");s[d[0].trim()]=d[1].trim()}),Xe=Me(Me({},Xe),s)},Ir=()=>{ll(a)},$i=s=>{if(s.data)switch(s.data.type){case"LimitDisableState":{i(33,zi=s.data.data);break}case"SubmitLimitNotification":{Wi();break}}};sa(()=>(window.addEventListener("message",$i),E==="true"&&F.length&&Jt(),()=>{window.removeEventListener("message",$i)}));const Mr=s=>Qi(s.target.files),zr=()=>we(),Nr=s=>Xi(s),jr=s=>Zi(s),Ur=s=>Yi(s);function Or(s,p,d){Nt[s?"unshift":"push"](()=>{Q[p][d]=s,i(9,Q),i(2,E),i(10,F)})}function Hr(){Ve=io(this),i(18,Ve)}const Rr=()=>{Hi(),Oi(),Vi()};function Fr(){w=io(this),i(13,w),i(11,ne),i(12,C)}function Gr(){te=an(this.value),i(19,te)}function Wr(s){Nt[s?"unshift":"push"](()=>{ee=s,i(8,ee)})}return e.$$set=s=>{"lang"in s&&i(55,a=s.lang),"currency"in s&&i(0,l=s.currency),"limits"in s&&i(56,m=s.limits),"session"in s&&i(57,u=s.session),"userid"in s&&i(58,c=s.userid),"endpoint"in s&&i(59,f=s.endpoint),"apiversion"in s&&i(60,v=s.apiversion),"companylimits"in s&&i(1,y=s.companylimits),"customcurrencysymbols"in s&&i(61,_=s.customcurrencysymbols),"netdepositprogress"in s&&i(2,E=s.netdepositprogress),"enablecompliancetext"in s&&i(3,J=s.enablecompliancetext),"deletelimit"in s&&i(4,ae=s.deletelimit),"amountsconfig"in s&&i(62,N=s.amountsconfig),"periodsconfig"in s&&i(63,M=s.periodsconfig),"defaultperiod"in s&&i(64,U=s.defaultperiod),"limittabindex"in s&&i(5,W=s.limittabindex),"limitformat"in s&&i(65,R=s.limitformat),"allowedextenssion"in s&&i(66,G=s.allowedextenssion),"filesizeallow"in s&&i(67,Z=s.filesizeallow),"clientstyling"in s&&i(68,q=s.clientstyling),"clientstylingurl"in s&&i(69,D=s.clientstylingurl),"translationurl"in s&&i(70,O=s.translationurl),"mbsource"in s&&i(71,X=s.mbsource),"timezone"in s&&i(72,x=s.timezone),"isLimitNotification"in s&&i(6,H=s.isLimitNotification),"cooloffstrictmode"in s&&i(73,le=s.cooloffstrictmode),"inputhasdecimals"in s&&i(7,ie=s.inputhasdecimals),"$$scope"in s&&i(74,r=s.$$scope)},e.$$.update=()=>{if(e.$$.dirty[1]&1073741824&&_&&Br(),e.$$.dirty[2]&3&&M&&N&&Vn(),e.$$.dirty[1]&16777216&&a&&Ir(),e.$$.dirty[1]&1023410176&&c&&u&&f&&v&&a&&we(),e.$$.dirty[0]&256|e.$$.dirty[2]&64&&q&&ee&&xl(ee,q),e.$$.dirty[0]&256|e.$$.dirty[2]&128&&D&&ee&&El(ee,D),e.$$.dirty[0]&256|e.$$.dirty[2]&512&&X&&ee&&Sl(ee,`${X}.Style`),e.$$.dirty[2]&256&&O&&Fn(),e.$$.dirty[0]&1540&&E==="true"&&F.length){const s=F.map(d=>{var g;return new Array(((g=d.currentLimits)==null?void 0:g.length)||0).fill(null)});(Q.length!==s.length||Q.some((d,g)=>d.length!==s[g].length))&&i(9,Q=s)}e.$$.dirty[0]&1540&&E==="true"&&Q.length===F.length&&rr()&&Jt()},[l,y,E,J,ae,W,H,ie,ee,Q,F,ne,C,w,V,De,he,lt,Ve,te,ut,He,fe,Mi,Xt,me,ke,Kt,Ke,Le,je,ct,Re,zi,Yt,o,Se,qn,Oi,Hi,we,nr,Gi,dr,Wi,Vi,Xi,Yi,Zi,Qt,Ji,$t,Ar,Qi,Cr,a,m,u,c,f,v,_,N,M,U,R,G,Z,q,D,O,X,x,le,r,n,Mr,zr,Nr,jr,Ur,Or,Hr,Rr,Fr,Gr,Wr]}class Hn extends va{constructor(t){super(),ga(this,t,mu,cu,on,{lang:55,currency:0,limits:56,session:57,userid:58,endpoint:59,apiversion:60,companylimits:1,customcurrencysymbols:61,netdepositprogress:2,enablecompliancetext:3,deletelimit:4,amountsconfig:62,periodsconfig:63,defaultperiod:64,limittabindex:5,limitformat:65,allowedextenssion:66,filesizeallow:67,clientstyling:68,clientstylingurl:69,translationurl:70,mbsource:71,timezone:72,isLimitNotification:6,cooloffstrictmode:73,inputhasdecimals:7},Al,[-1,-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[55]}set lang(t){this.$$set({lang:t}),$()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),$()}get limits(){return this.$$.ctx[56]}set limits(t){this.$$set({limits:t}),$()}get session(){return this.$$.ctx[57]}set session(t){this.$$set({session:t}),$()}get userid(){return this.$$.ctx[58]}set userid(t){this.$$set({userid:t}),$()}get endpoint(){return this.$$.ctx[59]}set endpoint(t){this.$$set({endpoint:t}),$()}get apiversion(){return this.$$.ctx[60]}set apiversion(t){this.$$set({apiversion:t}),$()}get companylimits(){return this.$$.ctx[1]}set companylimits(t){this.$$set({companylimits:t}),$()}get customcurrencysymbols(){return this.$$.ctx[61]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),$()}get netdepositprogress(){return this.$$.ctx[2]}set netdepositprogress(t){this.$$set({netdepositprogress:t}),$()}get enablecompliancetext(){return this.$$.ctx[3]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),$()}get deletelimit(){return this.$$.ctx[4]}set deletelimit(t){this.$$set({deletelimit:t}),$()}get amountsconfig(){return this.$$.ctx[62]}set amountsconfig(t){this.$$set({amountsconfig:t}),$()}get periodsconfig(){return this.$$.ctx[63]}set periodsconfig(t){this.$$set({periodsconfig:t}),$()}get defaultperiod(){return this.$$.ctx[64]}set defaultperiod(t){this.$$set({defaultperiod:t}),$()}get limittabindex(){return this.$$.ctx[5]}set limittabindex(t){this.$$set({limittabindex:t}),$()}get limitformat(){return this.$$.ctx[65]}set limitformat(t){this.$$set({limitformat:t}),$()}get allowedextenssion(){return this.$$.ctx[66]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),$()}get filesizeallow(){return this.$$.ctx[67]}set filesizeallow(t){this.$$set({filesizeallow:t}),$()}get clientstyling(){return this.$$.ctx[68]}set clientstyling(t){this.$$set({clientstyling:t}),$()}get clientstylingurl(){return this.$$.ctx[69]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),$()}get translationurl(){return this.$$.ctx[70]}set translationurl(t){this.$$set({translationurl:t}),$()}get mbsource(){return this.$$.ctx[71]}set mbsource(t){this.$$set({mbsource:t}),$()}get timezone(){return this.$$.ctx[72]}set timezone(t){this.$$set({timezone:t}),$()}get isLimitNotification(){return this.$$.ctx[6]}set isLimitNotification(t){this.$$set({isLimitNotification:t}),$()}get cooloffstrictmode(){return this.$$.ctx[73]}set cooloffstrictmode(t){this.$$set({cooloffstrictmode:t}),$()}get inputhasdecimals(){return this.$$.ctx[7]}set inputhasdecimals(t){this.$$set({inputhasdecimals:t}),$()}}ba(Hn,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},companylimits:{},customcurrencysymbols:{},netdepositprogress:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},defaultperiod:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},timezone:{},isLimitNotification:{},cooloffstrictmode:{},inputhasdecimals:{}},["LimitSkeleton","LimitsList","LimitSubmitButton"],[],!0);exports.default=Hn;
52
+ c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),b(t,"version","1.1"),b(t,"id","Capa_1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 52 52"),et(t,"enable-background","new 0 0 52 52"),b(t,"xml:space","preserve")},m(z,W){P(z,t,W),h(t,i),h(i,o),h(i,n),h(t,r),h(t,a),h(t,l),h(t,m),h(t,u),h(t,c),h(t,f),h(t,v),h(t,y),h(t,_),h(t,S),h(t,Z),h(t,re),h(t,j),h(t,I)},d(z){z&&T(t)}}}function Fl(e){let t,i=e[35]("popupSuccess")+"",o;return{c(){t=w("p"),o=D(i)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("popupSuccess")+"")&&M(o,i)},d(n){n&&T(t)}}}function Gl(e){let t,i=e[35]("docsRequired")+"",o;return{c(){t=w("p"),o=D(i)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("docsRequired")+"")&&M(o,i)},d(n){n&&T(t)}}}function Wl(e){let t,i=e[35]("popupError")+"",o;return{c(){t=w("p"),o=D(i)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("popupError")+"")&&M(o,i)},d(n){n&&T(t)}}}function Vl(e){let t,i=e[35]("okButton")+"",o,n,r;return{c(){t=w("button"),o=D(i),b(t,"class","ConfirmButton "+(e[36]?"":"Mobile"))},m(a,l){P(a,t,l),h(t,o),n||(r=ce(t,"click",e[51]),n=!0)},p(a,l){l[1]&16&&i!==(i=a[35]("okButton")+"")&&M(o,i)},d(a){a&&T(t),n=!1,r()}}}function ql(e){let t,i=e[35]("uploadDocumentsButton")+"",o,n,r=e[35]("closeButton")+"",a,l,m;return{c(){t=w("button"),o=N(),n=w("button"),a=D(r),b(t,"class","ConfirmButton"),b(n,"class","CloseButton")},m(u,c){P(u,t,c),t.innerHTML=i,P(u,o,c),P(u,n,c),h(n,a),l||(m=[ce(t,"click",e[52]),ce(n,"click",e[51])],l=!0)},p(u,c){c[1]&16&&i!==(i=u[35]("uploadDocumentsButton")+"")&&(t.innerHTML=i),c[1]&16&&r!==(r=u[35]("closeButton")+"")&&M(a,r)},d(u){u&&(T(t),T(o),T(n)),l=!1,Ee(m)}}}function Xl(e){let t,i=e[35]("noFileUploaded")+"",o;return{c(){t=w("p"),o=D(i),b(t,"class","historyItem")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("noFileUploaded")+"")&&M(o,i)},d(n){n&&T(t)}}}function Kl(e){let t,i=_e(Array.from(e[21])),o=[];for(let n=0;n<i.length;n+=1)o[n]=Uo(No(e,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=Ft()},m(n,r){for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(n,r);P(n,t,r)},p(n,r){if(r[0]&2097152){i=_e(Array.from(n[21]));let a;for(a=0;a<i.length;a+=1){const l=No(n,i,a);o[a]?o[a].p(l,r):(o[a]=Uo(l),o[a].c(),o[a].m(t.parentNode,t))}for(;a<o.length;a+=1)o[a].d(1);o.length=i.length}},d(n){n&&T(t),Ge(o,n)}}}function Uo(e){let t,i=e[170].name+"",o;return{c(){t=w("p"),o=D(i),b(t,"class","historyItem")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&2097152&&i!==(i=n[170].name+"")&&M(o,i)},d(n){n&&T(t)}}}function Oo(e){let t,i=e[35]("filesUploadError")+"",o;return{c(){t=w("p"),o=D(i),b(t,"class","filesError")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("filesUploadError")+"")&&M(o,i)},d(n){n&&T(t)}}}function Yl(e){let t,i,o,n,r,a,l=e[35]("setLimit")+"",m,u,c,f,v,y,_,S=e[24]?`${e[35]("amount")}`:`${e[35](`new${e[13]}Limit`)}`,Z,re,j,I,z,W,R,G,Y,V;const C=e[75].LimitsList,U=pi(C,e,e[74],Mo),q=U||cu(e);let x=_e(e[10]),O=[];for(let L=0;L<x.length;L+=1)O[L]=Zo(Do(e,x,L));let le=e[3]==="true"&&Jo(e),te=e[23]&&Qo(e),$=e[24]&&en(e),J=e[32]&&!e[33]&&on(e);const Ne=e[75].LimitSubmitButton,Se=pi(Ne,e,e[74],To),ae=Se||mu(e);return{c(){t=w("div"),i=w("div"),q&&q.c(),o=N(),n=w("form");for(let L=0;L<O.length;L+=1)O[L].c();r=N(),a=w("p"),m=D(l),u=N(),le&&le.c(),c=N(),te&&te.c(),f=N(),$&&$.c(),v=N(),y=w("label"),_=w("span"),Z=D(S),re=N(),j=w("input"),z=N(),J&&J.c(),W=N(),ae&&ae.c(),b(a,"class","LimitTitle "+(e[36]?"":"Mobile")),b(_,"class","LimitInputText"),b(j,"type","number"),b(j,"pattern","[0-9]*"),b(j,"step",I=e[7]==="true"?"0.01":"1"),j.disabled=e[33],b(y,"class","LimitAmountInputWrapper "+(e[36]?"":"Mobile")),b(n,"class","LimitsInteractionArea "+(e[36]?"":"Mobile")),b(i,"class","LimitsPageContainer"),b(t,"class",R="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+e[5]))},m(L,E){P(L,t,E),h(t,i),q&&q.m(i,null),h(i,o),h(i,n);for(let H=0;H<O.length;H+=1)O[H]&&O[H].m(n,null);h(n,r),h(n,a),h(a,m),h(n,u),le&&le.m(n,null),h(n,c),te&&te.m(n,null),h(n,f),$&&$.m(n,null),h(n,v),h(n,y),h(y,_),h(_,Z),h(y,re),h(y,j),vt(j,e[19]),h(y,z),J&&J.m(y,null),h(n,W),ae&&ae.m(n,null),G=!0,Y||(V=[ce(j,"input",e[85]),ce(j,"input",e[42]),ce(j,"wheel",e[43]),ce(n,"submit",e[44])],Y=!0)},p(L,E){if(U?U.p&&(!G||E[2]&4096)&&fi(U,C,L,L[74],G?di(C,L[74],E,Il):hi(L[74]),Mo):q&&q.p&&(!G||E[0]&4195862|E[1]&16)&&q.p(L,G?E:[-1,-1,-1,-1,-1,-1]),E[0]&1024|E[1]&48){x=_e(L[10]);let H;for(H=0;H<x.length;H+=1){const De=Do(L,x,H);O[H]?O[H].p(De,E):(O[H]=Zo(De),O[H].c(),O[H].m(n,r))}for(;H<O.length;H+=1)O[H].d(1);O.length=x.length}(!G||E[1]&16)&&l!==(l=L[35]("setLimit")+"")&&M(m,l),L[3]==="true"?le?le.p(L,E):(le=Jo(L),le.c(),le.m(n,c)):le&&(le.d(1),le=null),L[23]?te?te.p(L,E):(te=Qo(L),te.c(),te.m(n,f)):te&&(te.d(1),te=null),L[24]?$?$.p(L,E):($=en(L),$.c(),$.m(n,v)):$&&($.d(1),$=null),(!G||E[0]&16785408|E[1]&16)&&S!==(S=L[24]?`${L[35]("amount")}`:`${L[35](`new${L[13]}Limit`)}`)&&M(Z,S),(!G||E[0]&128&&I!==(I=L[7]==="true"?"0.01":"1"))&&b(j,"step",I),(!G||E[1]&4)&&(j.disabled=L[33]),E[0]&524288&&ln(j.value)!==L[19]&&vt(j,L[19]),L[32]&&!L[33]?J?J.p(L,E):(J=on(L),J.c(),J.m(y,null)):J&&(J.d(1),J=null),Se?Se.p&&(!G||E[2]&4096)&&fi(Se,Ne,L,L[74],G?di(Ne,L[74],E,Bl):hi(L[74]),To):ae&&ae.p&&(!G||E[1]&26)&&ae.p(L,G?E:[-1,-1,-1,-1,-1,-1]),(!G||E[0]&32&&R!==(R="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+L[5])))&&b(t,"class",R)},i(L){G||(it(q,L),it(ae,L),G=!0)},o(L){wt(q,L),wt(ae,L),G=!1},d(L){L&&T(t),q&&q.d(L),Ge(O,L),le&&le.d(),te&&te.d(),$&&$.d(),J&&J.d(),ae&&ae.d(L),Y=!1,Ee(V)}}}function Zl(e){let t;return{c(){t=w("p"),t.textContent="500 Server error"},m(i,o){P(i,t,o)},p:be,i:be,o:be,d(i){i&&T(t)}}}function Jl(e){let t;const i=e[75].LimitSkeleton,o=pi(i,e,e[74],jo),n=o||du(e);return{c(){n&&n.c()},m(r,a){n&&n.m(r,a),t=!0},p(r,a){o&&o.p&&(!t||a[2]&4096)&&fi(o,i,r,r[74],t?di(i,r[74],a,jl):hi(r[74]),jo)},i(r){t||(it(n,r),t=!0)},o(r){wt(n,r),t=!1},d(r){n&&n.d(r)}}}function Ho(e){let t,i=e[35]("activeLimitsInfoText")+"",o;return{c(){t=w("p"),o=D(i),b(t,"class","LimitsInfoText "+(e[36]?"":"Mobile"))},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("activeLimitsInfoText")+"")&&M(o,i)},d(n){n&&T(t)}}}function Ql(e){let t,i,o,n=e[35]("noLimitText")+"",r;return{c(){t=w("div"),i=w("div"),o=w("div"),r=D(n),b(o,"class","LimitDetailsTextWrapper "+(e[36]?"":"Mobile")),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(a,l){P(a,t,l),h(t,i),h(i,o),h(o,r)},p(a,l){l[1]&16&&n!==(n=a[35]("noLimitText")+"")&&M(r,n)},d(a){a&&T(t)}}}function $l(e){let t,i,o,n=e[35]("lugasPrivacy")+"",r;return{c(){t=w("div"),i=w("div"),o=w("div"),r=D(n),b(o,"class","LimitDetailsTextWrapper "+(e[36]?"":"Mobile")),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(a,l){P(a,t,l),h(t,i),h(i,o),h(o,r)},p(a,l){l[1]&16&&n!==(n=a[35]("lugasPrivacy")+"")&&M(r,n)},d(a){a&&T(t)}}}function eu(e){let t,i=_e(e[161].currentLimits),o=[];for(let n=0;n<i.length;n+=1)o[n]=Xo(Io(e,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=Ft()},m(n,r){for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(n,r);P(n,t,r)},p(n,r){if(r[0]&4195862|r[1]&755248){i=_e(n[161].currentLimits);let a;for(a=0;a<i.length;a+=1){const l=Io(n,i,a);o[a]?o[a].p(l,r):(o[a]=Xo(l),o[a].c(),o[a].m(t.parentNode,t))}for(;a<o.length;a+=1)o[a].d(1);o.length=i.length}},d(n){n&&T(t),Ge(o,n)}}}function tu(e){let t,i,o,n=e[35]("lugasPrivacy")+"",r;return{c(){t=w("div"),i=w("div"),o=w("div"),r=D(n),b(o,"class","LimitDetailsTextWrapper "+(e[36]?"":"Mobile")),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(a,l){P(a,t,l),h(t,i),h(i,o),h(o,r)},p(a,l){l[1]&16&&n!==(n=a[35]("lugasPrivacy")+"")&&M(r,n)},d(a){a&&T(t)}}}function iu(e){let t,i=`${e[50](e[167])}`,o;return{c(){t=w("span"),o=D(i)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&1024&&i!==(i=`${n[50](n[167])}`)&&M(o,i)},d(n){n&&T(t)}}}function ou(e){let t,i=`${e[50](e[167],!0)}`,o;return{c(){t=w("span"),o=D(i)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&1024&&i!==(i=`${n[50](n[167],!0)}`)&&M(o,i)},d(n){n&&T(t)}}}function Ro(e){let t,i,o=`${e[50](e[167],!1,!0)}`,n,r,a=`${e[167].period!=="None"||e[167].value!=="cumulativeSession"?" ":e[35]("per")} ${e[35](`${e[167].period}`)} ${e[35]("updateAfterDocApproval")}`,l;return{c(){t=w("div"),i=w("span"),n=D(o),r=N(),l=D(a),b(t,"class","PendingLimit")},m(m,u){P(m,t,u),h(t,i),h(i,n),h(t,r),h(t,l)},p(m,u){u[0]&1024&&o!==(o=`${m[50](m[167],!1,!0)}`)&&M(n,o),u[0]&1024|u[1]&16&&a!==(a=`${m[167].period!=="None"||m[167].value!=="cumulativeSession"?" ":m[35]("per")} ${m[35](`${m[167].period}`)} ${m[35]("updateAfterDocApproval")}`)&&M(l,a)},d(m){m&&T(t)}}}function Fo(e){let t,i=e[35]("companyLimitsInfoText")+"",o,n,r,a=e[167].currency+"",l,m=e[41](e[167].limitBalances[0])+"",u;return{c(){t=w("div"),o=D(i),n=N(),r=w("span"),l=D(a),u=D(m),b(t,"class","CompanyLimitsInfoText")},m(c,f){P(c,t,f),h(t,o),h(t,n),h(t,r),h(r,l),h(r,u)},p(c,f){f[1]&16&&i!==(i=c[35]("companyLimitsInfoText")+"")&&M(o,i),f[0]&1024&&a!==(a=c[167].currency+"")&&M(l,a),f[0]&1024&&m!==(m=c[41](c[167].limitBalances[0])+"")&&M(u,m)},d(c){c&&T(t)}}}function nu(e){let t,i,o=`${e[50](e[167],!0)}`,n,r;function a(u,c){return u[167].isCoolOffCompleted?uu:lu}let l=a(e),m=l(e);return{c(){t=w("div"),i=w("span"),n=D(o),r=N(),m.c(),b(t,"class","PendingLimit")},m(u,c){P(u,t,c),h(t,i),h(i,n),h(t,r),m.m(t,null)},p(u,c){c[0]&1024&&o!==(o=`${u[50](u[167],!0)}`)&&M(n,o),l===(l=a(u))&&m?m.p(u,c):(m.d(1),m=l(u),m&&(m.c(),m.m(t,null)))},d(u){u&&T(t),m.d()}}}function ru(e){let t,i=`${e[35]("removedLimitText")} ${e[167].expiryDate}`,o;return{c(){t=w("div"),o=D(i),b(t,"class","PendingLimit")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&1024|r[1]&16&&i!==(i=`${n[35]("removedLimitText")} ${n[167].expiryDate}`)&&M(o,i)},d(n){n&&T(t)}}}function au(e){let t,i=`${e[35]("removeAfterConfirm")}`,o;return{c(){t=w("div"),o=D(i),b(t,"class","PendingLimit")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=`${n[35]("removeAfterConfirm")}`)&&M(o,i)},d(n){n&&T(t)}}}function su(e){let t,i=`${e[35]("acknowledgedLimit")}`,o;return{c(){t=w("div"),o=D(i),b(t,"class","PendingLimit")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=`${n[35]("acknowledgedLimit")}`)&&M(o,i)},d(n){n&&T(t)}}}function lu(e){let t=`${e[167].period!=="None"||e[167].value!=="cumulativeSession"?" ":e[35]("per")} ${e[35](`${e[167].period}`)} ${e[35]("updateText")} ${e[167].expiryDate}`,i;return{c(){i=D(t)},m(o,n){P(o,i,n)},p(o,n){n[0]&1024|n[1]&16&&t!==(t=`${o[167].period!=="None"||o[167].value!=="cumulativeSession"?" ":o[35]("per")} ${o[35](`${o[167].period}`)} ${o[35]("updateText")} ${o[167].expiryDate}`)&&M(i,t)},d(o){o&&T(i)}}}function uu(e){let t=`${e[167].period!=="None"||e[167].value!=="cumulativeSession"?" ":e[35]("per")} ${e[35](`${e[167].period}`)} ${e[35]("updateAfterConfirm")}`,i;return{c(){i=D(t)},m(o,n){P(o,i,n)},p(o,n){n[0]&1024|n[1]&16&&t!==(t=`${o[167].period!=="None"||o[167].value!=="cumulativeSession"?" ":o[35]("per")} ${o[35](`${o[167].period}`)} ${o[35]("updateAfterConfirm")}`)&&M(i,t)},d(o){o&&T(i)}}}function Go(e){let t,i,o=e[22][e[167].scheduleId].timer+"",n,r,a,l;return{c(){t=w("div"),i=w("button"),n=D(o),b(i,"class",r="ReloadLimitButton "+(e[36]?"":"Mobile")+" "+(e[22][e[167].scheduleId].timerStopped?"":"disabled")),b(t,"class","ContainerLimitActions "+(e[36]?"":"Mobile"))},m(m,u){P(m,t,u),h(t,i),h(i,n),a||(l=ce(i,"click",e[77]),a=!0)},p(m,u){u[0]&4195328&&o!==(o=m[22][m[167].scheduleId].timer+"")&&M(n,o),u[0]&4195328&&r!==(r="ReloadLimitButton "+(m[36]?"":"Mobile")+" "+(m[22][m[167].scheduleId].timerStopped?"":"disabled"))&&b(i,"class",r)},d(m){m&&T(t),a=!1,l()}}}function Wo(e){let t,i,o=e[35]("removeLimit")+"",n,r,a;function l(){return e[78](e[167])}return{c(){t=w("div"),i=w("button"),n=D(o),b(i,"class","RemoveLimitButton "+(e[36]?"":"Mobile")),b(t,"class","ContainerLimitActions "+(e[36]?"":"Mobile"))},m(m,u){P(m,t,u),h(t,i),h(i,n),r||(a=ce(i,"click",l),r=!0)},p(m,u){e=m,u[1]&16&&o!==(o=e[35]("removeLimit")+"")&&M(n,o)},d(m){m&&T(t),r=!1,a()}}}function Vo(e){let t,i,o=e[35]("confirmUpdateLimit")+"",n,r,a,l=e[35]("cancelUpdateLimit")+"",m,u,c;function f(){return e[79](e[167])}function v(){return e[80](e[167])}return{c(){t=w("div"),i=w("button"),n=D(o),r=N(),a=w("button"),m=D(l),b(i,"class","ConfirmLimitButton "+(e[36]?"":"Mobile")),b(a,"class","CancelLimitButton "+(e[36]?"":"Mobile")),b(t,"class","ContainerLimitActions "+(e[36]?"":"Mobile"))},m(y,_){P(y,t,_),h(t,i),h(i,n),h(t,r),h(t,a),h(a,m),u||(c=[ce(i,"click",f),ce(a,"click",v)],u=!0)},p(y,_){e=y,_[1]&16&&o!==(o=e[35]("confirmUpdateLimit")+"")&&M(n,o),_[1]&16&&l!==(l=e[35]("cancelUpdateLimit")+"")&&M(m,l)},d(y){y&&T(t),u=!1,Ee(c)}}}function qo(e){let t,i=e[163],o=e[169];const n=()=>e[81](t,i,o),r=()=>e[81](null,i,o);return{c(){t=w("div"),t.innerHTML="",b(t,"class","ProgressBarContainer")},m(a,l){P(a,t,l),n()},p(a,l){e=a,(i!==e[163]||o!==e[169])&&(r(),i=e[163],o=e[169],n())},d(a){a&&T(t),r()}}}function Xo(e){let t,i,o,n,r,a=`${e[167].period!=="None"||e[167].value!=="cumulativeSession"?" ":e[35]("per")} ${e[35](`${e[167].period}`)}`,l,m,u,c,f,v,y=!e[167].isModified&&e[4].indexOf(e[161].value)>-1&&!e[167].reviewPending.id,_,S,Z;function re(x,O){return x[167].acknowledgedLimit?ou:iu}let j=re(e),I=j(e),z=e[167].reviewPending&&e[167].reviewPending.id&&Ro(e),W=e[1]==="true"&&e[167].limitType==="deposit"&&e[167].limitBalances&&e[167].limitBalances.length>0&&Fo(e);function R(x,O){if(x[167].acknowledgedLimit)return su;if(x[167].isModified&&x[167].updateAmount==0&&x[167].isCoolOffCompleted)return au;if(x[167].isModified&&x[167].updateAmount==0&&!x[167].isCoolOffCompleted)return ru;if(x[167].isModified)return nu}let G=R(e),Y=G&&G(e),V=e[167].acknowledgedLimit&&!e[167].reviewPending.id&&Go(e),C=y&&Wo(e),U=e[167].isCoolOffCompleted&!e[167].acknowledgedLimit&&!e[167].reviewPending.id&&Vo(e),q=e[2]==="true"&&e[9][e[163]]&&e[167].limitType==="netdeposit"&&qo(e);return{c(){t=w("div"),i=w("div"),o=w("div"),n=w("div"),I.c(),r=N(),l=D(a),m=N(),z&&z.c(),u=N(),W&&W.c(),c=N(),Y&&Y.c(),f=N(),V&&V.c(),v=N(),C&&C.c(),_=N(),U&&U.c(),S=N(),q&&q.c(),Z=N(),b(n,"class","CurrentLimit"),b(o,"class","CurrentLimitContainer"),b(i,"class","LimitDetailsTextWrapper "+(e[36]?"":"Mobile")),b(t,"class","LimitDetails")},m(x,O){P(x,t,O),h(t,i),h(i,o),h(o,n),I.m(n,null),h(n,r),h(n,l),h(o,m),z&&z.m(o,null),h(o,u),W&&W.m(o,null),h(o,c),Y&&Y.m(o,null),h(i,f),V&&V.m(i,null),h(i,v),C&&C.m(i,null),h(i,_),U&&U.m(i,null),h(i,S),q&&q.m(i,null),h(t,Z)},p(x,O){j===(j=re(x))&&I?I.p(x,O):(I.d(1),I=j(x),I&&(I.c(),I.m(n,r))),O[0]&1024|O[1]&16&&a!==(a=`${x[167].period!=="None"||x[167].value!=="cumulativeSession"?" ":x[35]("per")} ${x[35](`${x[167].period}`)}`)&&M(l,a),x[167].reviewPending&&x[167].reviewPending.id?z?z.p(x,O):(z=Ro(x),z.c(),z.m(o,u)):z&&(z.d(1),z=null),x[1]==="true"&&x[167].limitType==="deposit"&&x[167].limitBalances&&x[167].limitBalances.length>0?W?W.p(x,O):(W=Fo(x),W.c(),W.m(o,c)):W&&(W.d(1),W=null),G===(G=R(x))&&Y?Y.p(x,O):(Y&&Y.d(1),Y=G&&G(x),Y&&(Y.c(),Y.m(o,null))),x[167].acknowledgedLimit&&!x[167].reviewPending.id?V?V.p(x,O):(V=Go(x),V.c(),V.m(i,v)):V&&(V.d(1),V=null),O[0]&1040&&(y=!x[167].isModified&&x[4].indexOf(x[161].value)>-1&&!x[167].reviewPending.id),y?C?C.p(x,O):(C=Wo(x),C.c(),C.m(i,_)):C&&(C.d(1),C=null),x[167].isCoolOffCompleted&!x[167].acknowledgedLimit&&!x[167].reviewPending.id?U?U.p(x,O):(U=Vo(x),U.c(),U.m(i,S)):U&&(U.d(1),U=null),x[2]==="true"&&x[9][x[163]]&&x[167].limitType==="netdeposit"?q?q.p(x,O):(q=qo(x),q.c(),q.m(i,null)):q&&(q.d(1),q=null)},d(x){x&&T(t),I.d(),z&&z.d(),W&&W.d(),Y&&Y.d(),V&&V.d(),C&&C.d(),U&&U.d(),q&&q.d()}}}function Ko(e){let t,i=e[49](e[161])+"",o,n,r=e[161].value==="netdeposit"&&e[35]("activeLimitsInfoText")!=="activeLimitsInfoText"&&e[35]("activeLimitsInfoText").trim().length,a,l,m,u,c=r&&Ho(e);function f(_,S){var Z;return _[161].value==="lugas"?tu:((Z=_[161].currentLimits)==null?void 0:Z.length)>0?eu:_[161].value==="lugas"?$l:Ql}let v=f(e),y=v(e);return{c(){t=w("p"),o=D(i),n=N(),c&&c.c(),a=N(),l=w("div"),y.c(),m=N(),b(t,"class","LimitTitle "+(e[36]?"":"Mobile")),b(l,"class",u="LimitWrapper "+e[161].value+" "+(e[2]==="true"&&e[161].value==="netdeposit"?"ActiveProgressBar":"")+" "+(e[36]?"":"Mobile"))},m(_,S){P(_,t,S),h(t,o),P(_,n,S),c&&c.m(_,S),P(_,a,S),P(_,l,S),y.m(l,null),h(l,m)},p(_,S){S[0]&1024&&i!==(i=_[49](_[161])+"")&&M(o,i),S[0]&1024|S[1]&16&&(r=_[161].value==="netdeposit"&&_[35]("activeLimitsInfoText")!=="activeLimitsInfoText"&&_[35]("activeLimitsInfoText").trim().length),r?c?c.p(_,S):(c=Ho(_),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null),v===(v=f(_))&&y?y.p(_,S):(y.d(1),y=v(_),y&&(y.c(),y.m(l,m))),S[0]&1028&&u!==(u="LimitWrapper "+_[161].value+" "+(_[2]==="true"&&_[161].value==="netdeposit"?"ActiveProgressBar":"")+" "+(_[36]?"":"Mobile"))&&b(l,"class",u)},d(_){_&&(T(t),T(n),T(a),T(l)),c&&c.d(_),y.d()}}}function cu(e){let t,i=_e(e[10]),o=[];for(let n=0;n<i.length;n+=1)o[n]=Ko(Bo(e,i,n));return{c(){t=w("div");for(let n=0;n<o.length;n+=1)o[n].c();b(t,"class","LimitsList")},m(n,r){P(n,t,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(t,null)},p(n,r){if(r[0]&4195862|r[1]&1017392){i=_e(n[10]);let a;for(a=0;a<i.length;a+=1){const l=Bo(n,i,a);o[a]?o[a].p(l,r):(o[a]=Ko(l),o[a].c(),o[a].m(t,null))}for(;a<o.length;a+=1)o[a].d(1);o.length=i.length}},d(n){n&&T(t),Ge(o,n)}}}function Yo(e){let t,i=e[35]("newLimitInfoText")+"",o;return{c(){t=w("p"),o=D(i),b(t,"class","LimitsInfoText "+(e[36]?"":"Mobile"))},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[1]&16&&i!==(i=n[35]("newLimitInfoText")+"")&&M(o,i)},d(n){n&&T(t)}}}function Zo(e){let t=e[161].value==="netdeposit"&&e[35]("newLimitInfoText")!=="newLimitInfoText"&&e[35]("newLimitInfoText").trim().length,i,o=t&&Yo(e);return{c(){o&&o.c(),i=Ft()},m(n,r){o&&o.m(n,r),P(n,i,r)},p(n,r){r[0]&1024|r[1]&16&&(t=n[161].value==="netdeposit"&&n[35]("newLimitInfoText")!=="newLimitInfoText"&&n[35]("newLimitInfoText").trim().length),t?o?o.p(n,r):(o=Yo(n),o.c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(n){n&&T(i),o&&o.d(n)}}}function Jo(e){let t,i,o=e[35]("complianceText")+"",n;return{c(){t=w("div"),i=w("p"),n=D(o),b(i,"class","LimitComplianceText"),b(t,"class","LimitCompliance")},m(r,a){P(r,t,a),h(t,i),h(i,n)},p(r,a){a[1]&16&&o!==(o=r[35]("complianceText")+"")&&M(n,o)},d(r){r&&T(t)}}}function Qo(e){let t,i,o=e[35]("limitType")+"",n,r,a,l,m,u=_e(e[10]),c=[];for(let f=0;f<u.length;f+=1)c[f]=$o(Co(e,u,f));return{c(){t=w("label"),i=w("span"),n=D(o),r=N(),a=w("select");for(let f=0;f<c.length;f+=1)c[f].c();b(i,"class","LimitSelectText"),b(a,"name",""),b(a,"id",""),e[18]===void 0&&Lt(()=>e[82].call(a)),b(t,"class","LimitTypeDropdownWrapper "+(e[36]?"":"Mobile"))},m(f,v){P(f,t,v),h(t,i),h(i,n),h(t,r),h(t,a);for(let y=0;y<c.length;y+=1)c[y]&&c[y].m(a,null);zt(a,e[18],!0),l||(m=[ce(a,"change",e[82]),ce(a,"change",e[83])],l=!0)},p(f,v){if(v[1]&16&&o!==(o=f[35]("limitType")+"")&&M(n,o),v[0]&1024|v[1]&262144){u=_e(f[10]);let y;for(y=0;y<u.length;y+=1){const _=Co(f,u,y);c[y]?c[y].p(_,v):(c[y]=$o(_),c[y].c(),c[y].m(a,null))}for(;y<c.length;y+=1)c[y].d(1);c.length=u.length}v[0]&262144&&zt(a,f[18])},d(f){f&&T(t),Ge(c,f),l=!1,Ee(m)}}}function $o(e){let t,i=e[49](e[161])+"",o;return{c(){t=w("option"),o=D(i),t.__value=e[163],vt(t,t.__value)},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&1024&&i!==(i=n[49](n[161])+"")&&M(o,i)},d(n){n&&T(t)}}}function en(e){let t,i,o=e[35]("period")+"",n,r,a,l,m,u=_e(e[11][e[12]].periods),c=[];for(let f=0;f<u.length;f+=1)c[f]=tn(Po(e,u,f));return{c(){t=w("label"),i=w("span"),n=D(o),r=N(),a=w("select");for(let f=0;f<c.length;f+=1)c[f].c();b(i,"class","PeriodSelectText"),b(a,"name",""),b(a,"id",""),a.disabled=e[33],e[13]===void 0&&Lt(()=>e[84].call(a)),b(t,"class","LimitPeriodDropdownWrapper "+(e[36]?"":"Mobile"))},m(f,v){P(f,t,v),h(t,i),h(i,n),h(t,r),h(t,a);for(let y=0;y<c.length;y+=1)c[y]&&c[y].m(a,null);zt(a,e[13],!0),l||(m=[ce(a,"change",e[84]),ce(a,"change",e[37])],l=!0)},p(f,v){if(v[1]&16&&o!==(o=f[35]("period")+"")&&M(n,o),v[0]&6144|v[1]&16){u=_e(f[11][f[12]].periods);let y;for(y=0;y<u.length;y+=1){const _=Po(f,u,y);c[y]?c[y].p(_,v):(c[y]=tn(_),c[y].c(),c[y].m(a,null))}for(;y<c.length;y+=1)c[y].d(1);c.length=u.length}v[1]&4&&(a.disabled=f[33]),v[0]&14336&&zt(a,f[13])},d(f){f&&T(t),Ge(c,f),l=!1,Ee(m)}}}function tn(e){let t,i=e[35](e[158])+"",o,n;return{c(){t=w("option"),o=D(i),t.__value=n=e[158],vt(t,t.__value),t.selected=!0},m(r,a){P(r,t,a),h(t,o)},p(r,a){a[0]&6144|a[1]&16&&i!==(i=r[35](r[158])+"")&&M(o,i),a[0]&6144&&n!==(n=r[158])&&(t.__value=n,vt(t,t.__value))},d(r){r&&T(t)}}}function on(e){let t,i=e[19]===null?`${e[35]("invalidInputMessage")}`:e[19]<e[14]?`${e[35]("invalidInputMessageLimitMin",{values:{minValue:e[14],maxValue:e[15],currency:e[0]}})}`:`${e[35]("invalidInputMessageLimitMax",{values:{minValue:e[14],maxValue:e[15],currency:e[0]}})}`,o;return{c(){t=w("p"),o=D(i),b(t,"class","InvalidInput")},m(n,r){P(n,t,r),h(t,o)},p(n,r){r[0]&573441|r[1]&16&&i!==(i=n[19]===null?`${n[35]("invalidInputMessage")}`:n[19]<n[14]?`${n[35]("invalidInputMessageLimitMin",{values:{minValue:n[14],maxValue:n[15],currency:n[0]}})}`:`${n[35]("invalidInputMessageLimitMax",{values:{minValue:n[14],maxValue:n[15],currency:n[0]}})}`)&&M(o,i)},d(n){n&&T(t)}}}function mu(e){let t,i=e[35]("setLimit")+"",o,n;return{c(){t=w("button"),o=D(i),b(t,"class","LimitSubmitButton "+(e[36]?"":"Mobile")),b(t,"type","submit"),t.disabled=n=e[32]||e[34]},m(r,a){P(r,t,a),h(t,o)},p(r,a){a[1]&16&&i!==(i=r[35]("setLimit")+"")&&M(o,i),a[1]&10&&n!==(n=r[32]||r[34])&&(t.disabled=n)},d(r){r&&T(t)}}}function pu(e){let t;return{c(){t=w("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',b(t,"class","skeletonLimitContent")},m(i,o){P(i,t,o)},p:be,d(i){i&&T(t)}}}function du(e){let t,i,o,n,r,a,l=_e(Array(3)),m=[];for(let u=0;u<l.length;u+=1)m[u]=pu(Ml(e,l,u));return{c(){t=w("div"),i=w("div"),i.innerHTML='<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>',o=N(),n=w("div");for(let u=0;u<m.length;u+=1)m[u].c();r=N(),a=w("div"),a.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',b(i,"class","skeletonLimitText"),b(n,"class","skeletonLimitWrapper"),b(a,"class","skeletonInputWrapper"),b(t,"class","skeletonLimitContainer")},m(u,c){P(u,t,c),h(t,i),h(t,o),h(t,n);for(let f=0;f<m.length;f+=1)m[f]&&m[f].m(n,null);h(t,r),h(t,a)},p:be,d(u){u&&T(t),Ge(m,u)}}}function fu(e){let t,i,o,n,r,a=e[28]&&e[6]==="false"&&zo(e);const l=[Jl,Zl,Yl],m=[];function u(c,f){return c[25]?0:c[26]?1:c[25]?-1:2}return~(o=u(e))&&(n=m[o]=l[o](e)),{c(){t=w("div"),a&&a.c(),i=N(),n&&n.c()},m(c,f){P(c,t,f),a&&a.m(t,null),h(t,i),~o&&m[o].m(t,null),e[86](t),r=!0},p(c,f){c[28]&&c[6]==="false"?a?a.p(c,f):(a=zo(c),a.c(),a.m(t,i)):a&&(a.d(1),a=null);let v=o;o=u(c),o===v?~o&&m[o].p(c,f):(n&&(da(),wt(m[v],1,1,()=>{m[v]=null}),fa()),~o?(n=m[o],n?n.p(c,f):(n=m[o]=l[o](c),n.c()),it(n,1),n.m(t,null)):n=null)},i(c){r||(it(n),r=!0)},o(c){wt(n),r=!1},d(c){c&&T(t),a&&a.d(),~o&&m[o].d(),e[86](null)}}}function hu(e,t,i){let o;ia(e,ul,s=>i(35,o=s));let{$$slots:n={},$$scope:r}=t,{lang:a="en"}=t,{currency:l=""}=t,{limits:m=""}=t,{session:u=""}=t,{userid:c=""}=t,{endpoint:f=""}=t,{apiversion:v=""}=t,{companylimits:y="false"}=t,{customcurrencysymbols:_=""}=t,{netdepositprogress:S="false"}=t,{enablecompliancetext:Z=""}=t,{deletelimit:re=""}=t,{amountsconfig:j=""}=t,{periodsconfig:I=""}=t,{defaultperiod:z=""}=t,{limittabindex:W=""}=t,{limitformat:R=""}=t,{allowedextenssion:G=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:Y="12934000"}=t,{clientstyling:V=""}=t,{clientstylingurl:C=""}=t,{translationurl:U=""}=t,{mbsource:q}=t,{timezone:x="GMT"}=t,{isLimitNotification:O="false"}=t,{cooloffstrictmode:le="false"}=t,{inputhasdecimals:te}=t,$,J=[],Ne,Se=window.navigator.userAgent,ae=!El(Se),L="",E="",H="",De="",Ve="",St="",Be="",he="",ct="",qe=0,ji,ee,mt,F=[],Ae={},Te={},Xe={},Gn={},He,Ke={EUR:"€",RON:" lei",USD:"$"},At={remove:{}},fe={},Ni=!1,Yt=!1,me=!0,ke=!1,Zt=!1,Ye=!1,Le=!1,ze=!1,pt=!1,Re=!1,zi=!1,Jt=!1;const Ui={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},Oi={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},Wn=()=>{fetch(U).then(p=>p.json()).then(p=>{Object.keys(p).forEach(d=>{Lo(d,p[d])})}).catch(p=>{console.log(p)})};Object.keys(Ue).forEach(s=>{Lo(s,Ue[s])});const Qt=s=>`dataLayer-${s}`,pe=(s,p)=>{typeof gtag=="function"&&gtag({event:s,limit_category:Ue[a][Qt(H.toLowerCase())]||H,limit_type:Ue[a][Qt(L.toLowerCase())]||L,limit_period:Ue[a][Qt(E.toLowerCase())]||E,limit_amount:ee||p})},Vn=()=>{var g;const s=j.split(",").map(k=>k.split(":")),p=I.split(",").map(k=>k.split(":"));for(let[k,A]of s.entries())if(A[0]!==p[k][0])throw new Error(`Limit config mismatch: "${A[0]}" does not match "${p[k][0]}"`);const d=s.reduce((k,A,B)=>{const ie=A[0].slice(A[0].indexOf("(")+1,A[0].indexOf(")")),ve=A[0].slice(0,A[0].indexOf("(")),Ie=A[1],Tt=p[B][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),ht={value:ie,product:ve,minMax:Ie,periods:Tt,callValue:oe[ie].callValue,callValue16:oe[ie].callValue16,title:oe[ie].title};return k.push(ht),k},[]);for(let k=0;k<d.length;k++)i(10,F[k].product=d[k].product,F),i(10,F[k].min=parseInt(d[k].minMax.split("-")[0],10),F),i(10,F[k].max=parseInt(d[k].minMax.split("-")[1],10),F),i(11,oe[d[k].value].periods=d[k].periods,oe);St=(g=F[0])==null?void 0:g.value,F.forEach(k=>{Te[k.value]={min:k.min,max:k.max},Gn[k.value]=k.product}),Te&&(Te[St]?(i(14,De=Te[St].min),i(15,Ve=Te[St].max)):(i(14,De=1),i(15,Ve=9999999)))},qn=()=>{const s=/\(([^)]+)\)/g;return[...j.matchAll(s)].flat().filter(d=>!d.includes("("))},Xn=()=>{qn().forEach(d=>{oe[d]?F.push(Me({},oe[d])):console.error(`Unknown limit: ${d}`)}),Vn(),i(12,L=F[0].value);const p=oe[L].periods;i(13,E=z&&p.find(d=>d===z)||p[0]),H=F[0].product,i(23,Ni=F.length>1),i(24,Yt=oe[L].periods.length>1)},Hi=(s,p)=>{var g,k,A;const d=(k=(g=s==null?void 0:s[0])==null?void 0:g.currentLimits)==null?void 0:k.find(B=>B.period===p);return(A=d==null?void 0:d.isCoolOffCompleted)!=null?A:!0},Kn=()=>{le==="true"&&i(34,Jt=!Hi(F,E))},Ri=()=>{i(12,L=F[qe].value),i(13,E=oe[L].periods[0]),i(24,Yt=oe[L].periods.length>1)},Fi=()=>{H=F[qe].product},de=s=>{if(s.status>=300)Yn(s);else return i(27,Zt=!1),s.status!==204?s.json():s},Yn=s=>{i(26,ke=!0);let p;throw s.json().then(d=>{for(const g in Oi)if(d.error&&Oi[g].some(k=>d.error.includes(k))){p=g;break}console.error("errType",p),!p&&ft(d)}).finally(()=>{p&&ft(p),i(26,ke=!1),i(25,me=!1)}),new Error("An error occured during the fetch request")},Zn=()=>ye(this,null,function*(){if(!(ee>0))return;Pe(),i(25,me=!0);let s=new URL(`${f}/v2/player/${c}/limits`),p={};L==="sessionLimit"?p={sessionLimit:ee,sessionLimitUnit:"minute"}:L==="cumulativeSession"?p[oe[L].callValue]=[{period:E,minutes:ee}]:p[oe[L].callValue]=[{period:oe[L].periods[0]==="None"?null:E,amount:ee,currency:l}];let d={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(p)};const g=yield fetch(s.href,d);yield de(g),pe("self_limitation_success"),yield we()}),Gi=()=>ye(this,null,function*(){var ve;const s=F[qe],p=(ve=s==null?void 0:s.currentLimits)==null?void 0:ve.find(Ie=>Ie.period===E),d=Ki();if(d&&d.reviewPending&&d.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("limitInDocReview")}},window.location.href);if(Pe(),i(25,me=!0),d&&d.reviewRequired&&!Be&&ee>d.amount){i(31,pt=!0),i(29,Le=!0);return}const g=p?"v2":"v1",k=new URL(`${f}/${g}/player/${c}/limits/monetary/${p?p.id:""}`),A=p?"PUT":"POST",B=p?Be?{amount:ee,skipCoolOff:!1,payload:{DocumentId:Be}}:{amount:ee,skipCoolOff:!1}:{amount:ee,currency:l,period:oe[L].periods[0]==="None"?null:E,type:oe[L].callValue16,products:[H!=null?H:"All"],walletTypes:["Deposit","NetDeposit"].includes(oe[L].callValue16)?["All"]:["RealCash"]};let ie={method:A,headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(B)};try{const Ie=yield fetch(k.href,ie);yield de(Ie),pe("self_limitation_success"),yield we()}finally{i(31,pt=!1),Be=""}}),Jn=()=>ye(this,null,function*(){if(!(ee>0))return;Pe(),i(25,me=!0);const s=new URL(`${f}/v1/player/${c}/limits/session/`);let g={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:ee,sessionLimitUnit:"minute"})};const k=yield fetch(s.href,g);yield de(k),pe("self_limitation_success"),yield we()}),Qn=()=>ye(this,null,function*(){if(!(ee>0))return;Pe(),i(25,me=!0);const s=new URL(`${f}/v1/player/${c}/limits/session/`);let g={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:E,minutes:ee}]})};const k=yield fetch(s.href,g);yield de(k),pe("self_limitation_success"),yield we()}),$n=()=>ye(this,null,function*(){if(!(ee>0))return;Pe(),i(25,me=!0);const s=new URL(`${f}/v2/player/${c}/limit/lugas`);let g={method:"POST",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:ee,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};const k=yield fetch(s.href,g),A=yield de(k);i(20,mt=A.popup),ji=A.regulatorDepositLimitAmount,pe("self_limitation_success"),yield we()}),er=()=>ye(this,null,function*(){Xe={};try{if(v==="gm16")switch(L){case"lugas":yield $n();break;case"sessionLimit":yield Jn();break;case"cumulativeSession":yield Qn();break;default:yield Gi();break}else if(v==="gmcore")yield Zn();else throw Error(`Invalid apiversion attribute: ${v}`);O==="true"&&(window.postMessage({type:"WidgetNotification",data:{type:"success",message:he}},window.location.href),window.postMessage({type:"SubmitLimitNotificationSuccess"},window.location.href))}catch(s){O==="true"&&window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("limitNotificationFail")}},window.location.href),console.error("limitUpdateError:",s)}pe("self_limitation_request")}),we=()=>ye(this,null,function*(){switch(v){case"gmcore":yield tr();break;case"gm16":yield ir();break}}),tr=()=>ye(this,null,function*(){i(25,me=!0);let s=new URL(`${f}/v2/player/${c}/limits`),p={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const d=yield fetch(s.href,p);Ae=de(d),Ye&&ft(),cr(Ae),mr(Ae),i(19,ee=null)}catch(d){console.error("Error LimitsWidget: ",d),i(26,ke=!0)}finally{i(25,me=!1)}}),ir=()=>ye(this,null,function*(){i(25,me=!0);const s=F.some(A=>A.value==="sessionLimit"||A.value==="cumulativeLimit");let p=!s;const d=new URL(`${f}/v1/player/${c}/limits/monetary`),g=new URL(`${f}/v1/player/${c}/limits/session`),k={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const A=yield fetch(d.href,k),B=yield de(A);Ae=B,pr(B),Ye&&ft(),i(19,ee=null)}catch(A){console.error("Error LimitsWidget: ",A),i(26,ke=!0)}finally{p&&i(25,me=!1),p=!0}if(s)try{const A=yield fetch(g.href,k),B=yield de(A);dr(B),fr(B),Ye&&(L==="sessionLimit"||L==="cumulativeSession")&&ft(),i(19,ee=null)}catch(A){console.error("Error LimitsWidget: ",A),i(26,ke=!0)}finally{p&&i(25,me=!1),p=!0}}),or=()=>ye(this,null,function*(){var A;let s=new URL(`${f}/v1/player/${c}/limits/monetary/balance`);const p=[],d={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const B=yield fetch(s.href,d),ie=yield de(B);p.push(ie)}catch(B){console.error("Error LimitsWidget: ",B),i(26,ke=!0)}const g=F.length?F.filter(B=>B.value==="netdeposit"):[];if(!g.length)return;const k=(A=p.find(B=>B.limitBalances))==null?void 0:A.limitBalances.filter(B=>B.limitType==="NetDeposit");if(g.length&&(k!=null&&k.length)){const B=g[0].currentLimits;g[0].currentLimits=B.map(ie=>{const ve=k.find(Ie=>Ie.limitDefinitionId===ie.id);return Me(Me({},ie),ve?{spentBalance:ve.spentBalance}:{})})}i(10,F=g)}),nr=()=>ye(this,null,function*(){const s=new URL(`/api/pam/v1/limit-balances/most-restrictive?userId=${c}&playerLimitTypes=Deposit&playerLimitTypes=NetDeposit&playerLimitTypes=OperatorDeposit&playerLimitTypes=OperatorNetDeposit`,f),p={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const d=yield fetch(s.href,p),g=yield de(d);rr(g)}catch(d){console.error("Error LimitsWidget: ",d),i(26,ke=!0)}}),rr=s=>{const p=s.limitBalances;i(10,F=F.map(d=>d.value==="deposit"&&d.currentLimits?Pt(Me({},d),{currentLimits:d.currentLimits.map(g=>Pt(Me({},g),{limitBalances:p}))}):d))},ar=s=>parseFloat((d=>{var A,B,ie;if(!d)return 0;const g=(A=d==null?void 0:d.limitAmount)!=null?A:0,k=(ie=(B=d==null?void 0:d.spentBalance)==null?void 0:B.amount)!=null?ie:0;return k>=g?0:g-k})(s).toString()).toFixed(2),sr=()=>F.every((s,p)=>{var d,g;return((d=s.currentLimits)==null?void 0:d.length)===((g=J[p])==null?void 0:g.length)&&s.value==="netdeposit"&&J[p].every(k=>k!==null)}),lr=(s,p,d)=>{const g=s>0?Math.min(p/s*100,100):0,k=Math.round(g),A=document.createElement("div");A.className=`Progress-bar-container ${k===0?"ZeroProgress":""}`;const B=document.createElement("div");B.className="Progress-bar-fill",B.style.width=`${g}%`;const ie=document.createElement("span");return ie.className="Progress-bar-label",ie.textContent=`${d}${p}`,A.appendChild(B),A.appendChild(ie),A},ur=(s,p)=>{var ve;const d=J[s][p];if(!d)return;const g=F[s].currentLimits[p],k=g.amount,A=((ve=g.spentBalance)==null?void 0:ve.amount)||0,B=g.currency;d.innerHTML="";const ie=lr(k,A,B);d.appendChild(ie)},$t=()=>ye(this,null,function*(){var p,d;yield ca();let s=!0;for(let g=0;g<F.length;g++){for(let k=0;k<(((p=F[g].currentLimits)==null?void 0:p.length)||0);k++)if(!J[g]||!J[g][k]){s=!1;break}if(!s)break}if(!s){setTimeout(()=>$t(),10);return}for(let g=0;g<F.length;g++)for(let k=0;k<(((d=F[g].currentLimits)==null?void 0:d.length)||0);k++)ur(g,k)}),cr=s=>{F.forEach(p=>{p.currentLimits=[];const d=Array.isArray(s[oe[p.value].callValue])?s[oe[p.value].callValue]:[s[oe[p.value].callValue]];d.length===0||d[0]===void 0||(d.forEach((g,k)=>{var B;const A=s[oe[p.value].callValue][k];p.currentLimits.push({}),p.currentLimits[k].limitType=p.value,p.currentLimits[k].amount=R?A.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(A.amount),p.currentLimits[k].currency=(B=Ke[A.currency])!=null?B:A.currency,p.currentLimits[k].period=A.period,p.currentLimits[k].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(A.updateAmount),p.currentLimits[k].isModified=A.isModified,p.currentLimits[k].expiryDate=`${new Date(A.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`}),p.currentLimits=dt(p.currentLimits))})},mr=s=>{const p=o("minutes");F.filter(d=>d.value==="sessionLimit"||d.value==="cumulativeSession").forEach(d=>{var g;d.currentLimits=[],(g=s[oe[d.value].callValue])==null||g.forEach((k,A)=>{const B=s[oe[d.value].callValue][A];d.currentLimits.push({limitType:d.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(B.minutes),currency:p,isModified:B.isModified,period:d.value==="cumulativeSession"?B.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(B.updateMinutes),expiryDate:`${new Date(B.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`})}),d.currentLimits=dt(d.currentLimits)})},pr=s=>{s!=null&&s.limits&&(F.filter(p=>p.value!=="sessionLimit"&&p.value!=="cumulativeSession").forEach(p=>{var d;p.currentLimits=[];for(const g of s.limits){if(g.type!==p.callValue16||!g.products.includes(p.product))continue;let k=0,A=g.schedules.length>0?g.schedules.find(B=>B.id):{};g.schedules.length>0&&(k=R?A.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(A.updateAmount)),p.currentLimits.push({limitType:p.value,amount:R?g.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.amount),currency:(d=Ke[g.currency])!=null?d:g.currency,isModified:g.schedules.length>0,period:g.period,product:g.products[0],updateAmount:k,isCoolOffCompleted:A?A.isCoolOffCompleted:!1,reviewRequired:g.reviewRequired?g.reviewRequired:!1,reviewPending:g.reviewPending?g.reviewPending:{},scheduleId:A?A.id:null,expiryDate:g.schedules.length>0?`${new Date(g.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`:"",id:g.id}),p.currentLimits.forEach(B=>{B.acknowledgedLimit=Object.keys(fe).some(ie=>B.scheduleId===ie)}),le==="true"&&i(34,Jt=!Hi(F,E))}p.currentLimits=dt(p.currentLimits)}),S==="true"&&or(),y==="true"&&nr())},dr=s=>{s!=null&&s.sessionLimit&&F.filter(p=>p.value==="sessionLimit").forEach(p=>{p.currentLimits=[],p.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:o("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),p.currentLimits=dt(p.currentLimits)})},fr=s=>{s!=null&&s.cumulativeSessionLimits&&F.filter(p=>p.value==="cumulativeSession").forEach(p=>{p.currentLimits=[];for(const d of s.cumulativeSessionLimits)p.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.minutes),currency:o("minutes"),isModified:d.isModified,period:d.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.updateMinutes),expiryDate:d.expiryDate});p.currentLimits=dt(p.currentLimits)})},dt=s=>{const p={Daily:0,Weekly:1,Monthly:2};return s.sort((d,g)=>p[d.period]-p[g.period]),s},Wi=s=>{window.postMessage({type:"InValidLimit",data:s},window.location.href)},Vi=()=>{if(ee===null||Number.isNaN(ee)){i(32,Re=!0),Wi(Re);return}if(te==="false"){const s=Math.round(ee);ee!==s&&i(19,ee=s)}i(32,Re=ee<De||ee>Ve),Wi(Re)},hr=s=>s.preventDefault(),qi=s=>{s&&s.preventDefault(),Vi(),Re||er()},Xi=()=>{i(32,Re=!1),Te!=null&&Te[L]?(i(14,De=Te[L].min),i(15,Ve=Te[L].max)):(i(14,De=1),i(15,Ve=9999999))},gr=()=>{if(Ae){const s=Ae[oe[L].callValue].find(g=>g.period===E),p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let d=o("popupImmediateUpdate").replace("{selectedLimit}",ei(s)).replace("{updatedAmount}",p).replace("{currency}",Ke[s.currency]||s.currency).replace("{selectedPeriod}",o(`${E}`));i(16,he=s.isModified?`${o("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`:d)}i(29,Le=!0)},Ki=()=>{if(!Ae)return;const s=Ae.limits;let p=null;return Object.keys(Xe).length>0?p=s.find(d=>d.id===Xe.id):p=s==null?void 0:s.find(d=>d.type.toLowerCase()===Ui[L].toLowerCase()&&(d.period===E||d.period==="None")&&d.products[0]===H),(p==null?void 0:p.schedules.length)>0&&fe[p==null?void 0:p.schedules[0].id]&&(p.amount=p.schedules[0].updateAmount),p},br=()=>{let s=Ki();if(!s){i(29,Le=!0);return}const p=$i(s)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount),d=s.schedules.length>0?`${new Date(s.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`:"";let g=o("popupImmediateUpdate").replace("{selectedLimit}",ei(s)).replace("{updatedAmount}",p).replace("{selectedPeriod}",o(`${s.period}`));s.schedules.length>0&&fe[s.schedules[0].id]?i(16,he=g):i(16,he=s.schedules.length>0?`${o("popupPendingUpdate")} ${d}`:g),i(29,Le=!0)},vr=()=>{mt==1&&i(17,ct="PopupKyc"),mt==2&&(i(16,he=`${o("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(ji)} ${l} ${o("popup2_b")}`),i(17,ct="PopupKyc2")),mt==3&&(i(16,he=o("popup3")),i(17,ct="PopupSuccess")),i(29,Le=!0)},yr=()=>{i(16,he=o("sessionLimitUpdated")),i(29,Le=!0)},Lr=()=>{if(Ae){const s=Ae[oe[L].callValue].find(g=>(g.period===E||E==="None")&&g.products[0]===H),p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let d=o("popupImmediateUpdate").replace("{selectedLimit}",o(`${L}`)).replace("{updatedAmount}",p).replace("{currency}",o("minutes")).replace("{selectedPeriod}",o(`${E}`));i(16,he=s.isModified?`${o("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${x})`:d)}i(29,Le=!0)},wr=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("Limit update is not permitted due to LimitUpdateControl")},_r=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("Limit remove is not permitted due to LimitUpdateControl")},kr=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("[NotFoundException] Limit does not exist")},xr=s=>{var p;return(p=s==null?void 0:s.error)==null?void 0:p.includes("[Exception] Schedule does not exist")},Er=s=>{var p,d;return((p=s.details)==null?void 0:p.includes("Invalid Session"))||((d=s.error)==null?void 0:d.includes("Invalid Session"))},ft=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),ke){if(i(27,Zt=!0),!s){i(29,Le=!0);return}wr(s)?i(16,he=o("popupUpdateLimitException")):_r(s)?i(16,he=o("popupRemoveLimitException")):kr(s)?i(16,he=o("notFoundException")):xr(s)?i(16,he=o("scheduleNotFoundException")):Er(s)?i(16,he=o("sessionExpiredException")):i(16,he=o("genericLimitsPopupError")),i(29,Le=!0);return}switch(v){case"gmcore":L==="sessionLimit"||L==="cumulativeSession"?Lr():gr();break;case"gm16":L==="lugas"?vr():L==="sessionLimit"||L==="cumulativeSession"?yr():br();break;default:throw new Error(`Invalid apiversion attribute: ${v}`)}},Pe=()=>{i(28,Ye=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Sr=s=>{i(12,L=s.limitType),i(13,E=s.period),Pe(),i(25,me=!0);let p=new URL(`${f}/v2/player/${c}/limits/${Ui[s.limitType]}`);s.limitType!=="sessionLimit"&&p.searchParams.append("periods",s.period);let d={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,d).then(g=>de(g)).then(g=>{pe("self_limitation_cancel_success",s.amount),we()}).catch(g=>{pe("self_limitation_cancel_failed",s.amount),console.log(g),i(26,ke=!0)})},Yi=s=>{switch(At.remove=s,v){case"gmcore":Sr(s);break;case"gm16":Xe=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Ar(s):Zi(s);break}pe("self_limitation_cancel_request",s.amount)},Ar=s=>{const p=new URL(`${f}/v1/player/${c}/limits/session/session`),d=new URL(`${f}/v1/player/${c}/limits/session/cumulativeSession?periods=${s.period}`);let g;switch(s.limitType){case"sessionLimit":g=p;break;case"cumulativeSession":g=d;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}Pe(),i(25,me=!0);let k={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(g.href,k).then(A=>de(A)).then(A=>{pe("self_limitation_cancel_success",s.amount),we()}).catch(A=>{pe("self_limitation_cancel_failed",s.amount),console.log(A),i(26,ke=!0)})},Zi=s=>{if(Pe(),i(25,me=!0),s&&s.reviewRequired&&!Be){i(31,pt=!0),i(29,Le=!0);return}const p=new URL(`${f}/v1/player/${c}/limits/monetary/${s.id}`);let d={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};Be&&p.searchParams.append("documentId",Be),fetch(p.href,d).then(g=>de(g)).then(g=>{pe("self_limitation_cancel_success",s.amount),we()}).catch(g=>{pe("self_limitation_cancel_failed",s.amount),console.log(g),i(26,ke=!0)}).finally(()=>{At.remove={},i(31,pt=!1),Be=""})},Ji=s=>{const p=new URL(`${f}/v1/player/${c}/limits/schedule/${s.scheduleId}`);Pe(),i(25,me=!0);let d={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,d).then(g=>de(g)).then(g=>{Xe=s,pe("self_limitation_cancel_success",s.updateAmount),we()}).catch(g=>{pe("self_limitation_cancel_failed",s.updateAmount),console.log(g)})},Qi=s=>{const p=new URL(`${f}/v1/player/${c}/limits/schedule/acknowledge/${s.scheduleId}`);Pe(),i(25,me=!0);let d={method:"PATCH",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,d).then(g=>de(g)).then(g=>{Xe=s,Tr(s),pe("self_limitation_confirm_success",s.amount),we()}).catch(g=>{pe("self_limitation_confirm_failed",s.amount),console.log(g)})},Tr=s=>{let p=60;i(22,fe[s.scheduleId]={},fe),i(22,fe[s.scheduleId].timer=`${p} ${Ue[a].seconds}`,fe),i(22,fe[s.scheduleId].timerStopped=!1,fe);let d=window.setInterval(()=>p===0?(window.clearInterval(d),i(22,fe[s.scheduleId].timerStopped=!0,fe),i(22,fe[s.scheduleId].timer=Ue[a].reloadLimitsButton,fe)):i(22,fe[s.scheduleId].timer=`${--p} ${Ue[a].seconds}`,fe),1e3)},ei=s=>{let p;return s?p=s.value?o(s.value+s.product):o(s.type.toLowerCase()+s.products[0]):p=o(L),p},$i=(s,p=!1,d=!1)=>{if(!R)return d?`${s.reviewPending.requestAmount}${s.currency}`:p?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let g=R;const k=g.match(/\{(\d+)decimals\}/),A=te==="true"?k?parseInt(k[1],10):2:0,B=k?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let ie;d?ie=s.reviewPending.requestAmount||0:ie=p?s.updateAmount:s.amount;let ve=te==="true"?parseFloat(ie).toFixed(A):Math.round(parseFloat(ie)).toString();const[Ie,Tt]=R.includes(".")?[",","."]:[".",","];let[ht,ii]=ve.includes(".")?ve.split("."):[ve,""];if(ht=ht.replace(/\B(?=(\d{3})+(?!\d))/g,Ie),g=g.replace("{currency}",Ke[s.currency]||s.currency).replace("{amount}",ht).replace(B,te==="true"&&ii?ii:""),te==="true"||!ii){const Xr=Tt==="."?"\\.":Tt,Kr=new RegExp(`${Xr}(?=[\\s\\D]|$)`,"g");g=g.replace(Kr,"").trim()}return g},ti=()=>{i(29,Le=i(28,Ye=!1)),i(17,ct=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href),i(25,me=!1)},Pr=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),ti()},Cr=s=>{console.log(s);let p=0;return Object.keys(s).forEach(d=>{p+=s[d].size}),p<=Number(Y)},Dr=s=>{let p=!1;return Object.keys(s).forEach(d=>{const g=s[d].name.split(".").pop();return G.includes(g)?p=!0:p=!1}),p},eo=s=>!s&&!(s.length>0)?i(30,ze=!1):(i(21,He=s),Cr(He)?Dr(He)?i(30,ze=!0):(console.error(o("fileExtenssionDeny")),i(30,ze=!1)):(console.error(o("fileSizeExceeded")),i(30,ze=!1))),Br=()=>{if(!ze)return;i(29,Le=!1);const s=new URL(`${f}/api/v1/mm/content/${c}/url-upload/`),p={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":u},body:JSON.stringify({})};fetch(s,p).then(d=>de(d)).then(d=>{Ir(d)}).catch(d=>{console.error(o("errorUploadDocument"),d),i(21,He=null),i(30,ze=!1)})},Ir=s=>{const p=new FormData;p.append(s.requestId,He[0]),fetch(s.url,{method:"POST",body:p}).then(d=>de(d)).then(d=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("uploadSuccess")}},window.location.href),Be=d.Files[0].Reference,At.remove.id?Zi(At.remove):Gi()}).catch(d=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("errorUploadDocument")}},window.location.href),console.error(o("errorUploadDocument"),d)}).finally(()=>{ti(),i(21,He=null),i(30,ze=!1)})},Mr=()=>{if(!_)return;let s={};_.split(",").forEach(p=>{let d=p.split(":");s[d[0].trim()]=d[1].trim()}),Ke=Me(Me({},Ke),s)},jr=()=>{cl(a)},to=s=>{if(s.data)switch(s.data.type){case"LimitDisableState":{i(33,zi=s.data.data);break}case"SubmitLimitNotification":{qi();break}}};ua(()=>(window.addEventListener("message",to),S==="true"&&F.length&&$t(),()=>{window.removeEventListener("message",to)}));const Nr=s=>eo(s.target.files),zr=()=>we(),Ur=s=>Yi(s),Or=s=>Qi(s),Hr=s=>Ji(s);function Rr(s,p,d){Ut[s?"unshift":"push"](()=>{J[p][d]=s,i(9,J),i(2,S),i(10,F)})}function Fr(){qe=no(this),i(18,qe)}const Gr=()=>{Fi(),Ri(),Xi()};function Wr(){E=no(this),i(13,E),i(11,oe),i(12,L)}function Vr(){ee=ln(this.value),i(19,ee)}function qr(s){Ut[s?"unshift":"push"](()=>{$=s,i(8,$)})}return e.$$set=s=>{"lang"in s&&i(55,a=s.lang),"currency"in s&&i(0,l=s.currency),"limits"in s&&i(56,m=s.limits),"session"in s&&i(57,u=s.session),"userid"in s&&i(58,c=s.userid),"endpoint"in s&&i(59,f=s.endpoint),"apiversion"in s&&i(60,v=s.apiversion),"companylimits"in s&&i(1,y=s.companylimits),"customcurrencysymbols"in s&&i(61,_=s.customcurrencysymbols),"netdepositprogress"in s&&i(2,S=s.netdepositprogress),"enablecompliancetext"in s&&i(3,Z=s.enablecompliancetext),"deletelimit"in s&&i(4,re=s.deletelimit),"amountsconfig"in s&&i(62,j=s.amountsconfig),"periodsconfig"in s&&i(63,I=s.periodsconfig),"defaultperiod"in s&&i(64,z=s.defaultperiod),"limittabindex"in s&&i(5,W=s.limittabindex),"limitformat"in s&&i(65,R=s.limitformat),"allowedextenssion"in s&&i(66,G=s.allowedextenssion),"filesizeallow"in s&&i(67,Y=s.filesizeallow),"clientstyling"in s&&i(68,V=s.clientstyling),"clientstylingurl"in s&&i(69,C=s.clientstylingurl),"translationurl"in s&&i(70,U=s.translationurl),"mbsource"in s&&i(71,q=s.mbsource),"timezone"in s&&i(72,x=s.timezone),"isLimitNotification"in s&&i(6,O=s.isLimitNotification),"cooloffstrictmode"in s&&i(73,le=s.cooloffstrictmode),"inputhasdecimals"in s&&i(7,te=s.inputhasdecimals),"$$scope"in s&&i(74,r=s.$$scope)},e.$$.update=()=>{if(e.$$.dirty[1]&1073741824&&_&&Mr(),e.$$.dirty[2]&3&&I&&j&&Xn(),e.$$.dirty[1]&16777216&&a&&jr(),e.$$.dirty[1]&1023410176&&c&&u&&f&&v&&a&&we(),e.$$.dirty[0]&256|e.$$.dirty[2]&64&&V&&$&&Sl($,V),e.$$.dirty[0]&256|e.$$.dirty[2]&128&&C&&$&&Al($,C),e.$$.dirty[0]&256|e.$$.dirty[2]&512&&q&&$&&Tl($,`${q}.Style`,Ne),e.$$.dirty[2]&256&&U&&Wn(),e.$$.dirty[0]&1540&&S==="true"&&F.length){const s=F.map(d=>{var g;return new Array(((g=d.currentLimits)==null?void 0:g.length)||0).fill(null)});(J.length!==s.length||J.some((d,g)=>d.length!==s[g].length))&&i(9,J=s)}e.$$.dirty[0]&1540&&S==="true"&&J.length===F.length&&sr()&&$t()},[l,y,S,Z,re,W,O,te,$,J,F,oe,L,E,De,Ve,he,ct,qe,ee,mt,He,fe,Ni,Yt,me,ke,Zt,Ye,Le,ze,pt,Re,zi,Jt,o,ae,Kn,Ri,Fi,we,ar,Vi,hr,qi,Xi,Yi,Ji,Qi,ei,$i,ti,Pr,eo,Br,a,m,u,c,f,v,_,j,I,z,R,G,Y,V,C,U,q,x,le,r,n,Nr,zr,Ur,Or,Hr,Rr,Fr,Gr,Wr,Vr,qr]}class Fn extends La{constructor(t){super(),va(this,t,hu,fu,rn,{lang:55,currency:0,limits:56,session:57,userid:58,endpoint:59,apiversion:60,companylimits:1,customcurrencysymbols:61,netdepositprogress:2,enablecompliancetext:3,deletelimit:4,amountsconfig:62,periodsconfig:63,defaultperiod:64,limittabindex:5,limitformat:65,allowedextenssion:66,filesizeallow:67,clientstyling:68,clientstylingurl:69,translationurl:70,mbsource:71,timezone:72,isLimitNotification:6,cooloffstrictmode:73,inputhasdecimals:7},Dl,[-1,-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[55]}set lang(t){this.$$set({lang:t}),Q()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),Q()}get limits(){return this.$$.ctx[56]}set limits(t){this.$$set({limits:t}),Q()}get session(){return this.$$.ctx[57]}set session(t){this.$$set({session:t}),Q()}get userid(){return this.$$.ctx[58]}set userid(t){this.$$set({userid:t}),Q()}get endpoint(){return this.$$.ctx[59]}set endpoint(t){this.$$set({endpoint:t}),Q()}get apiversion(){return this.$$.ctx[60]}set apiversion(t){this.$$set({apiversion:t}),Q()}get companylimits(){return this.$$.ctx[1]}set companylimits(t){this.$$set({companylimits:t}),Q()}get customcurrencysymbols(){return this.$$.ctx[61]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),Q()}get netdepositprogress(){return this.$$.ctx[2]}set netdepositprogress(t){this.$$set({netdepositprogress:t}),Q()}get enablecompliancetext(){return this.$$.ctx[3]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),Q()}get deletelimit(){return this.$$.ctx[4]}set deletelimit(t){this.$$set({deletelimit:t}),Q()}get amountsconfig(){return this.$$.ctx[62]}set amountsconfig(t){this.$$set({amountsconfig:t}),Q()}get periodsconfig(){return this.$$.ctx[63]}set periodsconfig(t){this.$$set({periodsconfig:t}),Q()}get defaultperiod(){return this.$$.ctx[64]}set defaultperiod(t){this.$$set({defaultperiod:t}),Q()}get limittabindex(){return this.$$.ctx[5]}set limittabindex(t){this.$$set({limittabindex:t}),Q()}get limitformat(){return this.$$.ctx[65]}set limitformat(t){this.$$set({limitformat:t}),Q()}get allowedextenssion(){return this.$$.ctx[66]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),Q()}get filesizeallow(){return this.$$.ctx[67]}set filesizeallow(t){this.$$set({filesizeallow:t}),Q()}get clientstyling(){return this.$$.ctx[68]}set clientstyling(t){this.$$set({clientstyling:t}),Q()}get clientstylingurl(){return this.$$.ctx[69]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Q()}get translationurl(){return this.$$.ctx[70]}set translationurl(t){this.$$set({translationurl:t}),Q()}get mbsource(){return this.$$.ctx[71]}set mbsource(t){this.$$set({mbsource:t}),Q()}get timezone(){return this.$$.ctx[72]}set timezone(t){this.$$set({timezone:t}),Q()}get isLimitNotification(){return this.$$.ctx[6]}set isLimitNotification(t){this.$$set({isLimitNotification:t}),Q()}get cooloffstrictmode(){return this.$$.ctx[73]}set cooloffstrictmode(t){this.$$set({cooloffstrictmode:t}),Q()}get inputhasdecimals(){return this.$$.ctx[7]}set inputhasdecimals(t){this.$$set({inputhasdecimals:t}),Q()}}ya(Fn,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},companylimits:{},customcurrencysymbols:{},netdepositprogress:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},defaultperiod:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},timezone:{},isLimitNotification:{},cooloffstrictmode:{},inputhasdecimals:{}},["LimitSkeleton","LimitsList","LimitSubmitButton"],[],!0);exports.default=Fn;