@everymatrix/player-account-gaming-limits-popup-2 1.86.2 → 1.86.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPopup2-bF0YcIxH.js → PlayerAccountGamingLimitsPopup2-Dv2BBTn-.js} +731 -735
- package/components/{PlayerAccountGamingLimitsPopup2-CwinXA-j.js → PlayerAccountGamingLimitsPopup2-l4Z65x4q.js} +733 -737
- package/components/PlayerAccountGamingLimitsPopup2-mQizhkln.cjs +23 -0
- package/es2015/player-account-gaming-limits-popup-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup-2.js +1 -1
- package/esnext/player-account-gaming-limits-popup-2.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsPopup2-D_kAGu6b.cjs +0 -10
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";var wi=Object.defineProperty,Bi=Object.defineProperties;var Li=Object.getOwnPropertyDescriptors;var Lt=Object.getOwnPropertySymbols;var Si=Object.prototype.hasOwnProperty,Ai=Object.prototype.propertyIsEnumerable;var nt=(e,t,i)=>t in e?wi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,St=(e,t)=>{for(var i in t||(t={}))Si.call(t,i)&&nt(e,i,t[i]);if(Lt)for(var i of Lt(t))Ai.call(t,i)&&nt(e,i,t[i]);return e},At=(e,t)=>Bi(e,Li(t));var Q=(e,t,i)=>(nt(e,typeof t!="symbol"?t+"":t,i),i);var It=(e,t,i)=>new Promise((n,r)=>{var o=u=>{try{s(i.next(u))}catch(l){r(l)}},a=u=>{try{s(i.throw(u))}catch(l){r(l)}},s=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,a);s((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function ie(){}function Zt(e){return e()}function kt(){return Object.create(null)}function ce(e){e.forEach(Zt)}function xt(e){return typeof e=="function"}function Yt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Ii(e){return Object.keys(e).length===0}function Jt(e,...t){if(e==null){for(const n of t)n(void 0);return ie}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function ki(e,t,i){e.$$.on_destroy.push(Jt(t,i))}function f(e,t){e.appendChild(t)}function Hi(e,t,i){const n=Ci(e);if(!n.getElementById(t)){const r=b("style");r.id=t,r.textContent=i,Ni(n,r)}}function Ci(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Ni(e,t){return f(e.head||e,t),t.sheet}function T(e,t,i){e.insertBefore(t,i||null)}function x(e){e.parentNode&&e.parentNode.removeChild(e)}function b(e){return document.createElement(e)}function Y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function L(e){return document.createTextNode(e)}function N(){return L(" ")}function Z(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function h(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function Qt(e){return e===""?null:+e}function Oi(e){return Array.from(e.childNodes)}function k(e,t){t=""+t,e.data!==t&&(e.data=t)}function Ht(e,t){e.value=t==null?"":t}function Ce(e,t,i,n){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function $e(e,t,i){e.classList.toggle(t,!!i)}function Mi(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let Oe;function Ne(e){Oe=e}function Di(){if(!Oe)throw new Error("Function called outside component initialization");return Oe}function Ri(e){Di().$$.on_mount.push(e)}const ye=[],ve=[];let Ee=[];const Ct=[],Ui=Promise.resolve();let ht=!1;function ji(){ht||(ht=!0,Ui.then(te))}function ft(e){Ee.push(e)}const rt=new Set;let ge=0;function te(){if(ge!==0)return;const e=Oe;do{try{for(;ge<ye.length;){const t=ye[ge];ge++,Ne(t),Gi(t.$$)}}catch(t){throw ye.length=0,ge=0,t}for(Ne(null),ye.length=0,ge=0;ve.length;)ve.pop()();for(let t=0;t<Ee.length;t+=1){const i=Ee[t];rt.has(i)||(rt.add(i),i())}Ee.length=0}while(ye.length);for(;Ct.length;)Ct.pop()();ht=!1,rt.clear(),Ne(e)}function Gi(e){if(e.fragment!==null){e.update(),ce(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ft)}}function $i(e){const t=[],i=[];Ee.forEach(n=>e.indexOf(n)===-1?t.push(n):i.push(n)),i.forEach(n=>n()),Ee=t}const zi=new Set;function Fi(e,t){e&&e.i&&(zi.delete(e),e.i(t))}function Vi(e,t,i){const{fragment:n,after_update:r}=e.$$;n&&n.m(t,i),ft(()=>{const o=e.$$.on_mount.map(Zt).filter(xt);e.$$.on_destroy?e.$$.on_destroy.push(...o):ce(o),e.$$.on_mount=[]}),r.forEach(ft)}function Xi(e,t){const i=e.$$;i.fragment!==null&&($i(i.after_update),ce(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function qi(e,t){e.$$.dirty[0]===-1&&(ye.push(e),ji(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Wi(e,t,i,n,r,o,a=null,s=[-1]){const u=Oe;Ne(e);const l=e.$$={fragment:null,ctx:[],props:o,update:ie,not_equal:r,bound:kt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:kt(),dirty:s,skip_bound:!1,root:t.target||u.$$.root};a&&a(l.root);let c=!1;if(l.ctx=i?i(e,t.props||{},(p,m,...d)=>{const E=d.length?d[0]:m;return l.ctx&&r(l.ctx[p],l.ctx[p]=E)&&(!l.skip_bound&&l.bound[p]&&l.bound[p](E),c&&qi(e,p)),m}):[],l.update(),c=!0,ce(l.before_update),l.fragment=n?n(l.ctx):!1,t.target){if(t.hydrate){const p=Oi(t.target);l.fragment&&l.fragment.l(p),p.forEach(x)}else l.fragment&&l.fragment.c();t.intro&&Fi(e.$$.fragment),Vi(e,t.target,t.anchor),te()}Ne(u)}let Kt;typeof HTMLElement=="function"&&(Kt=class extends HTMLElement{constructor(t,i,n){super();Q(this,"$$ctor");Q(this,"$$s");Q(this,"$$c");Q(this,"$$cn",!1);Q(this,"$$d",{});Q(this,"$$r",!1);Q(this,"$$p_d",{});Q(this,"$$l",{});Q(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,n&&this.attachShadow({mode:"open"})}addEventListener(t,i,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const r=this.$$c.$on(t,i);this.$$l_u.set(i,r)}super.addEventListener(t,i,n)}removeEventListener(t,i,n){if(super.removeEventListener(t,i,n),this.$$c){const r=this.$$l_u.get(i);r&&(r(),this.$$l_u.delete(i))}}connectedCallback(){return It(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=b("slot"),o!=="default"&&h(a,"name",o)},m:function(l,c){T(l,a,c)},d:function(l){l&&x(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},n=Mi(this);for(const o of this.$$s)o in n&&(i[o]=[t(o)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=Fe(a,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:At(St({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const a=Fe(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const o in this.$$l)for(const a of this.$$l[o]){const s=this.$$c.$on(o,a);this.$$l_u.set(a,s)}this.$$l={}}})}attributeChangedCallback(t,i,n){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Fe(t,n,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$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 Fe(e,t,i,n){var o;const r=(o=i[e])==null?void 0:o.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!i[e])return t;if(n==="toAttribute")switch(r){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(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Zi(e,t,i,n,r,o){let a=class extends Kt{constructor(){super(e,i,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(u){var l;u=Fe(s,u,t),this.$$d[s]=u,(l=this.$$c)==null||l.$set({[s]:u})}})}),n.forEach(s=>{Object.defineProperty(a.prototype,s,{get(){var u;return(u=this.$$c)==null?void 0:u[s]}})}),e.element=a,a}class Yi{constructor(){Q(this,"$$");Q(this,"$$set")}$destroy(){Xi(this,1),this.$destroy=ie}$on(t,i){if(!xt(i))return ie;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const r=n.indexOf(i);r!==-1&&n.splice(r,1)}}$set(t){this.$$set&&!Ii(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ji="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ji);const be=[];function Qi(e,t){return{subscribe:Ye(e,t).subscribe}}function Ye(e,t=ie){let i;const n=new Set;function r(s){if(Yt(e,s)&&(e=s,i)){const u=!be.length;for(const l of n)l[1](),be.push(l,e);if(u){for(let l=0;l<be.length;l+=2)be[l][0](be[l+1]);be.length=0}}}function o(s){r(s(e))}function a(s,u=ie){const l=[s,u];return n.add(l),n.size===1&&(i=t(r,o)||ie),s(e),()=>{n.delete(l),n.size===0&&i&&(i(),i=null)}}return{set:r,update:o,subscribe:a}}function we(e,t,i){const n=!Array.isArray(e),r=n?[e]:e;if(!r.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Qi(i,(a,s)=>{let u=!1;const l=[];let c=0,p=ie;const m=()=>{if(c)return;p();const E=t(n?l[0]:l,a,s);o?a(E):p=xt(E)?E:ie},d=r.map((E,_)=>Jt(E,y=>{l[_]=y,c&=~(1<<_),u&&m()},()=>{c|=1<<_}));return u=!0,m(),function(){ce(d),p(),u=!1}})}function Ki(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var en=function(t){return tn(t)&&!nn(t)};function tn(e){return!!e&&typeof e=="object"}function nn(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||sn(e)}var rn=typeof Symbol=="function"&&Symbol.for,on=rn?Symbol.for("react.element"):60103;function sn(e){return e.$$typeof===on}function an(e){return Array.isArray(e)?[]:{}}function Me(e,t){return t.clone!==!1&&t.isMergeableObject(e)?_e(an(e),e,t):e}function ln(e,t,i){return e.concat(t).map(function(n){return Me(n,i)})}function un(e,t){if(!t.customMerge)return _e;var i=t.customMerge(e);return typeof i=="function"?i:_e}function cn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Nt(e){return Object.keys(e).concat(cn(e))}function ei(e,t){try{return t in e}catch(i){return!1}}function hn(e,t){return ei(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function fn(e,t,i){var n={};return i.isMergeableObject(e)&&Nt(e).forEach(function(r){n[r]=Me(e[r],i)}),Nt(t).forEach(function(r){hn(e,r)||(ei(e,r)&&i.isMergeableObject(t[r])?n[r]=un(r,i)(e[r],t[r],i):n[r]=Me(t[r],i))}),n}function _e(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||ln,i.isMergeableObject=i.isMergeableObject||en,i.cloneUnlessOtherwiseSpecified=Me;var n=Array.isArray(t),r=Array.isArray(e),o=n===r;return o?n?i.arrayMerge(e,t,i):fn(e,t,i):Me(t,i)}_e.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,r){return _e(n,r,i)},{})};var pn=_e,mn=pn;const dn=Ki(mn);var pt=function(e,t){return pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(i[r]=n[r])},pt(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");pt(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var se=function(){return se=Object.assign||function(t){for(var i,n=1,r=arguments.length;n<r;n++){i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},se.apply(this,arguments)};function gn(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]]);return i}function ot(e,t,i){if(i||arguments.length===2)for(var n=0,r=t.length,o;n<r;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function st(e,t){var i=t&&t.cache?t.cache:Tn,n=t&&t.serializer?t.serializer:_n,r=t&&t.strategy?t.strategy:vn;return r(e,{cache:i,serializer:n})}function bn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function yn(e,t,i,n){var r=bn(n)?n:i(n),o=t.get(r);return typeof o=="undefined"&&(o=e.call(this,n),t.set(r,o)),o}function ti(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),o=t.get(r);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(r,o)),o}function ii(e,t,i,n,r){return i.bind(t,e,n,r)}function vn(e,t){var i=e.length===1?yn:ti;return ii(e,this,i,t.cache.create(),t.serializer)}function En(e,t){return ii(e,this,ti,t.cache.create(),t.serializer)}var _n=function(){return JSON.stringify(arguments)},xn=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}(),Tn={create:function(){return new xn}},at={variadic:En},qe=function(){return qe=Object.assign||function(t){for(var i,n=1,r=arguments.length;n<r;n++){i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},qe.apply(this,arguments)};var B;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(B||(B={}));var $;(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"})($||($={}));var xe;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(xe||(xe={}));function Ot(e){return e.type===$.literal}function Pn(e){return e.type===$.argument}function ni(e){return e.type===$.number}function ri(e){return e.type===$.date}function oi(e){return e.type===$.time}function si(e){return e.type===$.select}function ai(e){return e.type===$.plural}function wn(e){return e.type===$.pound}function li(e){return e.type===$.tag}function ui(e){return!!(e&&typeof e=="object"&&e.type===xe.number)}function mt(e){return!!(e&&typeof e=="object"&&e.type===xe.dateTime)}var ci=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Bn=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Ln(e){var t={};return e.replace(Bn,function(i){var n=i.length;switch(i[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var V=function(){return V=Object.assign||function(t){for(var i,n=1,r=arguments.length;n<r;n++){i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},V.apply(this,arguments)};var Sn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function An(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Sn).filter(function(m){return m.length>0}),i=[],n=0,r=t;n<r.length;n++){var o=r[n],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var s=a[0],u=a.slice(1),l=0,c=u;l<c.length;l++){var p=c[l];if(p.length===0)throw new Error("Invalid number skeleton")}i.push({stem:s,options:u})}return i}function In(e){return e.replace(/^(.*?)-/,"")}var Mt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,hi=/^(@+)?(\+|#+)?[rs]?$/g,kn=/(\*)(0+)|(#+)(0+)|(0+)/g,fi=/^(0+)$/;function Dt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(hi,function(i,n,r){return typeof r!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):r==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r=="string"?r.length:0)),""}),t}function pi(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 Hn(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)),!fi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Rt(e){var t={},i=pi(e);return i||t}function Cn(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.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=In(r.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=V(V(V({},t),{notation:"scientific"}),r.options.reduce(function(u,l){return V(V({},u),Rt(l))},{}));continue;case"engineering":t=V(V(V({},t),{notation:"engineering"}),r.options.reduce(function(u,l){return V(V({},u),Rt(l))},{}));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(r.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(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(kn,function(u,l,c,p,m,d){if(l)t.minimumIntegerDigits=c.length;else{if(p&&m)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fi.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(Mt.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Mt,function(u,l,c,p,m,d){return c==="*"?t.minimumFractionDigits=l.length:p&&p[0]==="#"?t.maximumFractionDigits=p.length:m&&d?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+d.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=r.options[0];o==="w"?t=V(V({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=V(V({},t),Dt(o)));continue}if(hi.test(r.stem)){t=V(V({},t),Dt(r.stem));continue}var a=pi(r.stem);a&&(t=V(V({},t),a));var s=Hn(r.stem);s&&(t=V(V({},t),s))}return t}var ze={"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 Nn(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if(r==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===r;)o++,n++;var a=1+(o&1),s=o<2?1:3+(o>>1),u="a",l=On(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)i+=u;for(;a-- >0;)i=l+i}else r==="J"?i+="H":i+=r}return i}function On(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,n;i!=="root"&&(n=e.maximize().region);var r=ze[n||""]||ze[i||""]||ze["".concat(i,"-001")]||ze["001"];return r[0]}var lt,Mn=new RegExp("^".concat(ci.source,"*")),Dn=new RegExp("".concat(ci.source,"*$"));function A(e,t){return{start:e,end:t}}var Rn=!!String.prototype.startsWith&&"_a".startsWith("a",1),Un=!!String.fromCodePoint,jn=!!Object.fromEntries,Gn=!!String.prototype.codePointAt,$n=!!String.prototype.trimStart,zn=!!String.prototype.trimEnd,Fn=!!Number.isSafeInteger,Vn=Fn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},dt=!0;try{var Xn=di("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");dt=((lt=Xn.exec("a"))===null||lt===void 0?void 0:lt[0])==="a"}catch(e){dt=!1}var Ut=Rn?function(t,i,n){return t.startsWith(i,n)}:function(t,i,n){return t.slice(n,n+i.length)===i},gt=Un?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var n="",r=t.length,o=0,a;r>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},jt=jn?Object.fromEntries:function(t){for(var i={},n=0,r=t;n<r.length;n++){var o=r[n],a=o[0],s=o[1];i[a]=s}return i},mi=Gn?function(t,i){return t.codePointAt(i)}:function(t,i){var n=t.length;if(!(i<0||i>=n)){var r=t.charCodeAt(i),o;return r<55296||r>56319||i+1===n||(o=t.charCodeAt(i+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},qn=$n?function(t){return t.trimStart()}:function(t){return t.replace(Mn,"")},Wn=zn?function(t){return t.trimEnd()}:function(t){return t.replace(Dn,"")};function di(e,t){return new RegExp(e,t)}var bt;if(dt){var Gt=di("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bt=function(t,i){var n;Gt.lastIndex=i;var r=Gt.exec(t);return(n=r[1])!==null&&n!==void 0?n:""}}else bt=function(t,i){for(var n=[];;){var r=mi(t,i);if(r===void 0||gi(r)||Qn(r))break;n.push(r),i+=r>=65536?2:1}return gt.apply(void 0,n)};var Zn=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,n){for(var r=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,n);if(a.err)return a;r.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(i==="plural"||i==="selectordinal")){var s=this.clonePosition();this.bump(),r.push({type:$.pound,location:A(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(B.UNMATCHED_CLOSING_TAG,A(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&yt(this.peek()||0)){var a=this.parseTag(t,i);if(a.err)return a;r.push(a.val)}else{var a=this.parseLiteral(t,i);if(a.err)return a;r.push(a.val)}}}return{val:r,err:null}},e.prototype.parseTag=function(t,i){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$.literal,value:"<".concat(r,"/>"),location:A(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,i,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!yt(this.char()))return this.error(B.INVALID_TAG,A(s,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return r!==l?this.error(B.UNMATCHED_CLOSING_TAG,A(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$.tag,value:r,children:a,location:A(n,this.clonePosition())},err:null}:this.error(B.INVALID_TAG,A(s,this.clonePosition())))}else return this.error(B.UNCLOSED_TAG,A(n,this.clonePosition()))}else return this.error(B.INVALID_TAG,A(n,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 n=this.clonePosition(),r="";;){var o=this.tryParseQuote(i);if(o){r+=o;continue}var a=this.tryParseUnquoted(t,i);if(a){r+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){r+=s;continue}break}var u=A(n,this.clonePosition());return{val:{type:$.literal,value:r,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Yn(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 n=this.char();if(n===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(n);this.bump()}return gt.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(i==="plural"||i==="selectordinal")||n===125&&t>0?null:(this.bump(),gt(n))},e.prototype.parseArgument=function(t,i){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(B.EMPTY_ARGUMENT,A(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(B.MALFORMED_ARGUMENT,A(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$.argument,value:r,location:A(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition())):this.parseArgumentOptions(t,i,r,n);default:return this.error(B.MALFORMED_ARGUMENT,A(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),n=bt(this.message,i),r=i+n.length;this.bumpTo(r);var o=this.clonePosition(),a=A(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,i,n,r){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(B.EXPECT_ARGUMENT_TYPE,A(a,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var m=Wn(p.val);if(m.length===0)return this.error(B.EXPECT_ARGUMENT_STYLE,A(this.clonePosition(),this.clonePosition()));var d=A(c,this.clonePosition());l={style:m,styleLocation:d}}var E=this.tryParseArgumentClose(r);if(E.err)return E;var _=A(r,this.clonePosition());if(l&&Ut(l==null?void 0:l.style,"::",0)){var y=qn(l.style.slice(2));if(s==="number"){var p=this.parseNumberSkeletonFromString(y,l.styleLocation);return p.err?p:{val:{type:$.number,value:n,location:_,style:p.val},err:null}}else{if(y.length===0)return this.error(B.EXPECT_DATE_TIME_SKELETON,_);var v=y;this.locale&&(v=Nn(y,this.locale));var m={type:xe.dateTime,pattern:v,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Ln(v):{}},O=s==="date"?$.date:$.time;return{val:{type:O,value:n,location:_,style:m},err:null}}}return{val:{type:s==="number"?$.number:s==="date"?$.date:$.time,value:n,location:_,style:(o=l==null?void 0:l.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(B.EXPECT_SELECT_ARGUMENT_OPTIONS,A(w,qe({},w)));this.bumpSpace();var M=this.parseIdentifierIfPossible(),S=0;if(s!=="select"&&M.value==="offset"){if(!this.bumpIf(":"))return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),M=this.parseIdentifierIfPossible(),S=p.val}var D=this.tryParsePluralOrSelectOptions(t,s,i,M);if(D.err)return D;var E=this.tryParseArgumentClose(r);if(E.err)return E;var z=A(r,this.clonePosition());return s==="select"?{val:{type:$.select,value:n,options:jt(D.val),location:z},err:null}:{val:{type:$.plural,value:n,options:jt(D.val),offset:S,pluralType:s==="plural"?"cardinal":"ordinal",location:z},err:null}}default:return this.error(B.INVALID_ARGUMENT_TYPE,A(a,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,A(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,A(r,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 n=[];try{n=An(t)}catch(r){return this.error(B.INVALID_NUMBER_SKELETON,i)}return{val:{type:xe.number,tokens:n,location:i,parsedOptions:this.shouldParseSkeletons?Cn(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,n,r){for(var o,a=!1,s=[],u=new Set,l=r.value,c=r.location;;){if(l.length===0){var p=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR,B.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=A(p,this.clonePosition()),l=this.message.slice(p.offset,this.offset())}else break}if(u.has(l))return this.error(i==="select"?B.DUPLICATE_SELECT_ARGUMENT_SELECTOR:B.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,A(this.clonePosition(),this.clonePosition()));var E=this.parseMessage(t+1,i,n);if(E.err)return E;var _=this.tryParseArgumentClose(d);if(_.err)return _;s.push([l,{value:E.val,location:A(d,this.clonePosition())}]),u.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,c=o.location}return s.length===0?this.error(i==="select"?B.EXPECT_SELECT_ARGUMENT_SELECTOR:B.EXPECT_PLURAL_ARGUMENT_SELECTOR,A(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(B.MISSING_OTHER_CLAUSE,A(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var u=A(r,this.clonePosition());return o?(a*=n,Vn(a)?{val:a,err:null}:this.error(i,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var i=mi(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ut(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),n=this.message.indexOf(t,i);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var 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()&&gi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),n=this.message.charCodeAt(i+(t>=65536?2:1));return n!=null?n:null},e}();function yt(e){return e>=97&&e<=122||e>=65&&e<=90}function Yn(e){return yt(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 gi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Qn(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 vt(e){e.forEach(function(t){if(delete t.location,si(t)||ai(t))for(var i in t.options)delete t.options[i].location,vt(t.options[i].value);else ni(t)&&ui(t.style)||(ri(t)||oi(t))&&mt(t.style)?delete t.style.location:li(t)&&vt(t.children)})}function Kn(e,t){t===void 0&&(t={}),t=qe({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new Zn(e,t).parse();if(i.err){var n=SyntaxError(B[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return t!=null&&t.captureLocation||vt(i.val),i.val}var Te;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Te||(Te={}));var Qe=function(e){Je(t,e);function t(i,n,r){var o=e.call(this,i)||this;return o.code=n,o.originalMessage=r,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,n,r,o){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Te.INVALID_VALUE,o)||this}return t}(Qe),er=function(e){Je(t,e);function t(i,n,r){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(n),Te.INVALID_VALUE,r)||this}return t}(Qe),tr=function(e){Je(t,e);function t(i,n){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(n,'"'),Te.MISSING_VALUE,n)||this}return t}(Qe),W;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(W||(W={}));function ir(e){return e.length<2?e:e.reduce(function(t,i){var n=t[t.length-1];return!n||n.type!==W.literal||i.type!==W.literal?t.push(i):n.value+=i.value,t},[])}function nr(e){return typeof e=="function"}function Ve(e,t,i,n,r,o,a){if(e.length===1&&Ot(e[0]))return[{type:W.literal,value:e[0].value}];for(var s=[],u=0,l=e;u<l.length;u++){var c=l[u];if(Ot(c)){s.push({type:W.literal,value:c.value});continue}if(wn(c)){typeof o=="number"&&s.push({type:W.literal,value:i.getNumberFormat(t).format(o)});continue}var p=c.value;if(!(r&&p in r))throw new tr(p,a);var m=r[p];if(Pn(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?W.literal:W.object,value:m});continue}if(ri(c)){var d=typeof c.style=="string"?n.date[c.style]:mt(c.style)?c.style.parsedOptions:void 0;s.push({type:W.literal,value:i.getDateTimeFormat(t,d).format(m)});continue}if(oi(c)){var d=typeof c.style=="string"?n.time[c.style]:mt(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:W.literal,value:i.getDateTimeFormat(t,d).format(m)});continue}if(ni(c)){var d=typeof c.style=="string"?n.number[c.style]:ui(c.style)?c.style.parsedOptions:void 0;d&&d.scale&&(m=m*(d.scale||1)),s.push({type:W.literal,value:i.getNumberFormat(t,d).format(m)});continue}if(li(c)){var E=c.children,_=c.value,y=r[_];if(!nr(y))throw new er(_,"function",a);var v=Ve(E,t,i,n,r,o),O=y(v.map(function(S){return S.value}));Array.isArray(O)||(O=[O]),s.push.apply(s,O.map(function(S){return{type:typeof S=="string"?W.literal:W.object,value:S}}))}if(si(c)){var w=c.options[m]||c.options.other;if(!w)throw new $t(c.value,m,Object.keys(c.options),a);s.push.apply(s,Ve(w.value,t,i,n,r));continue}if(ai(c)){var w=c.options["=".concat(m)];if(!w){if(!Intl.PluralRules)throw new Qe(`Intl.PluralRules is not available in this environment.
|
|
2
|
-
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
-
`,Te.MISSING_INTL_API,a);var M=i.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));w=c.options[M]||c.options.other}if(!w)throw new $t(c.value,m,Object.keys(c.options),a);s.push.apply(s,Ve(w.value,t,i,n,r,m-(c.offset||0)));continue}}return ir(s)}function rr(e,t){return t?se(se(se({},e||{}),t||{}),Object.keys(e).reduce(function(i,n){return i[n]=se(se({},e[n]),t[n]||{}),i},{})):e}function or(e,t){return t?Object.keys(e).reduce(function(i,n){return i[n]=rr(e[n],t[n]),i},se({},e)):e}function ut(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function sr(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:st(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,ot([void 0],i,!1)))},{cache:ut(e.number),strategy:at.variadic}),getDateTimeFormat:st(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,ot([void 0],i,!1)))},{cache:ut(e.dateTime),strategy:at.variadic}),getPluralRules:st(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,ot([void 0],i,!1)))},{cache:ut(e.pluralRules),strategy:at.variadic})}}var ar=function(){function e(t,i,n,r){i===void 0&&(i=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=o.formatToParts(u);if(l.length===1)return l[0].value;var c=l.reduce(function(p,m){return!p.length||m.type!==W.literal||typeof p[p.length-1]!="string"?p.push(m.value):p[p.length-1]+=m.value,p},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return Ve(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.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 a=r||{};a.formatters;var s=gn(a,["formatters"]);this.ast=e.__parse(t,se(se({},s),{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=or(e.formats,n),this.formatters=r&&r.formatters||sr(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=Kn,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 lr(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let r=0;r<i.length;r++)if(typeof n=="object"){if(r>0){const o=i.slice(r,i.length).join(".");if(o in n){n=n[o];break}}n=n[i[r]]}else n=void 0;return n}const ue={},ur=(e,t,i)=>i&&(t in ue||(ue[t]={}),e in ue[t]||(ue[t][e]=i),i),bi=(e,t)=>{if(t==null)return;if(t in ue&&e in ue[t])return ue[t][e];const i=Ke(t);for(let n=0;n<i.length;n++){const r=i[n],o=hr(r,e);if(o)return ur(e,t,o)}};let Tt;const Re=Ye({});function cr(e){return Tt[e]||null}function yi(e){return e in Tt}function hr(e,t){if(!yi(e))return null;const i=cr(e);return lr(i,t)}function fr(e){if(e==null)return;const t=Ke(e);for(let i=0;i<t.length;i++){const n=t[i];if(yi(n))return n}}function vi(e,...t){delete ue[e],Re.update(i=>(i[e]=dn.all([i[e]||{},...t]),i))}we([Re],([e])=>Object.keys(e));Re.subscribe(e=>Tt=e);const Xe={};function pr(e,t){Xe[e].delete(t),Xe[e].size===0&&delete Xe[e]}function Ei(e){return Xe[e]}function mr(e){return Ke(e).map(t=>{const i=Ei(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function Et(e){return e==null?!1:Ke(e).some(t=>{var i;return(i=Ei(t))==null?void 0:i.size})}function dr(e,t){return Promise.all(t.map(n=>(pr(e,n),n().then(r=>r.default||r)))).then(n=>vi(e,...n))}const He={};function _i(e){if(!Et(e))return e in He?He[e]:Promise.resolve();const t=mr(e);return He[e]=Promise.all(t.map(([i,n])=>dr(i,n))).then(()=>{if(Et(e))return _i(e);delete He[e]}),He[e]}const gr={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"}}},br={fallbackLocale:null,loadingDelay:200,formats:gr,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},yr=br;function Pe(){return yr}const ct=Ye(!1);var vr=Object.defineProperty,Er=Object.defineProperties,_r=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,xr=Object.prototype.hasOwnProperty,Tr=Object.prototype.propertyIsEnumerable,Ft=(e,t,i)=>t in e?vr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Pr=(e,t)=>{for(var i in t||(t={}))xr.call(t,i)&&Ft(e,i,t[i]);if(zt)for(var i of zt(t))Tr.call(t,i)&&Ft(e,i,t[i]);return e},wr=(e,t)=>Er(e,_r(t));let _t;const We=Ye(null);function Vt(e){return e.split("-").map((t,i,n)=>n.slice(0,i+1).join("-")).reverse()}function Ke(e,t=Pe().fallbackLocale){const i=Vt(e);return t?[...new Set([...i,...Vt(t)])]:i}function fe(){return _t!=null?_t:void 0}We.subscribe(e=>{_t=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Br=e=>{if(e&&fr(e)&&Et(e)){const{loadingDelay:t}=Pe();let i;return typeof window!="undefined"&&fe()!=null&&t?i=window.setTimeout(()=>ct.set(!0),t):ct.set(!0),_i(e).then(()=>{We.set(e)}).finally(()=>{clearTimeout(i),ct.set(!1)})}return We.set(e)},Be=wr(Pr({},We),{set:Br}),et=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var Lr=Object.defineProperty,Ze=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Ti=Object.prototype.propertyIsEnumerable,Xt=(e,t,i)=>t in e?Lr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Pt=(e,t)=>{for(var i in t||(t={}))xi.call(t,i)&&Xt(e,i,t[i]);if(Ze)for(var i of Ze(t))Ti.call(t,i)&&Xt(e,i,t[i]);return e},Le=(e,t)=>{var i={};for(var n in e)xi.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&Ze)for(var n of Ze(e))t.indexOf(n)<0&&Ti.call(e,n)&&(i[n]=e[n]);return i};const De=(e,t)=>{const{formats:i}=Pe();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Sr=et(e=>{var t=e,{locale:i,format:n}=t,r=Le(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=De("number",n)),new Intl.NumberFormat(i,r)}),Ar=et(e=>{var t=e,{locale:i,format:n}=t,r=Le(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=De("date",n):Object.keys(r).length===0&&(r=De("date","short")),new Intl.DateTimeFormat(i,r)}),Ir=et(e=>{var t=e,{locale:i,format:n}=t,r=Le(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=De("time",n):Object.keys(r).length===0&&(r=De("time","short")),new Intl.DateTimeFormat(i,r)}),kr=(e={})=>{var t=e,{locale:i=fe()}=t,n=Le(t,["locale"]);return Sr(Pt({locale:i},n))},Hr=(e={})=>{var t=e,{locale:i=fe()}=t,n=Le(t,["locale"]);return Ar(Pt({locale:i},n))},Cr=(e={})=>{var t=e,{locale:i=fe()}=t,n=Le(t,["locale"]);return Ir(Pt({locale:i},n))},Nr=et((e,t=fe())=>new ar(e,t,Pe().formats,{ignoreTag:Pe().ignoreTag})),Or=(e,t={})=>{var i,n,r,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:s,locale:u=fe(),default:l}=a;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=bi(e,u);if(!c)c=(o=(r=(n=(i=Pe()).handleMissingMessage)==null?void 0:n.call(i,{locale:u,id:e,defaultValue:l}))!=null?r:l)!=null?o:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!s)return c;let p=c;try{p=Nr(c,u).format(s)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return p},Mr=(e,t)=>Cr(t).format(e),Dr=(e,t)=>Hr(t).format(e),Rr=(e,t)=>kr(t).format(e),Ur=(e,t=fe())=>bi(e,t),jr=we([Be,Re],()=>Or);we([Be],()=>Mr);we([Be],()=>Dr);we([Be],()=>Rr);we([Be,Re],()=>Ur);function qt(e,t){vi(e,t)}function Gr(e){Be.set(e)}const Wt={en:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the',TClink:"General Terms and Conditions",TCpart2:"Also note our",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to",kyc1Part2:"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.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."},de:{loading:"Lädt ...",setLimit:"Legen Sie ein Grenzwert fest",setLimitDescription:"In Deutschland müssen Sie gesetzlich ein monatliches Einlagenlimit festlegen.",lugasInfo1:"Fragen? Informationen zu",lugasInfo2:"LUGAS",keepCurrentLimit:"Aktuelles Limit beibehalten",keepCurrentLimitButton:"Neue Grenze",applyButton:"Anwenden",depositPeriod:"Monatliche Einzahlungslimit",TCpart1:'Durch Klicken auf "das aktuelle Grenzwert halten" oder "anwenden", bestätige ich, dass ich die',TClink:"Allgemeine Geschäftsbedingungen",TCpart2:"Beachten Sie auch unsere",PPlink:"Datenschutz-Bestimmungen",depositLimit:"Erfolgreich",successful:"Erfolgreich",successDescription:"Einzahlungslimit erfolgreich festgelegt. Sie können Ihre Grenzen jederzeit in den Kontoeinstellungen verwalten.",kyc1Part1:"Wir konnten Ihr monatliches Einzahlungslimit auf",kyc1Part2:"Um das Limit auf den gewünschten Betrag zu erhöhen, bitten wir, uns relevante Informationen zur Verfügung zu stellen. Diese Informationen können im Dokumenten-Upload eingereicht werden.",kycButton:"Dokumente hochladen",closeButton:"Schließen",depositError:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",errorDescription:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",docsRequired:"Documents required!",kyc2:"Für das gewählte Limit benötigen wir Dokumente, aus denen Ihre finanzielle Situation hervorgeht. Bitte laden Sie Ihre letzte Gehaltsabrechnung sowie einen aktuellen Kontoauszug, auf dem Kontostand sowie Gehaltseingang ersichtlich sind, hoch."},hr:{loading:"Učitavanje",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"ZADRŽITE TRENUTNO OGRANIČENJE",keepCurrentLimitButton:"NOVO OGRANIČENJE",applyButton:"PRIMJENI",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:'Klikom na "Zadrži trenutno ograničenje" ili "Primijeni" potvrđujem da sam pročitao i prihvaćam',TClink:"Opći uvjeti poslovanja",TCpart2:"Također imajte na umu našu",PPlink:"Politiku privatnosti",depositLimit:"Postavljeno ograničenje uplate",successful:"Uspješno!",successDescription:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kyc1Part1:"Uspjeli smo postaviti vaše mjesečno ograničenje uplate na",kyc1Part2:"Kako bi povećali ograničenje na željeni iznos",kycButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",depositError:"Pogreška ažuriranja ograničenja uplate",errorDescription:"Trenutačno nismo mogli postaviti vaše ograničenje",docsRequired:"Potrebni dokumenti!",kyc2:"Za odabrano ograničenje"},sl:{loading:"Nalaga...",setLimit:"Določi limit",setLimitDescription:"V Nemčiji je zakonsko predpisano, da določite mesečni vplačilni limit.",lugasInfo1:"Vprašanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Ohranite obstoječi limit",keepCurrentLimitButton:"Novi limit",applyButton:"Uporabi",depositPeriod:"Mesečni vplačilni limit",TCpart1:"S klikom na „ohranite obstoječi limit“ ali „prevzem“ potrjujem, da sem prebral-a",TClink:"Splošna pravila in pogoji",TCpart2:"Preverite tudi na naš",PPlink:"Pravila o zasebnosti",depositLimit:"Uspešno",successful:"Uspešno",successDescription:"Vplačilni limit je bil uspešno postavljen. Limiti se lahko kadar koli prilagodijo v nastavitvah stavnega računa.",kyc1Part1:"Mesečni vplačilni limit smo lahko nastavili na",kyc1Part2:"Da bi povečali limit na želeni znesek, prosimo, da nam posredujete relevantne informacije. Te informacije lahko naložite pod prenos dokumentov.",kycButton:"Naložite dokumenteS",closeButton:"Zapri",depositError:"Nekaj je šlo narobe. Prosim poskusite ponovno.",errorDescription:"Nekaj je šlo narobe. Prosim poskusite ponovno.",docsRequired:"Documents required!",kyc2:"Za izbrani limit, potrebujemo dokumente, ki prikazujejo vašo ekonomsko stanje. Prosimo naložite vašo zadnjo plačilno listo in zadnji bančni izpisek, vključno s prikazom dobroimetja, ki prikazuje, da ste prejeli plačilo."},pl:{loading:"Ładowanie...",setLimit:"Ustaw limit",setLimitDescription:"W Niemczech istnieje prawny obowiązek ustalenia miesięcznego limitu wpłat.",lugasInfo1:"Jakieś pytania? Informacja o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zachowaj obecny limit",keepCurrentLimitButton:"Nowy limit",applyButton:"Zastosuj",depositPeriod:"Miesięczny limit wpłat",TCpart1:'Klikając na "Zachowaj obecny limit" lub "Zastosuj", potwierdzam, że przeczytałem i akceptuję',TClink:"Ogólne warunki handlowe",TCpart2:"Zapoznaj się również z naszą",PPlink:"Polityka prywatności",depositLimit:"Zakończone powodzeniem",successful:"Zakończone powodzeniem",successDescription:"Limit wpłat ustawiony pomyślnie. Możesz zarządzać limitami w dowolnym momencie w ustawieniach konta.",kyc1Part1:"Udało nam się ustawić Twój miesięczny limit wpłat na",kyc1Part2:"Aby zwiększyć limit żądanej kwoty, prosimy o podanie nam odpowiednich informacji. Informacje te można przesłać w przesyłaniu dokumentu.",kycButton:"Wczytywanie dokumentów",closeButton:"zamknij",depositError:"Coś poszło nie tak. Proszę spróbuj ponownie.",errorDescription:"Coś poszło nie tak. Proszę spróbuj ponownie.",docsRequired:"Documents required!",kyc2:"Do wybranego limitu potrzebujemy dokumentów potwierdzających Państwa sytuację finansową. Prosimy o przesłanie ostatniego odcinka wypłaty oraz aktualnego wyciągu bankowego, na którym widnieje stan konta i przychodzące wynagrodzenie."},es:{loading:"Cargando...",setLimit:"Establece un límite",setLimitDescription:"En Alemania",lugasInfo1:"Alguna pregunta? Información sobre",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER LÍMITE ACTUAL",keepCurrentLimitButton:"NUEVO LÍMITE",applyButton:"APLICAR",depositPeriod:"Límite Mensual de depósitos",TCpart1:'Dando clic en "Mantener límite actual" o "Aplicar" yo confirmo que he leido y aceptado los',TClink:"Términos y Condiciones Generales",TCpart2:"También note nuestra",PPlink:"Politica de Privacidad",depositLimit:"Límite de depósito establecido",successful:"Exitoso!",successDescription:"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.",kyc1Part1:"Pudimos estabelecer tu límite de deposito mensual en",kyc1Part2:"Para aumentar el límite a la cantidad deseada",kycButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR",depositError:"Error en actualización de límite de depósito",errorDescription:"No pudimos actualizar tu límite en este momento.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado."},"pt-br":{Loading:"Carregando, por favor espere...",setLimit:"Definir limite",setLimitDescription:'Na Alemanha, por lei é obrigatório estabelecer um limite de depósito mensal, portanto",Pedimos que você confirme o limite existente ou defina um novo para aproveitar o jogo sem restrições.',lugasInfo1:"Dúvidas? Informação sobre",lugasInfo2:"LUGARES",keepCurrentLimit:"MANTENHA O LIMITE ATUAL",keepCurrentLimitButton:"NOVO LIMITE",applyButton:"APLICAR",depositPeriod:"LIMITE DE DEPÓSITO MENSAL",TCpart1:'Ao selecionar ""manter limite atual"" ou ""aplicar"", confirmo que aceitei o"',TClink:"Termos e Condições Gerais",TCpart2:'Por favor, leve também em consideração o nosso"',PPlink:"Política de privacidade",depositLimit:"Limite de depósito fixo",successful:"Operação bem-sucedida",successDescription:"O limite de depósito foi definido com sucesso. Você pode gerenciar seus limites a qualquer momento na seção Configurações da sua conta.",kyc1Part1:"Conseguimos definir seu limite de depósito mensal para",kyc1Part2:"Para aumentar o limite de depósito mensal,Pedimos que você compartilhe-nos informações relevantes. Essas informações podem ser enviadas na seção de upload de arquivos na página",kycButton:"FAZER UPLOAD DE ARQUIVOS",closeButton:"Data",depositError:"Erro de atualização do limite de depósito",errorDescription:"Não foi possível atualizar seu limite neste momento,devido a um erro no servidor. Tente mais tarde",docsRequired:"Documentos requeridos",kyc2:'Para o limite selecionado," Exigimos documentos que comprovem sua situação financeira. Envie seu recibo de pagamento mais recente, bem como um extrato bancário atual",mostrando o saldo da sua conta e o depósito do seu salário.'},"es-mx":{Loading:"Cargando, por favor espere...",setLimit:"Fijar límite",setLimitDescription:'En Alemania,"por ley se requiere fijar un límite de depósito mensual, por lo tanto", le pedimos confirme el límite existente o establezca uno nuevo para disfrutar el juego sin restricciones.',lugasInfo1:"¿Alguna pregunta? Información acerca de",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER EL LÍMITE ACTUAL",keepCurrentLimitButton:"LÍMITE NUEVO",applyButton:"APLICAR",depositPeriod:"LÍMITE DE DEPÓSITO MENSUAL",TClink:"Términos y condiciones generales",TCpart2:"Por favor también tome en cuenta nuestra",PPlink:"Política de privacidad",depositLimit:"Límite de depósito fijado",successful:"Operación exitosa",successDescription:"El límite depósito se ha fijado exitosamente. Puede manejar sus límites en cualquier momento en la sección de Ajustes de su cuenta.",kyc1Part1:"Pudimos fijar su límite de depósito mensual a",kyc1Part2:"Para poder incrementar el límite de depósito mensual,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",kycButton:"SUBIR ARCHIVOS",closeButton:"CERRAR",depositError:"Error de actualización de límite de depósito",errorDescription:"No pudimos actualizar su límite en este momento,debido a un error del servidor. Intente más tarde",docsRequired:"Documentos requeridos",kyc2:"Para el límite seleccionado, requerimos documentos que muestren su situación financiera. Por favor suba su último talón de pago al igual que un estado de cuenta bancario actual, que muestre el balance de su cuenta y el depósito de su salario."},tr:{loading:"Yükleniyor lütfen bekleyin...",setLimit:"Bir sınır belirleyin",setLimitDescription:"Almanya'da yasal olarak aylık bir para yatırma limiti belirlemeniz gerekmektedir. Bu nedenle kısıtlama olmadan oyun keyfini yaşayabilmeniz için mevcut limitinizi onaylamanızı veya yeni bir limit belirlemenizi rica ediyoruz.",lugasInfo1:"Sorusu olan? Hakkında bilgi",lugasInfo2:"LUGAS",keepCurrentLimit:"MEVCUT LİMİTİ TUTUN",keepCurrentLimitButton:"YENİ LİMİT",applyButton:"UYGULA",depositPeriod:"Aylık para yatırma limiti",TCpart1:"Mevcut limiti koru veya Uygula seçeneğini tıklayarak okuduğumu ve kabul ettiğimi onaylıyorum",TClink:"Genel Şartlar ve Koşullar",TCpart2:"Ayrıca şunu da not edin:",PPlink:"Gizlilik Politikası",depositLimit:"Para Yatırma Limiti belirlendi",successful:"Başarılı!",successDescription:"Para yatırma limiti başarıyla belirlendi. Limitlerinizi istediğiniz zaman hesap ayarlarından yönetebilirsiniz.",kyc1Part1:"Aylık para yatırma limitinizi şu şekilde ayarlayabildik:",kyc1Part2:"Limitin istenilen tutara yükseltilebilmesi için ilgili bilgileri tarafımıza iletmenizi rica ederiz. Bu bilgi belge yüklemede gönderilebilir.",kycButton:"BELGELERİ YÜKLE",closeButton:"KAPALI",depositError:"Para Yatırma Limiti güncelleme hatası",errorDescription:"Sunucu hatası nedeniyle şu anda sınırınızı belirleyemedik. Lütfen daha sonra tekrar deneyiniz.",docsRequired:"Gerekli belgeler!",kyc2:"Seçilen limit için mali durumunuzu gösteren belgelere ihtiyacımız var. Lütfen son maaş bordronuzu ve hesap bakiyenizi ve maaş ödemenizi aldığınızı gösteren güncel banka ekstrenizi yükleyin."},"en-us":{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the',TClink:"General Terms and Conditions",TCpart2:"Also note our",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to",kyc1Part2:"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.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."}};function $r(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function zr(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(n=>n.text()).then(n=>{const r=document.createElement("style");r.innerHTML=n,e&&e.appendChild(r)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Fr(e,t,i){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,r=>{n.innerHTML=r,e&&e.appendChild(n)})}}function Vr(e){Hi(e,"svelte-1a4l86f",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}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-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}')}function Xr(e){let t;function i(o,a){if(o[10]==="initial")return Qr;if(o[10]==="successful")return Jr;if(o[10]==="KYC")return Yr;if(o[10]==="KYC2")return Zr;if(o[10]==="error")return Wr}let n=i(e),r=n&&n(e);return{c(){t=b("div"),r&&r.c(),h(t,"class","InitialWrapper")},m(o,a){T(o,t,a),r&&r.m(t,null)},p(o,a){n===(n=i(o))&&r?r.p(o,a):(r&&r.d(1),r=n&&n(o),r&&(r.c(),r.m(t,null)))},d(o){o&&x(t),r&&r.d()}}}function qr(e){let t,i=e[12]("loading")+"",n;return{c(){t=b("p"),n=L(i)},m(r,o){T(r,t,o),f(t,n)},p(r,o){o[0]&4096&&i!==(i=r[12]("loading")+"")&&k(n,i)},d(r){r&&x(t)}}}function Wr(e){let t,i=e[12]("depositError")+"",n,r,o,a,s,u=e[12]("errorDescription")+"",l,c,p,m=e[12]("closeButton")+"",d,E,_;return{c(){t=b("p"),n=L(i),r=N(),o=b("div"),o.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>',a=N(),s=b("p"),l=L(u),c=N(),p=b("button"),d=L(m),h(t,"class","Title"),h(o,"class","ResultIconWrapper"),h(s,"class","Description CenterAlign"),h(p,"class","ConfirmButton SecondaryButtonStyle")},m(y,v){T(y,t,v),f(t,n),T(y,r,v),T(y,o,v),T(y,a,v),T(y,s,v),f(s,l),T(y,c,v),T(y,p,v),f(p,d),E||(_=Z(p,"click",e[37]),E=!0)},p(y,v){v[0]&4096&&i!==(i=y[12]("depositError")+"")&&k(n,i),v[0]&4096&&u!==(u=y[12]("errorDescription")+"")&&k(l,u),v[0]&4096&&m!==(m=y[12]("closeButton")+"")&&k(d,m)},d(y){y&&(x(t),x(r),x(o),x(a),x(s),x(c),x(p)),E=!1,_()}}}function Zr(e){let t,i=e[12]("docsRequired")+"",n,r,o,a,s,u,l,c,p,m=e[12]("docsRequired")+"",d,E,_,y=e[12]("kyc2")+"",v,O,w,M=e[12]("kycButton")+"",S,D,z,H=e[12]("closeButton")+"",R,G,X;return{c(){t=b("p"),n=L(i),r=N(),o=b("div"),a=b("div"),s=Y("svg"),u=Y("g"),l=Y("path"),c=N(),p=b("p"),d=L(m),E=N(),_=b("p"),v=L(y),O=N(),w=b("button"),S=L(M),D=N(),z=b("button"),R=L(H),h(t,"class","Title"),h(l,"id","XMLID_6_"),h(l,"d",`M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
4
|
-
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
5
|
-
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
6
|
-
h256.5v-82.1H429v366.5H429.9z`),h(u,"id","XMLID_1_"),h(s,"version","1.1"),h(s,"id","Layer_1"),h(s,"xmlns","http://www.w3.org/2000/svg"),h(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(s,"x","0px"),h(s,"y","0px"),h(s,"viewBox","0 0 512 512"),Ce(s,"enable-background","new 0 0 512 512"),h(s,"xml:space","preserve"),h(a,"class","ResultIconWrapper"),h(_,"class","Description CenterAlign"),h(o,"class","DescriptionWrapper"),h(w,"class","KycButton PrimaryButtonStyle"),h(z,"class","ConfirmButton SecondaryButtonStyle")},m(P,U){T(P,t,U),f(t,n),T(P,r,U),T(P,o,U),f(o,a),f(a,s),f(s,u),f(u,l),f(a,c),f(a,p),f(p,d),f(o,E),f(o,_),f(_,v),T(P,O,U),T(P,w,U),f(w,S),T(P,D,U),T(P,z,U),f(z,R),G||(X=[Z(w,"click",e[35]),Z(z,"click",e[36])],G=!0)},p(P,U){U[0]&4096&&i!==(i=P[12]("docsRequired")+"")&&k(n,i),U[0]&4096&&m!==(m=P[12]("docsRequired")+"")&&k(d,m),U[0]&4096&&y!==(y=P[12]("kyc2")+"")&&k(v,y),U[0]&4096&&M!==(M=P[12]("kycButton")+"")&&k(S,M),U[0]&4096&&H!==(H=P[12]("closeButton")+"")&&k(R,H)},d(P){P&&(x(t),x(r),x(o),x(O),x(w),x(D),x(z)),G=!1,ce(X)}}}function Yr(e){let t,i=e[12]("depositLimit")+"",n,r,o,a,s,u,l,c,p,m=e[12]("successful")+"",d,E,_,y=e[12]("kyc1Part1")+"",v,O,w,M,S=e[12]("kyc1Part2")+"",D,z,H,R=e[12]("kycButton")+"",G,X,P,U=e[12]("closeButton")+"",ne,re,le;return{c(){t=b("p"),n=L(i),r=N(),o=b("div"),a=b("div"),s=Y("svg"),u=Y("g"),l=Y("path"),c=N(),p=b("p"),d=L(m),E=N(),_=b("p"),v=L(y),O=L(e[11]),w=N(),M=L(e[0]),D=L(S),z=N(),H=b("button"),G=L(R),X=N(),P=b("button"),ne=L(U),h(t,"class","Title"),h(l,"id","XMLID_6_"),h(l,"d",`M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
7
|
-
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
8
|
-
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
9
|
-
h256.5v-82.1H429v366.5H429.9z`),h(u,"id","XMLID_1_"),h(s,"version","1.1"),h(s,"id","Layer_1"),h(s,"xmlns","http://www.w3.org/2000/svg"),h(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(s,"x","0px"),h(s,"y","0px"),h(s,"viewBox","0 0 512 512"),Ce(s,"enable-background","new 0 0 512 512"),h(s,"xml:space","preserve"),h(a,"class","ResultIconWrapper"),h(_,"class","Description CenterAlign"),h(o,"class","DescriptionWrapper"),h(H,"class","KycButton PrimaryButtonStyle"),h(P,"class","ConfirmButton SecondaryButtonStyle")},m(F,j){T(F,t,j),f(t,n),T(F,r,j),T(F,o,j),f(o,a),f(a,s),f(s,u),f(u,l),f(a,c),f(a,p),f(p,d),f(o,E),f(o,_),f(_,v),f(_,O),f(_,w),f(_,M),f(_,D),T(F,z,j),T(F,H,j),f(H,G),T(F,X,j),T(F,P,j),f(P,ne),re||(le=[Z(H,"click",e[33]),Z(P,"click",e[34])],re=!0)},p(F,j){j[0]&4096&&i!==(i=F[12]("depositLimit")+"")&&k(n,i),j[0]&4096&&m!==(m=F[12]("successful")+"")&&k(d,m),j[0]&4096&&y!==(y=F[12]("kyc1Part1")+"")&&k(v,y),j[0]&2048&&k(O,F[11]),j[0]&1&&k(M,F[0]),j[0]&4096&&S!==(S=F[12]("kyc1Part2")+"")&&k(D,S),j[0]&4096&&R!==(R=F[12]("kycButton")+"")&&k(G,R),j[0]&4096&&U!==(U=F[12]("closeButton")+"")&&k(ne,U)},d(F){F&&(x(t),x(r),x(o),x(z),x(H),x(X),x(P)),re=!1,ce(le)}}}function Jr(e){let t,i=e[12]("depositLimit")+"",n,r,o,a,s,u,l,c,p,m,d,E,_=e[12]("successful")+"",y,v,O,w=e[12]("successDescription")+"",M,S,D,z,H;return{c(){t=b("p"),n=L(i),r=N(),o=b("div"),a=b("div"),s=Y("svg"),u=Y("defs"),l=Y("style"),c=L(`.fil0 {fill:black;fill-rule:nonzero}
|
|
10
|
-
`),p=Y("g"),m=Y("polygon"),d=N(),E=b("p"),y=L(_),v=N(),O=b("p"),M=L(w),S=N(),D=b("button"),D.textContent="OK",h(t,"class","Title"),h(l,"type","text/css"),h(m,"class","fil0"),h(m,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),h(s,"xmlns","http://www.w3.org/2000/svg"),h(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(s,"xml:space","preserve"),h(s,"version","1.1"),Ce(s,"shape-rendering","geometricPrecision"),Ce(s,"text-rendering","geometricPrecision"),Ce(s,"image-rendering","optimizeQuality"),h(s,"viewBox","0 0 90 69"),h(s,"x","0px"),h(s,"y","0px"),h(s,"fill-rule","evenodd"),h(s,"clip-rule","evenodd"),h(a,"class","ResultIconWrapper"),h(O,"class","Description CenterAlign"),h(o,"class","DescriptionWrapper"),h(D,"class","ConfirmButton PrimaryButtonStyle")},m(R,G){T(R,t,G),f(t,n),T(R,r,G),T(R,o,G),f(o,a),f(a,s),f(s,u),f(u,l),f(l,c),f(s,p),f(p,m),f(a,d),f(a,E),f(E,y),f(o,v),f(o,O),f(O,M),T(R,S,G),T(R,D,G),z||(H=Z(D,"click",e[32]),z=!0)},p(R,G){G[0]&4096&&i!==(i=R[12]("depositLimit")+"")&&k(n,i),G[0]&4096&&_!==(_=R[12]("successful")+"")&&k(y,_),G[0]&4096&&w!==(w=R[12]("successDescription")+"")&&k(M,w)},d(R){R&&(x(t),x(r),x(o),x(S),x(D)),z=!1,H()}}}function Qr(e){let t,i=e[12]("setLimit")+"",n,r,o,a=e[12]("setLimitDescription")+"",s,u,l,c=e[12]("lugasInfo1")+"",p,m,d,E=e[12]("lugasInfo2")+"",_,y,v,O=e[12]("keepCurrentLimit")+"",w,M,S,D=e[12]("keepCurrentLimitButton")+"",z,H,R,G,X,P,U,ne,re=e[12]("depositPeriod")+"",le,F,j,K,Ue,oe,pe=e[12]("applyButton")+"",Se,Ae,J,me=e[12]("TCpart1")+"",Ie,he,de=e[12]("TClink")+"",ke,g,q=e[12]("TCpart2")+"",ae,je,ee,Ge=e[12]("PPlink")+"",tt,wt,it,Bt;return{c(){t=b("p"),n=L(i),r=N(),o=b("p"),s=L(a),u=N(),l=b("p"),p=L(c),m=N(),d=b("button"),_=L(E),y=N(),v=b("button"),w=L(O),M=N(),S=b("button"),z=L(D),H=Y("svg"),R=Y("path"),G=Y("path"),X=N(),P=b("div"),U=b("div"),ne=b("span"),le=L(re),F=N(),j=b("div"),K=b("input"),Ue=N(),oe=b("button"),Se=L(pe),Ae=N(),J=b("p"),Ie=L(me),he=b("button"),ke=L(de),g=N(),ae=L(q),je=N(),ee=b("button"),tt=L(Ge),wt=L("."),h(t,"class","Title"),h(o,"class","Description LeftAlign"),h(d,"class","LinkButton"),h(l,"class","AdditionalInformation"),h(v,"class","KeepCurrentButton PrimaryButtonStyle"),h(R,"d","M10.5 15l7.5 7.5 7.5-7.5z"),h(G,"d","M0 0h36v36h-36z"),h(G,"fill","none"),h(H,"class","ExpandArrow"),h(H,"xmlns","http://www.w3.org/2000/svg"),h(H,"width","36"),h(H,"height","36"),h(H,"viewBox","0 0 36 36"),h(H,"fill","#999"),$e(H,"Extended",e[5]),h(S,"class","ExpandButton"),h(ne,"class","DepositPeriodText"),h(U,"class","DepositTextSection"),h(K,"type","number"),h(K,"class","DepositInput"),h(oe,"type","submit"),h(oe,"class","SubmitDepositButton PrimaryButtonStyle"),oe.disabled=!0,h(j,"class","DepositInputSection"),h(P,"class","SetLimitSection"),$e(P,"Hidden",e[4]),h(he,"class","LinkButton"),h(ee,"class","LinkButton"),h(J,"class","TermsConditions")},m(I,C){T(I,t,C),f(t,n),T(I,r,C),T(I,o,C),f(o,s),T(I,u,C),T(I,l,C),f(l,p),f(l,m),f(l,d),f(d,_),T(I,y,C),T(I,v,C),f(v,w),T(I,M,C),T(I,S,C),f(S,z),f(S,H),f(H,R),f(H,G),e[26](H),T(I,X,C),T(I,P,C),f(P,U),f(U,ne),f(ne,le),f(P,F),f(P,j),f(j,K),Ht(K,e[6]),f(j,Ue),f(j,oe),f(oe,Se),e[28](oe),T(I,Ae,C),T(I,J,C),f(J,Ie),f(J,he),f(he,ke),f(J,g),f(J,ae),f(J,je),f(J,ee),f(ee,tt),f(J,wt),it||(Bt=[Z(d,"click",e[24]),Z(v,"click",e[25]),Z(S,"click",e[13]),Z(K,"input",e[27]),Z(K,"keyup",e[14]),Z(oe,"click",e[29]),Z(he,"click",e[30]),Z(ee,"click",e[31])],it=!0)},p(I,C){C[0]&4096&&i!==(i=I[12]("setLimit")+"")&&k(n,i),C[0]&4096&&a!==(a=I[12]("setLimitDescription")+"")&&k(s,a),C[0]&4096&&c!==(c=I[12]("lugasInfo1")+"")&&k(p,c),C[0]&4096&&E!==(E=I[12]("lugasInfo2")+"")&&k(_,E),C[0]&4096&&O!==(O=I[12]("keepCurrentLimit")+"")&&k(w,O),C[0]&4096&&D!==(D=I[12]("keepCurrentLimitButton")+"")&&k(z,D),C[0]&32&&$e(H,"Extended",I[5]),C[0]&4096&&re!==(re=I[12]("depositPeriod")+"")&&k(le,re),C[0]&64&&Qt(K.value)!==I[6]&&Ht(K,I[6]),C[0]&4096&&pe!==(pe=I[12]("applyButton")+"")&&k(Se,pe),C[0]&16&&$e(P,"Hidden",I[4]),C[0]&4096&&me!==(me=I[12]("TCpart1")+"")&&k(Ie,me),C[0]&4096&&de!==(de=I[12]("TClink")+"")&&k(ke,de),C[0]&4096&&q!==(q=I[12]("TCpart2")+"")&&k(ae,q),C[0]&4096&&Ge!==(Ge=I[12]("PPlink")+"")&&k(tt,Ge)},d(I){I&&(x(t),x(r),x(o),x(u),x(l),x(y),x(v),x(M),x(S),x(X),x(P),x(Ae),x(J)),e[26](null),e[28](null),it=!1,ce(Bt)}}}function Kr(e){let t,i,n,r;function o(u,l){if(u[7])return qr;if(u[1])return Xr}let a=o(e),s=a&&a(e);return{c(){t=b("div"),i=b("div"),n=b("div"),r=b("div"),s&&s.c(),h(r,"class","ModalContainer"),h(n,"class","Overlay"),h(i,"class","player-account-gaming-limits-popup-2")},m(u,l){T(u,t,l),f(t,i),f(i,n),f(n,r),s&&s.m(r,null),e[38](i),e[39](t)},p(u,l){a===(a=o(u))&&s?s.p(u,l):(s&&s.d(1),s=a&&a(u),s&&(s.c(),s.m(r,null)))},i:ie,o:ie,d(u){u&&x(t),s&&s.d(),e[38](null),e[39](null)}}}function eo(e,t,i){let n;ki(e,jr,g=>i(12,n=g));let{userid:r=""}=t,{session:o=""}=t,{endpoint:a=""}=t,{currency:s=""}=t,{lang:u=""}=t,{translationurl:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:p=""}=t,{mbsource:m}=t,d,E,_=!0,y=!1,v,O=!1,w,M,S="initial",D;const z=()=>{fetch(l).then(q=>q.json()).then(q=>{Object.keys(q).forEach(ae=>{qt(ae,q[ae])})}).catch(q=>{console.log(q)})};Object.keys(Wt).forEach(g=>{qt(g,Wt[g])});const H=()=>{i(5,y=!y),i(4,_=!_)},R=()=>{M.parentNode.removeChild(M)},G=()=>{v>999999999999999&&i(6,v=999999999999999);const q=v-Math.floor(v)===0;v>0&&q?w.removeAttribute("disabled"):w.setAttribute("disabled","true")},X=g=>{switch(window.postMessage({type:g},window.location.href),g){case"closePopup":case"uploadDocuments":R();break}},P=g=>{const q=new URL(`/v1/player/${r}/limit/lugas`,a);let ae={};i(7,O=!0),ae=g==="custom"?{amount:v}:{};let je={method:"POST",headers:{"X-SessionID":o,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(ae)};fetch(q.href,je).then(ee=>ee.json()).then(ee=>{U(ee)}).catch(ee=>{console.log(ee)}).finally(()=>{i(7,O=!1)})},U=g=>{if(g.hasOwnProperty("kycNeeded"))switch(g.popup){case 1:i(10,S="KYC"),i(11,D=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.operatorDepositLimitAmount));break;case 2:i(10,S="successful");break;case 3:i(10,S="KYC2");break}else i(10,S="error")},ne=()=>{Gr(u)};Ri(()=>()=>{});const re=()=>X("lugasInformation"),le=()=>P("default");function F(g){ve[g?"unshift":"push"](()=>{E=g,i(3,E)})}function j(){v=Qt(this.value),i(6,v)}function K(g){ve[g?"unshift":"push"](()=>{w=g,i(8,w)})}const Ue=()=>P("custom"),oe=()=>X("termsConditions"),pe=()=>X("privacyPolicy"),Se=()=>X("closePopup"),Ae=()=>X("uploadDocuments"),J=()=>X("closePopup"),me=()=>X("uploadDocuments"),Ie=()=>X("closePopup"),he=()=>X("closePopup");function de(g){ve[g?"unshift":"push"](()=>{M=g,i(9,M)})}function ke(g){ve[g?"unshift":"push"](()=>{d=g,i(2,d)})}return e.$$set=g=>{"userid"in g&&i(17,r=g.userid),"session"in g&&i(18,o=g.session),"endpoint"in g&&i(19,a=g.endpoint),"currency"in g&&i(0,s=g.currency),"lang"in g&&i(1,u=g.lang),"translationurl"in g&&i(20,l=g.translationurl),"clientstyling"in g&&i(21,c=g.clientstyling),"clientstylingurl"in g&&i(22,p=g.clientstylingurl),"mbsource"in g&&i(23,m=g.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&2&&u&&ne(),e.$$.dirty[0]&2097156&&c&&d&&$r(d,c),e.$$.dirty[0]&4194308&&p&&d&&zr(d,p),e.$$.dirty[0]&8388612&&m&&d&&Fr(d,`${m}.Style`),e.$$.dirty[0]&1048576&&l&&z()},[s,u,d,E,_,y,v,O,w,M,S,D,n,H,G,X,P,r,o,a,l,c,p,m,re,le,F,j,K,Ue,oe,pe,Se,Ae,J,me,Ie,he,de,ke]}class Pi extends Yi{constructor(t){super(),Wi(this,t,eo,Kr,Yt,{userid:17,session:18,endpoint:19,currency:0,lang:1,translationurl:20,clientstyling:21,clientstylingurl:22,mbsource:23},Vr,[-1,-1])}get userid(){return this.$$.ctx[17]}set userid(t){this.$$set({userid:t}),te()}get session(){return this.$$.ctx[18]}set session(t){this.$$set({session:t}),te()}get endpoint(){return this.$$.ctx[19]}set endpoint(t){this.$$set({endpoint:t}),te()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),te()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),te()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),te()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(t){this.$$set({clientstyling:t}),te()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),te()}get mbsource(){return this.$$.ctx[23]}set mbsource(t){this.$$set({mbsource:t}),te()}}Zi(Pi,{userid:{},session:{},endpoint:{},currency:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=Pi;
|