@everymatrix/player-account-gaming-limits-page-2-gmcore 1.12.0 → 1.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function i(){return Object.create(null)}function n(e){e.forEach(t)}function r(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...i){if(null==t)return e;const n=t.subscribe(...i);return n.unsubscribe?()=>n.unsubscribe():n}function a(e,t){e.appendChild(t)}function l(e,t,i){e.insertBefore(t,i||null)}function u(e){e.parentNode&&e.parentNode.removeChild(e)}function c(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function h(e){return document.createElement(e)}function p(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function m(e){return document.createTextNode(e)}function f(){return m(" ")}function d(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function y(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function g(e){return""===e?null:+e}function b(e,t){t=""+t,e.data!==t&&(e.data=t)}function v(e,t){e.value=null==t?"":t}function E(e,t,i,n){null===i?e.style.removeProperty(t):e.style.setProperty(t,i,n?"important":"")}function T(e,t,i){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t)return void(n.selected=!0)}i&&void 0===t||(e.selectedIndex=-1)}function L(e){const t=e.querySelector(":checked");return t&&t.__value}function w(e){const t={};for(const i of e)t[i.name]=i.value;return t}let _;function A(e){_=e}const S=[],B=[];let P=[];const H=[],N=Promise.resolve();let I=!1;function O(e){P.push(e)}const x=new Set;let C=0;function D(){if(0!==C)return;const e=_;do{try{for(;C<S.length;){const e=S[C];C++,A(e),M(e.$$)}}catch(e){throw S.length=0,C=0,e}for(A(null),S.length=0,C=0;B.length;)B.pop()();for(let e=0;e<P.length;e+=1){const t=P[e];x.has(t)||(x.add(t),t())}P.length=0}while(S.length);for(;H.length;)H.pop()();I=!1,x.clear(),A(e)}function M(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(O)}}const U=new Set;const R="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function k(e,t){const i=e.$$;null!==i.fragment&&(!function(e){const t=[],i=[];P.forEach((n=>-1===e.indexOf(n)?t.push(n):i.push(n))),i.forEach((e=>e())),P=t}(i.after_update),n(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function $(e,t){-1===e.$$.dirty[0]&&(S.push(e),I||(I=!0,N.then(D)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(o,s,a,l,c,h,p,m=[-1]){const f=_;A(o);const d=o.$$={fragment:null,ctx:[],props:h,update:e,not_equal:c,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(f?f.$$.context:[])),callbacks:i(),dirty:m,skip_bound:!1,root:s.target||f.$$.root};p&&p(d.root);let y=!1;if(d.ctx=a?a(o,s.props||{},((e,t,...i)=>{const n=i.length?i[0]:t;return d.ctx&&c(d.ctx[e],d.ctx[e]=n)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](n),y&&$(o,e)),t})):[],d.update(),y=!0,n(d.before_update),d.fragment=!!l&&l(d.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);d.fragment&&d.fragment.l(e),e.forEach(u)}else d.fragment&&d.fragment.c();s.intro&&((g=o.$$.fragment)&&g.i&&(U.delete(g),g.i(b))),function(e,i,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(i,o),s||O((()=>{const i=e.$$.on_mount.map(t).filter(r);e.$$.on_destroy?e.$$.on_destroy.push(...i):n(i),e.$$.on_mount=[]})),l.forEach(O)}(o,s.target,s.anchor,s.customElement),D()}var g,b;A(f)}let G;"function"==typeof HTMLElement&&(G=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){k(this,1),this.$destroy=e}$on(t,i){if(!r(i))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const e=n.indexOf(i);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const F={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"]}},z=[];function V(t,i=e){let n;const r=new Set;function s(e){if(o(t,e)&&(t=e,n)){const e=!z.length;for(const e of r)e[1](),z.push(e,t);if(e){for(let e=0;e<z.length;e+=2)z[e][0](z[e+1]);z.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return r.add(l),1===r.size&&(n=i(s)||e),o(t),()=>{r.delete(l),0===r.size&&n&&(n(),n=null)}}}}function W(t,i,o){const a=!Array.isArray(t),l=a?[t]:t,u=i.length<2;return c=t=>{let o=!1;const c=[];let h=0,p=e;const m=()=>{if(h)return;p();const n=i(a?c[0]:c,t);u?t(n):p=r(n)?n:e},f=l.map(((e,t)=>s(e,(e=>{c[t]=e,h&=~(1<<t),o&&m()}),(()=>{h|=1<<t}))));return o=!0,m(),function(){n(f),p(),o=!1}},{subscribe:V(o,c).subscribe};var c}var X=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===K}(e)}(e)};var K="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Y(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ee((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function Z(e,t,i){return e.concat(t).map((function(e){return Y(e,i)}))}function q(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function J(e,t){try{return t in e}catch(e){return!1}}function Q(e,t,i){var n={};return i.isMergeableObject(e)&&q(e).forEach((function(t){n[t]=Y(e[t],i)})),q(t).forEach((function(r){(function(e,t){return J(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(J(e,r)&&i.isMergeableObject(t[r])?n[r]=function(e,t){if(!t.customMerge)return ee;var i=t.customMerge(e);return"function"==typeof i?i:ee}(r,i)(e[r],t[r],i):n[r]=Y(t[r],i))})),n}function ee(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Z,i.isMergeableObject=i.isMergeableObject||X,i.cloneUnlessOtherwiseSpecified=Y;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):Q(e,t,i):Y(t,i)}ee.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return ee(e,i,t)}),{})};var te=ee,ie=function(e,t){return ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},ie(e,t)};function ne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}ie(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var re,oe,se,ae=function(){return ae=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ae.apply(this,arguments)};function le(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function ue(e){return e.type===oe.literal}function ce(e){return e.type===oe.argument}function he(e){return e.type===oe.number}function pe(e){return e.type===oe.date}function me(e){return e.type===oe.time}function fe(e){return e.type===oe.select}function de(e){return e.type===oe.plural}function ye(e){return e.type===oe.pound}function ge(e){return e.type===oe.tag}function be(e){return!(!e||"object"!=typeof e||e.type!==se.number)}function ve(e){return!(!e||"object"!=typeof e||e.type!==se.dateTime)}!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"}(re||(re={})),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"}(oe||(oe={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(se||(se={}));var Ee=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Te=/(?:[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 Le(e){var t={};return e.replace(Te,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"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"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-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=4===i?"short":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-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"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-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"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<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 we=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var _e=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ae=/^(@+)?(\+|#+)?[rs]?$/g,Se=/(\*)(0+)|(#+)(0+)|(0+)/g,Be=/^(0+)$/;function Pe(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ae,(function(e,i,n){return"string"!=typeof n?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===n?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof n?n.length:0)),""})),t}function He(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 Ne(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(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)),!Be.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ie(e){var t=He(e);return t||{}}function Oe(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=r.options[0].replace(/^(.*?)-/,"");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=ae(ae(ae({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return ae(ae({},e),Ie(t))}),{}));continue;case"engineering":t=ae(ae(ae({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return ae(ae({},e),Ie(t))}),{}));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"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Se,(function(e,i,n,r,o,s){if(i)t.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Be.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if(_e.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(_e,(function(e,i,n,r,o,s){return"*"===n?t.minimumFractionDigits=i.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var o=r.options[0];"w"===o?t=ae(ae({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ae(ae({},t),Pe(o)))}else if(Ae.test(r.stem))t=ae(ae({},t),Pe(r.stem));else{var s=He(r.stem);s&&(t=ae(ae({},t),s));var a=Ne(r.stem);a&&(t=ae(ae({},t),a))}}return t}var xe,Ce={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function De(e){var t=e.hourCycle;if(void 0===t&&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,n=e.language;return"root"!==n&&(i=e.maximize().region),(Ce[i||""]||Ce[n||""]||Ce["".concat(n,"-001")]||Ce["001"])[0]}var Me=new RegExp("^".concat(Ee.source,"*")),Ue=new RegExp("".concat(Ee.source,"*$"));function Re(e,t){return{start:e,end:t}}var ke=!!String.prototype.startsWith,$e=!!String.fromCodePoint,je=!!Object.fromEntries,Ge=!!String.prototype.codePointAt,Fe=!!String.prototype.trimStart,ze=!!String.prototype.trimEnd,Ve=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},We=!0;try{We="a"===(null===(xe=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===xe?void 0:xe[0])}catch(e){We=!1}var Xe,Ke=ke?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Ye=$e?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,o=0;r>o;){if((i=e[o++])>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},Ze=je?Object.fromEntries:function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i],o=r[0],s=r[1];t[o]=s}return t},qe=Ge?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var n,r=e.charCodeAt(t);return r<55296||r>56319||t+1===i||(n=e.charCodeAt(t+1))<56320||n>57343?r:n-56320+(r-55296<<10)+65536}},Je=Fe?function(e){return e.trimStart()}:function(e){return e.replace(Me,"")},Qe=ze?function(e){return e.trimEnd()}:function(e){return e.replace(Ue,"")};function et(e,t){return new RegExp(e,t)}if(We){var tt=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xe=function(e,t){var i;return tt.lastIndex=t,null!==(i=tt.exec(e)[1])&&void 0!==i?i:""}}else Xe=function(e,t){for(var i=[];;){var n=qe(e,t);if(void 0===n||ot(n)||st(n))break;i.push(n),t+=n>=65536?2:1}return Ye.apply(void 0,i)};var it=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r=this.char();if(123===r){if((o=this.parseArgument(e,i)).err)return o;n.push(o.val)}else{if(125===r&&e>0)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(re.UNMATCHED_CLOSING_TAG,Re(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&nt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:oe.pound,location:Re(s,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:oe.literal,value:"<".concat(n,"/>"),location:Re(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var o=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!nt(this.char()))return this.error(re.INVALID_TAG,Re(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(re.UNMATCHED_CLOSING_TAG,Re(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:oe.tag,value:n,children:o,location:Re(i,this.clonePosition())},err:null}:this.error(re.INVALID_TAG,Re(s,this.clonePosition())))}return this.error(re.UNCLOSED_TAG,Re(i,this.clonePosition()))}return this.error(re.INVALID_TAG,Re(i,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&rt(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Re(i,this.clonePosition());return{val:{type:oe.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(nt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return Ye.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),Ye(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(re.EXPECT_ARGUMENT_CLOSING_BRACE,Re(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(re.EMPTY_ARGUMENT,Re(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(re.MALFORMED_ARGUMENT,Re(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(re.EXPECT_ARGUMENT_CLOSING_BRACE,Re(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:oe.argument,value:n,location:Re(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(re.EXPECT_ARGUMENT_CLOSING_BRACE,Re(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(re.MALFORMED_ARGUMENT,Re(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Xe(this.message,t),n=t+i.length;return this.bumpTo(n),{value:i,location:Re(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,n){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(re.EXPECT_ARGUMENT_TYPE,Re(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(m=Qe(g.val)).length)return this.error(re.EXPECT_ARGUMENT_STYLE,Re(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Re(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Re(n,this.clonePosition());if(l&&Ke(null==l?void 0:l.style,"::",0)){var h=Je(l.style.slice(2));if("number"===s)return(g=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?g:{val:{type:oe.number,value:i,location:c,style:g.val},err:null};if(0===h.length)return this.error(re.EXPECT_DATE_TIME_SKELETON,c);var p=h;this.locale&&(p=function(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var o=0;n+1<e.length&&e.charAt(n+1)===r;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=De(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===r?"H":r}return i}(h,this.locale));var m={type:se.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Le(p):{}};return{val:{type:"date"===s?oe.date:oe.time,value:i,location:c,style:m},err:null}}return{val:{type:"number"===s?oe.number:"date"===s?oe.date:oe.time,value:i,location:c,style:null!==(r=null==l?void 0:l.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(re.EXPECT_SELECT_ARGUMENT_OPTIONS,Re(f,ae({},f)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,re.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),d=this.parseIdentifierIfPossible(),y=g.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,d);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var E=Re(n,this.clonePosition());return"select"===s?{val:{type:oe.select,value:i,options:Ze(v.val),location:E},err:null}:{val:{type:oe.plural,value:i,options:Ze(v.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(re.INVALID_ARGUMENT_TYPE,Re(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(re.EXPECT_ARGUMENT_CLOSING_BRACE,Re(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(re.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Re(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(we).filter((function(e){return e.length>0})),i=[],n=0,r=t;n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,u=a;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");i.push({stem:s,options:a})}return i}(e)}catch(e){return this.error(re.INVALID_NUMBER_SKELETON,t)}return{val:{type:se.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Oe(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){for(var r,o=!1,s=[],a=new Set,l=n.value,u=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(re.EXPECT_PLURAL_ARGUMENT_SELECTOR,re.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Re(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?re.DUPLICATE_SELECT_ARGUMENT_SELECTOR:re.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?re.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:re.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Re(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var f=this.tryParseArgumentClose(p);if(f.err)return f;s.push([l,{value:m.val,location:Re(p,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?re.EXPECT_SELECT_ARGUMENT_SELECTOR:re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(re.MISSING_OTHER_CLAUSE,Re(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;r=!0,o=10*o+(s-48),this.bump()}var a=Re(n,this.clonePosition());return r?Ve(o*=i)?{val:o,err:null}:this.error(t,a):this.error(e,a)},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 e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=qe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Ke(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ot(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return null!=i?i:null},e}();function nt(e){return e>=97&&e<=122||e>=65&&e<=90}function rt(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||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 ot(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function st(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||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||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||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||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||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||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||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||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||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||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function at(e){e.forEach((function(e){if(delete e.location,fe(e)||de(e))for(var t in e.options)delete e.options[t].location,at(e.options[t].value);else he(e)&&be(e.style)||(pe(e)||me(e))&&ve(e.style)?delete e.style.location:ge(e)&&at(e.children)}))}function lt(e,t){void 0===t&&(t={}),t=ae({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new it(e,t).parse();if(i.err){var n=SyntaxError(re[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return(null==t?void 0:t.captureLocation)||at(i.val),i.val}function ut(e,t){var i=t&&t.cache?t.cache:gt,n=t&&t.serializer?t.serializer:ft;return(t&&t.strategy?t.strategy:mt)(e,{cache:i,serializer:n})}function ct(e,t,i,n){var r,o=null==(r=n)||"number"==typeof r||"boolean"==typeof r?n:i(n),s=t.get(o);return void 0===s&&(s=e.call(this,n),t.set(o,s)),s}function ht(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),o=t.get(r);return void 0===o&&(o=e.apply(this,n),t.set(r,o)),o}function pt(e,t,i,n,r){return i.bind(t,e,n,r)}function mt(e,t){return pt(e,this,1===e.length?ct:ht,t.cache.create(),t.serializer)}var ft=function(){return JSON.stringify(arguments)};function dt(){this.cache=Object.create(null)}dt.prototype.get=function(e){return this.cache[e]},dt.prototype.set=function(e,t){this.cache[e]=t};var yt,gt={create:function(){return new dt}},bt={variadic:function(e,t){return pt(e,this,ht,t.cache.create(),t.serializer)},monadic:function(e,t){return pt(e,this,ct,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(yt||(yt={}));var vt,Et=function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.code=i,r.originalMessage=n,r}return ne(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Tt=function(e){function t(t,i,n,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),yt.INVALID_VALUE,r)||this}return ne(t,e),t}(Et),Lt=function(e){function t(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),yt.INVALID_VALUE,n)||this}return ne(t,e),t}(Et),wt=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),yt.MISSING_VALUE,i)||this}return ne(t,e),t}(Et);function _t(e){return"function"==typeof e}function At(e,t,i,n,r,o,s){if(1===e.length&&ue(e[0]))return[{type:vt.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(ue(c))a.push({type:vt.literal,value:c.value});else if(ye(c))"number"==typeof o&&a.push({type:vt.literal,value:i.getNumberFormat(t).format(o)});else{var h=c.value;if(!r||!(h in r))throw new wt(h,s);var p=r[h];if(ce(c))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?vt.literal:vt.object,value:p});else if(pe(c)){var m="string"==typeof c.style?n.date[c.style]:ve(c.style)?c.style.parsedOptions:void 0;a.push({type:vt.literal,value:i.getDateTimeFormat(t,m).format(p)})}else if(me(c)){m="string"==typeof c.style?n.time[c.style]:ve(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:vt.literal,value:i.getDateTimeFormat(t,m).format(p)})}else if(he(c)){(m="string"==typeof c.style?n.number[c.style]:be(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),a.push({type:vt.literal,value:i.getNumberFormat(t,m).format(p)})}else{if(ge(c)){var f=c.children,d=c.value,y=r[d];if(!_t(y))throw new Lt(d,"function",s);var g=y(At(f,t,i,n,r,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?vt.literal:vt.object,value:e}})))}if(fe(c)){if(!(b=c.options[p]||c.options.other))throw new Tt(c.value,p,Object.keys(c.options),s);a.push.apply(a,At(b.value,t,i,n,r))}else if(de(c)){var b;if(!(b=c.options["=".concat(p)])){if(!Intl.PluralRules)throw new Et('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',yt.MISSING_INTL_API,s);var v=i.getPluralRules(t,{type:c.pluralType}).select(p-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new Tt(c.value,p,Object.keys(c.options),s);a.push.apply(a,At(b.value,t,i,n,r,p-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===vt.literal&&t.type===vt.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function St(e,t){return t?Object.keys(e).reduce((function(i,n){var r,o;return i[n]=(r=e[n],(o=t[n])?ae(ae(ae({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=ae(ae({},r[t]),o[t]||{}),e}),{})):r),i}),ae({},e)):e}function Bt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(vt||(vt={}));var Pt=function(){function e(t,i,n,r){var o,s=this;if(void 0===i&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===vt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return At(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==r?void 0:r.ignoreTag,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=St(e.formats,n),this.formatters=r&&r.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ut((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,le([void 0],t,!1)))}),{cache:Bt(o.number),strategy:bt.variadic}),getDateTimeFormat:ut((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,le([void 0],t,!1)))}),{cache:Bt(o.dateTime),strategy:bt.variadic}),getPluralRules:ut((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,le([void 0],t,!1)))}),{cache:Bt(o.pluralRules),strategy:bt.variadic})})}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(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=lt,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}(),Ht=Pt;const Nt={},It=(e,t,i)=>i?(t in Nt||(Nt[t]={}),e in Nt[t]||(Nt[t][e]=i),i):i,Ot=(e,t)=>{if(null==t)return;if(t in Nt&&e in Nt[t])return Nt[t][e];const i=Yt(t);for(let n=0;n<i.length;n++){const r=Mt(i[n],e);if(r)return It(e,t,r)}};let xt;const Ct=V({});function Dt(e){return e in xt}function Mt(e,t){if(!Dt(e))return null;const i=function(e){return xt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let e=0;e<i.length;e++)if("object"==typeof n){if(e>0){const t=i.slice(e,i.length).join(".");if(t in n){n=n[t];break}}n=n[i[e]]}else n=void 0;return n}(i,t)}function Ut(e,...t){delete Nt[e],Ct.update((i=>(i[e]=te.all([i[e]||{},...t]),i)))}W([Ct],(([e])=>Object.keys(e))),Ct.subscribe((e=>xt=e));const Rt={};function kt(e){return Rt[e]}function $t(e){return null!=e&&Yt(e).some((e=>{var t;return null===(t=kt(e))||void 0===t?void 0:t.size}))}const jt={};function Gt(e){if(!$t(e))return e in jt?jt[e]:Promise.resolve();const t=function(e){return Yt(e).map((e=>{const t=kt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return jt[e]=Promise.all(t.map((([e,t])=>function(e,t){const i=Promise.all(t.map((t=>(function(e,t){Rt[e].delete(t),0===Rt[e].size&&delete Rt[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>Ut(e,...t)))}(e,t)))).then((()=>{if($t(e))return Gt(e);delete jt[e]})),jt[e]}const Ft={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function zt(){return Ft}const Vt=V(!1);let Wt;const Xt=V(null);function Kt(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function Yt(e,t=zt().fallbackLocale){const i=Kt(e);return t?[...new Set([...i,...Kt(t)])]:i}function Zt(){return null!=Wt?Wt:void 0}Xt.subscribe((e=>{Wt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const qt={...Xt,set:e=>{if(e&&function(e){if(null==e)return;const t=Yt(e);for(let e=0;e<t.length;e++){const i=t[e];if(Dt(i))return i}}(e)&&$t(e)){const{loadingDelay:t}=zt();let i;return"undefined"!=typeof window&&null!=Zt()&&t?i=window.setTimeout((()=>Vt.set(!0)),t):Vt.set(!0),Gt(e).then((()=>{Xt.set(e)})).finally((()=>{clearTimeout(i),Vt.set(!1)}))}return Xt.set(e)}},Jt=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}},Qt=(e,t)=>{const{formats:i}=zt();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ei=Jt((({locale:e,format:t,...i})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(i=Qt("number",t)),new Intl.NumberFormat(e,i)})),ti=Jt((({locale:e,format:t,...i})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?i=Qt("date",t):0===Object.keys(i).length&&(i=Qt("date","short")),new Intl.DateTimeFormat(e,i)})),ii=Jt((({locale:e,format:t,...i})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?i=Qt("time",t):0===Object.keys(i).length&&(i=Qt("time","short")),new Intl.DateTimeFormat(e,i)})),ni=Jt(((e,t=Zt())=>new Ht(e,t,zt().formats,{ignoreTag:zt().ignoreTag}))),ri=(e,t={})=>{var i,n,r,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Zt(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ot(e,l);if(c){if("string"!=typeof c)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}else c=null!==(o=null!==(r=null===(n=(i=zt()).handleMissingMessage)||void 0===n?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))&&void 0!==r?r:u)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=ni(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},oi=(e,t)=>(({locale:e=Zt(),...t}={})=>ii({locale:e,...t}))(t).format(e),si=(e,t)=>(({locale:e=Zt(),...t}={})=>ti({locale:e,...t}))(t).format(e),ai=(e,t)=>(({locale:e=Zt(),...t}={})=>ei({locale:e,...t}))(t).format(e),li=(e,t=Zt())=>Ot(e,t),ui=W([qt,Ct],(()=>ri));function ci(e,t){Ut(e,t)}W([qt],(()=>oi)),W([qt],(()=>si)),W([qt],(()=>ai)),W([qt,Ct],(()=>li));const hi={en:{gamingLimits:{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:{gamingLimits:{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:{gamingLimits:{loadingText:"Učitavanje...",Monthly:"Mjesečno",Weekly:"Tjedno",Daily:"Dnevno",adjectiveMonthly:"Mjesečno",adjectiveWeekly:"Tjedno",adjectiveDaily:"Dnevno",None:" ",noPeriod:".",per:"po",updateText:"primjenjivat će se na",removedLimitText:"Ograničenje će biti uklonjeno",noLimitText:"Trenutno nije postavljeno nijedno ograničenje.",lugasPrivacy:"Sveobuhvatno LUGAS ograničenje nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Vremenski period",amount:"Iznos",minutes:" minutes",new:"Novo",limit:"Ograničenje",setLimit:"POSTAVI OGRANIČENJA",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wager:"Ograničenje slotova",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"UKLONI",popupPendingUpdate:"Zaprimili smo zahtjev za promjenom ograničenja. Molimo uzmite u obzir kako će promijena stupiti na snagu tek",popupImmediateUpdate:"Vaše novo {selectedLimit} je {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Ograničenje je promijenjeno!",popupSuccess:"Uspješ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"}},sl:{gamingLimits:{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:{gamingLimits:{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:{gamingLimits:{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:{gamingLimits:{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:{gamingLimits:{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:{gamingLimits:{loadingText:"Carregando, por favor espere..."}}};var pi="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==pi&&pi,mi={searchParams:"URLSearchParams"in pi,iterable:"Symbol"in pi&&"iterator"in Symbol,blob:"FileReader"in pi&&"Blob"in pi&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in pi,arrayBuffer:"ArrayBuffer"in pi};if(mi.arrayBuffer)var fi=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],di=ArrayBuffer.isView||function(e){return e&&fi.indexOf(Object.prototype.toString.call(e))>-1};function yi(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function gi(e){return"string"!=typeof e&&(e=String(e)),e}function bi(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return mi.iterable&&(t[Symbol.iterator]=function(){return t}),t}function vi(e){this.map={},e instanceof vi?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function Ei(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ti(e){return new Promise((function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}}))}function Li(e){var t=new FileReader,i=Ti(t);return t.readAsArrayBuffer(e),i}function wi(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _i(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:mi.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:mi.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:mi.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():mi.arrayBuffer&&mi.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=wi(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):mi.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||di(e))?this._bodyArrayBuffer=wi(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):mi.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},mi.blob&&(this.blob=function(){var e=Ei(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Ei(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(Li)}),this.text=function(){var e,t,i,n=Ei(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=Ti(t),t.readAsText(e),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},mi.formData&&(this.formData=function(){return this.text().then(Bi)}),this.json=function(){return this.text().then(JSON.parse)},this}vi.prototype.append=function(e,t){e=yi(e),t=gi(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},vi.prototype.delete=function(e){delete this.map[yi(e)]},vi.prototype.get=function(e){return e=yi(e),this.has(e)?this.map[e]:null},vi.prototype.has=function(e){return this.map.hasOwnProperty(yi(e))},vi.prototype.set=function(e,t){this.map[yi(e)]=gi(t)},vi.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},vi.prototype.keys=function(){var e=[];return this.forEach((function(t,i){e.push(i)})),bi(e)},vi.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),bi(e)},vi.prototype.entries=function(){var e=[];return this.forEach((function(t,i){e.push([i,t])})),bi(e)},mi.iterable&&(vi.prototype[Symbol.iterator]=vi.prototype.entries);var Ai=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Si(e,t){if(!(this instanceof Si))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n,r=(t=t||{}).body;if(e instanceof Si){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new vi(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new vi(t.headers)),this.method=(i=t.method||this.method||"GET",n=i.toUpperCase(),Ai.indexOf(n)>-1?n:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Bi(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(r))}})),t}function Pi(e,t){if(!(this instanceof Pi))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new vi(t.headers),this.url=t.url||"",this._initBody(e)}Si.prototype.clone=function(){return new Si(this,{body:this._bodyInit})},_i.call(Si.prototype),_i.call(Pi.prototype),Pi.prototype.clone=function(){return new Pi(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new vi(this.headers),url:this.url})},Pi.error=function(){var e=new Pi(null,{status:0,statusText:""});return e.type="error",e};var Hi=[301,302,303,307,308];Pi.redirect=function(e,t){if(-1===Hi.indexOf(t))throw new RangeError("Invalid status code");return new Pi(null,{status:t,headers:{location:e}})};var Ni=pi.DOMException;try{new Ni}catch(e){(Ni=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),Ni.prototype.constructor=Ni}function Ii(e,t){return new Promise((function(i,n){var r=new Si(e,t);if(r.signal&&r.signal.aborted)return n(new Ni("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new vi,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var i=e.split(":"),n=i.shift().trim();if(n){var r=i.join(":").trim();t.append(n,r)}})),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var r="response"in o?o.response:o.responseText;setTimeout((function(){i(new Pi(r,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new Ni("Aborted","AbortError"))}),0)},o.open(r.method,function(e){try{return""===e&&pi.location.href?pi.location.href:e}catch(t){return e}}(r.url),!0),"include"===r.credentials?o.withCredentials=!0:"omit"===r.credentials&&(o.withCredentials=!1),"responseType"in o&&(mi.blob?o.responseType="blob":mi.arrayBuffer&&r.headers.get("Content-Type")&&-1!==r.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof vi?r.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,gi(t.headers[e]))})),r.signal&&(r.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&r.signal.removeEventListener("abort",s)}),o.send(void 0===r._bodyInit?null:r._bodyInit)}))}Ii.polyfill=!0,pi.fetch||(pi.fetch=Ii,pi.Headers=vi,pi.Request=Si,pi.Response=Pi),self.fetch.bind(self);var Oi=function(e,t){return Oi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},Oi(e,t)};function xi(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Oi(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function Ci(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Di(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,o=i.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return s}function Mi(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function Ui(e){return"function"==typeof e}function Ri(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var ki=Ri((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function $i(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var ji=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,i,n,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Ci(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(Ui(l))try{l()}catch(e){r=e instanceof ki?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=Ci(u),h=c.next();!h.done;h=c.next()){var p=h.value;try{zi(p)}catch(e){r=null!=r?r:[],e instanceof ki?r=Mi(Mi([],Di(r)),Di(e.errors)):r.push(e)}}}catch(e){i={error:e}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}}if(r)throw new ki(r)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)zi(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(i=this._finalizers)&&void 0!==i?i:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&$i(t,e)},e.prototype.remove=function(t){var i=this._finalizers;i&&$i(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Gi=ji.EMPTY;function Fi(e){return e instanceof ji||e&&"closed"in e&&Ui(e.remove)&&Ui(e.add)&&Ui(e.unsubscribe)}function zi(e){Ui(e)?e():e.unsubscribe()}var Vi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wi={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var r=Wi.delegate;return(null==r?void 0:r.setTimeout)?r.setTimeout.apply(r,Mi([e,t],Di(i))):setTimeout.apply(void 0,Mi([e,t],Di(i)))},clearTimeout:function(e){var t=Wi.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Xi(){}var Ki=null;function Yi(e){if(Vi.useDeprecatedSynchronousErrorHandling){var t=!Ki;if(t&&(Ki={errorThrown:!1,error:null}),e(),t){var i=Ki,n=i.errorThrown,r=i.error;if(Ki=null,n)throw r}}else e()}var Zi=function(e){function t(t){var i=e.call(this)||this;return i.isStopped=!1,t?(i.destination=t,Fi(t)&&t.add(i)):i.destination=nn,i}return xi(t,e),t.create=function(e,t,i){return new en(e,t,i)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},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(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ji),qi=Function.prototype.bind;function Ji(e,t){return qi.call(e,t)}var Qi=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){tn(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){tn(e)}else tn(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){tn(e)}},e}(),en=function(e){function t(t,i,n){var r,o,s=e.call(this)||this;Ui(t)||!t?r={next:null!=t?t:void 0,error:null!=i?i:void 0,complete:null!=n?n:void 0}:s&&Vi.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},r={next:t.next&&Ji(t.next,o),error:t.error&&Ji(t.error,o),complete:t.complete&&Ji(t.complete,o)}):r=t;return s.destination=new Qi(r),s}return xi(t,e),t}(Zi);function tn(e){var t;t=e,Wi.setTimeout((function(){throw t}))}var nn={closed:!0,next:Xi,error:function(e){throw e},complete:Xi},rn="function"==typeof Symbol&&Symbol.observable||"@@observable";function on(e){return e}var sn=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(e,t,i){var n,r=this,o=(n=e)&&n instanceof Zi||function(e){return e&&Ui(e.next)&&Ui(e.error)&&Ui(e.complete)}(n)&&Fi(n)?e:new en(e,t,i);return Yi((function(){var e=r,t=e.operator,i=e.source;o.add(t?t.call(o,i):i?r._subscribe(o):r._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var i=this;return new(t=an(t))((function(t,n){var r=new en({next:function(t){try{e(t)}catch(e){n(e),r.unsubscribe()}},error:n,complete:t});i.subscribe(r)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[rn]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return(0===(e=t).length?on:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=an(e))((function(e,i){var n;t.subscribe((function(e){return n=e}),(function(e){return i(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function an(e){var t;return null!==(t=null!=e?e:Vi.Promise)&&void 0!==t?t:Promise}var ln=Ri((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),un=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return xi(t,e),t.prototype.lift=function(e){var t=new cn(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new ln},t.prototype.next=function(e){var t=this;Yi((function(){var i,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var r=Ci(t.currentObservers),o=r.next();!o.done;o=r.next()){o.value.next(e)}}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}}}))},t.prototype.error=function(e){var t=this;Yi((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var i=t.observers;i.length;)i.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Yi((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,i=this,n=i.hasError,r=i.isStopped,o=i.observers;return n||r?Gi:(this.currentObservers=null,o.push(e),new ji((function(){t.currentObservers=null,$i(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,i=t.hasError,n=t.thrownError,r=t.isStopped;i?e.error(n):r&&e.complete()},t.prototype.asObservable=function(){var e=new sn;return e.source=this,e},t.create=function(e,t){return new cn(e,t)},t}(sn),cn=function(e){function t(t,i){var n=e.call(this)||this;return n.destination=t,n.source=i,n}return xi(t,e),t.prototype.next=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)},t.prototype.error=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:Gi},t}(un),hn={now:function(){return(hn.delegate||Date).now()},delegate:void 0},pn=function(e){function t(t,i,n){void 0===t&&(t=1/0),void 0===i&&(i=1/0),void 0===n&&(n=hn);var r=e.call(this)||this;return r._bufferSize=t,r._windowTime=i,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=i===1/0,r._bufferSize=Math.max(1,t),r._windowTime=Math.max(1,i),r}return xi(t,e),t.prototype.next=function(t){var i=this,n=i.isStopped,r=i._buffer,o=i._infiniteTimeWindow,s=i._timestampProvider,a=i._windowTime;n||(r.push(t),!o&&r.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!e.closed;r+=i?1:2)e.next(n[r]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,i=e._timestampProvider,n=e._buffer,r=e._infiniteTimeWindow,o=(r?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var s=i.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},t}(un);let mn=[],fn={};window.emWidgets={topic:(e,t=0)=>{if(-1==mn.indexOf(e)){let i=new pn(t);fn[e]=i,mn.push(e)}return fn[e]}};const{document:dn}=R;function yn(e,t,i){const n=e.slice();return n[51]=t[i],n}function gn(e,t,i){const n=e.slice();return n[54]=t[i],n}function bn(e,t,i){const n=e.slice();return n[54]=t[i],n}function vn(e,t,i){const n=e.slice();return n[59]=t[i],n}function En(e){let t,i;function n(e,t){return e[11]?Tn:Ln}let r=n(e),o=r(e);return{c(){t=h("div"),i=h("div"),o.c(),y(i,"class","PopupContainer "+(e[14]?"Desktop":"")),y(t,"class","PopupOverlay")},m(e,n){l(e,t,n),a(t,i),o.m(i,null)},p(e,t){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i,null)))},d(e){e&&u(t),o.d()}}}function Tn(e){let t,i,r,o,s,c,p,g,v,E,T,L,w,_,A,S=e[13]("gamingLimits.popupTitle")+"",B=!e[9]&&wn(e);return{c(){t=h("div"),i=h("span"),r=m(S),o=f(),s=h("button"),s.textContent="X",c=f(),p=h("div"),g=h("div"),B&&B.c(),v=f(),E=h("p"),T=m(e[12]),L=f(),w=h("button"),w.textContent="OK",y(i,"class","PopupTitle"),y(s,"class","ClosePopup"),y(t,"class","PopupTitleWrapper"),y(g,"class","ResultIconWrapper"),y(E,"class","DescriptionParagraph"),y(p,"class","DescriptionWrapper"),y(w,"class","ConfirmButton")},m(n,u){l(n,t,u),a(t,i),a(i,r),a(t,o),a(t,s),l(n,c,u),l(n,p,u),a(p,g),B&&B.m(g,null),a(p,v),a(p,E),a(E,T),l(n,L,u),l(n,w,u),_||(A=[d(s,"click",e[20]),d(w,"click",e[20])],_=!0)},p(e,t){8192&t[0]&&S!==(S=e[13]("gamingLimits.popupTitle")+"")&&b(r,S),e[9]?B&&(B.d(1),B=null):B?B.p(e,t):(B=wn(e),B.c(),B.m(g,null)),4096&t[0]&&b(T,e[12])},d(e){e&&u(t),e&&u(c),e&&u(p),B&&B.d(),e&&u(L),e&&u(w),_=!1,n(A)}}}function Ln(t){let i;return{c(){i=h("div"),y(i,"class","LoadingIndicator")},m(e,t){l(e,i,t)},p:e,d(e){e&&u(i)}}}function wn(e){let t,i,n,r,o,s,c,d,g,v=e[13]("gamingLimits.popupSuccess")+"";return{c(){t=p("svg"),i=p("defs"),n=p("style"),r=m(".fil0 {fill:black;fill-rule:nonzero}\n "),o=p("g"),s=p("polygon"),c=f(),d=h("p"),g=m(v),y(n,"type","text/css"),y(s,"class","fil0"),y(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),y(t,"xmlns","http://www.w3.org/2000/svg"),y(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),y(t,"xml:space","preserve"),y(t,"version","1.1"),E(t,"shape-rendering","geometricPrecision"),E(t,"text-rendering","geometricPrecision"),E(t,"image-rendering","optimizeQuality"),y(t,"viewBox","0 0 90 69"),y(t,"x","0px"),y(t,"y","0px"),y(t,"fill-rule","evenodd"),y(t,"clip-rule","evenodd")},m(e,u){l(e,t,u),a(t,i),a(i,n),a(n,r),a(t,o),a(o,s),l(e,c,u),l(e,d,u),a(d,g)},p(e,t){8192&t[0]&&v!==(v=e[13]("gamingLimits.popupSuccess")+"")&&b(g,v)},d(e){e&&u(t),e&&u(c),e&&u(d)}}}function _n(e){let t,i,r,o,s,p,E,T,L,w,_,A,S,B,P,H,N,I=e[6]?`${e[13]("gamingLimits.amount")}`:`${e[13]("gamingLimits.new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("gamingLimits.limit")}`,O=e[13]("gamingLimits.setLimit")+"",x=e[15],C=[];for(let t=0;t<x.length;t+=1)C[t]=xn(bn(e,x,t));let D=e[5]&&Cn(e),M=e[6]&&Mn(e);return{c(){t=h("div"),i=h("div"),r=h("div");for(let e=0;e<C.length;e+=1)C[e].c();o=f(),s=h("form"),D&&D.c(),p=f(),M&&M.c(),E=f(),T=h("label"),L=h("span"),w=m(I),_=f(),A=h("input"),S=f(),B=h("button"),P=m(O),y(r,"class","LimitsList "+(e[14]?"Desktop":"")),y(L,"class","LimitInputText"),y(T,"class","LimitAmountInputWrapper"),y(A,"type","number"),y(A,"pattern","[0-9]*"),y(B,"class","LimitSubmitButton"),y(B,"type","button"),B.disabled=!0,y(s,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),y(i,"class","LimitsPageContainer"),y(t,"class","player-account-gaming-limits-page-2-gmcore")},m(n,u){l(n,t,u),a(t,i),a(i,r);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(r,null);a(i,o),a(i,s),D&&D.m(s,null),a(s,p),M&&M.m(s,null),a(s,E),a(s,T),a(T,L),a(L,w),a(s,_),a(s,A),v(A,e[3]),a(s,S),a(s,B),a(B,P),e[34](B),H||(N=[d(A,"input",e[33]),d(A,"keyup",e[18]),d(B,"click",e[17]),d(s,"submit",e[17])],H=!0)},p(e,t){if(581632&t[0]){let i;for(x=e[15],i=0;i<x.length;i+=1){const n=bn(e,x,i);C[i]?C[i].p(n,t):(C[i]=xn(n),C[i].c(),C[i].m(r,null))}for(;i<C.length;i+=1)C[i].d(1);C.length=x.length}e[5]?D?D.p(e,t):(D=Cn(e),D.c(),D.m(s,p)):D&&(D.d(1),D=null),e[6]?M?M.p(e,t):(M=Mn(e),M.c(),M.m(s,E)):M&&(M.d(1),M=null),8260&t[0]&&I!==(I=e[6]?`${e[13]("gamingLimits.amount")}`:`${e[13]("gamingLimits.new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("gamingLimits.limit")}`)&&b(w,I),8&t[0]&&g(A.value)!==e[3]&&v(A,e[3]),8192&t[0]&&O!==(O=e[13]("gamingLimits.setLimit")+"")&&b(P,O)},d(i){i&&u(t),c(C,i),D&&D.d(),M&&M.d(),e[34](null),H=!1,n(N)}}}function An(t){let i;return{c(){i=h("p"),i.textContent="500 Server error"},m(e,t){l(e,i,t)},p:e,d(e){e&&u(i)}}}function Sn(t){return{c:e,m:e,p:e,d:e}}function Bn(t){let i;return{c(){i=h("div"),y(i,"class","LoadingIndicator")},m(e,t){l(e,i,t)},p:e,d(e){e&&u(i)}}}function Pn(e){let t,i,n,r,o=e[13]("gamingLimits.noLimitText")+"";return{c(){t=h("div"),i=h("div"),n=h("div"),r=m(o),y(n,"class","LimitDetailsTextWrapper"),y(i,"class","LimitDetailsWrapper"),y(t,"class","LimitDetails")},m(e,o){l(e,t,o),a(t,i),a(i,n),a(n,r)},p(e,t){8192&t[0]&&o!==(o=e[13]("gamingLimits.noLimitText")+"")&&b(r,o)},d(e){e&&u(t)}}}function Hn(e){let t,i=e[54].currentLimits,n=[];for(let t=0;t<i.length;t+=1)n[t]=On(vn(e,i,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=m("")},m(e,i){for(let t=0;t<n.length;t+=1)n[t]&&n[t].m(e,i);l(e,t,i)},p(e,r){if(565248&r[0]){let o;for(i=e[54].currentLimits,o=0;o<i.length;o+=1){const s=vn(e,i,o);n[o]?n[o].p(s,r):(n[o]=On(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(e){c(n,e),e&&u(t)}}}function Nn(e){let t,i,n=`${e[13]("gamingLimits.removedLimitText")} ${e[59].expiryDate}`;return{c(){t=h("div"),i=m(n),y(t,"class","PendingLimit")},m(e,n){l(e,t,n),a(t,i)},p(e,t){8192&t[0]&&n!==(n=`${e[13]("gamingLimits.removedLimitText")} ${e[59].expiryDate}`)&&b(i,n)},d(e){e&&u(t)}}}function In(e){let t,i,n=`${e[59].updateAmount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)} ${e[13]("gamingLimits.updateText")} ${e[59].expiryDate}`;return{c(){t=h("div"),i=m(n),y(t,"class","PendingLimit")},m(e,n){l(e,t,n),a(t,i)},p(e,t){8192&t[0]&&n!==(n=`${e[59].updateAmount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)} ${e[13]("gamingLimits.updateText")} ${e[59].expiryDate}`)&&b(i,n)},d(e){e&&u(t)}}}function On(e){let t,i,n,r,o,s,c,p=`${e[59].amount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)}`;let g=function(e,t){return e[59].isModified&&"-1"!=e[59].updateAmount?In:e[59].isModified?Nn:void 0}(e),v=g&&g(e),E=!e[59].isModified&&function(e){let t,i,n,r,o=e[13]("gamingLimits.removeLimit")+"";function s(){return e[30](e[59])}return{c(){t=h("button"),i=m(o),y(t,"class","RemoveLimitButton")},m(e,o){l(e,t,o),a(t,i),n||(r=d(t,"click",s),n=!0)},p(t,n){e=t,8192&n[0]&&o!==(o=e[13]("gamingLimits.removeLimit")+"")&&b(i,o)},d(e){e&&u(t),n=!1,r()}}}(e);return{c(){t=h("div"),i=h("div"),n=h("div"),r=m(p),o=f(),v&&v.c(),s=f(),E&&E.c(),c=f(),y(n,"class","CurrentLimit"),y(i,"class","LimitDetailsTextWrapper"),y(t,"class","LimitDetails")},m(e,u){l(e,t,u),a(t,i),a(i,n),a(n,r),a(i,o),v&&v.m(i,null),a(t,s),E&&E.m(t,null),a(t,c)},p(e,t){8192&t[0]&&p!==(p=`${e[59].amount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)}`)&&b(r,p),v&&v.p(e,t),e[59].isModified||E.p(e,t)},d(e){e&&u(t),v&&v.d(),E&&E.d()}}}function xn(e){let t,i,n,r,o,s=e[13](`gamingLimits.${e[54].value}`)+"";let c=function(e,t){return e[54].currentLimits.length>0?Hn:Pn}(e),p=c(e);return{c(){t=h("div"),i=h("p"),n=m(s),r=f(),p.c(),o=f(),y(i,"class","LimitTitle"),y(t,"class","LimitWrapper "+(e[14]?"Desktop":""))},m(e,s){l(e,t,s),a(t,i),a(i,n),a(t,r),p.m(t,null),a(t,o)},p(e,t){8192&t[0]&&s!==(s=e[13](`gamingLimits.${e[54].value}`)+"")&&b(n,s),p.p(e,t)},d(e){e&&u(t),p.d()}}}function Cn(e){let t,i,r,o,s,p,g,v=e[13]("gamingLimits.limitType")+"",E=e[15],L=[];for(let t=0;t<E.length;t+=1)L[t]=Dn(gn(e,E,t));return{c(){t=h("label"),i=h("span"),r=m(v),o=f(),s=h("select");for(let e=0;e<L.length;e+=1)L[e].c();y(i,"class","LimitSelectText"),y(s,"name",""),y(s,"id",""),void 0===e[1]&&O((()=>e[31].call(s))),y(t,"class","LimitTypeDropdownWrapper")},m(n,u){l(n,t,u),a(t,i),a(i,r),a(t,o),a(t,s);for(let e=0;e<L.length;e+=1)L[e]&&L[e].m(s,null);T(s,e[1],!0),p||(g=[d(s,"change",e[31]),d(s,"change",e[16])],p=!0)},p(e,t){if(8192&t[0]&&v!==(v=e[13]("gamingLimits.limitType")+"")&&b(r,v),32768&t[0]){let i;for(E=e[15],i=0;i<E.length;i+=1){const n=gn(e,E,i);L[i]?L[i].p(n,t):(L[i]=Dn(n),L[i].c(),L[i].m(s,null))}for(;i<L.length;i+=1)L[i].d(1);L.length=E.length}32770&t[0]&&T(s,e[1])},d(e){e&&u(t),c(L,e),p=!1,n(g)}}}function Dn(t){let i,n,r=t[54].title+"";return{c(){i=h("option"),n=m(r),i.__value=t[54].value,i.value=i.__value},m(e,t){l(e,i,t),a(i,n)},p:e,d(e){e&&u(i)}}}function Mn(e){let t,i,n,r,o,s,p,g=e[13]("gamingLimits.period")+"",v=F[e[1]].periods,E=[];for(let t=0;t<v.length;t+=1)E[t]=Un(yn(e,v,t));return{c(){t=h("label"),i=h("span"),n=m(g),r=f(),o=h("select");for(let e=0;e<E.length;e+=1)E[e].c();y(i,"class","PeriodSelectText"),y(t,"class","LimitPeriodDropdownWrapper"),y(o,"name",""),y(o,"id",""),void 0===e[2]&&O((()=>e[32].call(o)))},m(u,c){l(u,t,c),a(t,i),a(i,n),l(u,r,c),l(u,o,c);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(o,null);T(o,e[2],!0),s||(p=d(o,"change",e[32]),s=!0)},p(e,t){if(8192&t[0]&&g!==(g=e[13]("gamingLimits.period")+"")&&b(n,g),8194&t[0]){let i;for(v=F[e[1]].periods,i=0;i<v.length;i+=1){const n=yn(e,v,i);E[i]?E[i].p(n,t):(E[i]=Un(n),E[i].c(),E[i].m(o,null))}for(;i<E.length;i+=1)E[i].d(1);E.length=v.length}6&t[0]&&T(o,e[2])},d(e){e&&u(t),e&&u(r),e&&u(o),c(E,e),s=!1,p()}}}function Un(e){let t,i,n,r=e[13](`gamingLimits.${e[51]}`)+"";return{c(){t=h("option"),i=m(r),t.__value=n=e[51],t.value=t.__value,t.selected=!0},m(e,n){l(e,t,n),a(t,i)},p(e,o){8194&o[0]&&r!==(r=e[13](`gamingLimits.${e[51]}`)+"")&&b(i,r),32770&o[0]&&n!==(n=e[51])&&(t.__value=n,t.value=t.__value)},d(e){e&&u(t)}}}function Rn(t){let i,n,r,o,s=t[10]&&En(t);function c(e,t){return e[7]&&!e[10]?Bn:e[7]?Sn:e[8]?An:_n}let p=c(t),m=p(t);return{c(){i=h("meta"),n=f(),r=h("div"),s&&s.c(),o=f(),m.c(),this.c=e,y(i,"name","viewport"),y(i,"content","width=device-width, initial-scale=1")},m(e,u){a(dn.head,i),l(e,n,u),l(e,r,u),s&&s.m(r,null),a(r,o),m.m(r,null),t[35](r)},p(e,t){e[10]?s?s.p(e,t):(s=En(e),s.c(),s.m(r,o)):s&&(s.d(1),s=null),p===(p=c(e))&&m?m.p(e,t):(m.d(1),m=p(e),m&&(m.c(),m.m(r,null)))},i:e,o:e,d(e){u(i),e&&u(n),e&&u(r),s&&s.d(),m.d(),t[35](null)}}}function kn(e,t,i){let n;var r,o;r=ui,o=e=>i(13,n=e),e.$$.on_destroy.push(s(r,o));let a,l,u,c,{lang:h="en"}=t,{currency:p=""}=t,{limits:m=""}=t,{session:f=""}=t,{userid:d=""}=t,{endpoint:y=""}=t,{clientstyling:b=""}=t,{clientstylingurl:v=""}=t,{translationurl:E=""}=t,T=!(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)))(window.navigator.userAgent),w=[],_="",A="",S=!1,P=!1,H=!0,N=!1,I=!1,O=!1,x=!1,C="";const D={EUR:"€",RON:" lei"},M={updatePendingError:["SYS_1037","SYS_1142","SYS_1140"]};Object.keys(hi).forEach((e=>{ci(e,hi[e])}));const U=e=>{const t=e.error.match(/errorCode:(.*)\)/)[1];let i;console.error(`API response error: ${t}`);for(const[e,r]of Object.entries(M))r.includes(t)&&(i=n(`gamingLimits.${e}`));i=null!=i?i:n("gamingLimits.genericError"),j(t,i)},R=()=>{let e=new URL(`v2/player/${d}/limits`,y),t=!I,n={method:"GET",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((e=>{if(e.status>=300)throw i(7,H=!1),i(8,N=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{c=e,O&&t&&j(),k(c),i(7,H=!1),i(3,l=null)})).catch((e=>{console.log(e),i(7,H=!1),i(8,N=!0)}))},k=e=>{w.forEach((t=>{var i;t.currentLimits=[],null===(i=e[F[t.value].callValue])||void 0===i||i.forEach(((i,n)=>{var r;const o=e[F[t.value].callValue][n];t.currentLimits.push({}),t.currentLimits[n].limitType=t.value,t.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[n].currency=null!==(r=D[o.currency])&&void 0!==r?r:o.currency,t.currentLimits[n].period=o.period,t.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[n].isModified=o.isModified,t.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=$(t.currentLimits)}))},$=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,i)=>t[e.period]-t[i.period])),e},j=(e,t)=>{if(e)i(12,C=t);else if(c){const e=c[F[_].callValue].filter((e=>e.period===A))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let r=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${_}`).toLowerCase()).replace("{updatedAmount}",t).replace("{currency}",D[e.currency]||e.currency).replace("{selectedPeriod}",n(`gamingLimits.${A}`).toLowerCase());i(12,C=e.isModified?`${n("gamingLimits.popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:r)}else console.error("Couldn't populate popupContent");i(11,x=!0)},G=e=>{i(10,O=!0),i(7,H=!0);let t=new URL(`v2/player/${d}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[e.limitType]}?periods=${e.period}`,y),n={method:"DELETE",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>e.json())).then((e=>{R()})).catch((e=>{console.log(e),i(7,H=!1),i(8,N=!0)}))},z=()=>{var e;e=h,qt.set(e)};return e.$$set=e=>{"lang"in e&&i(21,h=e.lang),"currency"in e&&i(22,p=e.currency),"limits"in e&&i(23,m=e.limits),"session"in e&&i(24,f=e.session),"userid"in e&&i(25,d=e.userid),"endpoint"in e&&i(26,y=e.endpoint),"clientstyling"in e&&i(27,b=e.clientstyling),"clientstylingurl"in e&&i(28,v=e.clientstylingurl),"translationurl"in e&&i(29,E=e.translationurl)},e.$$.update=()=>{8388608&e.$$.dirty[0]&&m&&(m.split(" ").forEach((e=>{F[e]?w.push(F[e]):console.error(`Unknown limit: ${e}`)})),i(1,_=w[0].value),i(2,A=F[_].periods[0]),i(5,S=w.length>1),i(6,P=F[_].periods.length>1)),2097152&e.$$.dirty[0]&&h&&z(),117440512&e.$$.dirty[0]&&d&&f&&y&&R(),268435457&e.$$.dirty[0]&&v&&a&&(()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),134217729&e.$$.dirty[0]&&b&&a&&(()=>{let e=document.createElement("style");e.innerHTML=b,a.appendChild(e)})(),536870912&e.$$.dirty[0]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ci(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,_,A,l,u,S,P,H,N,I,O,x,C,n,T,w,()=>{i(2,A=F[_].periods[0]),i(6,P=F[_].periods.length>1)},()=>{if(!(l>0))return;i(10,O=!0),i(7,H=!0);let e=new URL(`v2/player/${d}/limits`,y);const t={};t[F[_].callValue]=[{period:A,amount:l,currency:p}];let n={method:"PUT",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>(e.status>=300&&i(9,I=!0),e.json()))).then((e=>{R(),I&&U(e)})).catch((e=>{console.log(e),i(7,H=!1),i(8,N=!0)}))},()=>{const e=999999999999999;l>e&&i(3,l=e);const t=l-Math.floor(l)==0;l>0&&t?u.removeAttribute("disabled"):u.setAttribute("disabled","true")},G,()=>{i(11,x=i(10,O=!1))},h,p,m,f,d,y,b,v,E,e=>G(e),function(){_=L(this),i(1,_),i(15,w)},function(){A=L(this),i(2,A),i(1,_)},function(){l=g(this.value),i(3,l)},function(e){B[e?"unshift":"push"]((()=>{u=e,i(4,u)}))},function(e){B[e?"unshift":"push"]((()=>{a=e,i(0,a)}))}]}class $n extends G{constructor(e){super();const t=document.createElement("style");t.textContent=':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;border:1px solid;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border-color:#ced4da}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;border:1px solid;box-shadow:none;font-size:1.4rem;min-height:3.5rem;background-color:#fff;border-color:#ced4da}select:hover{cursor:pointer}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(--emfe-w-color-white, #333)}.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(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid #ccc;padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:rgb(122, 195, 23);color:#fff;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:#ccc 1px solid}.LimitDetailsTextWrapper{font-size:1.3rem;color:#666}.PendingLimit{color:#999}.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:#fff;font-size:1rem;color:#333;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:#fff;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:#fff;color:#666;border:1px solid #ccc;border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:#f3f3fc}@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}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:w(this.attributes),customElement:!0},kn,Rn,o,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28,translationurl:29},null,[-1,-1]),e&&(e.target&&l(e.target,this,e.anchor),e.props&&(this.$set(e.props),D()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[21]}set lang(e){this.$$set({lang:e}),D()}get currency(){return this.$$.ctx[22]}set currency(e){this.$$set({currency:e}),D()}get limits(){return this.$$.ctx[23]}set limits(e){this.$$set({limits:e}),D()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),D()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),D()}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),D()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(e){this.$$set({clientstyling:e}),D()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),D()}get translationurl(){return this.$$.ctx[29]}set translationurl(e){this.$$set({translationurl:e}),D()}}return!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",$n),$n}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function r(){return Object.create(null)}function n(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...r){if(null==t)return e;const n=t.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function a(e,t){e.appendChild(t)}function l(e,t,r){e.insertBefore(t,r||null)}function u(e){e.parentNode&&e.parentNode.removeChild(e)}function c(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function h(e){return document.createElement(e)}function p(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function m(){return f(" ")}function d(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function y(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function g(e){return""===e?null:+e}function b(e,t){t=""+t,e.data!==t&&(e.data=t)}function v(e,t){e.value=null==t?"":t}function E(e,t,r,n){null===r?e.style.removeProperty(t):e.style.setProperty(t,r,n?"important":"")}function T(e,t,r){for(let r=0;r<e.options.length;r+=1){const n=e.options[r];if(n.__value===t)return void(n.selected=!0)}r&&void 0===t||(e.selectedIndex=-1)}function L(e){const t=e.querySelector(":checked");return t&&t.__value}function w(e){const t={};for(const r of e)t[r.name]=r.value;return t}let _;function A(e){_=e}const S=[],B=[];let P=[];const H=[],N=Promise.resolve();let I=!1;function O(e){P.push(e)}const x=new Set;let C=0;function D(){if(0!==C)return;const e=_;do{try{for(;C<S.length;){const e=S[C];C++,A(e),M(e.$$)}}catch(e){throw S.length=0,C=0,e}for(A(null),S.length=0,C=0;B.length;)B.pop()();for(let e=0;e<P.length;e+=1){const t=P[e];x.has(t)||(x.add(t),t())}P.length=0}while(S.length);for(;H.length;)H.pop()();I=!1,x.clear(),A(e)}function M(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(O)}}const U=new Set;const R="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function k(e,t){const r=e.$$;null!==r.fragment&&(!function(e){const t=[],r=[];P.forEach((n=>-1===e.indexOf(n)?t.push(n):r.push(n))),r.forEach((e=>e())),P=t}(r.after_update),n(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function $(e,t){-1===e.$$.dirty[0]&&(S.push(e),I||(I=!0,N.then(D)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(o,s,a,l,c,h,p,f=[-1]){const m=_;A(o);const d=o.$$={fragment:null,ctx:[],props:h,update:e,not_equal:c,bound:r(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),callbacks:r(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};p&&p(d.root);let y=!1;if(d.ctx=a?a(o,s.props||{},((e,t,...r)=>{const n=r.length?r[0]:t;return d.ctx&&c(d.ctx[e],d.ctx[e]=n)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](n),y&&$(o,e)),t})):[],d.update(),y=!0,n(d.before_update),d.fragment=!!l&&l(d.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);d.fragment&&d.fragment.l(e),e.forEach(u)}else d.fragment&&d.fragment.c();s.intro&&((g=o.$$.fragment)&&g.i&&(U.delete(g),g.i(b))),function(e,r,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(r,o),s||O((()=>{const r=e.$$.on_mount.map(t).filter(i);e.$$.on_destroy?e.$$.on_destroy.push(...r):n(r),e.$$.on_mount=[]})),l.forEach(O)}(o,s.target,s.anchor,s.customElement),D()}var g,b;A(m)}let G;"function"==typeof HTMLElement&&(G=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){k(this,1),this.$destroy=e}$on(t,r){if(!i(r))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const e=n.indexOf(r);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const F={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"]}},z=[];function V(t,r=e){let n;const i=new Set;function s(e){if(o(t,e)&&(t=e,n)){const e=!z.length;for(const e of i)e[1](),z.push(e,t);if(e){for(let e=0;e<z.length;e+=2)z[e][0](z[e+1]);z.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return i.add(l),1===i.size&&(n=r(s)||e),o(t),()=>{i.delete(l),0===i.size&&n&&(n(),n=null)}}}}function W(t,r,o){const a=!Array.isArray(t),l=a?[t]:t,u=r.length<2;return c=t=>{let o=!1;const c=[];let h=0,p=e;const f=()=>{if(h)return;p();const n=r(a?c[0]:c,t);u?t(n):p=i(n)?n:e},m=l.map(((e,t)=>s(e,(e=>{c[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){n(m),p(),o=!1}},{subscribe:V(o,c).subscribe};var c}var X=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===K}(e)}(e)};var K="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Y(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ee((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function Z(e,t,r){return e.concat(t).map((function(e){return Y(e,r)}))}function q(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function J(e,t){try{return t in e}catch(e){return!1}}function Q(e,t,r){var n={};return r.isMergeableObject(e)&&q(e).forEach((function(t){n[t]=Y(e[t],r)})),q(t).forEach((function(i){(function(e,t){return J(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(J(e,i)&&r.isMergeableObject(t[i])?n[i]=function(e,t){if(!t.customMerge)return ee;var r=t.customMerge(e);return"function"==typeof r?r:ee}(i,r)(e[i],t[i],r):n[i]=Y(t[i],r))})),n}function ee(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Z,r.isMergeableObject=r.isMergeableObject||X,r.cloneUnlessOtherwiseSpecified=Y;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):Q(e,t,r):Y(t,r)}ee.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return ee(e,r,t)}),{})};var te=ee,re=function(e,t){return re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},re(e,t)};function ne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}re(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ie,oe,se,ae=function(){return ae=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ae.apply(this,arguments)};function le(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function ue(e){return e.type===oe.literal}function ce(e){return e.type===oe.argument}function he(e){return e.type===oe.number}function pe(e){return e.type===oe.date}function fe(e){return e.type===oe.time}function me(e){return e.type===oe.select}function de(e){return e.type===oe.plural}function ye(e){return e.type===oe.pound}function ge(e){return e.type===oe.tag}function be(e){return!(!e||"object"!=typeof e||e.type!==se.number)}function ve(e){return!(!e||"object"!=typeof e||e.type!==se.dateTime)}!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"}(ie||(ie={})),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"}(oe||(oe={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(se||(se={}));var Ee=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Te=/(?:[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 Le(e){var t={};return e.replace(Te,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"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=4===r?"short":5===r?"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 we=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var _e=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ae=/^(@+)?(\+|#+)?[rs]?$/g,Se=/(\*)(0+)|(#+)(0+)|(0+)/g,Be=/^(0+)$/;function Pe(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ae,(function(e,r,n){return"string"!=typeof n?(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+("string"==typeof n?n.length:0)),""})),t}function He(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 Ne(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Be.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ie(e){var t=He(e);return t||{}}function Oe(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");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=ae(ae(ae({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return ae(ae({},e),Ie(t))}),{}));continue;case"engineering":t=ae(ae(ae({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ae(ae({},e),Ie(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Se,(function(e,r,n,i,o,s){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Be.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(_e.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(_e,(function(e,r,n,i,o,s){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?t=ae(ae({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ae(ae({},t),Pe(o)))}else if(Ae.test(i.stem))t=ae(ae({},t),Pe(i.stem));else{var s=He(i.stem);s&&(t=ae(ae({},t),s));var a=Ne(i.stem);a&&(t=ae(ae({},t),a))}}return t}var xe,Ce={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function De(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Ce[r||""]||Ce[n||""]||Ce["".concat(n,"-001")]||Ce["001"])[0]}var Me=new RegExp("^".concat(Ee.source,"*")),Ue=new RegExp("".concat(Ee.source,"*$"));function Re(e,t){return{start:e,end:t}}var ke=!!String.prototype.startsWith,$e=!!String.fromCodePoint,je=!!Object.fromEntries,Ge=!!String.prototype.codePointAt,Fe=!!String.prototype.trimStart,ze=!!String.prototype.trimEnd,Ve=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},We=!0;try{We="a"===(null===(xe=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===xe?void 0:xe[0])}catch(e){We=!1}var Xe,Ke=ke?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ye=$e?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ze=je?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],s=i[1];t[o]=s}return t},qe=Ge?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},Je=Fe?function(e){return e.trimStart()}:function(e){return e.replace(Me,"")},Qe=ze?function(e){return e.trimEnd()}:function(e){return e.replace(Ue,"")};function et(e,t){return new RegExp(e,t)}if(We){var tt=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xe=function(e,t){var r;return tt.lastIndex=t,null!==(r=tt.exec(e)[1])&&void 0!==r?r:""}}else Xe=function(e,t){for(var r=[];;){var n=qe(e,t);if(void 0===n||ot(n)||st(n))break;r.push(n),t+=n>=65536?2:1}return Ye.apply(void 0,r)};var rt=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(ie.UNMATCHED_CLOSING_TAG,Re(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&nt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:oe.pound,location:Re(s,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:oe.literal,value:"<".concat(n,"/>"),location:Re(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!nt(this.char()))return this.error(ie.INVALID_TAG,Re(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(ie.UNMATCHED_CLOSING_TAG,Re(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:oe.tag,value:n,children:o,location:Re(r,this.clonePosition())},err:null}:this.error(ie.INVALID_TAG,Re(s,this.clonePosition())))}return this.error(ie.UNCLOSED_TAG,Re(r,this.clonePosition()))}return this.error(ie.INVALID_TAG,Re(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&it(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Re(r,this.clonePosition());return{val:{type:oe.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(nt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ye.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),Ye(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ie.EMPTY_ARGUMENT,Re(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ie.MALFORMED_ARGUMENT,Re(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:oe.argument,value:n,location:Re(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(ie.MALFORMED_ARGUMENT,Re(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Xe(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:Re(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ie.EXPECT_ARGUMENT_TYPE,Re(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(f=Qe(g.val)).length)return this.error(ie.EXPECT_ARGUMENT_STYLE,Re(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Re(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Re(n,this.clonePosition());if(l&&Ke(null==l?void 0:l.style,"::",0)){var h=Je(l.style.slice(2));if("number"===s)return(g=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?g:{val:{type:oe.number,value:r,location:c,style:g.val},err:null};if(0===h.length)return this.error(ie.EXPECT_DATE_TIME_SKELETON,c);var p=h;this.locale&&(p=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=De(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=l+r}else r+="J"===i?"H":i}return r}(h,this.locale));var f={type:se.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Le(p):{}};return{val:{type:"date"===s?oe.date:oe.time,value:r,location:c,style:f},err:null}}return{val:{type:"number"===s?oe.number:"date"===s?oe.date:oe.time,value:r,location:c,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ie.EXPECT_SELECT_ARGUMENT_OPTIONS,Re(m,ae({},m)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ie.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),d=this.parseIdentifierIfPossible(),y=g.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,d);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var E=Re(n,this.clonePosition());return"select"===s?{val:{type:oe.select,value:r,options:Ze(v.val),location:E},err:null}:{val:{type:oe.plural,value:r,options:Ze(v.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(ie.INVALID_ARGUMENT_TYPE,Re(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ie.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Re(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(we).filter((function(e){return e.length>0})),r=[],n=0,i=t;n<i.length;n++){var o=i[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,u=a;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");r.push({stem:s,options:a})}return r}(e)}catch(e){return this.error(ie.INVALID_NUMBER_SKELETON,t)}return{val:{type:se.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Oe(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,s=[],a=new Set,l=n.value,u=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,ie.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Re(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?ie.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ie.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ie.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ie.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Re(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,r);if(f.err)return f;var m=this.tryParseArgumentClose(p);if(m.err)return m;s.push([l,{value:f.val,location:Re(p,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===s.length?this.error("select"===t?ie.EXPECT_SELECT_ARGUMENT_SELECTOR:ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ie.MISSING_OTHER_CLAUSE,Re(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}var a=Re(n,this.clonePosition());return i?Ve(o*=r)?{val:o,err:null}:this.error(t,a):this.error(e,a)},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 e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=qe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Ke(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ot(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function nt(e){return e>=97&&e<=122||e>=65&&e<=90}function it(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||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 ot(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function st(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||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||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||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||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||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||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||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||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||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||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function at(e){e.forEach((function(e){if(delete e.location,me(e)||de(e))for(var t in e.options)delete e.options[t].location,at(e.options[t].value);else he(e)&&be(e.style)||(pe(e)||fe(e))&&ve(e.style)?delete e.style.location:ge(e)&&at(e.children)}))}function lt(e,t){void 0===t&&(t={}),t=ae({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new rt(e,t).parse();if(r.err){var n=SyntaxError(ie[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||at(r.val),r.val}function ut(e,t){var r=t&&t.cache?t.cache:gt,n=t&&t.serializer?t.serializer:mt;return(t&&t.strategy?t.strategy:ft)(e,{cache:r,serializer:n})}function ct(e,t,r,n){var i,o=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),s=t.get(o);return void 0===s&&(s=e.call(this,n),t.set(o,s)),s}function ht(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function pt(e,t,r,n,i){return r.bind(t,e,n,i)}function ft(e,t){return pt(e,this,1===e.length?ct:ht,t.cache.create(),t.serializer)}var mt=function(){return JSON.stringify(arguments)};function dt(){this.cache=Object.create(null)}dt.prototype.get=function(e){return this.cache[e]},dt.prototype.set=function(e,t){this.cache[e]=t};var yt,gt={create:function(){return new dt}},bt={variadic:function(e,t){return pt(e,this,ht,t.cache.create(),t.serializer)},monadic:function(e,t){return pt(e,this,ct,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(yt||(yt={}));var vt,Et=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return ne(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Tt=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),yt.INVALID_VALUE,i)||this}return ne(t,e),t}(Et),Lt=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),yt.INVALID_VALUE,n)||this}return ne(t,e),t}(Et),wt=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),yt.MISSING_VALUE,r)||this}return ne(t,e),t}(Et);function _t(e){return"function"==typeof e}function At(e,t,r,n,i,o,s){if(1===e.length&&ue(e[0]))return[{type:vt.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(ue(c))a.push({type:vt.literal,value:c.value});else if(ye(c))"number"==typeof o&&a.push({type:vt.literal,value:r.getNumberFormat(t).format(o)});else{var h=c.value;if(!i||!(h in i))throw new wt(h,s);var p=i[h];if(ce(c))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?vt.literal:vt.object,value:p});else if(pe(c)){var f="string"==typeof c.style?n.date[c.style]:ve(c.style)?c.style.parsedOptions:void 0;a.push({type:vt.literal,value:r.getDateTimeFormat(t,f).format(p)})}else if(fe(c)){f="string"==typeof c.style?n.time[c.style]:ve(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:vt.literal,value:r.getDateTimeFormat(t,f).format(p)})}else if(he(c)){(f="string"==typeof c.style?n.number[c.style]:be(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),a.push({type:vt.literal,value:r.getNumberFormat(t,f).format(p)})}else{if(ge(c)){var m=c.children,d=c.value,y=i[d];if(!_t(y))throw new Lt(d,"function",s);var g=y(At(m,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?vt.literal:vt.object,value:e}})))}if(me(c)){if(!(b=c.options[p]||c.options.other))throw new Tt(c.value,p,Object.keys(c.options),s);a.push.apply(a,At(b.value,t,r,n,i))}else if(de(c)){var b;if(!(b=c.options["=".concat(p)])){if(!Intl.PluralRules)throw new Et('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',yt.MISSING_INTL_API,s);var v=r.getPluralRules(t,{type:c.pluralType}).select(p-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new Tt(c.value,p,Object.keys(c.options),s);a.push.apply(a,At(b.value,t,r,n,i,p-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===vt.literal&&t.type===vt.literal?r.value+=t.value:e.push(t),e}),[])}(a)}function St(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?ae(ae(ae({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=ae(ae({},i[t]),o[t]||{}),e}),{})):i),r}),ae({},e)):e}function Bt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(vt||(vt={}));var Pt=function(){function e(t,r,n,i){var o,s=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===vt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return At(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,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=St(e.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ut((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,le([void 0],t,!1)))}),{cache:Bt(o.number),strategy:bt.variadic}),getDateTimeFormat:ut((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,le([void 0],t,!1)))}),{cache:Bt(o.dateTime),strategy:bt.variadic}),getPluralRules:ut((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,le([void 0],t,!1)))}),{cache:Bt(o.pluralRules),strategy:bt.variadic})})}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(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=lt,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}(),Ht=Pt;const Nt={},It=(e,t,r)=>r?(t in Nt||(Nt[t]={}),e in Nt[t]||(Nt[t][e]=r),r):r,Ot=(e,t)=>{if(null==t)return;if(t in Nt&&e in Nt[t])return Nt[t][e];const r=Yt(t);for(let n=0;n<r.length;n++){const i=Mt(r[n],e);if(i)return It(e,t,i)}};let xt;const Ct=V({});function Dt(e){return e in xt}function Mt(e,t){if(!Dt(e))return null;const r=function(e){return xt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(e>0){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(r,t)}function Ut(e,...t){delete Nt[e],Ct.update((r=>(r[e]=te.all([r[e]||{},...t]),r)))}W([Ct],(([e])=>Object.keys(e))),Ct.subscribe((e=>xt=e));const Rt={};function kt(e){return Rt[e]}function $t(e){return null!=e&&Yt(e).some((e=>{var t;return null===(t=kt(e))||void 0===t?void 0:t.size}))}const jt={};function Gt(e){if(!$t(e))return e in jt?jt[e]:Promise.resolve();const t=function(e){return Yt(e).map((e=>{const t=kt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return jt[e]=Promise.all(t.map((([e,t])=>function(e,t){const r=Promise.all(t.map((t=>(function(e,t){Rt[e].delete(t),0===Rt[e].size&&delete Rt[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>Ut(e,...t)))}(e,t)))).then((()=>{if($t(e))return Gt(e);delete jt[e]})),jt[e]}const Ft={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function zt(){return Ft}const Vt=V(!1);let Wt;const Xt=V(null);function Kt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Yt(e,t=zt().fallbackLocale){const r=Kt(e);return t?[...new Set([...r,...Kt(t)])]:r}function Zt(){return null!=Wt?Wt:void 0}Xt.subscribe((e=>{Wt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const qt={...Xt,set:e=>{if(e&&function(e){if(null==e)return;const t=Yt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Dt(r))return r}}(e)&&$t(e)){const{loadingDelay:t}=zt();let r;return"undefined"!=typeof window&&null!=Zt()&&t?r=window.setTimeout((()=>Vt.set(!0)),t):Vt.set(!0),Gt(e).then((()=>{Xt.set(e)})).finally((()=>{clearTimeout(r),Vt.set(!1)}))}return Xt.set(e)}},Jt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Qt=(e,t)=>{const{formats:r}=zt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},er=Jt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(r=Qt("number",t)),new Intl.NumberFormat(e,r)})),tr=Jt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?r=Qt("date",t):0===Object.keys(r).length&&(r=Qt("date","short")),new Intl.DateTimeFormat(e,r)})),rr=Jt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?r=Qt("time",t):0===Object.keys(r).length&&(r=Qt("time","short")),new Intl.DateTimeFormat(e,r)})),nr=Jt(((e,t=Zt())=>new Ht(e,t,zt().formats,{ignoreTag:zt().ignoreTag}))),ir=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Zt(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ot(e,l);if(c){if("string"!=typeof c)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}else c=null!==(o=null!==(i=null===(n=(r=zt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))&&void 0!==i?i:u)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=nr(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},or=(e,t)=>(({locale:e=Zt(),...t}={})=>rr({locale:e,...t}))(t).format(e),sr=(e,t)=>(({locale:e=Zt(),...t}={})=>tr({locale:e,...t}))(t).format(e),ar=(e,t)=>(({locale:e=Zt(),...t}={})=>er({locale:e,...t}))(t).format(e),lr=(e,t=Zt())=>Ot(e,t),ur=W([qt,Ct],(()=>ir));function cr(e,t){Ut(e,t)}W([qt],(()=>or)),W([qt],(()=>sr)),W([qt],(()=>ar)),W([qt,Ct],(()=>lr));const hr={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:"",noPeriod:".",per:"po",updateText:"primjenjivat će se na",removedLimitText:"Ograničenje će biti uklonjeno",noLimitText:"Trenutno nije postavljeno nijedno ograničenje.",lugasPrivacy:"Sveobuhvatno LUGAS ograničenje nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Vremenski period",amount:"Iznos",minutes:"minutes",new:"Novo",limit:"Ograničenje",setLimit:"POSTAVI OGRANIČENJA",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wager:"Ograničenje slotova",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"UKLONI",popupPendingUpdate:"Zaprimili smo zahtjev za promjenom ograničenja. Molimo uzmite u obzir kako će promijena stupiti na snagu tek",popupImmediateUpdate:"Vaše novo {selectedLimit} je {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Ograničenje je promijenjeno!",popupSuccess:"Uspješ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"},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..."}};var pr="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==pr&&pr,fr={searchParams:"URLSearchParams"in pr,iterable:"Symbol"in pr&&"iterator"in Symbol,blob:"FileReader"in pr&&"Blob"in pr&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in pr,arrayBuffer:"ArrayBuffer"in pr};if(fr.arrayBuffer)var mr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],dr=ArrayBuffer.isView||function(e){return e&&mr.indexOf(Object.prototype.toString.call(e))>-1};function yr(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function gr(e){return"string"!=typeof e&&(e=String(e)),e}function br(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return fr.iterable&&(t[Symbol.iterator]=function(){return t}),t}function vr(e){this.map={},e instanceof vr?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function Er(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Tr(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function Lr(e){var t=new FileReader,r=Tr(t);return t.readAsArrayBuffer(e),r}function wr(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _r(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:fr.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:fr.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:fr.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():fr.arrayBuffer&&fr.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=wr(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):fr.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||dr(e))?this._bodyArrayBuffer=wr(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):fr.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},fr.blob&&(this.blob=function(){var e=Er(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Er(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(Lr)}),this.text=function(){var e,t,r,n=Er(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=Tr(t),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},fr.formData&&(this.formData=function(){return this.text().then(Br)}),this.json=function(){return this.text().then(JSON.parse)},this}vr.prototype.append=function(e,t){e=yr(e),t=gr(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},vr.prototype.delete=function(e){delete this.map[yr(e)]},vr.prototype.get=function(e){return e=yr(e),this.has(e)?this.map[e]:null},vr.prototype.has=function(e){return this.map.hasOwnProperty(yr(e))},vr.prototype.set=function(e,t){this.map[yr(e)]=gr(t)},vr.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},vr.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),br(e)},vr.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),br(e)},vr.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),br(e)},fr.iterable&&(vr.prototype[Symbol.iterator]=vr.prototype.entries);var Ar=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Sr(e,t){if(!(this instanceof Sr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(t=t||{}).body;if(e instanceof Sr){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new vr(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new vr(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),Ar.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Br(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function Pr(e,t){if(!(this instanceof Pr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new vr(t.headers),this.url=t.url||"",this._initBody(e)}Sr.prototype.clone=function(){return new Sr(this,{body:this._bodyInit})},_r.call(Sr.prototype),_r.call(Pr.prototype),Pr.prototype.clone=function(){return new Pr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new vr(this.headers),url:this.url})},Pr.error=function(){var e=new Pr(null,{status:0,statusText:""});return e.type="error",e};var Hr=[301,302,303,307,308];Pr.redirect=function(e,t){if(-1===Hr.indexOf(t))throw new RangeError("Invalid status code");return new Pr(null,{status:t,headers:{location:e}})};var Nr=pr.DOMException;try{new Nr}catch(e){(Nr=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),Nr.prototype.constructor=Nr}function Ir(e,t){return new Promise((function(r,n){var i=new Sr(e,t);if(i.signal&&i.signal.aborted)return n(new Nr("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new vr,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();t.append(n,i)}})),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){r(new Pr(i,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new Nr("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&pr.location.href?pr.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(fr.blob?o.responseType="blob":fr.arrayBuffer&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof vr?i.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,gr(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}Ir.polyfill=!0,pr.fetch||(pr.fetch=Ir,pr.Headers=vr,pr.Request=Sr,pr.Response=Pr),self.fetch.bind(self);var Or=function(e,t){return Or=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Or(e,t)};function xr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Or(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Cr(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dr(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function Mr(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function Ur(e){return"function"==typeof e}function Rr(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var kr=Rr((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function $r(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var jr=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,r,n,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Cr(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(Ur(l))try{l()}catch(e){i=e instanceof kr?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=Cr(u),h=c.next();!h.done;h=c.next()){var p=h.value;try{zr(p)}catch(e){i=null!=i?i:[],e instanceof kr?i=Mr(Mr([],Dr(i)),Dr(e.errors)):i.push(e)}}}catch(e){r={error:e}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(i)throw new kr(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)zr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&$r(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&$r(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Gr=jr.EMPTY;function Fr(e){return e instanceof jr||e&&"closed"in e&&Ur(e.remove)&&Ur(e.add)&&Ur(e.unsubscribe)}function zr(e){Ur(e)?e():e.unsubscribe()}var Vr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wr={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=Wr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Mr([e,t],Dr(r))):setTimeout.apply(void 0,Mr([e,t],Dr(r)))},clearTimeout:function(e){var t=Wr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Xr(){}var Kr=null;function Yr(e){if(Vr.useDeprecatedSynchronousErrorHandling){var t=!Kr;if(t&&(Kr={errorThrown:!1,error:null}),e(),t){var r=Kr,n=r.errorThrown,i=r.error;if(Kr=null,n)throw i}}else e()}var Zr=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,Fr(t)&&t.add(r)):r.destination=rn,r}return xr(t,e),t.create=function(e,t,r){return new en(e,t,r)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},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(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(jr),qr=Function.prototype.bind;function Jr(e,t){return qr.call(e,t)}var Qr=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){tn(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){tn(e)}else tn(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){tn(e)}},e}(),en=function(e){function t(t,r,n){var i,o,s=e.call(this)||this;Ur(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&Vr.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Jr(t.next,o),error:t.error&&Jr(t.error,o),complete:t.complete&&Jr(t.complete,o)}):i=t;return s.destination=new Qr(i),s}return xr(t,e),t}(Zr);function tn(e){var t;t=e,Wr.setTimeout((function(){throw t}))}var rn={closed:!0,next:Xr,error:function(e){throw e},complete:Xr},nn="function"==typeof Symbol&&Symbol.observable||"@@observable";function on(e){return e}var sn=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,i=this,o=(n=e)&&n instanceof Zr||function(e){return e&&Ur(e.next)&&Ur(e.error)&&Ur(e.complete)}(n)&&Fr(n)?e:new en(e,t,r);return Yr((function(){var e=i,t=e.operator,r=e.source;o.add(t?t.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=an(t))((function(t,n){var i=new en({next:function(t){try{e(t)}catch(e){n(e),i.unsubscribe()}},error:n,complete:t});r.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[nn]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return(0===(e=t).length?on:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=an(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function an(e){var t;return null!==(t=null!=e?e:Vr.Promise)&&void 0!==t?t:Promise}var ln=Rr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),un=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return xr(t,e),t.prototype.lift=function(e){var t=new cn(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new ln},t.prototype.next=function(e){var t=this;Yr((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=Cr(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},t.prototype.error=function(e){var t=this;Yr((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Yr((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?Gr:(this.currentObservers=null,o.push(e),new jr((function(){t.currentObservers=null,$r(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,i=t.isStopped;r?e.error(n):i&&e.complete()},t.prototype.asObservable=function(){var e=new sn;return e.source=this,e},t.create=function(e,t){return new cn(e,t)},t}(sn),cn=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return xr(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:Gr},t}(un),hn={now:function(){return(hn.delegate||Date).now()},delegate:void 0},pn=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=hn);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return xr(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var s=r.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},t}(un);let fn=[],mn={};window.emWidgets={topic:(e,t=0)=>{if(-1==fn.indexOf(e)){let r=new pn(t);mn[e]=r,fn.push(e)}return mn[e]}};const{document:dn}=R;function yn(e,t,r){const n=e.slice();return n[51]=t[r],n}function gn(e,t,r){const n=e.slice();return n[54]=t[r],n}function bn(e,t,r){const n=e.slice();return n[54]=t[r],n}function vn(e,t,r){const n=e.slice();return n[59]=t[r],n}function En(e){let t,r;function n(e,t){return e[11]?Tn:Ln}let i=n(e),o=i(e);return{c(){t=h("div"),r=h("div"),o.c(),y(r,"class","PopupContainer "+(e[14]?"Desktop":"")),y(t,"class","PopupOverlay")},m(e,n){l(e,t,n),a(t,r),o.m(r,null)},p(e,t){i===(i=n(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(r,null)))},d(e){e&&u(t),o.d()}}}function Tn(e){let t,r,i,o,s,c,p,g,v,E,T,L,w,_,A,S=e[13]("popupTitle")+"",B=!e[9]&&wn(e);return{c(){t=h("div"),r=h("span"),i=f(S),o=m(),s=h("button"),s.textContent="X",c=m(),p=h("div"),g=h("div"),B&&B.c(),v=m(),E=h("p"),T=f(e[12]),L=m(),w=h("button"),w.textContent="OK",y(r,"class","PopupTitle"),y(s,"class","ClosePopup"),y(t,"class","PopupTitleWrapper"),y(g,"class","ResultIconWrapper"),y(E,"class","DescriptionParagraph"),y(p,"class","DescriptionWrapper"),y(w,"class","ConfirmButton")},m(n,u){l(n,t,u),a(t,r),a(r,i),a(t,o),a(t,s),l(n,c,u),l(n,p,u),a(p,g),B&&B.m(g,null),a(p,v),a(p,E),a(E,T),l(n,L,u),l(n,w,u),_||(A=[d(s,"click",e[20]),d(w,"click",e[20])],_=!0)},p(e,t){8192&t[0]&&S!==(S=e[13]("popupTitle")+"")&&b(i,S),e[9]?B&&(B.d(1),B=null):B?B.p(e,t):(B=wn(e),B.c(),B.m(g,null)),4096&t[0]&&b(T,e[12])},d(e){e&&u(t),e&&u(c),e&&u(p),B&&B.d(),e&&u(L),e&&u(w),_=!1,n(A)}}}function Ln(t){let r;return{c(){r=h("div"),y(r,"class","LoadingIndicator")},m(e,t){l(e,r,t)},p:e,d(e){e&&u(r)}}}function wn(e){let t,r,n,i,o,s,c,d,g,v=e[13]("popupSuccess")+"";return{c(){t=p("svg"),r=p("defs"),n=p("style"),i=f(".fil0 {fill:black;fill-rule:nonzero}\n "),o=p("g"),s=p("polygon"),c=m(),d=h("p"),g=f(v),y(n,"type","text/css"),y(s,"class","fil0"),y(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),y(t,"xmlns","http://www.w3.org/2000/svg"),y(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),y(t,"xml:space","preserve"),y(t,"version","1.1"),E(t,"shape-rendering","geometricPrecision"),E(t,"text-rendering","geometricPrecision"),E(t,"image-rendering","optimizeQuality"),y(t,"viewBox","0 0 90 69"),y(t,"x","0px"),y(t,"y","0px"),y(t,"fill-rule","evenodd"),y(t,"clip-rule","evenodd")},m(e,u){l(e,t,u),a(t,r),a(r,n),a(n,i),a(t,o),a(o,s),l(e,c,u),l(e,d,u),a(d,g)},p(e,t){8192&t[0]&&v!==(v=e[13]("popupSuccess")+"")&&b(g,v)},d(e){e&&u(t),e&&u(c),e&&u(d)}}}function _n(e){let t,r,i,o,s,p,E,T,L,w,_,A,S,B,P,H,N,I=e[6]?`${e[13]("amount")}`:`${e[13]("new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("limit")}`,O=e[13]("setLimit")+"",x=e[15],C=[];for(let t=0;t<x.length;t+=1)C[t]=xn(bn(e,x,t));let D=e[5]&&Cn(e),M=e[6]&&Mn(e);return{c(){t=h("div"),r=h("div"),i=h("div");for(let e=0;e<C.length;e+=1)C[e].c();o=m(),s=h("form"),D&&D.c(),p=m(),M&&M.c(),E=m(),T=h("label"),L=h("span"),w=f(I),_=m(),A=h("input"),S=m(),B=h("button"),P=f(O),y(i,"class","LimitsList "+(e[14]?"Desktop":"")),y(L,"class","LimitInputText"),y(T,"class","LimitAmountInputWrapper"),y(A,"type","number"),y(A,"pattern","[0-9]*"),y(B,"class","LimitSubmitButton"),y(B,"type","button"),B.disabled=!0,y(s,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),y(r,"class","LimitsPageContainer"),y(t,"class","player-account-gaming-limits-page-2-gmcore")},m(n,u){l(n,t,u),a(t,r),a(r,i);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(i,null);a(r,o),a(r,s),D&&D.m(s,null),a(s,p),M&&M.m(s,null),a(s,E),a(s,T),a(T,L),a(L,w),a(s,_),a(s,A),v(A,e[3]),a(s,S),a(s,B),a(B,P),e[34](B),H||(N=[d(A,"input",e[33]),d(A,"keyup",e[18]),d(B,"click",e[17]),d(s,"submit",e[17])],H=!0)},p(e,t){if(581632&t[0]){let r;for(x=e[15],r=0;r<x.length;r+=1){const n=bn(e,x,r);C[r]?C[r].p(n,t):(C[r]=xn(n),C[r].c(),C[r].m(i,null))}for(;r<C.length;r+=1)C[r].d(1);C.length=x.length}e[5]?D?D.p(e,t):(D=Cn(e),D.c(),D.m(s,p)):D&&(D.d(1),D=null),e[6]?M?M.p(e,t):(M=Mn(e),M.c(),M.m(s,E)):M&&(M.d(1),M=null),8260&t[0]&&I!==(I=e[6]?`${e[13]("amount")}`:`${e[13]("new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("limit")}`)&&b(w,I),8&t[0]&&g(A.value)!==e[3]&&v(A,e[3]),8192&t[0]&&O!==(O=e[13]("setLimit")+"")&&b(P,O)},d(r){r&&u(t),c(C,r),D&&D.d(),M&&M.d(),e[34](null),H=!1,n(N)}}}function An(t){let r;return{c(){r=h("p"),r.textContent="500 Server error"},m(e,t){l(e,r,t)},p:e,d(e){e&&u(r)}}}function Sn(t){return{c:e,m:e,p:e,d:e}}function Bn(t){let r;return{c(){r=h("div"),y(r,"class","LoadingIndicator")},m(e,t){l(e,r,t)},p:e,d(e){e&&u(r)}}}function Pn(e){let t,r,n,i,o=e[13]("noLimitText")+"";return{c(){t=h("div"),r=h("div"),n=h("div"),i=f(o),y(n,"class","LimitDetailsTextWrapper"),y(r,"class","LimitDetailsWrapper"),y(t,"class","LimitDetails")},m(e,o){l(e,t,o),a(t,r),a(r,n),a(n,i)},p(e,t){8192&t[0]&&o!==(o=e[13]("noLimitText")+"")&&b(i,o)},d(e){e&&u(t)}}}function Hn(e){let t,r=e[54].currentLimits,n=[];for(let t=0;t<r.length;t+=1)n[t]=On(vn(e,r,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=f("")},m(e,r){for(let t=0;t<n.length;t+=1)n[t]&&n[t].m(e,r);l(e,t,r)},p(e,i){if(565248&i[0]){let o;for(r=e[54].currentLimits,o=0;o<r.length;o+=1){const s=vn(e,r,o);n[o]?n[o].p(s,i):(n[o]=On(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(e){c(n,e),e&&u(t)}}}function Nn(e){let t,r,n=`${e[13]("removedLimitText")} ${e[59].expiryDate}`;return{c(){t=h("div"),r=f(n),y(t,"class","PendingLimit")},m(e,n){l(e,t,n),a(t,r)},p(e,t){8192&t[0]&&n!==(n=`${e[13]("removedLimitText")} ${e[59].expiryDate}`)&&b(r,n)},d(e){e&&u(t)}}}function In(e){let t,r,n=`${e[59].updateAmount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)} ${e[13]("updateText")} ${e[59].expiryDate}`;return{c(){t=h("div"),r=f(n),y(t,"class","PendingLimit")},m(e,n){l(e,t,n),a(t,r)},p(e,t){8192&t[0]&&n!==(n=`${e[59].updateAmount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)} ${e[13]("updateText")} ${e[59].expiryDate}`)&&b(r,n)},d(e){e&&u(t)}}}function On(e){let t,r,n,i,o,s,c,p=`${e[59].amount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)}`;let g=function(e,t){return e[59].isModified&&"-1"!=e[59].updateAmount?In:e[59].isModified?Nn:void 0}(e),v=g&&g(e),E=!e[59].isModified&&function(e){let t,r,n,i,o=e[13]("gamingLimits.removeLimit")+"";function s(){return e[30](e[59])}return{c(){t=h("button"),r=f(o),y(t,"class","RemoveLimitButton")},m(e,o){l(e,t,o),a(t,r),n||(i=d(t,"click",s),n=!0)},p(t,n){e=t,8192&n[0]&&o!==(o=e[13]("gamingLimits.removeLimit")+"")&&b(r,o)},d(e){e&&u(t),n=!1,i()}}}(e);return{c(){t=h("div"),r=h("div"),n=h("div"),i=f(p),o=m(),v&&v.c(),s=m(),E&&E.c(),c=m(),y(n,"class","CurrentLimit"),y(r,"class","LimitDetailsTextWrapper"),y(t,"class","LimitDetails")},m(e,u){l(e,t,u),a(t,r),a(r,n),a(n,i),a(r,o),v&&v.m(r,null),a(t,s),E&&E.m(t,null),a(t,c)},p(e,t){8192&t[0]&&p!==(p=`${e[59].amount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)}`)&&b(i,p),v&&v.p(e,t),e[59].isModified||E.p(e,t)},d(e){e&&u(t),v&&v.d(),E&&E.d()}}}function xn(e){let t,r,n,i,o,s=e[13](`gamingLimits.${e[54].value}`)+"";let c=function(e,t){return e[54].currentLimits.length>0?Hn:Pn}(e),p=c(e);return{c(){t=h("div"),r=h("p"),n=f(s),i=m(),p.c(),o=m(),y(r,"class","LimitTitle"),y(t,"class","LimitWrapper "+(e[14]?"Desktop":""))},m(e,s){l(e,t,s),a(t,r),a(r,n),a(t,i),p.m(t,null),a(t,o)},p(e,t){8192&t[0]&&s!==(s=e[13](`gamingLimits.${e[54].value}`)+"")&&b(n,s),p.p(e,t)},d(e){e&&u(t),p.d()}}}function Cn(e){let t,r,i,o,s,p,g,v=e[13]("limitType")+"",E=e[15],L=[];for(let t=0;t<E.length;t+=1)L[t]=Dn(gn(e,E,t));return{c(){t=h("label"),r=h("span"),i=f(v),o=m(),s=h("select");for(let e=0;e<L.length;e+=1)L[e].c();y(r,"class","LimitSelectText"),y(s,"name",""),y(s,"id",""),void 0===e[1]&&O((()=>e[31].call(s))),y(t,"class","LimitTypeDropdownWrapper")},m(n,u){l(n,t,u),a(t,r),a(r,i),a(t,o),a(t,s);for(let e=0;e<L.length;e+=1)L[e]&&L[e].m(s,null);T(s,e[1],!0),p||(g=[d(s,"change",e[31]),d(s,"change",e[16])],p=!0)},p(e,t){if(8192&t[0]&&v!==(v=e[13]("limitType")+"")&&b(i,v),32768&t[0]){let r;for(E=e[15],r=0;r<E.length;r+=1){const n=gn(e,E,r);L[r]?L[r].p(n,t):(L[r]=Dn(n),L[r].c(),L[r].m(s,null))}for(;r<L.length;r+=1)L[r].d(1);L.length=E.length}32770&t[0]&&T(s,e[1])},d(e){e&&u(t),c(L,e),p=!1,n(g)}}}function Dn(t){let r,n,i=t[54].title+"";return{c(){r=h("option"),n=f(i),r.__value=t[54].value,r.value=r.__value},m(e,t){l(e,r,t),a(r,n)},p:e,d(e){e&&u(r)}}}function Mn(e){let t,r,n,i,o,s,p,g=e[13]("period")+"",v=F[e[1]].periods,E=[];for(let t=0;t<v.length;t+=1)E[t]=Un(yn(e,v,t));return{c(){t=h("label"),r=h("span"),n=f(g),i=m(),o=h("select");for(let e=0;e<E.length;e+=1)E[e].c();y(r,"class","PeriodSelectText"),y(t,"class","LimitPeriodDropdownWrapper"),y(o,"name",""),y(o,"id",""),void 0===e[2]&&O((()=>e[32].call(o)))},m(u,c){l(u,t,c),a(t,r),a(r,n),l(u,i,c),l(u,o,c);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(o,null);T(o,e[2],!0),s||(p=d(o,"change",e[32]),s=!0)},p(e,t){if(8192&t[0]&&g!==(g=e[13]("period")+"")&&b(n,g),8194&t[0]){let r;for(v=F[e[1]].periods,r=0;r<v.length;r+=1){const n=yn(e,v,r);E[r]?E[r].p(n,t):(E[r]=Un(n),E[r].c(),E[r].m(o,null))}for(;r<E.length;r+=1)E[r].d(1);E.length=v.length}6&t[0]&&T(o,e[2])},d(e){e&&u(t),e&&u(i),e&&u(o),c(E,e),s=!1,p()}}}function Un(e){let t,r,n,i=e[13](`gamingLimits.${e[51]}`)+"";return{c(){t=h("option"),r=f(i),t.__value=n=e[51],t.value=t.__value,t.selected=!0},m(e,n){l(e,t,n),a(t,r)},p(e,o){8194&o[0]&&i!==(i=e[13](`gamingLimits.${e[51]}`)+"")&&b(r,i),32770&o[0]&&n!==(n=e[51])&&(t.__value=n,t.value=t.__value)},d(e){e&&u(t)}}}function Rn(t){let r,n,i,o,s=t[10]&&En(t);function c(e,t){return e[7]&&!e[10]?Bn:e[7]?Sn:e[8]?An:_n}let p=c(t),f=p(t);return{c(){r=h("meta"),n=m(),i=h("div"),s&&s.c(),o=m(),f.c(),this.c=e,y(r,"name","viewport"),y(r,"content","width=device-width, initial-scale=1")},m(e,u){a(dn.head,r),l(e,n,u),l(e,i,u),s&&s.m(i,null),a(i,o),f.m(i,null),t[35](i)},p(e,t){e[10]?s?s.p(e,t):(s=En(e),s.c(),s.m(i,o)):s&&(s.d(1),s=null),p===(p=c(e))&&f?f.p(e,t):(f.d(1),f=p(e),f&&(f.c(),f.m(i,null)))},i:e,o:e,d(e){u(r),e&&u(n),e&&u(i),s&&s.d(),f.d(),t[35](null)}}}function kn(e,t,r){let n;var i,o;i=ur,o=e=>r(13,n=e),e.$$.on_destroy.push(s(i,o));let a,l,u,c,{lang:h="en"}=t,{currency:p=""}=t,{limits:f=""}=t,{session:m=""}=t,{userid:d=""}=t,{endpoint:y=""}=t,{clientstyling:b=""}=t,{clientstylingurl:v=""}=t,{translationurl:E=""}=t,T=!(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)))(window.navigator.userAgent),w=[],_="",A="",S=!1,P=!1,H=!0,N=!1,I=!1,O=!1,x=!1,C="";const D={EUR:"€",RON:" lei"},M={updatePendingError:["SYS_1037","SYS_1142","SYS_1140"]};Object.keys(hr).forEach((e=>{cr(e,hr[e])}));const U=e=>{const t=e.error.match(/errorCode:(.*)\)/)[1];let r;console.error(`API response error: ${t}`);for(const[e,i]of Object.entries(M))i.includes(t)&&(r=n(`gamingLimits.${e}`));r=null!=r?r:n("gamingLimits.genericError"),j(t,r)},R=()=>{let e=new URL(`v2/player/${d}/limits`,y),t=!I,n={method:"GET",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((e=>{if(e.status>=300)throw r(7,H=!1),r(8,N=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{c=e,O&&t&&j(),k(c),r(7,H=!1),r(3,l=null)})).catch((e=>{console.log(e),r(7,H=!1),r(8,N=!0)}))},k=e=>{w.forEach((t=>{var r;t.currentLimits=[],null===(r=e[F[t.value].callValue])||void 0===r||r.forEach(((r,n)=>{var i;const o=e[F[t.value].callValue][n];t.currentLimits.push({}),t.currentLimits[n].limitType=t.value,t.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[n].currency=null!==(i=D[o.currency])&&void 0!==i?i:o.currency,t.currentLimits[n].period=o.period,t.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[n].isModified=o.isModified,t.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=$(t.currentLimits)}))},$=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,r)=>t[e.period]-t[r.period])),e},j=(e,t)=>{if(e)r(12,C=t);else if(c){const e=c[F[_].callValue].filter((e=>e.period===A))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let i=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${_}`).toLowerCase()).replace("{updatedAmount}",t).replace("{currency}",D[e.currency]||e.currency).replace("{selectedPeriod}",n(`gamingLimits.${A}`).toLowerCase());r(12,C=e.isModified?`${n("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:i)}else console.error("Couldn't populate popupContent");r(11,x=!0)},G=e=>{r(10,O=!0),r(7,H=!0);let t=new URL(`v2/player/${d}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[e.limitType]}?periods=${e.period}`,y),n={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>e.json())).then((e=>{R()})).catch((e=>{console.log(e),r(7,H=!1),r(8,N=!0)}))},z=()=>{var e;e=h,qt.set(e)};return e.$$set=e=>{"lang"in e&&r(21,h=e.lang),"currency"in e&&r(22,p=e.currency),"limits"in e&&r(23,f=e.limits),"session"in e&&r(24,m=e.session),"userid"in e&&r(25,d=e.userid),"endpoint"in e&&r(26,y=e.endpoint),"clientstyling"in e&&r(27,b=e.clientstyling),"clientstylingurl"in e&&r(28,v=e.clientstylingurl),"translationurl"in e&&r(29,E=e.translationurl)},e.$$.update=()=>{8388608&e.$$.dirty[0]&&f&&(f.split(" ").forEach((e=>{F[e]?w.push(F[e]):console.error(`Unknown limit: ${e}`)})),r(1,_=w[0].value),r(2,A=F[_].periods[0]),r(5,S=w.length>1),r(6,P=F[_].periods.length>1)),2097152&e.$$.dirty[0]&&h&&z(),117440512&e.$$.dirty[0]&&d&&m&&y&&R(),268435457&e.$$.dirty[0]&&v&&a&&(()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),134217729&e.$$.dirty[0]&&b&&a&&(()=>{let e=document.createElement("style");e.innerHTML=b,a.appendChild(e)})(),536870912&e.$$.dirty[0]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{cr(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,_,A,l,u,S,P,H,N,I,O,x,C,n,T,w,()=>{r(2,A=F[_].periods[0]),r(6,P=F[_].periods.length>1)},()=>{if(!(l>0))return;r(10,O=!0),r(7,H=!0);let e=new URL(`v2/player/${d}/limits`,y);const t={};t[F[_].callValue]=[{period:A,amount:l,currency:p}];let n={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>(e.status>=300&&r(9,I=!0),e.json()))).then((e=>{R(),I&&U(e)})).catch((e=>{console.log(e),r(7,H=!1),r(8,N=!0)}))},()=>{const e=999999999999999;l>e&&r(3,l=e);const t=l-Math.floor(l)==0;l>0&&t?u.removeAttribute("disabled"):u.setAttribute("disabled","true")},G,()=>{r(11,x=r(10,O=!1))},h,p,f,m,d,y,b,v,E,e=>G(e),function(){_=L(this),r(1,_),r(15,w)},function(){A=L(this),r(2,A),r(1,_)},function(){l=g(this.value),r(3,l)},function(e){B[e?"unshift":"push"]((()=>{u=e,r(4,u)}))},function(e){B[e?"unshift":"push"]((()=>{a=e,r(0,a)}))}]}class $n extends G{constructor(e){super();const t=document.createElement("style");t.textContent=':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;border:1px solid;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border-color:#ced4da}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;border:1px solid;box-shadow:none;font-size:1.4rem;min-height:3.5rem;background-color:#fff;border-color:#ced4da}select:hover{cursor:pointer}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(--emfe-w-color-white, #333)}.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(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid #ccc;padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:rgb(122, 195, 23);color:#fff;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:#ccc 1px solid}.LimitDetailsTextWrapper{font-size:1.3rem;color:#666}.PendingLimit{color:#999}.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:#fff;font-size:1rem;color:#333;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:#fff;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:#fff;color:#666;border:1px solid #ccc;border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:#f3f3fc}@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}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:w(this.attributes),customElement:!0},kn,Rn,o,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28,translationurl:29},null,[-1,-1]),e&&(e.target&&l(e.target,this,e.anchor),e.props&&(this.$set(e.props),D()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[21]}set lang(e){this.$$set({lang:e}),D()}get currency(){return this.$$.ctx[22]}set currency(e){this.$$set({currency:e}),D()}get limits(){return this.$$.ctx[23]}set limits(e){this.$$set({limits:e}),D()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),D()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),D()}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),D()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(e){this.$$set({clientstyling:e}),D()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),D()}get translationurl(){return this.$$.ctx[29]}set translationurl(e){this.$$set({translationurl:e}),D()}}return!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",$n),$n}));
2
2
  //# sourceMappingURL=player-account-gaming-limits-page-2-gmcore.js.map