@everymatrix/player-account-gaming-limits-page-2-gmcore 1.86.4 → 1.86.6

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 fr=Object.defineProperty,mr=Object.defineProperties;var pr=Object.getOwnPropertyDescriptors;var St=Object.getOwnPropertySymbols;var dr=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable;var Xe=(e,t,i)=>t in e?fr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Pt=(e,t)=>{for(var i in t||(t={}))dr.call(t,i)&&Xe(e,i,t[i]);if(St)for(var i of St(t))br.call(t,i)&&Xe(e,i,t[i]);return e},At=(e,t)=>mr(e,pr(t));var V=(e,t,i)=>(Xe(e,typeof t!="symbol"?t+"":t,i),i);var Bt=(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 mi(e){return e()}function Nt(){return Object.create(null)}function ie(e){e.forEach(mi)}function vt(e){return typeof e=="function"}function pi(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function gr(e){return Object.keys(e).length===0}function di(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 yr(e,t,i){e.$$.on_destroy.push(di(t,i))}function d(e,t){e.appendChild(t)}function vr(e,t,i){const r=_r(e);if(!r.getElementById(t)){const n=v("style");n.id=t,n.textContent=i,Er(r,n)}}function _r(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Er(e,t){return d(e.head||e,t),t.sheet}function B(e,t,i){e.insertBefore(t,i||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function De(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 de(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function $(e){return document.createTextNode(e)}function U(){return $(" ")}function Lr(){return $("")}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 bi(e){return e===""?null:+e}function xr(e){return Array.from(e.childNodes)}function W(e,t){t=""+t,e.data!==t&&(e.data=t)}function ye(e,t){e.value=t==null?"":t}function Ze(e,t,i,r){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function Ie(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 Ot(e){const t=e.querySelector(":checked");return t&&t.__value}function Tr(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let ve;function ge(e){ve=e}function wr(){if(!ve)throw new Error("Function called outside component initialization");return ve}function Sr(e){wr().$$.on_mount.push(e)}const se=[],He=[];let ae=[];const It=[],Pr=Promise.resolve();let rt=!1;function Ar(){rt||(rt=!0,Pr.then(X))}function _e(e){ae.push(e)}const Ye=new Set;let ne=0;function X(){if(ne!==0)return;const e=ve;do{try{for(;ne<se.length;){const t=se[ne];ne++,ge(t),Br(t.$$)}}catch(t){throw se.length=0,ne=0,t}for(ge(null),se.length=0,ne=0;He.length;)He.pop()();for(let t=0;t<ae.length;t+=1){const i=ae[t];Ye.has(i)||(Ye.add(i),i())}ae.length=0}while(se.length);for(;It.length;)It.pop()();rt=!1,Ye.clear(),ge(e)}function Br(e){if(e.fragment!==null){e.update(),ie(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_e)}}function Nr(e){const t=[],i=[];ae.forEach(r=>e.indexOf(r)===-1?t.push(r):i.push(r)),i.forEach(r=>r()),ae=t}const Or=new Set;function Ir(e,t){e&&e.i&&(Or.delete(e),e.i(t))}function te(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Hr(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),_e(()=>{const o=e.$$.on_mount.map(mi).filter(vt);e.$$.on_destroy?e.$$.on_destroy.push(...o):ie(o),e.$$.on_mount=[]}),n.forEach(_e)}function Mr(e,t){const i=e.$$;i.fragment!==null&&(Nr(i.after_update),ie(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function kr(e,t){e.$$.dirty[0]===-1&&(se.push(e),Ar(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Cr(e,t,i,r,n,o,s=null,a=[-1]){const c=ve;ge(e);const u=e.$$={fragment:null,ctx:[],props:o,update:j,not_equal:n,bound:Nt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Nt(),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,m,...f)=>{const p=f.length?f[0]:m;return u.ctx&&n(u.ctx[h],u.ctx[h]=p)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](p),l&&kr(e,h)),m}):[],u.update(),l=!0,ie(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const h=xr(t.target);u.fragment&&u.fragment.l(h),h.forEach(A)}else u.fragment&&u.fragment.c();t.intro&&Ir(e.$$.fragment),Hr(e,t.target,t.anchor),X()}ge(c)}let gi;typeof HTMLElement=="function"&&(gi=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 Bt(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){B(u,s,l)},d:function(u){u&&A(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=Tr(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]=Ae(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:At(Pt({},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=Ae(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]=Ae(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 Ae(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 Dr(e,t,i,r,n,o){let s=class extends gi{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=Ae(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 Rr{constructor(){V(this,"$$");V(this,"$$set")}$destroy(){Mr(this,1),this.$destroy=j}$on(t,i){if(!vt(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&&!gr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const jr="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(jr);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 Ur(e,t){return{subscribe:Re(e,t).subscribe}}function Re(e,t=j){let i;const r=new Set;function n(a){if(pi(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 fe(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 Ur(i,(s,a)=>{let c=!1;const u=[];let l=0,h=j;const m=()=>{if(l)return;h();const p=t(r?u[0]:u,s,a);o?s(p):h=vt(p)?p:j},f=n.map((p,_)=>di(p,R=>{u[_]=R,l&=~(1<<_),c&&m()},()=>{l|=1<<_}));return c=!0,m(),function(){ie(f),h(),c=!1}})}function $r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fr=function(t){return Gr(t)&&!zr(t)};function Gr(e){return!!e&&typeof e=="object"}function zr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Xr(e)}var Wr=typeof Symbol=="function"&&Symbol.for,Vr=Wr?Symbol.for("react.element"):60103;function Xr(e){return e.$$typeof===Vr}function Zr(e){return Array.isArray(e)?[]:{}}function Ee(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ue(Zr(e),e,t):e}function Yr(e,t,i){return e.concat(t).map(function(r){return Ee(r,i)})}function qr(e,t){if(!t.customMerge)return ue;var i=t.customMerge(e);return typeof i=="function"?i:ue}function Jr(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ht(e){return Object.keys(e).concat(Jr(e))}function yi(e,t){try{return t in e}catch(i){return!1}}function Qr(e,t){return yi(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Kr(e,t,i){var r={};return i.isMergeableObject(e)&&Ht(e).forEach(function(n){r[n]=Ee(e[n],i)}),Ht(t).forEach(function(n){Qr(e,n)||(yi(e,n)&&i.isMergeableObject(t[n])?r[n]=qr(n,i)(e[n],t[n],i):r[n]=Ee(t[n],i))}),r}function ue(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Yr,i.isMergeableObject=i.isMergeableObject||Fr,i.cloneUnlessOtherwiseSpecified=Ee;var r=Array.isArray(t),n=Array.isArray(e),o=r===n;return o?r?i.arrayMerge(e,t,i):Kr(e,t,i):Ee(t,i)}ue.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return ue(r,n,i)},{})};var en=ue,tn=en;const rn=$r(tn);var nt=function(e,t){return nt=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])},nt(e,t)};function je(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");nt(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 nn(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 Je(e,t){var i=t&&t.cache?t.cache:hn,r=t&&t.serializer?t.serializer:ln,n=t&&t.strategy?t.strategy:an;return n(e,{cache:i,serializer:r})}function on(e){return e==null||typeof e=="number"||typeof e=="boolean"}function sn(e,t,i,r){var n=on(r)?r:i(r),o=t.get(n);return typeof o=="undefined"&&(o=e.call(this,r),t.set(n,o)),o}function vi(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 _i(e,t,i,r,n){return i.bind(t,e,r,n)}function an(e,t){var i=e.length===1?sn:vi;return _i(e,this,i,t.cache.create(),t.serializer)}function un(e,t){return _i(e,this,vi,t.cache.create(),t.serializer)}var ln=function(){return JSON.stringify(arguments)},cn=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}(),hn={create:function(){return new cn}},Qe={variadic:un},Me=function(){return Me=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},Me.apply(this,arguments)};var x;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(x||(x={}));var 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 le;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(le||(le={}));function Mt(e){return e.type===I.literal}function fn(e){return e.type===I.argument}function Ei(e){return e.type===I.number}function Li(e){return e.type===I.date}function xi(e){return e.type===I.time}function Ti(e){return e.type===I.select}function wi(e){return e.type===I.plural}function mn(e){return e.type===I.pound}function Si(e){return e.type===I.tag}function Pi(e){return!!(e&&typeof e=="object"&&e.type===le.number)}function ot(e){return!!(e&&typeof e=="object"&&e.type===le.dateTime)}var Ai=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,pn=/(?:[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 dn(e){var t={};return e.replace(pn,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 bn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function gn(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(bn).filter(function(m){return m.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 yn(e){return e.replace(/^(.*?)-/,"")}var kt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Bi=/^(@+)?(\+|#+)?[rs]?$/g,vn=/(\*)(0+)|(#+)(0+)|(0+)/g,Ni=/^(0+)$/;function Ct(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Bi,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 Oi(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 _n(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)),!Ni.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Dt(e){var t={},i=Oi(e);return i||t}function En(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=yn(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),Dt(u))},{}));continue;case"engineering":t=C(C(C({},t),{notation:"engineering"}),n.options.reduce(function(c,u){return C(C({},c),Dt(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(vn,function(c,u,l,h,m,f){if(u)t.minimumIntegerDigits=l.length;else{if(h&&m)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(Ni.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(kt.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(kt,function(c,u,l,h,m,f){return l==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:m&&f?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.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),Ct(o)));continue}if(Bi.test(n.stem)){t=C(C({},t),Ct(n.stem));continue}var s=Oi(n.stem);s&&(t=C(C({},t),s));var a=_n(n.stem);a&&(t=C(C({},t),a))}return t}var Se={"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 Ln(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=xn(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 xn(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=Se[r||""]||Se[i||""]||Se["".concat(i,"-001")]||Se["001"];return n[0]}var Ke,Tn=new RegExp("^".concat(Ai.source,"*")),wn=new RegExp("".concat(Ai.source,"*$"));function T(e,t){return{start:e,end:t}}var Sn=!!String.prototype.startsWith&&"_a".startsWith("a",1),Pn=!!String.fromCodePoint,An=!!Object.fromEntries,Bn=!!String.prototype.codePointAt,Nn=!!String.prototype.trimStart,On=!!String.prototype.trimEnd,In=!!Number.isSafeInteger,Hn=In?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},st=!0;try{var Mn=Hi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");st=((Ke=Mn.exec("a"))===null||Ke===void 0?void 0:Ke[0])==="a"}catch(e){st=!1}var Rt=Sn?function(t,i,r){return t.startsWith(i,r)}:function(t,i,r){return t.slice(r,r+i.length)===i},at=Pn?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},jt=An?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},Ii=Bn?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}},kn=Nn?function(t){return t.trimStart()}:function(t){return t.replace(Tn,"")},Cn=On?function(t){return t.trimEnd()}:function(t){return t.replace(wn,"")};function Hi(e,t){return new RegExp(e,t)}var ut;if(st){var Ut=Hi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ut=function(t,i){var r;Ut.lastIndex=i;var n=Ut.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else ut=function(t,i){for(var r=[];;){var n=Ii(t,i);if(n===void 0||Mi(n)||Un(n))break;r.push(n),i+=n>=65536?2:1}return at.apply(void 0,r)};var Dn=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:T(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(x.UNMATCHED_CLOSING_TAG,T(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&lt(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:T(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()||!lt(this.char()))return this.error(x.INVALID_TAG,T(a,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(x.UNMATCHED_CLOSING_TAG,T(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:I.tag,value:n,children:s,location:T(r,this.clonePosition())},err:null}:this.error(x.INVALID_TAG,T(a,this.clonePosition())))}else return this.error(x.UNCLOSED_TAG,T(r,this.clonePosition()))}else return this.error(x.INVALID_TAG,T(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&jn(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=T(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||!Rn(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 at.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(),at(r))},e.prototype.parseArgument=function(t,i){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,T(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(x.EMPTY_ARGUMENT,T(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(x.MALFORMED_ARGUMENT,T(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,T(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:I.argument,value:n,location:T(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,T(r,this.clonePosition())):this.parseArgumentOptions(t,i,n,r);default:return this.error(x.MALFORMED_ARGUMENT,T(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),r=ut(this.message,i),n=i+r.length;this.bumpTo(n);var o=this.clonePosition(),s=T(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(x.EXPECT_ARGUMENT_TYPE,T(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 m=Cn(h.val);if(m.length===0)return this.error(x.EXPECT_ARGUMENT_STYLE,T(this.clonePosition(),this.clonePosition()));var f=T(l,this.clonePosition());u={style:m,styleLocation:f}}var p=this.tryParseArgumentClose(n);if(p.err)return p;var _=T(n,this.clonePosition());if(u&&Rt(u==null?void 0:u.style,"::",0)){var R=kn(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(x.EXPECT_DATE_TIME_SKELETON,_);var S=R;this.locale&&(S=Ln(R,this.locale));var m={type:le.dateTime,pattern:S,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?dn(S):{}},L=a==="date"?I.date:I.time;return{val:{type:L,value:r,location:_,style:m},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 w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS,T(w,Me({},w)));this.bumpSpace();var O=this.parseIdentifierIfPossible(),P=0;if(a!=="select"&&O.value==="offset"){if(!this.bumpIf(":"))return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),O=this.parseIdentifierIfPossible(),P=h.val}var H=this.tryParsePluralOrSelectOptions(t,a,i,O);if(H.err)return H;var p=this.tryParseArgumentClose(n);if(p.err)return p;var D=T(n,this.clonePosition());return a==="select"?{val:{type:I.select,value:r,options:jt(H.val),location:D},err:null}:{val:{type:I.plural,value:r,options:jt(H.val),offset:P,pluralType:a==="plural"?"cardinal":"ordinal",location:D},err:null}}default:return this.error(x.INVALID_ARGUMENT_TYPE,T(s,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,T(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(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,T(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=gn(t)}catch(n){return this.error(x.INVALID_NUMBER_SKELETON,i)}return{val:{type:le.number,tokens:r,location:i,parsedOptions:this.shouldParseSkeletons?En(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 m=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR,x.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;l=T(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(c.has(u))return this.error(i==="select"?x.DUPLICATE_SELECT_ARGUMENT_SELECTOR:x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);u==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,T(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,i,r);if(p.err)return p;var _=this.tryParseArgumentClose(f);if(_.err)return _;a.push([u,{value:p.val,location:T(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"?x.EXPECT_SELECT_ARGUMENT_SELECTOR:x.EXPECT_PLURAL_ARGUMENT_SELECTOR,T(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(x.MISSING_OTHER_CLAUSE,T(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=T(n,this.clonePosition());return o?(s*=r,Hn(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=Ii(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(Rt(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()&&Mi(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 lt(e){return e>=97&&e<=122||e>=65&&e<=90}function Rn(e){return lt(e)||e===47}function jn(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 Mi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Un(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 ct(e){e.forEach(function(t){if(delete t.location,Ti(t)||wi(t))for(var i in t.options)delete t.options[i].location,ct(t.options[i].value);else Ei(t)&&Pi(t.style)||(Li(t)||xi(t))&&ot(t.style)?delete t.style.location:Si(t)&&ct(t.children)})}function $n(e,t){t===void 0&&(t={}),t=Me({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new Dn(e,t).parse();if(i.err){var r=SyntaxError(x[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t!=null&&t.captureLocation||ct(i.val),i.val}var ce;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ce||(ce={}));var Ue=function(e){je(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),$t=function(e){je(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('", "'),'"'),ce.INVALID_VALUE,o)||this}return t}(Ue),Fn=function(e){je(t,e);function t(i,r,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(r),ce.INVALID_VALUE,n)||this}return t}(Ue),Gn=function(e){je(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,'"'),ce.MISSING_VALUE,r)||this}return t}(Ue),z;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(z||(z={}));function zn(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 Wn(e){return typeof e=="function"}function Be(e,t,i,r,n,o,s){if(e.length===1&&Mt(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(Mt(l)){a.push({type:z.literal,value:l.value});continue}if(mn(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 Gn(h,s);var m=n[h];if(fn(l)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),a.push({type:typeof m=="string"?z.literal:z.object,value:m});continue}if(Li(l)){var f=typeof l.style=="string"?r.date[l.style]:ot(l.style)?l.style.parsedOptions:void 0;a.push({type:z.literal,value:i.getDateTimeFormat(t,f).format(m)});continue}if(xi(l)){var f=typeof l.style=="string"?r.time[l.style]:ot(l.style)?l.style.parsedOptions:r.time.medium;a.push({type:z.literal,value:i.getDateTimeFormat(t,f).format(m)});continue}if(Ei(l)){var f=typeof l.style=="string"?r.number[l.style]:Pi(l.style)?l.style.parsedOptions:void 0;f&&f.scale&&(m=m*(f.scale||1)),a.push({type:z.literal,value:i.getNumberFormat(t,f).format(m)});continue}if(Si(l)){var p=l.children,_=l.value,R=n[_];if(!Wn(R))throw new Fn(_,"function",s);var S=Be(p,t,i,r,n,o),L=R(S.map(function(P){return P.value}));Array.isArray(L)||(L=[L]),a.push.apply(a,L.map(function(P){return{type:typeof P=="string"?z.literal:z.object,value:P}}))}if(Ti(l)){var w=l.options[m]||l.options.other;if(!w)throw new $t(l.value,m,Object.keys(l.options),s);a.push.apply(a,Be(w.value,t,i,r,n));continue}if(wi(l)){var w=l.options["=".concat(m)];if(!w){if(!Intl.PluralRules)throw new Ue(`Intl.PluralRules is not available in this environment.
2
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3
+ `,ce.MISSING_INTL_API,s);var O=i.getPluralRules(t,{type:l.pluralType}).select(m-(l.offset||0));w=l.options[O]||l.options.other}if(!w)throw new $t(l.value,m,Object.keys(l.options),s);a.push.apply(a,Be(w.value,t,i,r,n,m-(l.offset||0)));continue}}return zn(a)}function Vn(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 Xn(e,t){return t?Object.keys(e).reduce(function(i,r){return i[r]=Vn(e[r],t[r]),i},Y({},e)):e}function et(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function Zn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Je(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:et(e.number),strategy:Qe.variadic}),getDateTimeFormat:Je(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:et(e.dateTime),strategy:Qe.variadic}),getPluralRules:Je(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:et(e.pluralRules),strategy:Qe.variadic})}}var Yn=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,m){return!h.length||m.type!==z.literal||typeof h[h.length-1]!="string"?h.push(m.value):h[h.length-1]+=m.value,h},[]);return l.length<=1?l[0]||"":l},this.formatToParts=function(c){return Be(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=nn(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=Xn(e.formats,r),this.formatters=n&&n.formatters||Zn(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=$n,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 ee={},Jn=(e,t,i)=>i&&(t in ee||(ee[t]={}),e in ee[t]||(ee[t][e]=i),i),ki=(e,t)=>{if(t==null)return;if(t in ee&&e in ee[t])return ee[t][e];const i=$e(t);for(let r=0;r<i.length;r++){const n=i[r],o=Kn(n,e);if(o)return Jn(e,t,o)}};let _t;const xe=Re({});function Qn(e){return _t[e]||null}function Ci(e){return e in _t}function Kn(e,t){if(!Ci(e))return null;const i=Qn(e);return qn(i,t)}function eo(e){if(e==null)return;const t=$e(e);for(let i=0;i<t.length;i++){const r=t[i];if(Ci(r))return r}}function Di(e,...t){delete ee[e],xe.update(i=>(i[e]=rn.all([i[e]||{},...t]),i))}fe([xe],([e])=>Object.keys(e));xe.subscribe(e=>_t=e);const Ne={};function to(e,t){Ne[e].delete(t),Ne[e].size===0&&delete Ne[e]}function Ri(e){return Ne[e]}function io(e){return $e(e).map(t=>{const i=Ri(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function ht(e){return e==null?!1:$e(e).some(t=>{var i;return(i=Ri(t))==null?void 0:i.size})}function ro(e,t){return Promise.all(t.map(r=>(to(e,r),r().then(n=>n.default||n)))).then(r=>Di(e,...r))}const be={};function ji(e){if(!ht(e))return e in be?be[e]:Promise.resolve();const t=io(e);return be[e]=Promise.all(t.map(([i,r])=>ro(i,r))).then(()=>{if(ht(e))return ji(e);delete be[e]}),be[e]}const no={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"}}},oo={fallbackLocale:null,loadingDelay:200,formats:no,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},so=oo;function he(){return so}const tt=Re(!1);var ao=Object.defineProperty,uo=Object.defineProperties,lo=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,co=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,Gt=(e,t,i)=>t in e?ao(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,fo=(e,t)=>{for(var i in t||(t={}))co.call(t,i)&&Gt(e,i,t[i]);if(Ft)for(var i of Ft(t))ho.call(t,i)&&Gt(e,i,t[i]);return e},mo=(e,t)=>uo(e,lo(t));let ft;const ke=Re(null);function zt(e){return e.split("-").map((t,i,r)=>r.slice(0,i+1).join("-")).reverse()}function $e(e,t=he().fallbackLocale){const i=zt(e);return t?[...new Set([...i,...zt(t)])]:i}function re(){return ft!=null?ft:void 0}ke.subscribe(e=>{ft=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const po=e=>{if(e&&eo(e)&&ht(e)){const{loadingDelay:t}=he();let i;return typeof window!="undefined"&&re()!=null&&t?i=window.setTimeout(()=>tt.set(!0),t):tt.set(!0),ji(e).then(()=>{ke.set(e)}).finally(()=>{clearTimeout(i),tt.set(!1)})}return ke.set(e)},me=mo(fo({},ke),{set:po}),Fe=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var bo=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Ui=Object.prototype.hasOwnProperty,$i=Object.prototype.propertyIsEnumerable,Wt=(e,t,i)=>t in e?bo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Et=(e,t)=>{for(var i in t||(t={}))Ui.call(t,i)&&Wt(e,i,t[i]);if(Ce)for(var i of Ce(t))$i.call(t,i)&&Wt(e,i,t[i]);return e},pe=(e,t)=>{var i={};for(var r in e)Ui.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&Ce)for(var r of Ce(e))t.indexOf(r)<0&&$i.call(e,r)&&(i[r]=e[r]);return i};const Le=(e,t)=>{const{formats:i}=he();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},go=Fe(e=>{var t=e,{locale:i,format:r}=t,n=pe(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Le("number",r)),new Intl.NumberFormat(i,n)}),yo=Fe(e=>{var t=e,{locale:i,format:r}=t,n=pe(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Le("date",r):Object.keys(n).length===0&&(n=Le("date","short")),new Intl.DateTimeFormat(i,n)}),vo=Fe(e=>{var t=e,{locale:i,format:r}=t,n=pe(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Le("time",r):Object.keys(n).length===0&&(n=Le("time","short")),new Intl.DateTimeFormat(i,n)}),_o=(e={})=>{var t=e,{locale:i=re()}=t,r=pe(t,["locale"]);return go(Et({locale:i},r))},Eo=(e={})=>{var t=e,{locale:i=re()}=t,r=pe(t,["locale"]);return yo(Et({locale:i},r))},Lo=(e={})=>{var t=e,{locale:i=re()}=t,r=pe(t,["locale"]);return vo(Et({locale:i},r))},xo=Fe((e,t=re())=>new Yn(e,t,he().formats,{ignoreTag:he().ignoreTag})),To=(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=ki(e,c);if(!l)l=(o=(n=(r=(i=he()).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=xo(l,c).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},wo=(e,t)=>Lo(t).format(e),So=(e,t)=>Eo(t).format(e),Po=(e,t)=>_o(t).format(e),Ao=(e,t=re())=>ki(e,t),Bo=fe([me,xe],()=>To);fe([me],()=>wo);fe([me],()=>So);fe([me],()=>Po);fe([me,xe],()=>Ao);function Vt(e,t){Di(e,t)}function No(e){me.set(e)}const Xt={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 mt=function(e,t){return mt=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])},mt(e,t)};function Te(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");mt(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function pt(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 dt(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 bt(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 Fi(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 it=Fi(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 gt(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Ge=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=pt(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 it?_.errors:[_]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=pt(h),f=m.next();!f.done;f=m.next()){var p=f.value;try{Zt(p)}catch(_){o=o!=null?o:[],_ instanceof it?o=bt(bt([],dt(o)),dt(_.errors)):o.push(_)}}}catch(_){r={error:_}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}}if(o)throw new it(o)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Zt(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)&&gt(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&&gt(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Gi=Ge.EMPTY;function zi(e){return e instanceof Ge||e&&"closed"in e&&Q(e.remove)&&Q(e.add)&&Q(e.unsubscribe)}function Zt(e){Q(e)?e():e.unsubscribe()}var Oo={Promise:void 0},Io={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return setTimeout.apply(void 0,bt([e,t],dt(i)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Ho(e){Io.setTimeout(function(){throw e})}function Yt(){}function Oe(e){e()}var Wi=function(e){Te(t,e);function t(i){var r=e.call(this)||this;return r.isStopped=!1,i?(r.destination=i,zi(i)&&i.add(r)):r.destination=Co,r}return t.create=function(i,r,n){return new yt(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}(Ge),Mo=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){Pe(r)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(r){Pe(r)}else Pe(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){Pe(i)}},e}(),yt=function(e){Te(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 Mo(s),o}return t}(Wi);function Pe(e){Ho(e)}function ko(e){throw e}var Co={closed:!0,next:Yt,error:ko,complete:Yt},Do=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ro(e){return e}function jo(e){return e.length===0?Ro: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=$o(t)?t:new yt(t,i,r);return Oe(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=Jt(i),new i(function(n,o){var s=new yt({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[Do]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return jo(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=Jt(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 Jt(e){var t;return(t=e!=null?e:Oo.Promise)!==null&&t!==void 0?t:Promise}function Uo(e){return e&&Q(e.next)&&Q(e.error)&&Q(e.complete)}function $o(e){return e&&e instanceof Wi||Uo(e)&&zi(e)}var Fo=Fi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Vi=function(e){Te(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 Qt(this,this);return r.operator=i,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Fo},t.prototype.next=function(i){var r=this;Oe(function(){var n,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=pt(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;Oe(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;Oe(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?Gi:(this.currentObservers=null,a.push(i),new Ge(function(){r.currentObservers=null,gt(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 Qt(i,r)},t}(qt),Qt=function(e){Te(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:Gi},t}(Vi),Xi={now:function(){return(Xi.delegate||Date).now()},delegate:void 0},Go=function(e){Te(t,e);function t(i,r,n){i===void 0&&(i=1/0),r===void 0&&(r=1/0),n===void 0&&(n=Xi);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}(Vi);const Kt=[],ei={},zo=(e,t=0)=>{if(Kt.indexOf(e)==-1){const i=new Go(t);ei[e]=i,Kt.push(e)}return ei[e]};window.emWidgets={topic:zo};const Wo=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;function Vo(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Xo(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 Zo(e,t,i){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,n=>{r.innerHTML=n,e&&e.appendChild(r)})}}function Yo(e){vr(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 ti(e,t,i){const r=e.slice();return r[50]=t[i],r}function ii(e,t,i){const r=e.slice();return r[53]=t[i],r}function ri(e,t,i){const r=e.slice();return r[53]=t[i],r}function ni(e,t,i){const r=e.slice();return r[58]=t[i],r}function oi(e){let t,i;function r(s,a){return s[11]?qo:Jo}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){B(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&&A(t),o.d()}}}function qo(e){let t,i,r=e[13]("popupTitle")+"",n,o,s,a,c,u,l,h,m,f,p,_,R,S=!e[9]&&si(e);return{c(){t=v("div"),i=v("span"),n=$(r),o=U(),s=v("button"),s.textContent="X",a=U(),c=v("div"),u=v("div"),S&&S.c(),l=U(),h=v("p"),m=$(e[12]),f=U(),p=v("button"),p.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(p,"class","ConfirmButton")},m(L,w){B(L,t,w),d(t,i),d(i,n),d(t,o),d(t,s),B(L,a,w),B(L,c,w),d(c,u),S&&S.m(u,null),d(c,l),d(c,h),d(h,m),B(L,f,w),B(L,p,w),_||(R=[q(s,"click",e[20]),q(p,"click",e[20])],_=!0)},p(L,w){w[0]&8192&&r!==(r=L[13]("popupTitle")+"")&&W(n,r),L[9]?S&&(S.d(1),S=null):S?S.p(L,w):(S=si(L),S.c(),S.m(u,null)),w[0]&4096&&W(m,L[12])},d(L){L&&(A(t),A(a),A(c),A(f),A(p)),S&&S.d(),_=!1,ie(R)}}}function Jo(e){let t;return{c(){t=v("div"),g(t,"class","LoadingIndicator")},m(i,r){B(i,t,r)},p:j,d(i){i&&A(t)}}}function si(e){let t,i,r,n,o,s,a,c,u=e[13]("popupSuccess")+"",l;return{c(){t=de("svg"),i=de("defs"),r=de("style"),n=$(`.fil0 {fill:black;fill-rule:nonzero}
19
+ `),o=de("g"),s=de("polygon"),a=U(),c=v("p"),l=$(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"),Ze(t,"shape-rendering","geometricPrecision"),Ze(t,"text-rendering","geometricPrecision"),Ze(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,m){B(h,t,m),d(t,i),d(i,r),d(r,n),d(t,o),d(o,s),B(h,a,m),B(h,c,m),d(c,l)},p(h,m){m[0]&8192&&u!==(u=h[13]("popupSuccess")+"")&&W(l,u)},d(h){h&&(A(t),A(a),A(c))}}}function Qo(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,m,f,p,_,R=e[13]("setLimit")+"",S,L,w,O=te(e[15]),P=[];for(let E=0;E<O.length;E+=1)P[E]=ui(ri(e,O,E));let H=e[5]&&li(e),D=e[6]&&hi(e);return{c(){t=v("div"),i=v("div"),r=v("div");for(let E=0;E<P.length;E+=1)P[E].c();n=U(),o=v("form"),H&&H.c(),s=U(),D&&D.c(),a=U(),c=v("label"),u=v("span"),h=$(l),m=U(),f=v("input"),p=U(),_=v("button"),S=$(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(E,G){B(E,t,G),d(t,i),d(i,r);for(let M=0;M<P.length;M+=1)P[M]&&P[M].m(r,null);d(i,n),d(i,o),H&&H.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,m),d(o,f),ye(f,e[3]),d(o,p),d(o,_),d(_,S),e[35](_),L||(w=[q(f,"input",e[34]),q(f,"keyup",e[18]),q(_,"click",e[17]),q(o,"submit",e[17])],L=!0)},p(E,G){if(G[0]&581632){O=te(E[15]);let M;for(M=0;M<O.length;M+=1){const K=ri(E,O,M);P[M]?P[M].p(K,G):(P[M]=ui(K),P[M].c(),P[M].m(r,null))}for(;M<P.length;M+=1)P[M].d(1);P.length=O.length}E[5]?H?H.p(E,G):(H=li(E),H.c(),H.m(o,s)):H&&(H.d(1),H=null),E[6]?D?D.p(E,G):(D=hi(E),D.c(),D.m(o,a)):D&&(D.d(1),D=null),G[0]&8260&&l!==(l=E[6]?`${E[13]("amount")}`:`${E[13]("new")} ${E[13](`gamingLimits.${E[2]}`)} ${E[13]("limit")}`)&&W(h,l),G[0]&8&&bi(f.value)!==E[3]&&ye(f,E[3]),G[0]&8192&&R!==(R=E[13]("setLimit")+"")&&W(S,R)},d(E){E&&A(t),De(P,E),H&&H.d(),D&&D.d(),e[35](null),L=!1,ie(w)}}}function Ko(e){let t;return{c(){t=v("p"),t.textContent="500 Server error"},m(i,r){B(i,t,r)},p:j,d(i){i&&A(t)}}}function es(e){return{c:j,m:j,p:j,d:j}}function ts(e){let t;return{c(){t=v("div"),g(t,"class","LoadingIndicator")},m(i,r){B(i,t,r)},p:j,d(i){i&&A(t)}}}function is(e){let t,i,r,n=e[13]("noLimitText")+"",o;return{c(){t=v("div"),i=v("div"),r=v("div"),o=$(n),g(r,"class","LimitDetailsTextWrapper"),g(i,"class","LimitDetailsWrapper"),g(t,"class","LimitDetails")},m(s,a){B(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&&A(t)}}}function rs(e){let t,i=te(e[53].currentLimits),r=[];for(let n=0;n<i.length;n+=1)r[n]=ai(ni(e,i,n));return{c(){for(let n=0;n<r.length;n+=1)r[n].c();t=Lr()},m(n,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(n,o);B(n,t,o)},p(n,o){if(o[0]&565248){i=te(n[53].currentLimits);let s;for(s=0;s<i.length;s+=1){const a=ni(n,i,s);r[s]?r[s].p(a,o):(r[s]=ai(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&&A(t),De(r,n)}}}function ns(e){let t,i=`${e[13]("removedLimitText")} ${e[58].expiryDate}`,r;return{c(){t=v("div"),r=$(i),g(t,"class","PendingLimit")},m(n,o){B(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&&A(t)}}}function os(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=$(i),g(t,"class","PendingLimit")},m(n,o){B(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&&A(t)}}}function ss(e){let t,i=e[13]("gamingLimits.removeLimit")+"",r,n,o;function s(){return e[31](e[58])}return{c(){t=v("button"),r=$(i),g(t,"class","RemoveLimitButton")},m(a,c){B(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&&A(t),n=!1,o()}}}function ai(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,p){if(f[58].isModified&&f[58].updateAmount!="-1")return os;if(f[58].isModified)return ns}let l=u(e),h=l&&l(e),m=!e[58].isModified&&ss(e);return{c(){t=v("div"),i=v("div"),r=v("div"),o=$(n),s=U(),h&&h.c(),a=U(),m&&m.c(),c=U(),g(r,"class","CurrentLimit"),g(i,"class","LimitDetailsTextWrapper"),g(t,"class","LimitDetails")},m(f,p){B(f,t,p),d(t,i),d(i,r),d(r,o),d(i,s),h&&h.m(i,null),d(t,a),m&&m.m(t,null),d(t,c)},p(f,p){p[0]&8192&&n!==(n=`${f[58].amount}${f[58].currency} ${f[13](`gamingLimits.${f[58].period}`)}`)&&W(o,n),h&&h.p(f,p),f[58].isModified||m.p(f,p)},d(f){f&&A(t),h&&h.d(),m&&m.d()}}}function ui(e){let t,i,r=e[13](`gamingLimits.${e[53].value}`)+"",n,o,s;function a(l,h){return l[53].currentLimits.length>0?rs:is}let u=a(e)(e);return{c(){t=v("div"),i=v("p"),n=$(r),o=U(),u.c(),s=U(),g(i,"class","LimitTitle"),g(t,"class","LimitWrapper "+(e[14]?"Desktop":""))},m(l,h){B(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&&A(t),u.d()}}}function li(e){let t,i,r=e[13]("limitType")+"",n,o,s,a,c,u=te(e[15]),l=[];for(let h=0;h<u.length;h+=1)l[h]=ci(ii(e,u,h));return{c(){t=v("label"),i=v("span"),n=$(r),o=U(),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&&_e(()=>e[32].call(s)),g(t,"class","LimitTypeDropdownWrapper")},m(h,m){B(h,t,m),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);Ie(s,e[1],!0),a||(c=[q(s,"change",e[32]),q(s,"change",e[16])],a=!0)},p(h,m){if(m[0]&8192&&r!==(r=h[13]("limitType")+"")&&W(n,r),m[0]&32768){u=te(h[15]);let f;for(f=0;f<u.length;f+=1){const p=ii(h,u,f);l[f]?l[f].p(p,m):(l[f]=ci(p),l[f].c(),l[f].m(s,null))}for(;f<l.length;f+=1)l[f].d(1);l.length=u.length}m[0]&32770&&Ie(s,h[1])},d(h){h&&A(t),De(l,h),a=!1,ie(c)}}}function ci(e){let t,i=e[53].title+"",r;return{c(){t=v("option"),r=$(i),t.__value=e[53].value,ye(t,t.__value)},m(n,o){B(n,t,o),d(t,r)},p:j,d(n){n&&A(t)}}}function hi(e){let t,i,r=e[13]("period")+"",n,o,s,a,c,u=te(Z[e[1]].periods),l=[];for(let h=0;h<u.length;h+=1)l[h]=fi(ti(e,u,h));return{c(){t=v("label"),i=v("span"),n=$(r),o=U(),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&&_e(()=>e[33].call(s))},m(h,m){B(h,t,m),d(t,i),d(i,n),B(h,o,m),B(h,s,m);for(let f=0;f<l.length;f+=1)l[f]&&l[f].m(s,null);Ie(s,e[2],!0),a||(c=q(s,"change",e[33]),a=!0)},p(h,m){if(m[0]&8192&&r!==(r=h[13]("period")+"")&&W(n,r),m[0]&8194){u=te(Z[h[1]].periods);let f;for(f=0;f<u.length;f+=1){const p=ti(h,u,f);l[f]?l[f].p(p,m):(l[f]=fi(p),l[f].c(),l[f].m(s,null))}for(;f<l.length;f+=1)l[f].d(1);l.length=u.length}m[0]&6&&Ie(s,h[2])},d(h){h&&(A(t),A(o),A(s)),De(l,h),a=!1,c()}}}function fi(e){let t,i=e[13](`gamingLimits.${e[50]}`)+"",r,n;return{c(){t=v("option"),r=$(i),t.__value=n=e[50],ye(t,t.__value),t.selected=!0},m(o,s){B(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,ye(t,t.__value))},d(o){o&&A(t)}}}function as(e){let t,i,r=e[10]&&oi(e);function n(a,c){return a[7]&&!a[10]?ts:a[7]?es:a[8]?Ko:Qo}let o=n(e),s=o(e);return{c(){t=v("div"),r&&r.c(),i=U(),s.c()},m(a,c){B(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=oi(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&&A(t),r&&r.d(),s.d(),e[36](null)}}}function us(e,t,i){let r;yr(e,Bo,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:m=""}=t,{mbsource:f}=t,p,_=window.navigator.userAgent,R=!Wo(_),S=[],L="",w="",O,P,H=!1,D=!1,E=!0,G=!1,M=!1,K=!1,ze=!1,We="",we;const Lt={EUR:"€",RON:" lei"},Yi={updatePendingError:["SYS_1037","SYS_1142","SYS_1140"]},qi=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(N=>{Vt(N,y[N])})}).catch(y=>{console.log(y)})};Object.keys(Xt).forEach(b=>{Vt(b,Xt[b])});const Ji=()=>{s.split(" ").forEach(y=>{Z[y]?S.push(Z[y]):console.error(`Unknown limit: ${y}`)}),i(1,L=S[0].value),i(2,w=Z[L].periods[0]),i(5,H=S.length>1),i(6,D=Z[L].periods.length>1)},Qi=()=>{i(2,w=Z[L].periods[0]),i(6,D=Z[L].periods.length>1)},Ki=()=>{if(!(O>0))return;i(10,K=!0),i(7,E=!0);let b=new URL(`/v2/player/${c}/limits`,u);const y={};y[Z[L].callValue]=[{period:w,amount:O,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(k=>(k.status>=300&&i(9,M=!0),k.json())).then(k=>{Ve(),M&&er(k)}).catch(k=>{console.log(k),i(7,E=!1),i(8,G=!0)})},er=b=>{const y=b.error.match(/errorCode:(.*)\)/)[1];console.error(`API response error: ${y}`);let N;for(const[k,F]of Object.entries(Yi))F.includes(y)&&(N=r(`gamingLimits.${k}`));N=N!=null?N:r("gamingLimits.genericError"),xt(y,N)},Ve=()=>{let b=new URL(`/v2/player/${c}/limits`,u),y=!M,N={method:"GET",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(b.href,N).then(k=>{if(k.status>=300)throw i(7,E=!1),i(8,G=!0),new Error("There was an error fetching the limits");return k.json()}).then(k=>{we=k,K&&y&&xt(),tr(we),i(7,E=!1),i(3,O=null)}).catch(k=>{console.log(k),i(7,E=!1),i(8,G=!0)})},tr=b=>{S.forEach(y=>{var N;y.currentLimits=[],(N=b[Z[y.value].callValue])==null||N.forEach((k,F)=>{var wt;const J=b[Z[y.value].callValue][F];y.currentLimits.push({}),y.currentLimits[F].limitType=y.value,y.currentLimits[F].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(J.amount),y.currentLimits[F].currency=(wt=Lt[J.currency])!=null?wt:J.currency,y.currentLimits[F].period=J.period,y.currentLimits[F].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(J.updateAmount),y.currentLimits[F].isModified=J.isModified,y.currentLimits[F].expiryDate=`${new Date(J.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),y.currentLimits=ir(y.currentLimits)})},ir=b=>{const y={Daily:0,Weekly:1,Monthly:2};return b.sort((N,k)=>y[N.period]-y[k.period]),b},rr=()=>{O>999999999999999&&i(3,O=999999999999999);const y=O-Math.floor(O)===0;O>0&&y?P.removeAttribute("disabled"):P.setAttribute("disabled","true")},xt=(b,y)=>{if(b)i(12,We=y);else if(we){const N=we[Z[L].callValue].filter(J=>J.period===w)[0],k=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(N.amount);let F=r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}",k).replace("{currency}",Lt[N.currency]||N.currency).replace("{selectedPeriod}",r(`gamingLimits.${w}`).toLowerCase());i(12,We=N.isModified?`${r("popupPendingUpdate")} ${new Date(N.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:F)}else console.error("Couldn't populate popupContent");i(11,ze=!0)},Tt=b=>{const y={wager:"wagering",loss:"loss",deposit:"deposit"};i(10,K=!0),i(7,E=!0);let N=new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`,u),k={method:"DELETE",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(N.href,k).then(F=>F.json()).then(F=>{Ve()}).catch(F=>{console.log(F),i(7,E=!1),i(8,G=!0)})},nr=()=>{i(11,ze=i(10,K=!1))},or=()=>{No(n)};Sr(()=>()=>{});const sr=b=>Tt(b);function ar(){L=Ot(this),i(1,L),i(15,S)}function ur(){w=Ot(this),i(2,w),i(1,L)}function lr(){O=bi(this.value),i(3,O)}function cr(b){He[b?"unshift":"push"](()=>{P=b,i(4,P)})}function hr(b){He[b?"unshift":"push"](()=>{p=b,i(0,p)})}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,m=b.translationurl),"mbsource"in b&&i(30,f=b.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&8388608&&s&&Ji(),e.$$.dirty[0]&2097152&&n&&or(),e.$$.dirty[0]&117440512&&c&&a&&u&&Ve(),e.$$.dirty[0]&134217729&&l&&p&&Vo(p,l),e.$$.dirty[0]&268435457&&h&&p&&Xo(p,h),e.$$.dirty[0]&1073741825&&f&&p&&Zo(p,`${f}.Style`),e.$$.dirty[0]&536870912&&m&&qi()},[p,L,w,O,P,H,D,E,G,M,K,ze,We,r,R,S,Qi,Ki,rr,Tt,nr,n,o,s,a,c,u,l,h,m,f,sr,ar,ur,lr,cr,hr]}class Zi extends Rr{constructor(t){super(),Cr(this,t,us,as,pi,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28,translationurl:29,mbsource:30},Yo,[-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()}}Dr(Zi,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=Zi;
@@ -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-61TL3yMl.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-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)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsPage2Gmcore-BljPvoTp.js").then(
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsPage2Gmcore-CAB8ISDt.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-BKD228bo.js";
1
+ import { P as s } from "../components/PlayerAccountGamingLimitsPage2Gmcore-CDbMnJ9r.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.86.4",
3
+ "version": "1.86.6",
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",