@everymatrix/player-account-gaming-limits-page-2-gmcore 1.87.26 → 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.
@@ -0,0 +1,19 @@
1
+ "use strict";var mr=Object.defineProperty,dr=Object.defineProperties;var br=Object.getOwnPropertyDescriptors;var At=Object.getOwnPropertySymbols;var gr=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable;var Ye=(e,t,i)=>t in e?mr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Bt=(e,t)=>{for(var i in t||(t={}))gr.call(t,i)&&Ye(e,i,t[i]);if(At)for(var i of At(t))yr.call(t,i)&&Ye(e,i,t[i]);return e},Nt=(e,t)=>dr(e,br(t));var V=(e,t,i)=>(Ye(e,typeof t!="symbol"?t+"":t,i),i);var Ot=(e,t,i)=>new Promise((r,n)=>{var o=c=>{try{a(i.next(c))}catch(u){n(u)}},s=c=>{try{a(i.throw(c))}catch(u){n(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(o,s);a((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function j(){}function di(e){return e()}function It(){return Object.create(null)}function te(e){e.forEach(di)}function Et(e){return typeof e=="function"}function bi(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function vr(e){return Object.keys(e).length===0}function gi(e,...t){if(e==null){for(const r of t)r(void 0);return j}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function _r(e,t,i){e.$$.on_destroy.push(gi(t,i))}function d(e,t){e.appendChild(t)}function Er(e,t,i){const r=Lr(e);if(!r.getElementById(t)){const n=v("style");n.id=t,n.textContent=i,xr(r,n)}}function Lr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function xr(e,t){return d(e.head||e,t),t.sheet}function A(e,t,i){e.insertBefore(t,i||null)}function P(e){e.parentNode&&e.parentNode.removeChild(e)}function je(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function v(e){return document.createElement(e)}function ge(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function F(e){return document.createTextNode(e)}function $(){return F(" ")}function Tr(){return F("")}function q(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function g(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function yi(e){return e===""?null:+e}function wr(e){return Array.from(e.childNodes)}function W(e,t){t=""+t,e.data!==t&&(e.data=t)}function _e(e,t){e.value=t==null?"":t}function qe(e,t,i,r){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function Me(e,t,i){for(let r=0;r<e.options.length;r+=1){const n=e.options[r];if(n.__value===t){n.selected=!0;return}}(!i||t!==void 0)&&(e.selectedIndex=-1)}function Ht(e){const t=e.querySelector(":checked");return t&&t.__value}function Sr(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let Ee;function ve(e){Ee=e}function Pr(){if(!Ee)throw new Error("Function called outside component initialization");return Ee}function Ar(e){Pr().$$.on_mount.push(e)}const se=[],Ce=[];let ue=[];const Mt=[],Br=Promise.resolve();let ot=!1;function Nr(){ot||(ot=!0,Br.then(X))}function Le(e){ue.push(e)}const Je=new Set;let ne=0;function X(){if(ne!==0)return;const e=Ee;do{try{for(;ne<se.length;){const t=se[ne];ne++,ve(t),Or(t.$$)}}catch(t){throw se.length=0,ne=0,t}for(ve(null),se.length=0,ne=0;Ce.length;)Ce.pop()();for(let t=0;t<ue.length;t+=1){const i=ue[t];Je.has(i)||(Je.add(i),i())}ue.length=0}while(se.length);for(;Mt.length;)Mt.pop()();ot=!1,Je.clear(),ve(e)}function Or(e){if(e.fragment!==null){e.update(),te(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Le)}}function Ir(e){const t=[],i=[];ue.forEach(r=>e.indexOf(r)===-1?t.push(r):i.push(r)),i.forEach(r=>r()),ue=t}const Hr=new Set;function Mr(e,t){e&&e.i&&(Hr.delete(e),e.i(t))}function ee(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Cr(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),Le(()=>{const o=e.$$.on_mount.map(di).filter(Et);e.$$.on_destroy?e.$$.on_destroy.push(...o):te(o),e.$$.on_mount=[]}),n.forEach(Le)}function kr(e,t){const i=e.$$;i.fragment!==null&&(Ir(i.after_update),te(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function Dr(e,t){e.$$.dirty[0]===-1&&(se.push(e),Nr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Rr(e,t,i,r,n,o,s=null,a=[-1]){const c=Ee;ve(e);const u=e.$$={fragment:null,ctx:[],props:o,update:j,not_equal:n,bound:It(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:It(),dirty:a,skip_bound:!1,root:t.target||c.$$.root};s&&s(u.root);let l=!1;if(u.ctx=i?i(e,t.props||{},(h,p,...f)=>{const m=f.length?f[0]:p;return u.ctx&&n(u.ctx[h],u.ctx[h]=m)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](m),l&&Dr(e,h)),p}):[],u.update(),l=!0,te(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const h=wr(t.target);u.fragment&&u.fragment.l(h),h.forEach(P)}else u.fragment&&u.fragment.c();t.intro&&Mr(e.$$.fragment),Cr(e,t.target,t.anchor),X()}ve(c)}let vi;typeof HTMLElement=="function"&&(vi=class extends HTMLElement{constructor(t,i,r){super();V(this,"$$ctor");V(this,"$$s");V(this,"$$c");V(this,"$$cn",!1);V(this,"$$d",{});V(this,"$$r",!1);V(this,"$$p_d",{});V(this,"$$l",{});V(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,r&&this.attachShadow({mode:"open"})}addEventListener(t,i,r){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,r)}removeEventListener(t,i,r){if(super.removeEventListener(t,i,r),this.$$c){const n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return Ot(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=v("slot"),o!=="default"&&g(s,"name",o)},m:function(u,l){A(u,s,l)},d:function(u){u&&P(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=Sr(this);for(const o of this.$$s)o in r&&(i[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=Ne(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Nt(Bt({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=Ne(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,i,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Ne(t,r,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 Ne(e,t,i,r){var o;const n=(o=i[e])==null?void 0:o.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!i[e])return t;if(r==="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 jr(e,t,i,r,n,o){let s=class extends vi{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(c){var u;c=Ne(a,c,t),this.$$d[a]=c,(u=this.$$c)==null||u.$set({[a]:c})}})}),r.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var c;return(c=this.$$c)==null?void 0:c[a]}})}),e.element=s,s}class Ur{constructor(){V(this,"$$");V(this,"$$set")}$destroy(){kr(this,1),this.$destroy=j}$on(t,i){if(!Et(i))return j;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(i),()=>{const n=r.indexOf(i);n!==-1&&r.splice(n,1)}}$set(t){this.$$set&&!vr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const $r="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add($r);const Z={deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",periods:["Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"stakeLimit",periods:["Monthly"]}},oe=[];function Fr(e,t){return{subscribe:Ue(e,t).subscribe}}function Ue(e,t=j){let i;const r=new Set;function n(a){if(bi(e,a)&&(e=a,i)){const c=!oe.length;for(const u of r)u[1](),oe.push(u,e);if(c){for(let u=0;u<oe.length;u+=2)oe[u][0](oe[u+1]);oe.length=0}}}function o(a){n(a(e))}function s(a,c=j){const u=[a,c];return r.add(u),r.size===1&&(i=t(n,o)||j),a(e),()=>{r.delete(u),r.size===0&&i&&(i(),i=null)}}return{set:n,update:o,subscribe:s}}function pe(e,t,i){const r=!Array.isArray(e),n=r?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Fr(i,(s,a)=>{let c=!1;const u=[];let l=0,h=j;const p=()=>{if(l)return;h();const m=t(r?u[0]:u,s,a);o?s(m):h=Et(m)?m:j},f=n.map((m,_)=>gi(m,R=>{u[_]=R,l&=~(1<<_),c&&p()},()=>{l|=1<<_}));return c=!0,p(),function(){te(f),h(),c=!1}})}function Gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zr=function(t){return Wr(t)&&!Vr(t)};function Wr(e){return!!e&&typeof e=="object"}function Vr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Yr(e)}var Xr=typeof Symbol=="function"&&Symbol.for,Zr=Xr?Symbol.for("react.element"):60103;function Yr(e){return e.$$typeof===Zr}function qr(e){return Array.isArray(e)?[]:{}}function xe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?le(qr(e),e,t):e}function Jr(e,t,i){return e.concat(t).map(function(r){return xe(r,i)})}function Qr(e,t){if(!t.customMerge)return le;var i=t.customMerge(e);return typeof i=="function"?i:le}function Kr(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ct(e){return Object.keys(e).concat(Kr(e))}function _i(e,t){try{return t in e}catch(i){return!1}}function en(e,t){return _i(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function tn(e,t,i){var r={};return i.isMergeableObject(e)&&Ct(e).forEach(function(n){r[n]=xe(e[n],i)}),Ct(t).forEach(function(n){en(e,n)||(_i(e,n)&&i.isMergeableObject(t[n])?r[n]=Qr(n,i)(e[n],t[n],i):r[n]=xe(t[n],i))}),r}function le(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Jr,i.isMergeableObject=i.isMergeableObject||zr,i.cloneUnlessOtherwiseSpecified=xe;var r=Array.isArray(t),n=Array.isArray(e),o=r===n;return o?r?i.arrayMerge(e,t,i):tn(e,t,i):xe(t,i)}le.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return le(r,n,i)},{})};var rn=le,nn=rn;const on=Gr(nn);var st=function(e,t){return st=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[n]=r[n])},st(e,t)};function $e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");st(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var Y=function(){return Y=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},Y.apply(this,arguments)};function sn(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i}function Qe(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,o;r<n;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function Ke(e,t){var i=t&&t.cache?t.cache:pn,r=t&&t.serializer?t.serializer:hn,n=t&&t.strategy?t.strategy:ln;return n(e,{cache:i,serializer:r})}function an(e){return e==null||typeof e=="number"||typeof e=="boolean"}function un(e,t,i,r){var n=an(r)?r:i(r),o=t.get(n);return typeof o=="undefined"&&(o=e.call(this,r),t.set(n,o)),o}function Ei(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),o=t.get(n);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(n,o)),o}function Li(e,t,i,r,n){return i.bind(t,e,r,n)}function ln(e,t){var i=e.length===1?un:Ei;return Li(e,this,i,t.cache.create(),t.serializer)}function cn(e,t){return Li(e,this,Ei,t.cache.create(),t.serializer)}var hn=function(){return JSON.stringify(arguments)},fn=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}(),pn={create:function(){return new fn}},et={variadic:cn},ke=function(){return ke=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},ke.apply(this,arguments)};var T;(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"})(T||(T={}));var I;(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"})(I||(I={}));var ce;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ce||(ce={}));function kt(e){return e.type===I.literal}function mn(e){return e.type===I.argument}function xi(e){return e.type===I.number}function Ti(e){return e.type===I.date}function wi(e){return e.type===I.time}function Si(e){return e.type===I.select}function Pi(e){return e.type===I.plural}function dn(e){return e.type===I.pound}function Ai(e){return e.type===I.tag}function Bi(e){return!!(e&&typeof e=="object"&&e.type===ce.number)}function at(e){return!!(e&&typeof e=="object"&&e.type===ce.dateTime)}var Ni=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,bn=/(?:[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 gn(e){var t={};return e.replace(bn,function(i){var r=i.length;switch(i[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===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"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-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=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-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"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-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"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<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 C=function(){return C=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},C.apply(this,arguments)};var yn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function vn(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(yn).filter(function(p){return p.length>0}),i=[],r=0,n=t;r<n.length;r++){var o=n[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],c=s.slice(1),u=0,l=c;u<l.length;u++){var h=l[u];if(h.length===0)throw new Error("Invalid number skeleton")}i.push({stem:a,options:c})}return i}function _n(e){return e.replace(/^(.*?)-/,"")}var Dt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Oi=/^(@+)?(\+|#+)?[rs]?$/g,En=/(\*)(0+)|(#+)(0+)|(0+)/g,Ii=/^(0+)$/;function Rt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Oi,function(i,r,n){return typeof n!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):n==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof n=="string"?n.length:0)),""}),t}function Hi(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 Ln(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)),!Ii.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function jt(e){var t={},i=Hi(e);return i||t}function xn(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[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=_n(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=C(C(C({},t),{notation:"scientific"}),n.options.reduce(function(c,u){return C(C({},c),jt(u))},{}));continue;case"engineering":t=C(C(C({},t),{notation:"engineering"}),n.options.reduce(function(c,u){return C(C({},c),jt(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(En,function(c,u,l,h,p,f){if(u)t.minimumIntegerDigits=l.length;else{if(h&&p)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ii.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Dt.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Dt,function(c,u,l,h,p,f){return l==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:p&&f?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+f.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=n.options[0];o==="w"?t=C(C({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=C(C({},t),Rt(o)));continue}if(Oi.test(n.stem)){t=C(C({},t),Rt(n.stem));continue}var s=Hi(n.stem);s&&(t=C(C({},t),s));var a=Ln(n.stem);a&&(t=C(C({},t),a))}return t}var Ae={"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 Tn(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===n;)o++,r++;var s=1+(o&1),a=o<2?1:3+(o>>1),c="a",u=wn(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)i+=c;for(;s-- >0;)i=u+i}else n==="J"?i+="H":i+=n}return i}function wn(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,r;i!=="root"&&(r=e.maximize().region);var n=Ae[r||""]||Ae[i||""]||Ae["".concat(i,"-001")]||Ae["001"];return n[0]}var tt,Sn=new RegExp("^".concat(Ni.source,"*")),Pn=new RegExp("".concat(Ni.source,"*$"));function w(e,t){return{start:e,end:t}}var An=!!String.prototype.startsWith&&"_a".startsWith("a",1),Bn=!!String.fromCodePoint,Nn=!!Object.fromEntries,On=!!String.prototype.codePointAt,In=!!String.prototype.trimStart,Hn=!!String.prototype.trimEnd,Mn=!!Number.isSafeInteger,Cn=Mn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ut=!0;try{var kn=Ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ut=((tt=kn.exec("a"))===null||tt===void 0?void 0:tt[0])==="a"}catch(e){ut=!1}var Ut=An?function(t,i,r){return t.startsWith(i,r)}:function(t,i,r){return t.slice(r,r+i.length)===i},lt=Bn?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var r="",n=t.length,o=0,s;n>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},$t=Nn?Object.fromEntries:function(t){for(var i={},r=0,n=t;r<n.length;r++){var o=n[r],s=o[0],a=o[1];i[s]=a}return i},Mi=On?function(t,i){return t.codePointAt(i)}:function(t,i){var r=t.length;if(!(i<0||i>=r)){var n=t.charCodeAt(i),o;return n<55296||n>56319||i+1===r||(o=t.charCodeAt(i+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},Dn=In?function(t){return t.trimStart()}:function(t){return t.replace(Sn,"")},Rn=Hn?function(t){return t.trimEnd()}:function(t){return t.replace(Pn,"")};function Ci(e,t){return new RegExp(e,t)}var ct;if(ut){var Ft=Ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ct=function(t,i){var r;Ft.lastIndex=i;var n=Ft.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else ct=function(t,i){for(var r=[];;){var n=Mi(t,i);if(n===void 0||ki(n)||Fn(n))break;r.push(n),i+=n>=65536?2:1}return lt.apply(void 0,r)};var jn=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,r){for(var n=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;n.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(i==="plural"||i==="selectordinal")){var a=this.clonePosition();this.bump(),n.push({type:I.pound,location:w(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(T.UNMATCHED_CLOSING_TAG,w(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&ht(this.peek()||0)){var s=this.parseTag(t,i);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,i);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,i){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:I.literal,value:"<".concat(n,"/>"),location:w(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,i,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ht(this.char()))return this.error(T.INVALID_TAG,w(a,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(T.UNMATCHED_CLOSING_TAG,w(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:I.tag,value:n,children:s,location:w(r,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,w(a,this.clonePosition())))}else return this.error(T.UNCLOSED_TAG,w(r,this.clonePosition()))}else return this.error(T.INVALID_TAG,w(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&$n(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(i);if(o){n+=o;continue}var s=this.tryParseUnquoted(t,i);if(s){n+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){n+=a;continue}break}var c=w(r,this.clonePosition());return{val:{type:I.literal,value:n,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Un(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 r=this.char();if(r===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(r);this.bump()}return lt.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(i==="plural"||i==="selectordinal")||r===125&&t>0?null:(this.bump(),lt(r))},e.prototype.parseArgument=function(t,i){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(T.EMPTY_ARGUMENT,w(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(T.MALFORMED_ARGUMENT,w(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:I.argument,value:n,location:w(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition())):this.parseArgumentOptions(t,i,n,r);default:return this.error(T.MALFORMED_ARGUMENT,w(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),r=ct(this.message,i),n=i+r.length;this.bumpTo(n);var o=this.clonePosition(),s=w(t,o);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,i,r,n){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(a){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,w(s,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var p=Rn(h.val);if(p.length===0)return this.error(T.EXPECT_ARGUMENT_STYLE,w(this.clonePosition(),this.clonePosition()));var f=w(l,this.clonePosition());u={style:p,styleLocation:f}}var m=this.tryParseArgumentClose(n);if(m.err)return m;var _=w(n,this.clonePosition());if(u&&Ut(u==null?void 0:u.style,"::",0)){var R=Dn(u.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(R,u.styleLocation);return h.err?h:{val:{type:I.number,value:r,location:_,style:h.val},err:null}}else{if(R.length===0)return this.error(T.EXPECT_DATE_TIME_SKELETON,_);var B=R;this.locale&&(B=Tn(R,this.locale));var p={type:ce.dateTime,pattern:B,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?gn(B):{}},S=a==="date"?I.date:I.time;return{val:{type:S,value:r,location:_,style:p},err:null}}}return{val:{type:a==="number"?I.number:a==="date"?I.date:I.time,value:r,location:_,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,w(E,ke({},E)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),L=0;if(a!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),k=this.parseIdentifierIfPossible(),L=h.val}var O=this.tryParsePluralOrSelectOptions(t,a,i,k);if(O.err)return O;var m=this.tryParseArgumentClose(n);if(m.err)return m;var D=w(n,this.clonePosition());return a==="select"?{val:{type:I.select,value:r,options:$t(O.val),location:D},err:null}:{val:{type:I.plural,value:r,options:$t(O.val),offset:L,pluralType:a==="plural"?"cardinal":"ordinal",location:D},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,w(s,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,w(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 r=[];try{r=vn(t)}catch(n){return this.error(T.INVALID_NUMBER_SKELETON,i)}return{val:{type:ce.number,tokens:r,location:i,parsedOptions:this.shouldParseSkeletons?xn(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,r,n){for(var o,s=!1,a=[],c=new Set,u=n.value,l=n.location;;){if(u.length===0){var h=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;l=w(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(c.has(u))return this.error(i==="select"?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);u==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,w(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,i,r);if(m.err)return m;var _=this.tryParseArgumentClose(f);if(_.err)return _;a.push([u,{value:m.val,location:w(f,this.clonePosition())}]),c.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,l=o.location}return a.length===0?this.error(i==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,w(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(T.MISSING_OTHER_CLAUSE,w(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var c=w(n,this.clonePosition());return o?(s*=r,Cn(s)?{val:s,err:null}:this.error(i,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var i=Mi(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(Ut(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(),r=this.message.indexOf(t,i);return r>=0?(this.bumpTo(r),!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()&&ki(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),r=this.message.charCodeAt(i+(t>=65536?2:1));return r!=null?r:null},e}();function ht(e){return e>=97&&e<=122||e>=65&&e<=90}function Un(e){return ht(e)||e===47}function $n(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 ki(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Fn(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 ft(e){e.forEach(function(t){if(delete t.location,Si(t)||Pi(t))for(var i in t.options)delete t.options[i].location,ft(t.options[i].value);else xi(t)&&Bi(t.style)||(Ti(t)||wi(t))&&at(t.style)?delete t.style.location:Ai(t)&&ft(t.children)})}function Gn(e,t){t===void 0&&(t={}),t=ke({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new jn(e,t).parse();if(i.err){var r=SyntaxError(T[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t!=null&&t.captureLocation||ft(i.val),i.val}var he;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(he||(he={}));var Fe=function(e){$e(t,e);function t(i,r,n){var o=e.call(this,i)||this;return o.code=r,o.originalMessage=n,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Gt=function(e){$e(t,e);function t(i,r,n,o){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),he.INVALID_VALUE,o)||this}return t}(Fe),zn=function(e){$e(t,e);function t(i,r,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(r),he.INVALID_VALUE,n)||this}return t}(Fe),Wn=function(e){$e(t,e);function t(i,r){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(r,'"'),he.MISSING_VALUE,r)||this}return t}(Fe),z;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(z||(z={}));function Vn(e){return e.length<2?e:e.reduce(function(t,i){var r=t[t.length-1];return!r||r.type!==z.literal||i.type!==z.literal?t.push(i):r.value+=i.value,t},[])}function Xn(e){return typeof e=="function"}function Oe(e,t,i,r,n,o,s){if(e.length===1&&kt(e[0]))return[{type:z.literal,value:e[0].value}];for(var a=[],c=0,u=e;c<u.length;c++){var l=u[c];if(kt(l)){a.push({type:z.literal,value:l.value});continue}if(dn(l)){typeof o=="number"&&a.push({type:z.literal,value:i.getNumberFormat(t).format(o)});continue}var h=l.value;if(!(n&&h in n))throw new Wn(h,s);var p=n[h];if(mn(l)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),a.push({type:typeof p=="string"?z.literal:z.object,value:p});continue}if(Ti(l)){var f=typeof l.style=="string"?r.date[l.style]:at(l.style)?l.style.parsedOptions:void 0;a.push({type:z.literal,value:i.getDateTimeFormat(t,f).format(p)});continue}if(wi(l)){var f=typeof l.style=="string"?r.time[l.style]:at(l.style)?l.style.parsedOptions:r.time.medium;a.push({type:z.literal,value:i.getDateTimeFormat(t,f).format(p)});continue}if(xi(l)){var f=typeof l.style=="string"?r.number[l.style]:Bi(l.style)?l.style.parsedOptions:void 0;f&&f.scale&&(p=p*(f.scale||1)),a.push({type:z.literal,value:i.getNumberFormat(t,f).format(p)});continue}if(Ai(l)){var m=l.children,_=l.value,R=n[_];if(!Xn(R))throw new zn(_,"function",s);var B=Oe(m,t,i,r,n,o),S=R(B.map(function(L){return L.value}));Array.isArray(S)||(S=[S]),a.push.apply(a,S.map(function(L){return{type:typeof L=="string"?z.literal:z.object,value:L}}))}if(Si(l)){var E=l.options[p]||l.options.other;if(!E)throw new Gt(l.value,p,Object.keys(l.options),s);a.push.apply(a,Oe(E.value,t,i,r,n));continue}if(Pi(l)){var E=l.options["=".concat(p)];if(!E){if(!Intl.PluralRules)throw new Fe(`Intl.PluralRules is not available in this environment.
2
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3
+ `,he.MISSING_INTL_API,s);var k=i.getPluralRules(t,{type:l.pluralType}).select(p-(l.offset||0));E=l.options[k]||l.options.other}if(!E)throw new Gt(l.value,p,Object.keys(l.options),s);a.push.apply(a,Oe(E.value,t,i,r,n,p-(l.offset||0)));continue}}return Vn(a)}function Zn(e,t){return t?Y(Y(Y({},e||{}),t||{}),Object.keys(e).reduce(function(i,r){return i[r]=Y(Y({},e[r]),t[r]||{}),i},{})):e}function Yn(e,t){return t?Object.keys(e).reduce(function(i,r){return i[r]=Zn(e[r],t[r]),i},Y({},e)):e}function it(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function qn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ke(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Qe([void 0],i,!1)))},{cache:it(e.number),strategy:et.variadic}),getDateTimeFormat:Ke(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Qe([void 0],i,!1)))},{cache:it(e.dateTime),strategy:et.variadic}),getPluralRules:Ke(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Qe([void 0],i,!1)))},{cache:it(e.pluralRules),strategy:et.variadic})}}var Jn=function(){function e(t,i,r,n){i===void 0&&(i=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var u=o.formatToParts(c);if(u.length===1)return u[0].value;var l=u.reduce(function(h,p){return!h.length||p.type!==z.literal||typeof h[h.length-1]!="string"?h.push(p.value):h[h.length-1]+=p.value,h},[]);return l.length<=1?l[0]||"":l},this.formatToParts=function(c){return Oe(o.ast,o.locales,o.formatters,o.formats,c,void 0,o.message)},this.resolvedOptions=function(){var c;return{locale:((c=o.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=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 s=n||{};s.formatters;var a=sn(s,["formatters"]);this.ast=e.__parse(t,Y(Y({},a),{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=Yn(e.formats,r),this.formatters=n&&n.formatters||qn(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=Gn,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 Qn(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let n=0;n<i.length;n++)if(typeof r=="object"){if(n>0){const o=i.slice(n,i.length).join(".");if(o in r){r=r[o];break}}r=r[i[n]]}else r=void 0;return r}const K={},Kn=(e,t,i)=>i&&(t in K||(K[t]={}),e in K[t]||(K[t][e]=i),i),Di=(e,t)=>{if(t==null)return;if(t in K&&e in K[t])return K[t][e];const i=Ge(t);for(let r=0;r<i.length;r++){const n=i[r],o=to(n,e);if(o)return Kn(e,t,o)}};let Lt;const we=Ue({});function eo(e){return Lt[e]||null}function Ri(e){return e in Lt}function to(e,t){if(!Ri(e))return null;const i=eo(e);return Qn(i,t)}function io(e){if(e==null)return;const t=Ge(e);for(let i=0;i<t.length;i++){const r=t[i];if(Ri(r))return r}}function ji(e,...t){delete K[e],we.update(i=>(i[e]=on.all([i[e]||{},...t]),i))}pe([we],([e])=>Object.keys(e));we.subscribe(e=>Lt=e);const Ie={};function ro(e,t){Ie[e].delete(t),Ie[e].size===0&&delete Ie[e]}function Ui(e){return Ie[e]}function no(e){return Ge(e).map(t=>{const i=Ui(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function pt(e){return e==null?!1:Ge(e).some(t=>{var i;return(i=Ui(t))==null?void 0:i.size})}function oo(e,t){return Promise.all(t.map(r=>(ro(e,r),r().then(n=>n.default||n)))).then(r=>ji(e,...r))}const ye={};function $i(e){if(!pt(e))return e in ye?ye[e]:Promise.resolve();const t=no(e);return ye[e]=Promise.all(t.map(([i,r])=>oo(i,r))).then(()=>{if(pt(e))return $i(e);delete ye[e]}),ye[e]}const so={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"}}},ao={fallbackLocale:null,loadingDelay:200,formats:so,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},uo=ao;function fe(){return uo}const rt=Ue(!1);var lo=Object.defineProperty,co=Object.defineProperties,ho=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,fo=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,Wt=(e,t,i)=>t in e?lo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,mo=(e,t)=>{for(var i in t||(t={}))fo.call(t,i)&&Wt(e,i,t[i]);if(zt)for(var i of zt(t))po.call(t,i)&&Wt(e,i,t[i]);return e},bo=(e,t)=>co(e,ho(t));let mt;const De=Ue(null);function Vt(e){return e.split("-").map((t,i,r)=>r.slice(0,i+1).join("-")).reverse()}function Ge(e,t=fe().fallbackLocale){const i=Vt(e);return t?[...new Set([...i,...Vt(t)])]:i}function re(){return mt!=null?mt:void 0}De.subscribe(e=>{mt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const go=e=>{if(e&&io(e)&&pt(e)){const{loadingDelay:t}=fe();let i;return typeof window!="undefined"&&re()!=null&&t?i=window.setTimeout(()=>rt.set(!0),t):rt.set(!0),$i(e).then(()=>{De.set(e)}).finally(()=>{clearTimeout(i),rt.set(!1)})}return De.set(e)},me=bo(mo({},De),{set:go}),ze=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var yo=Object.defineProperty,Re=Object.getOwnPropertySymbols,Fi=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,Xt=(e,t,i)=>t in e?yo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,xt=(e,t)=>{for(var i in t||(t={}))Fi.call(t,i)&&Xt(e,i,t[i]);if(Re)for(var i of Re(t))Gi.call(t,i)&&Xt(e,i,t[i]);return e},de=(e,t)=>{var i={};for(var r in e)Fi.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&Re)for(var r of Re(e))t.indexOf(r)<0&&Gi.call(e,r)&&(i[r]=e[r]);return i};const Te=(e,t)=>{const{formats:i}=fe();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},vo=ze(e=>{var t=e,{locale:i,format:r}=t,n=de(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Te("number",r)),new Intl.NumberFormat(i,n)}),_o=ze(e=>{var t=e,{locale:i,format:r}=t,n=de(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Te("date",r):Object.keys(n).length===0&&(n=Te("date","short")),new Intl.DateTimeFormat(i,n)}),Eo=ze(e=>{var t=e,{locale:i,format:r}=t,n=de(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Te("time",r):Object.keys(n).length===0&&(n=Te("time","short")),new Intl.DateTimeFormat(i,n)}),Lo=(e={})=>{var t=e,{locale:i=re()}=t,r=de(t,["locale"]);return vo(xt({locale:i},r))},xo=(e={})=>{var t=e,{locale:i=re()}=t,r=de(t,["locale"]);return _o(xt({locale:i},r))},To=(e={})=>{var t=e,{locale:i=re()}=t,r=de(t,["locale"]);return Eo(xt({locale:i},r))},wo=ze((e,t=re())=>new Jn(e,t,fe().formats,{ignoreTag:fe().ignoreTag})),So=(e,t={})=>{var i,r,n,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:c=re(),default:u}=s;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Di(e,c);if(!l)l=(o=(n=(r=(i=fe()).handleMissingMessage)==null?void 0:r.call(i,{locale:c,id:e,defaultValue:u}))!=null?n:u)!=null?o:e;else if(typeof l!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l;if(!a)return l;let h=l;try{h=wo(l,c).format(a)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return h},Po=(e,t)=>To(t).format(e),Ao=(e,t)=>xo(t).format(e),Bo=(e,t)=>Lo(t).format(e),No=(e,t=re())=>Di(e,t),Oo=pe([me,we],()=>So);pe([me],()=>Po);pe([me],()=>Ao);pe([me],()=>Bo);pe([me,we],()=>No);function Zt(e,t){ji(e,t)}function Io(e){me.set(e)}const Yt={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",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",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",lugas:"Current Deposit Limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",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}{currency} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"There was a problem while setting the limit, please try again.",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",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"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",updateText:"Anwendung am",removedLimitText:"Entfernung des Limits am",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",new:"Neu",limit:"Limit",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",deposit:"Einzahlungslimit",wager:"Einsatzlimit",stake:"Einsatzlimit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",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}{currency} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",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"},hr:{loadingText:"Učitavanje",Monthly:"mjesečno",Weekly:"tjedno",Daily:"dnevno",adjectiveMonthly:"mjesečno",adjectiveWeekly:"tjedno",adjectiveDaily:"dnevno",None:"Nijedno",noPeriod:"Nijedno",per:"po",updateText:"primjenjivat će se na",removedLimitText:"Ograničenje će biti uklonjeno dana",noLimitText:"Trenutno nije postavljeno ograničenje.",lugasPrivacy:"Ograničenje LUGAS za više pružatelja nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Razdoblje",amount:"Iznos",minutes:"minute",new:"Novo",limit:"ograničenje",setLimit:"POSTAVITE OGRANIČENJE",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wager:"Ograničenje igranja",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Vremenska ograničenja jedne sesije",cumulativeSession:"Vremensko ograničenje razdoblja",removeLimit:"OTKAŽI",popupPendingUpdate:"Primili smo zahtjev za promjenu limita. Imajte na umu da će ažuriranje stupiti na snagu tek",popupImmediateUpdate:"Vaš novi {selectedLimit} je {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Ograničenje promijenjeno",popupSuccess:"Uspješno",kycNotNeeded:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". Kako bi povećali ograničenje na željeni iznos",uploadDocumentsButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",popupError:"Došlo je do problema prilikom postavljanja ograničenja"},sl:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",adjectiveMonthly:"Mesečno",adjectiveWeekly:"Tedensko",adjectiveDaily:"Dnevno",None:"",noPeriod:".",per:"na",updateText:"uporabljeno bo na",removedLimitText:"Limit bo odstranjen",noLimitText:"Trenutno ni določen noben limit.",lugasPrivacy:"Na vse ponudnike vezan limit LUGAS, ponudnikom ni v pogled.",limitType:"Vrsta limita",period:"Časovno obdobje",amount:"Znesek",minutes:"minutes",new:"Novo",limit:"Limit",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",deposit:"Limit vplačila",wager:"Limit igralnih avtomatov",stake:"Limit vložkov",lugas:"Trenuten vplačilni limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ODSTRANI",popupPendingUpdate:"Prejeli smo prošnjo za spremembo limita. Prosimo upoštevajte, da sprememba začne veljati šele",popupImmediateUpdate:"Vaš novi {selectedLimit} znaša {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit spremenjen!",popupSuccess:"Uspešno",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",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"},pl:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",adjectiveMonthly:"Miesięcznie",adjectiveWeekly:"Tygodniowo",adjectiveDaily:"Codzienny",None:"",noPeriod:".",per:"za",updateText:"Zostanie zastosowany w dniu",removedLimitText:"Limit zostanie usunięty",noLimitText:"Obecnie nie posiadasz limitu.",lugasPrivacy:"Świadczeniodawcy nie widzą wzajemnie ustalonego limitu LUGAS.",limitType:"Rodzaj limitu",period:"Przedział czasowy",amount:"Kwota",minutes:"minutes",new:"Nowe",limit:"Limit",setLimit:"USTAW LIMIT",loss:"Limit Strat",deposit:"Limit wpłat",wager:"Limit na gre na automatach",stake:"Limit stawek",lugas:"Obecny limit depozytów",sessionLimit:"USUŃ",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"Otrzymaliśmy prośbę o zmianę limitu. Informujemy, że aktualizacja wejdzie w życie w dniu",popupImmediateUpdate:"Twój nowy {selectedLimit} jest {aktualizateAmount} {waluta} {selectederiod}",popupTitle:"Limit zmieniony!",popupSuccess:"Zakończone powodzeniem",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",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"},fr:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",per:"par",updateText:"sera appliqué sur",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit"},ro:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",new:"Limita pe",limit:"noua",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",deposit:"Limita de Depunere",wager:"Limita de Pariere",removeLimit:"ELIMINA",popupPendingUpdate:"Am primit cererea de a schimba limita. Schimbarea va intra in vigoare in data de",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount}{currency} pe {selectedPeriod}",popupTitle:"Limita schimbata",popupSuccess:"Succes!"},es:{loadingText:"Cargando",Monthly:"por mes",Weekly:"por semana",Daily:"por día",adjectiveMonthly:"mensual",adjectiveWeekly:"semanal",adjectiveDaily:"diario",None:"Ninguno",noPeriod:"Sin periodo",per:"por",updateText:"será aplicado en",removedLimitText:"El límite será retirado en",noLimitText:"Actualmente no hay un límite establecido.",lugasPrivacy:"El límite del proveedor-cruzado LUGAS no es visible para los proveedores.",limitType:"Tipo de Límite",period:"Periodo",amount:"Monto",minutes:"minutos",new:"Nuevo",limit:"límite",setLimit:"ESTABELECE UN LÍMITE",loss:"Límite de pérdida",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de apuesta",lugas:"Límite de depósito actual",sessionLimit:"Límites de tiempo en sesión única",cumulativeSession:"Límite de tiempo en periodo",removeLimit:"QUITAR / RETIRAR",popupPendingUpdate:"Hemos recibido la solicitud de cambiar el límite. Por favor este al tanto que el cambio solo entrará en efecto en",popupImmediateUpdate:"Tú nuevo {selectedLimit} esta {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Exitoso",popupError:"Hubo un problema mientras se establecía el límite",kycNotNeeded:"El límite de depósito se ha establecido con éxito. Puede administrar sus límites en cualquier momento en la confirguración de la cuenta.",kycNeeded1:"Pudimos estabelecer tu límite de deposito mensual en",kycNeeded2:"Para aumentar el límite a la cantidad deseada",uploadDocumentsButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR"},pt:{loadingText:"Carregando, por favor espere..."},"pt-br":{"Loading Text":"Carregando, por favor espere...",Monthly:"Por mês",Weekly:"Semanalmente",Daily:"Diário",adjectiveMonthly:"Por mês",adjectiveWeekly:"Semanalmente",adjectiveDaily:"Diário",None:"Nada",noPeriod:"nenhum periodo",per:"per",updateText:"Serão aplicados",removedLimitText:"O limite será removido em",noLimitText:"Não há limite definido",lugasPrivacy:"O provedor LUGAS não é visível para outros provedores",limitType:"Tipo de limite",period:"Período",amount:"Quantidade",minutes:"minutos",new:"Novo",limit:"limite",setLimit:"DEFINIR LIMITE",loss:"Limite de perda",deposit:"Limite de depósito",wager:"Limite de aposta",stake:"Limite de valor da aposta",lugas:"Limite de depósito atual",sessionLimit:"Limite de sessão única",cumulativeSession:"Limite por período de tempo",removeLimit:"REMOVER",popupPendingUpdate:"Recebemos a solicitação para alterar o limite. Observe que a atualização entrará em vigor em",popupImmediateUpdate:"Seu novo limite {selectedLimit} é {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limite alterado",popupSuccess:"Operação bem-sucedida",popupError:"Ocorreu um problema ao definir o limite, por favor, tente novamente",kycNotNeeded:"O limite de depósito foi definido com sucesso. Você pode gerenciar seus limites a qualquer momento nas configurações da sua conta.",kycNeeded1:"Conseguimos definir seu depósito mensal em",kycNeeded2:"Para aumentar o limite solicitado,Pedimos que você compartilhe as informações relevantes conosco. Essas informações podem ser enviadas na seção de upload de arquivos da página",uploadDocumentsButton:"fazer upload de arquivos",closeButton:"Data"},"es-mx":{"Loading Text":"Cargando, por favor espere...",Monthly:"Mensual",Weekly:"Semanal",Daily:"Diario",adjectiveMonthly:"Mensual",adjectiveWeekly:"Semanal",adjectiveDaily:"Diario",None:"Nada",noPeriod:"Ningún periodo",per:"per",updateText:"será aplicado el",removedLimitText:"el límite será removido el",noLimitText:"No hay límite puesto",lugasPrivacy:"El proveedor LUGAS no es visible para los demás proveedores",limitType:"Tipo de límite",period:"Periodo",amount:"Monto",minutes:"minutos",new:"Nuevo",limit:"límite",setLimit:"FIJAR LÍMITE",loss:"Límite de pérdida",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de monto de apuesta",lugas:"Límite de depósito actual",sessionLimit:"Límite de sesión única",cumulativeSession:"Límite por periodo de tiempo",removeLimit:"REMOVER",popupPendingUpdate:"Hemos recibido la solicitud de cambiar el límite. Por favor tome en cuenta que la actualización entrará en efecto el",popupImmediateUpdate:"Su nuevo límite {selectedLimit} es {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Operación exitosa",popupError:"Hubo un problema fijando el límite, por favor intente de nuevo",kycNotNeeded:"El límite de depósito se ha fijado exitosamente. Ustede puede manejar sus límites en cualquier momento en ajustes de su cuenta.",kycNeeded1:"Pudimos fijar su depósito mensual en",kycNeeded2:"Para poder incrementar el límite solicitado,le pedimos nos comparta la información relevante . Esta información puede ser enviada en la sección para subir archivos en la página",uploadDocumentsButton:"subir archivos",closeButton:"CERRAR"},tr:{loadingText:"Yükleniyor lütfen bekleyin...",Monthly:"her ay",Weekly:"haftada",Daily:"günlük",adjectiveMonthly:"aylık",adjectiveWeekly:"haftalık",adjectiveDaily:"günlük",None:"",noPeriod:".",per:"",updateText:"tarihinde uygulanacak",removedLimitText:"Limit kaldırılacak",noLimitText:"Şu anda belirlenmiş bir limit bulunmamaktadır.",lugasPrivacy:"Sağlayıcılar arası LUGAS limiti sağlayıcılar tarafından görülmez.",limitType:"Limit Türü",period:"Dönem",amount:"Miktar",minutes:"dakika",new:"Yeni",limit:"sınır",setLimit:"LİMİT AYARI",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wager:"Bahis Limiti",stake:"Bahis Limiti",lugas:"Güncel Para Yatırma Limiti",sessionLimit:"Tek Oturum Süre Sınırları",cumulativeSession:"Dönem Zaman Sınırı",removeLimit:"KALDIRMAK",popupPendingUpdate:"Limitin değiştirilmesi talebini aldık. Lütfen güncellemenin yalnızca şu tarihte geçerli olacağını unutmayın:",popupImmediateUpdate:"Yeni {selectedLimit}'iniz: {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Sınır değiştirildi",popupSuccess:"Başarılı",popupError:"Limit ayarlanırken bir sorun oluştu, lütfen tekrar deneyin.",kycNotNeeded:"Para yatırma limiti başarıyla belirlendi. Limitlerinizi istediğiniz zaman hesap ayarlarından yönetebilirsiniz.",kycNeeded1:"Aylık para yatırma limitinizi şu şekilde ayarlayabildik:",kycNeeded2:". Limitin istenilen tutara yükseltilebilmesi için ilgili bilgileri tarafımıza iletmenizi rica ederiz. Bu bilgi belge yüklemede gönderilebilir.",uploadDocumentsButton:"BELGELERİ YÜKLE",closeButton:"KAPALI"},"en-us":{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",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",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",lugas:"Current Deposit Limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",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}{currency} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"There was a problem while setting the limit, please try again.",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",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"}};/*! *****************************************************************************
4
+ Copyright (c) Microsoft Corporation.
5
+
6
+ Permission to use, copy, modify, and/or distribute this software for any
7
+ purpose with or without fee is hereby granted.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
16
+ ***************************************************************************** */var dt=function(e,t){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[n]=r[n])},dt(e,t)};function Se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");dt(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function bt(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function gt(e,t){var i=typeof Symbol=="function"&&e[Symbol.iterator];if(!i)return e;var r=i.call(e),n,o=[],s;try{for(;(t===void 0||t-- >0)&&!(n=r.next()).done;)o.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(s)throw s.error}}return o}function yt(e,t,i){if(arguments.length===2)for(var r=0,n=t.length,o;r<n;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||t)}function Q(e){return typeof e=="function"}function zi(e){var t=function(r){Error.call(r),r.stack=new Error().stack},i=e(t);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var nt=zi(function(e){return function(i){e(this),this.message=i?i.length+` errors occurred during unsubscription:
17
+ `+i.map(function(r,n){return n+1+") "+r.toString()}).join(`
18
+ `):"",this.name="UnsubscriptionError",this.errors=i}});function vt(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var We=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,i,r,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=bt(s),c=a.next();!c.done;c=a.next()){var u=c.value;u.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}else s.remove(this);var l=this.initialTeardown;if(Q(l))try{l()}catch(_){o=_ instanceof nt?_.errors:[_]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var p=bt(h),f=p.next();!f.done;f=p.next()){var m=f.value;try{qt(m)}catch(_){o=o!=null?o:[],_ instanceof nt?o=yt(yt([],gt(o)),gt(_.errors)):o.push(_)}}}catch(_){r={error:_}}finally{try{f&&!f.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}}if(o)throw new nt(o)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)qt(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)&&vt(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&&vt(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Wi=We.EMPTY;function Vi(e){return e instanceof We||e&&"closed"in e&&Q(e.remove)&&Q(e.add)&&Q(e.unsubscribe)}function qt(e){Q(e)?e():e.unsubscribe()}var Ho={Promise:void 0},Mo={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return setTimeout.apply(void 0,yt([e,t],gt(i)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Co(e){Mo.setTimeout(function(){throw e})}function Jt(){}function He(e){e()}var Xi=function(e){Se(t,e);function t(i){var r=e.call(this)||this;return r.isStopped=!1,i?(r.destination=i,Vi(i)&&i.add(r)):r.destination=Ro,r}return t.create=function(i,r,n){return new _t(i,r,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}(We),ko=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(r){Be(r)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(r){Be(r)}else Be(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){Be(i)}},e}(),_t=function(e){Se(t,e);function t(i,r,n){var o=e.call(this)||this,s;return Q(i)||!i?s={next:i!=null?i:void 0,error:r!=null?r:void 0,complete:n!=null?n:void 0}:s=i,o.destination=new ko(s),o}return t}(Xi);function Be(e){Co(e)}function Do(e){throw e}var Ro={closed:!0,next:Jt,error:Do,complete:Jt},jo=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Uo(e){return e}function $o(e){return e.length===0?Uo:e.length===1?e[0]:function(i){return e.reduce(function(r,n){return n(r)},i)}}var Qt=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,r){var n=this,o=Go(t)?t:new _t(t,i,r);return He(function(){var s=n,a=s.operator,c=s.source;o.add(a?a.call(o,c):c?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(i){t.error(i)}},e.prototype.forEach=function(t,i){var r=this;return i=Kt(i),new i(function(n,o){var s=new _t({next:function(a){try{t(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:n});r.subscribe(s)})},e.prototype._subscribe=function(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)},e.prototype[jo]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return $o(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=Kt(t),new t(function(r,n){var o;i.subscribe(function(s){return o=s},function(s){return n(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function Kt(e){var t;return(t=e!=null?e:Ho.Promise)!==null&&t!==void 0?t:Promise}function Fo(e){return e&&Q(e.next)&&Q(e.error)&&Q(e.complete)}function Go(e){return e&&e instanceof Xi||Fo(e)&&Vi(e)}var zo=zi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Zi=function(e){Se(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 r=new ei(this,this);return r.operator=i,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new zo},t.prototype.next=function(i){var r=this;He(function(){var n,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=bt(r.currentObservers),a=s.next();!a.done;a=s.next()){var c=a.value;c.next(i)}}catch(u){n={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(i){var r=this;He(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=i;for(var n=r.observers;n.length;)n.shift().error(i)}})},t.prototype.complete=function(){var i=this;He(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var r=i.observers;r.length;)r.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 r=this,n=this,o=n.hasError,s=n.isStopped,a=n.observers;return o||s?Wi:(this.currentObservers=null,a.push(i),new We(function(){r.currentObservers=null,vt(a,i)}))},t.prototype._checkFinalizedStatuses=function(i){var r=this,n=r.hasError,o=r.thrownError,s=r.isStopped;n?i.error(o):s&&i.complete()},t.prototype.asObservable=function(){var i=new Qt;return i.source=this,i},t.create=function(i,r){return new ei(i,r)},t}(Qt),ei=function(e){Se(t,e);function t(i,r){var n=e.call(this)||this;return n.destination=i,n.source=r,n}return t.prototype.next=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,i)},t.prototype.error=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,i)},t.prototype.complete=function(){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||r===void 0||r.call(i)},t.prototype._subscribe=function(i){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(i))!==null&&n!==void 0?n:Wi},t}(Zi),Yi={now:function(){return(Yi.delegate||Date).now()},delegate:void 0},Wo=function(e){Se(t,e);function t(i,r,n){i===void 0&&(i=1/0),r===void 0&&(r=1/0),n===void 0&&(n=Yi);var o=e.call(this)||this;return o._bufferSize=i,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,i),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(i){var r=this,n=r.isStopped,o=r._buffer,s=r._infiniteTimeWindow,a=r._timestampProvider,c=r._windowTime;n||(o.push(i),!s&&o.push(a.now()+c)),this._trimBuffer(),e.prototype.next.call(this,i)},t.prototype._subscribe=function(i){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(i),n=this,o=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),c=0;c<a.length&&!i.closed;c+=o?1:2)i.next(a[c]);return this._checkFinalizedStatuses(i),r},t.prototype._trimBuffer=function(){var i=this,r=i._bufferSize,n=i._timestampProvider,o=i._buffer,s=i._infiniteTimeWindow,a=(s?1:2)*r;if(r<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var c=n.now(),u=0,l=1;l<o.length&&o[l]<=c;l+=2)u=l;u&&o.splice(0,u+1)}},t}(Zi);const ti=[],ii={},Vo=(e,t=0)=>{if(ti.indexOf(e)==-1){const i=new Wo(t);ii[e]=i,ti.push(e)}return ii[e]};window.emWidgets={topic:Vo};const Xo=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 ae="__WIDGET_GLOBAL_STYLE_CACHE__";function Zo(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Yo(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(r=>r.text()).then(r=>{const n=document.createElement("style");n.innerHTML=r,e&&e.appendChild(n)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function qo(e,t,i,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return i=Jo(e,t),i;window[ae]||(window[ae]={}),i=Qo(e,t);const o=i.unsubscribe.bind(i),s=()=>{if(window[ae][t]){const a=window[ae][t];a.refCount>1?a.refCount=a.refCount-1:delete window[ae][t]}o()};return i.unsubscribe=s,i}function Jo(e,t){const i=document.createElement("style");return window.emMessageBus.subscribe(t,r=>{e&&(i.innerHTML=r,e.appendChild(i))})}function Qo(e,t){return window.emMessageBus.subscribe(t,i=>{var a;if(!e)return;const r=e.getRootNode(),n=window[ae];let o=(a=n[t])==null?void 0:a.sheet;o?n[t].refCount=n[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(i),n[t]={sheet:o,refCount:1});const s=r.adoptedStyleSheets||[];s.includes(o)||(r.adoptedStyleSheets=[...s,o])})}function Ko(e){Er(e,"svelte-1uoztsw",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}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))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}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))}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-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@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}')}function ri(e,t,i){const r=e.slice();return r[50]=t[i],r}function ni(e,t,i){const r=e.slice();return r[53]=t[i],r}function oi(e,t,i){const r=e.slice();return r[53]=t[i],r}function si(e,t,i){const r=e.slice();return r[58]=t[i],r}function ai(e){let t,i;function r(s,a){return s[11]?es:ts}let n=r(e),o=n(e);return{c(){t=v("div"),i=v("div"),o.c(),g(i,"class","PopupContainer "+(e[14]?"Desktop":"")),g(t,"class","PopupOverlay")},m(s,a){A(s,t,a),d(t,i),o.m(i,null)},p(s,a){n===(n=r(s))&&o?o.p(s,a):(o.d(1),o=n(s),o&&(o.c(),o.m(i,null)))},d(s){s&&P(t),o.d()}}}function es(e){let t,i,r=e[13]("popupTitle")+"",n,o,s,a,c,u,l,h,p,f,m,_,R,B=!e[9]&&ui(e);return{c(){t=v("div"),i=v("span"),n=F(r),o=$(),s=v("button"),s.textContent="X",a=$(),c=v("div"),u=v("div"),B&&B.c(),l=$(),h=v("p"),p=F(e[12]),f=$(),m=v("button"),m.textContent="OK",g(i,"class","PopupTitle"),g(s,"class","ClosePopup"),g(t,"class","PopupTitleWrapper"),g(u,"class","ResultIconWrapper"),g(h,"class","DescriptionParagraph"),g(c,"class","DescriptionWrapper"),g(m,"class","ConfirmButton")},m(S,E){A(S,t,E),d(t,i),d(i,n),d(t,o),d(t,s),A(S,a,E),A(S,c,E),d(c,u),B&&B.m(u,null),d(c,l),d(c,h),d(h,p),A(S,f,E),A(S,m,E),_||(R=[q(s,"click",e[20]),q(m,"click",e[20])],_=!0)},p(S,E){E[0]&8192&&r!==(r=S[13]("popupTitle")+"")&&W(n,r),S[9]?B&&(B.d(1),B=null):B?B.p(S,E):(B=ui(S),B.c(),B.m(u,null)),E[0]&4096&&W(p,S[12])},d(S){S&&(P(t),P(a),P(c),P(f),P(m)),B&&B.d(),_=!1,te(R)}}}function ts(e){let t;return{c(){t=v("div"),g(t,"class","LoadingIndicator")},m(i,r){A(i,t,r)},p:j,d(i){i&&P(t)}}}function ui(e){let t,i,r,n,o,s,a,c,u=e[13]("popupSuccess")+"",l;return{c(){t=ge("svg"),i=ge("defs"),r=ge("style"),n=F(`.fil0 {fill:black;fill-rule:nonzero}
19
+ `),o=ge("g"),s=ge("polygon"),a=$(),c=v("p"),l=F(u),g(r,"type","text/css"),g(s,"class","fil0"),g(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(t,"xmlns","http://www.w3.org/2000/svg"),g(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(t,"xml:space","preserve"),g(t,"version","1.1"),qe(t,"shape-rendering","geometricPrecision"),qe(t,"text-rendering","geometricPrecision"),qe(t,"image-rendering","optimizeQuality"),g(t,"viewBox","0 0 90 69"),g(t,"x","0px"),g(t,"y","0px"),g(t,"fill-rule","evenodd"),g(t,"clip-rule","evenodd")},m(h,p){A(h,t,p),d(t,i),d(i,r),d(r,n),d(t,o),d(o,s),A(h,a,p),A(h,c,p),d(c,l)},p(h,p){p[0]&8192&&u!==(u=h[13]("popupSuccess")+"")&&W(l,u)},d(h){h&&(P(t),P(a),P(c))}}}function is(e){let t,i,r,n,o,s,a,c,u,l=e[6]?`${e[13]("amount")}`:`${e[13]("new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("limit")}`,h,p,f,m,_,R=e[13]("setLimit")+"",B,S,E,k=ee(e[15]),L=[];for(let x=0;x<k.length;x+=1)L[x]=ci(oi(e,k,x));let O=e[5]&&hi(e),D=e[6]&&pi(e);return{c(){t=v("div"),i=v("div"),r=v("div");for(let x=0;x<L.length;x+=1)L[x].c();n=$(),o=v("form"),O&&O.c(),s=$(),D&&D.c(),a=$(),c=v("label"),u=v("span"),h=F(l),p=$(),f=v("input"),m=$(),_=v("button"),B=F(R),g(r,"class","LimitsList "+(e[14]?"Desktop":"")),g(u,"class","LimitInputText"),g(c,"class","LimitAmountInputWrapper"),g(f,"type","number"),g(f,"pattern","[0-9]*"),g(_,"class","LimitSubmitButton"),g(_,"type","button"),_.disabled=!0,g(o,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),g(i,"class","LimitsPageContainer"),g(t,"class","player-account-gaming-limits-page-2-gmcore")},m(x,U){A(x,t,U),d(t,i),d(i,r);for(let H=0;H<L.length;H+=1)L[H]&&L[H].m(r,null);d(i,n),d(i,o),O&&O.m(o,null),d(o,s),D&&D.m(o,null),d(o,a),d(o,c),d(c,u),d(u,h),d(o,p),d(o,f),_e(f,e[3]),d(o,m),d(o,_),d(_,B),e[35](_),S||(E=[q(f,"input",e[34]),q(f,"keyup",e[18]),q(_,"click",e[17]),q(o,"submit",e[17])],S=!0)},p(x,U){if(U[0]&581632){k=ee(x[15]);let H;for(H=0;H<k.length;H+=1){const ie=oi(x,k,H);L[H]?L[H].p(ie,U):(L[H]=ci(ie),L[H].c(),L[H].m(r,null))}for(;H<L.length;H+=1)L[H].d(1);L.length=k.length}x[5]?O?O.p(x,U):(O=hi(x),O.c(),O.m(o,s)):O&&(O.d(1),O=null),x[6]?D?D.p(x,U):(D=pi(x),D.c(),D.m(o,a)):D&&(D.d(1),D=null),U[0]&8260&&l!==(l=x[6]?`${x[13]("amount")}`:`${x[13]("new")} ${x[13](`gamingLimits.${x[2]}`)} ${x[13]("limit")}`)&&W(h,l),U[0]&8&&yi(f.value)!==x[3]&&_e(f,x[3]),U[0]&8192&&R!==(R=x[13]("setLimit")+"")&&W(B,R)},d(x){x&&P(t),je(L,x),O&&O.d(),D&&D.d(),e[35](null),S=!1,te(E)}}}function rs(e){let t;return{c(){t=v("p"),t.textContent="500 Server error"},m(i,r){A(i,t,r)},p:j,d(i){i&&P(t)}}}function ns(e){return{c:j,m:j,p:j,d:j}}function os(e){let t;return{c(){t=v("div"),g(t,"class","LoadingIndicator")},m(i,r){A(i,t,r)},p:j,d(i){i&&P(t)}}}function ss(e){let t,i,r,n=e[13]("noLimitText")+"",o;return{c(){t=v("div"),i=v("div"),r=v("div"),o=F(n),g(r,"class","LimitDetailsTextWrapper"),g(i,"class","LimitDetailsWrapper"),g(t,"class","LimitDetails")},m(s,a){A(s,t,a),d(t,i),d(i,r),d(r,o)},p(s,a){a[0]&8192&&n!==(n=s[13]("noLimitText")+"")&&W(o,n)},d(s){s&&P(t)}}}function as(e){let t,i=ee(e[53].currentLimits),r=[];for(let n=0;n<i.length;n+=1)r[n]=li(si(e,i,n));return{c(){for(let n=0;n<r.length;n+=1)r[n].c();t=Tr()},m(n,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(n,o);A(n,t,o)},p(n,o){if(o[0]&565248){i=ee(n[53].currentLimits);let s;for(s=0;s<i.length;s+=1){const a=si(n,i,s);r[s]?r[s].p(a,o):(r[s]=li(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=i.length}},d(n){n&&P(t),je(r,n)}}}function us(e){let t,i=`${e[13]("removedLimitText")} ${e[58].expiryDate}`,r;return{c(){t=v("div"),r=F(i),g(t,"class","PendingLimit")},m(n,o){A(n,t,o),d(t,r)},p(n,o){o[0]&8192&&i!==(i=`${n[13]("removedLimitText")} ${n[58].expiryDate}`)&&W(r,i)},d(n){n&&P(t)}}}function ls(e){let t,i=`${e[58].updateAmount}${e[58].currency} ${e[13](`gamingLimits.${e[58].period}`)} ${e[13]("updateText")} ${e[58].expiryDate}`,r;return{c(){t=v("div"),r=F(i),g(t,"class","PendingLimit")},m(n,o){A(n,t,o),d(t,r)},p(n,o){o[0]&8192&&i!==(i=`${n[58].updateAmount}${n[58].currency} ${n[13](`gamingLimits.${n[58].period}`)} ${n[13]("updateText")} ${n[58].expiryDate}`)&&W(r,i)},d(n){n&&P(t)}}}function cs(e){let t,i=e[13]("gamingLimits.removeLimit")+"",r,n,o;function s(){return e[31](e[58])}return{c(){t=v("button"),r=F(i),g(t,"class","RemoveLimitButton")},m(a,c){A(a,t,c),d(t,r),n||(o=q(t,"click",s),n=!0)},p(a,c){e=a,c[0]&8192&&i!==(i=e[13]("gamingLimits.removeLimit")+"")&&W(r,i)},d(a){a&&P(t),n=!1,o()}}}function li(e){let t,i,r,n=`${e[58].amount}${e[58].currency} ${e[13](`gamingLimits.${e[58].period}`)}`,o,s,a,c;function u(f,m){if(f[58].isModified&&f[58].updateAmount!="-1")return ls;if(f[58].isModified)return us}let l=u(e),h=l&&l(e),p=!e[58].isModified&&cs(e);return{c(){t=v("div"),i=v("div"),r=v("div"),o=F(n),s=$(),h&&h.c(),a=$(),p&&p.c(),c=$(),g(r,"class","CurrentLimit"),g(i,"class","LimitDetailsTextWrapper"),g(t,"class","LimitDetails")},m(f,m){A(f,t,m),d(t,i),d(i,r),d(r,o),d(i,s),h&&h.m(i,null),d(t,a),p&&p.m(t,null),d(t,c)},p(f,m){m[0]&8192&&n!==(n=`${f[58].amount}${f[58].currency} ${f[13](`gamingLimits.${f[58].period}`)}`)&&W(o,n),h&&h.p(f,m),f[58].isModified||p.p(f,m)},d(f){f&&P(t),h&&h.d(),p&&p.d()}}}function ci(e){let t,i,r=e[13](`gamingLimits.${e[53].value}`)+"",n,o,s;function a(l,h){return l[53].currentLimits.length>0?as:ss}let u=a(e)(e);return{c(){t=v("div"),i=v("p"),n=F(r),o=$(),u.c(),s=$(),g(i,"class","LimitTitle"),g(t,"class","LimitWrapper "+(e[14]?"Desktop":""))},m(l,h){A(l,t,h),d(t,i),d(i,n),d(t,o),u.m(t,null),d(t,s)},p(l,h){h[0]&8192&&r!==(r=l[13](`gamingLimits.${l[53].value}`)+"")&&W(n,r),u.p(l,h)},d(l){l&&P(t),u.d()}}}function hi(e){let t,i,r=e[13]("limitType")+"",n,o,s,a,c,u=ee(e[15]),l=[];for(let h=0;h<u.length;h+=1)l[h]=fi(ni(e,u,h));return{c(){t=v("label"),i=v("span"),n=F(r),o=$(),s=v("select");for(let h=0;h<l.length;h+=1)l[h].c();g(i,"class","LimitSelectText"),g(s,"name",""),g(s,"id",""),e[1]===void 0&&Le(()=>e[32].call(s)),g(t,"class","LimitTypeDropdownWrapper")},m(h,p){A(h,t,p),d(t,i),d(i,n),d(t,o),d(t,s);for(let f=0;f<l.length;f+=1)l[f]&&l[f].m(s,null);Me(s,e[1],!0),a||(c=[q(s,"change",e[32]),q(s,"change",e[16])],a=!0)},p(h,p){if(p[0]&8192&&r!==(r=h[13]("limitType")+"")&&W(n,r),p[0]&32768){u=ee(h[15]);let f;for(f=0;f<u.length;f+=1){const m=ni(h,u,f);l[f]?l[f].p(m,p):(l[f]=fi(m),l[f].c(),l[f].m(s,null))}for(;f<l.length;f+=1)l[f].d(1);l.length=u.length}p[0]&32770&&Me(s,h[1])},d(h){h&&P(t),je(l,h),a=!1,te(c)}}}function fi(e){let t,i=e[53].title+"",r;return{c(){t=v("option"),r=F(i),t.__value=e[53].value,_e(t,t.__value)},m(n,o){A(n,t,o),d(t,r)},p:j,d(n){n&&P(t)}}}function pi(e){let t,i,r=e[13]("period")+"",n,o,s,a,c,u=ee(Z[e[1]].periods),l=[];for(let h=0;h<u.length;h+=1)l[h]=mi(ri(e,u,h));return{c(){t=v("label"),i=v("span"),n=F(r),o=$(),s=v("select");for(let h=0;h<l.length;h+=1)l[h].c();g(i,"class","PeriodSelectText"),g(t,"class","LimitPeriodDropdownWrapper"),g(s,"name",""),g(s,"id",""),e[2]===void 0&&Le(()=>e[33].call(s))},m(h,p){A(h,t,p),d(t,i),d(i,n),A(h,o,p),A(h,s,p);for(let f=0;f<l.length;f+=1)l[f]&&l[f].m(s,null);Me(s,e[2],!0),a||(c=q(s,"change",e[33]),a=!0)},p(h,p){if(p[0]&8192&&r!==(r=h[13]("period")+"")&&W(n,r),p[0]&8194){u=ee(Z[h[1]].periods);let f;for(f=0;f<u.length;f+=1){const m=ri(h,u,f);l[f]?l[f].p(m,p):(l[f]=mi(m),l[f].c(),l[f].m(s,null))}for(;f<l.length;f+=1)l[f].d(1);l.length=u.length}p[0]&6&&Me(s,h[2])},d(h){h&&(P(t),P(o),P(s)),je(l,h),a=!1,c()}}}function mi(e){let t,i=e[13](`gamingLimits.${e[50]}`)+"",r,n;return{c(){t=v("option"),r=F(i),t.__value=n=e[50],_e(t,t.__value),t.selected=!0},m(o,s){A(o,t,s),d(t,r)},p(o,s){s[0]&8194&&i!==(i=o[13](`gamingLimits.${o[50]}`)+"")&&W(r,i),s[0]&32770&&n!==(n=o[50])&&(t.__value=n,_e(t,t.__value))},d(o){o&&P(t)}}}function hs(e){let t,i,r=e[10]&&ai(e);function n(a,c){return a[7]&&!a[10]?os:a[7]?ns:a[8]?rs:is}let o=n(e),s=o(e);return{c(){t=v("div"),r&&r.c(),i=$(),s.c()},m(a,c){A(a,t,c),r&&r.m(t,null),d(t,i),s.m(t,null),e[36](t)},p(a,c){a[10]?r?r.p(a,c):(r=ai(a),r.c(),r.m(t,i)):r&&(r.d(1),r=null),o===(o=n(a))&&s?s.p(a,c):(s.d(1),s=o(a),s&&(s.c(),s.m(t,null)))},i:j,o:j,d(a){a&&P(t),r&&r.d(),s.d(),e[36](null)}}}function fs(e,t,i){let r;_r(e,Oo,b=>i(13,r=b));let{lang:n="en"}=t,{currency:o=""}=t,{limits:s=""}=t,{session:a=""}=t,{userid:c=""}=t,{endpoint:u=""}=t,{clientstyling:l=""}=t,{clientstylingurl:h=""}=t,{translationurl:p=""}=t,{mbsource:f}=t,m,_,R=window.navigator.userAgent,B=!Xo(R),S=[],E="",k="",L,O,D=!1,x=!1,U=!0,H=!1,ie=!1,be=!1,Ve=!1,Xe="",Pe;const Tt={EUR:"€",RON:" lei"},Ji={updatePendingError:["SYS_1037","SYS_1142","SYS_1140"]},Qi=()=>{fetch(p).then(y=>y.json()).then(y=>{Object.keys(y).forEach(N=>{Zt(N,y[N])})}).catch(y=>{console.log(y)})};Object.keys(Yt).forEach(b=>{Zt(b,Yt[b])});const Ki=()=>{s.split(" ").forEach(y=>{Z[y]?S.push(Z[y]):console.error(`Unknown limit: ${y}`)}),i(1,E=S[0].value),i(2,k=Z[E].periods[0]),i(5,D=S.length>1),i(6,x=Z[E].periods.length>1)},er=()=>{i(2,k=Z[E].periods[0]),i(6,x=Z[E].periods.length>1)},tr=()=>{if(!(L>0))return;i(10,be=!0),i(7,U=!0);let b=new URL(`/v2/player/${c}/limits`,u);const y={};y[Z[E].callValue]=[{period:k,amount:L,currency:o}];let N={method:"PUT",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(y)};fetch(b.href,N).then(M=>(M.status>=300&&i(9,ie=!0),M.json())).then(M=>{Ze(),ie&&ir(M)}).catch(M=>{console.log(M),i(7,U=!1),i(8,H=!0)})},ir=b=>{const y=b.error.match(/errorCode:(.*)\)/)[1];console.error(`API response error: ${y}`);let N;for(const[M,G]of Object.entries(Ji))G.includes(y)&&(N=r(`gamingLimits.${M}`));N=N!=null?N:r("gamingLimits.genericError"),wt(y,N)},Ze=()=>{let b=new URL(`/v2/player/${c}/limits`,u),y=!ie,N={method:"GET",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(b.href,N).then(M=>{if(M.status>=300)throw i(7,U=!1),i(8,H=!0),new Error("There was an error fetching the limits");return M.json()}).then(M=>{Pe=M,be&&y&&wt(),rr(Pe),i(7,U=!1),i(3,L=null)}).catch(M=>{console.log(M),i(7,U=!1),i(8,H=!0)})},rr=b=>{S.forEach(y=>{var N;y.currentLimits=[],(N=b[Z[y.value].callValue])==null||N.forEach((M,G)=>{var Pt;const J=b[Z[y.value].callValue][G];y.currentLimits.push({}),y.currentLimits[G].limitType=y.value,y.currentLimits[G].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(J.amount),y.currentLimits[G].currency=(Pt=Tt[J.currency])!=null?Pt:J.currency,y.currentLimits[G].period=J.period,y.currentLimits[G].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(J.updateAmount),y.currentLimits[G].isModified=J.isModified,y.currentLimits[G].expiryDate=`${new Date(J.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),y.currentLimits=nr(y.currentLimits)})},nr=b=>{const y={Daily:0,Weekly:1,Monthly:2};return b.sort((N,M)=>y[N.period]-y[M.period]),b},or=()=>{L>999999999999999&&i(3,L=999999999999999);const y=L-Math.floor(L)===0;L>0&&y?O.removeAttribute("disabled"):O.setAttribute("disabled","true")},wt=(b,y)=>{if(b)i(12,Xe=y);else if(Pe){const N=Pe[Z[E].callValue].filter(J=>J.period===k)[0],M=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(N.amount);let G=r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",r(`gamingLimits.${E}`).toLowerCase()).replace("{updatedAmount}",M).replace("{currency}",Tt[N.currency]||N.currency).replace("{selectedPeriod}",r(`gamingLimits.${k}`).toLowerCase());i(12,Xe=N.isModified?`${r("popupPendingUpdate")} ${new Date(N.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:G)}else console.error("Couldn't populate popupContent");i(11,Ve=!0)},St=b=>{const y={wager:"wagering",loss:"loss",deposit:"deposit"};i(10,be=!0),i(7,U=!0);let N=new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`,u),M={method:"DELETE",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(N.href,M).then(G=>G.json()).then(G=>{Ze()}).catch(G=>{console.log(G),i(7,U=!1),i(8,H=!0)})},sr=()=>{i(11,Ve=i(10,be=!1))},ar=()=>{Io(n)};Ar(()=>()=>{});const ur=b=>St(b);function lr(){E=Ht(this),i(1,E),i(15,S)}function cr(){k=Ht(this),i(2,k),i(1,E)}function hr(){L=yi(this.value),i(3,L)}function fr(b){Ce[b?"unshift":"push"](()=>{O=b,i(4,O)})}function pr(b){Ce[b?"unshift":"push"](()=>{m=b,i(0,m)})}return e.$$set=b=>{"lang"in b&&i(21,n=b.lang),"currency"in b&&i(22,o=b.currency),"limits"in b&&i(23,s=b.limits),"session"in b&&i(24,a=b.session),"userid"in b&&i(25,c=b.userid),"endpoint"in b&&i(26,u=b.endpoint),"clientstyling"in b&&i(27,l=b.clientstyling),"clientstylingurl"in b&&i(28,h=b.clientstylingurl),"translationurl"in b&&i(29,p=b.translationurl),"mbsource"in b&&i(30,f=b.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&8388608&&s&&Ki(),e.$$.dirty[0]&2097152&&n&&ar(),e.$$.dirty[0]&117440512&&c&&a&&u&&Ze(),e.$$.dirty[0]&134217729&&l&&m&&Zo(m,l),e.$$.dirty[0]&268435457&&h&&m&&Yo(m,h),e.$$.dirty[0]&1073741825&&f&&m&&qo(m,`${f}.Style`,_),e.$$.dirty[0]&536870912&&p&&Qi()},[m,E,k,L,O,D,x,U,H,ie,be,Ve,Xe,r,B,S,er,tr,or,St,sr,n,o,s,a,c,u,l,h,p,f,ur,lr,cr,hr,fr,pr]}class qi extends Ur{constructor(t){super(),Rr(this,t,fs,hs,bi,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28,translationurl:29,mbsource:30},Ko,[-1,-1])}get lang(){return this.$$.ctx[21]}set lang(t){this.$$set({lang:t}),X()}get currency(){return this.$$.ctx[22]}set currency(t){this.$$set({currency:t}),X()}get limits(){return this.$$.ctx[23]}set limits(t){this.$$set({limits:t}),X()}get session(){return this.$$.ctx[24]}set session(t){this.$$set({session:t}),X()}get userid(){return this.$$.ctx[25]}set userid(t){this.$$set({userid:t}),X()}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),X()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(t){this.$$set({clientstyling:t}),X()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),X()}get translationurl(){return this.$$.ctx[29]}set translationurl(t){this.$$set({translationurl:t}),X()}get mbsource(){return this.$$.ctx[30]}set mbsource(t){this.$$set({mbsource:t}),X()}}jr(qi,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=qi;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountGamingLimitsPage2Gmcore-Cx5OiLHn.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountGamingLimitsPage2Gmcore-DlKNE9sh.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsPage2Gmcore-CAB8ISDt.js").then(
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsPage2Gmcore-D7aqxrBo.js").then(
14
14
  ({ default: t }) => {
15
15
  !customElements.get("player-account-gaming-limits-page-2-gmcore") && customElements.define(
16
16
  "player-account-gaming-limits-page-2-gmcore",
@@ -1,4 +1,4 @@
1
- import { P as s } from "../components/PlayerAccountGamingLimitsPage2Gmcore-CDbMnJ9r.js";
1
+ import { P as s } from "../components/PlayerAccountGamingLimitsPage2Gmcore-D1Yk-WpT.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-gaming-limits-page-2-gmcore",
3
- "version": "1.87.26",
3
+ "version": "1.87.27",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-gaming-limits-page-2-gmcore.cjs",
6
6
  "module": "esnext/player-account-gaming-limits-page-2-gmcore.js",