@everymatrix/player-account-gaming-limits-page-2-gmcore 0.0.384 → 0.0.387

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(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,(function(){"use strict";function t(){}function e(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(e)}function i(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(e,...r){if(null==e)return t;const n=e.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function a(t,e){t.appendChild(e)}function u(t,e,r){t.insertBefore(e,r||null)}function l(t){t.parentNode.removeChild(t)}function c(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}function h(t){return document.createElement(t)}function p(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function f(t){return document.createTextNode(t)}function m(){return f(" ")}function d(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function g(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function y(t){return""===t?null:+t}function b(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function v(t,e){t.value=null==e?"":e}function E(t,e,r,n){null===r?t.style.removeProperty(e):t.style.setProperty(e,r,n?"important":"")}function T(t,e){for(let r=0;r<t.options.length;r+=1){const n=t.options[r];if(n.__value===e)return void(n.selected=!0)}t.selectedIndex=-1}function _(t){const e=t.querySelector(":checked")||t.options[0];return e&&e.__value}function L(t){const e={};for(const r of t)e[r.name]=r.value;return e}let w;function A(t){w=t}const B=[],S=[],P=[],H=[],O=Promise.resolve();let I=!1;function x(t){P.push(t)}const C=new Set;let N=0;function R(){const t=w;do{for(;N<B.length;){const t=B[N];N++,A(t),M(t.$$)}for(A(null),B.length=0,N=0;S.length;)S.pop()();for(let t=0;t<P.length;t+=1){const e=P[t];C.has(e)||(C.add(e),e())}P.length=0}while(B.length);for(;H.length;)H.pop()();I=!1,C.clear(),A(t)}function M(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(x)}}const D=new Set;function U(t,e){-1===t.$$.dirty[0]&&(B.push(t),I||(I=!0,O.then(R)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function $(o,s,a,u,c,h,p,f=[-1]){const m=w;A(o);const d=o.$$={fragment:null,ctx:null,props:h,update:t,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 g=!1;if(d.ctx=a?a(o,s.props||{},((t,e,...r)=>{const n=r.length?r[0]:e;return d.ctx&&c(d.ctx[t],d.ctx[t]=n)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](n),g&&U(o,t)),e})):[],d.update(),g=!0,n(d.before_update),d.fragment=!!u&&u(d.ctx),s.target){if(s.hydrate){const t=function(t){return Array.from(t.childNodes)}(s.target);d.fragment&&d.fragment.l(t),t.forEach(l)}else d.fragment&&d.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(D.delete(y),y.i(b))),function(t,r,o,s){const{fragment:a,on_mount:u,on_destroy:l,after_update:c}=t.$$;a&&a.m(r,o),s||x((()=>{const r=u.map(e).filter(i);l?l.push(...r):n(r),t.$$.on_mount=[]})),c.forEach(x)}(o,s.target,s.anchor,s.customElement),R()}var y,b;A(m)}let k;"function"==typeof HTMLElement&&(k=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(i);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){!function(t,e){const r=t.$$;null!==r.fragment&&(n(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}(this,1),this.$destroy=t}$on(t,e){const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});const G={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"]}},F=[];function j(e,r=t){let n;const i=new Set;function s(t){if(o(e,t)&&(e=t,n)){const t=!F.length;for(const t of i)t[1](),F.push(t,e);if(t){for(let t=0;t<F.length;t+=2)F[t][0](F[t+1]);F.length=0}}}return{set:s,update:function(t){s(t(e))},subscribe:function(o,a=t){const u=[o,a];return i.add(u),1===i.size&&(n=r(s)||t),o(e),()=>{i.delete(u),0===i.size&&(n(),n=null)}}}}function V(e,r,o){const a=!Array.isArray(e),u=a?[e]:e,l=r.length<2;return c=e=>{let o=!1;const c=[];let h=0,p=t;const f=()=>{if(h)return;p();const n=r(a?c[0]:c,e);l?e(n):p=i(n)?n:t},m=u.map(((t,e)=>s(t,(t=>{c[e]=t,h&=~(1<<e),o&&f()}),(()=>{h|=1<<e}))));return o=!0,f(),function(){n(m),p()}},{subscribe:j(o,c).subscribe};var c}var W=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===X}(t)}(t)};var X="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function z(t,e){return!1!==e.clone&&e.isMergeableObject(t)?J((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function K(t,e,r){return t.concat(e).map((function(t){return z(t,r)}))}function Y(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function Z(t,e){try{return e in t}catch(t){return!1}}function q(t,e,r){var n={};return r.isMergeableObject(t)&&Y(t).forEach((function(e){n[e]=z(t[e],r)})),Y(e).forEach((function(i){(function(t,e){return Z(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,i)||(Z(t,i)&&r.isMergeableObject(e[i])?n[i]=function(t,e){if(!e.customMerge)return J;var r=e.customMerge(t);return"function"==typeof r?r:J}(i,r)(t[i],e[i],r):n[i]=z(e[i],r))})),n}function J(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||K,r.isMergeableObject=r.isMergeableObject||W,r.cloneUnlessOtherwiseSpecified=z;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):q(t,e,r):z(e,r)}J.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return J(t,r,e)}),{})};var Q=J,tt=function(t,e){return tt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},tt(t,e)};function et(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}tt(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var rt,nt,it,ot=function(){return ot=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},ot.apply(this,arguments)};function st(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function at(t){return t.type===nt.literal}function ut(t){return t.type===nt.argument}function lt(t){return t.type===nt.number}function ct(t){return t.type===nt.date}function ht(t){return t.type===nt.time}function pt(t){return t.type===nt.select}function ft(t){return t.type===nt.plural}function mt(t){return t.type===nt.pound}function dt(t){return t.type===nt.tag}function gt(t){return!(!t||"object"!=typeof t||t.type!==it.number)}function yt(t){return!(!t||"object"!=typeof t||t.type!==it.dateTime)}!function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(rt||(rt={})),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(nt||(nt={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(it||(it={}));var bt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,vt=/(?:[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 Et(t){var e={};return t.replace(vt,(function(t){var r=t.length;switch(t[0]){case"G":e.era=4===r?"long":5===r?"narrow":"short";break;case"y":e.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":e.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":e.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":e.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.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":e.minute=["numeric","2-digit"][r-1];break;case"s":e.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":e.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""})),e}var Tt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var _t=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Lt=/^(@+)?(\+|#+)?[rs]?$/g,wt=/(\*)(0+)|(#+)(0+)|(0+)/g,At=/^(0+)$/;function Bt(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(Lt,(function(t,r,n){return"string"!=typeof n?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===n?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),e}function St(t){switch(t){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 Pt(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!At.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ht(t){var e=St(t);return e||{}}function Ot(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=ot(ot(ot({},e),{notation:"scientific"}),i.options.reduce((function(t,e){return ot(ot({},t),Ht(e))}),{}));continue;case"engineering":e=ot(ot(ot({},e),{notation:"engineering"}),i.options.reduce((function(t,e){return ot(ot({},t),Ht(e))}),{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.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(wt,(function(t,r,n,i,o,s){if(r)e.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(At.test(i.stem))e.minimumIntegerDigits=i.stem.length;else if(_t.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(_t,(function(t,r,n,i,o,s){return"*"===n?e.minimumFractionDigits=r.length:i&&"#"===i[0]?e.maximumFractionDigits=i.length:o&&s?(e.minimumFractionDigits=o.length,e.maximumFractionDigits=o.length+s.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?e=ot(ot({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=ot(ot({},e),Bt(o)))}else if(Lt.test(i.stem))e=ot(ot({},e),Bt(i.stem));else{var s=St(i.stem);s&&(e=ot(ot({},e),s));var a=Pt(i.stem);a&&(e=ot(ot({},e),a))}}return e}var It,xt={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 Ct(t){var e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){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=t.language;return"root"!==n&&(r=t.maximize().region),(xt[r||""]||xt[n||""]||xt["".concat(n,"-001")]||xt["001"])[0]}var Nt=new RegExp("^".concat(bt.source,"*")),Rt=new RegExp("".concat(bt.source,"*$"));function Mt(t,e){return{start:t,end:e}}var Dt=!!String.prototype.startsWith,Ut=!!String.fromCodePoint,$t=!!Object.fromEntries,kt=!!String.prototype.codePointAt,Gt=!!String.prototype.trimStart,Ft=!!String.prototype.trimEnd,jt=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Vt=!0;try{Vt="a"===(null===(It=Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===It?void 0:It[0])}catch(t){Vt=!1}var Wt,Xt=Dt?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},zt=Ut?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n="",i=t.length,o=0;i>o;){if((r=t[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},Kt=$t?Object.fromEntries:function(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r],o=i[0],s=i[1];e[o]=s}return e},Yt=kt?function(t,e){return t.codePointAt(e)}:function(t,e){var r=t.length;if(!(e<0||e>=r)){var n,i=t.charCodeAt(e);return i<55296||i>56319||e+1===r||(n=t.charCodeAt(e+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},Zt=Gt?function(t){return t.trimStart()}:function(t){return t.replace(Nt,"")},qt=Ft?function(t){return t.trimEnd()}:function(t){return t.replace(Rt,"")};function Jt(t,e){return new RegExp(t,e)}if(Vt){var Qt=Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Wt=function(t,e){var r;return Qt.lastIndex=e,null!==(r=Qt.exec(t)[1])&&void 0!==r?r:""}}else Wt=function(t,e){for(var r=[];;){var n=Yt(t,e);if(void 0===n||ne(n)||ie(n))break;r.push(n),e+=n>=65536?2:1}return zt.apply(void 0,r)};var te=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(t,r)).err)return o;n.push(o.val)}else{if(125===i&&t>0)break;if(35!==i||"plural"!==e&&"selectordinal"!==e){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(rt.UNMATCHED_CLOSING_TAG,Mt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&ee(this.peek()||0)){if((o=this.parseTag(t,e)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(t,e)).err)return o;n.push(o.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:nt.pound,location:Mt(s,this.clonePosition())})}}}return{val:n,err:null}},t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:nt.literal,value:"<".concat(n,"/>"),location:Mt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,e,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ee(this.char()))return this.error(rt.INVALID_TAG,Mt(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(rt.UNMATCHED_CLOSING_TAG,Mt(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:nt.tag,value:n,children:o,location:Mt(r,this.clonePosition())},err:null}:this.error(rt.INVALID_TAG,Mt(s,this.clonePosition())))}return this.error(rt.UNCLOSED_TAG,Mt(r,this.clonePosition()))}return this.error(rt.INVALID_TAG,Mt(r,this.clonePosition()))},t.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&re(this.char());)this.bump();return this.message.slice(t,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(e);if(i)n+=i;else{var o=this.tryParseUnquoted(t,e);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Mt(r,this.clonePosition());return{val:{type:nt.literal,value:n,location:a},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ee(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){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"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return zt.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&t>0?null:(this.bump(),zt(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(rt.EXPECT_ARGUMENT_CLOSING_BRACE,Mt(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(rt.EMPTY_ARGUMENT,Mt(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(rt.MALFORMED_ARGUMENT,Mt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(rt.EXPECT_ARGUMENT_CLOSING_BRACE,Mt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:nt.argument,value:n,location:Mt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(rt.EXPECT_ARGUMENT_CLOSING_BRACE,Mt(r,this.clonePosition())):this.parseArgumentOptions(t,e,n,r);default:return this.error(rt.MALFORMED_ARGUMENT,Mt(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=Wt(this.message,e),n=e+r.length;return this.bumpTo(n),{value:r,location:Mt(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,n){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(rt.EXPECT_ARGUMENT_TYPE,Mt(o,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=qt(y.val)).length)return this.error(rt.EXPECT_ARGUMENT_STYLE,Mt(this.clonePosition(),this.clonePosition()));u={style:f,styleLocation:Mt(l,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Mt(n,this.clonePosition());if(u&&Xt(null==u?void 0:u.style,"::",0)){var h=Zt(u.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,u.styleLocation)).err?y:{val:{type:nt.number,value:r,location:c,style:y.val},err:null};if(0===h.length)return this.error(rt.EXPECT_DATE_TIME_SKELETON,c);var p=h;this.locale&&(p=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t.charAt(n);if("j"===i){for(var o=0;n+1<t.length&&t.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),u=Ct(e);for("H"!=u&&"k"!=u||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=u+r}else r+="J"===i?"H":i}return r}(h,this.locale));var f={type:it.dateTime,pattern:p,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Et(p):{}};return{val:{type:"date"===s?nt.date:nt.time,value:r,location:c,style:f},err:null}}return{val:{type:"number"===s?nt.number:"date"===s?nt.date:nt.time,value:r,location:c,style:null!==(i=null==u?void 0:u.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(rt.EXPECT_SELECT_ARGUMENT_OPTIONS,Mt(m,ot({},m)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(rt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Mt(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(rt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,rt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=y.val}var b,v=this.tryParsePluralOrSelectOptions(t,s,e,d);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var E=Mt(n,this.clonePosition());return"select"===s?{val:{type:nt.select,value:r,options:Kt(v.val),location:E},err:null}:{val:{type:nt.plural,value:r,options:Kt(v.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(rt.INVALID_ARGUMENT_TYPE,Mt(o,a))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(rt.EXPECT_ARGUMENT_CLOSING_BRACE,Mt(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(rt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Mt(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=t.split(Tt).filter((function(t){return t.length>0})),r=[],n=0,i=e;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),u=0,l=a;u<l.length;u++)if(0===l[u].length)throw new Error("Invalid number skeleton");r.push({stem:s,options:a})}return r}(t)}catch(t){return this.error(rt.INVALID_NUMBER_SKELETON,e)}return{val:{type:it.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?Ot(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,e,r,n){for(var i,o=!1,s=[],a=new Set,u=n.value,l=n.location;;){if(0===u.length){var c=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(rt.EXPECT_PLURAL_ARGUMENT_SELECTOR,rt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;l=Mt(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(a.has(u))return this.error("select"===e?rt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:rt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?rt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:rt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Mt(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(t+1,e,r);if(f.err)return f;var m=this.tryParseArgumentClose(p);if(m.err)return m;s.push([u,{value:f.val,location:Mt(p,this.clonePosition())}]),a.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,l=i.location}return 0===s.length?this.error("select"===e?rt.EXPECT_SELECT_ARGUMENT_SELECTOR:rt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Mt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(rt.MISSING_OTHER_CLAUSE,Mt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,e){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=Mt(n,this.clonePosition());return i?jt(o*=r)?{val:o,err:null}:this.error(e,a):this.error(t,a)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=Yt(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(Xt(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var e=this.offset(),r=this.message.indexOf(t,e);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&ne(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),r=this.message.charCodeAt(e+(t>=65536?2:1));return null!=r?r:null},t}();function ee(t){return t>=97&&t<=122||t>=65&&t<=90}function re(t){return 45===t||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function ne(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function ie(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function oe(t){t.forEach((function(t){if(delete t.location,pt(t)||ft(t))for(var e in t.options)delete t.options[e].location,oe(t.options[e].value);else lt(t)&&gt(t.style)||(ct(t)||ht(t))&&yt(t.style)?delete t.style.location:dt(t)&&oe(t.children)}))}function se(t,e){void 0===e&&(e={}),e=ot({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new te(t,e).parse();if(r.err){var n=SyntaxError(rt[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==e?void 0:e.captureLocation)||oe(r.val),r.val}function ae(t,e){var r=e&&e.cache?e.cache:de,n=e&&e.serializer?e.serializer:pe;return(e&&e.strategy?e.strategy:he)(t,{cache:r,serializer:n})}function ue(t,e,r,n){var i,o=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),s=e.get(o);return void 0===s&&(s=t.call(this,n),e.set(o,s)),s}function le(t,e,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=e.get(i);return void 0===o&&(o=t.apply(this,n),e.set(i,o)),o}function ce(t,e,r,n,i){return r.bind(e,t,n,i)}function he(t,e){return ce(t,this,1===t.length?ue:le,e.cache.create(),e.serializer)}var pe=function(){return JSON.stringify(arguments)};function fe(){this.cache=Object.create(null)}fe.prototype.get=function(t){return this.cache[t]},fe.prototype.set=function(t,e){this.cache[t]=e};var me,de={create:function(){return new fe}},ge={variadic:function(t,e){return ce(t,this,le,e.cache.create(),e.serializer)},monadic:function(t,e){return ce(t,this,ue,e.cache.create(),e.serializer)}};!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(me||(me={}));var ye,be=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.code=r,i.originalMessage=n,i}return et(e,t),e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),ve=function(t){function e(e,r,n,i){return t.call(this,'Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),me.INVALID_VALUE,i)||this}return et(e,t),e}(be),Ee=function(t){function e(e,r,n){return t.call(this,'Value for "'.concat(e,'" must be of type ').concat(r),me.INVALID_VALUE,n)||this}return et(e,t),e}(be),Te=function(t){function e(e,r){return t.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),me.MISSING_VALUE,r)||this}return et(e,t),e}(be);function _e(t){return"function"==typeof t}function Le(t,e,r,n,i,o,s){if(1===t.length&&at(t[0]))return[{type:ye.literal,value:t[0].value}];for(var a=[],u=0,l=t;u<l.length;u++){var c=l[u];if(at(c))a.push({type:ye.literal,value:c.value});else if(mt(c))"number"==typeof o&&a.push({type:ye.literal,value:r.getNumberFormat(e).format(o)});else{var h=c.value;if(!i||!(h in i))throw new Te(h,s);var p=i[h];if(ut(c))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?ye.literal:ye.object,value:p});else if(ct(c)){var f="string"==typeof c.style?n.date[c.style]:yt(c.style)?c.style.parsedOptions:void 0;a.push({type:ye.literal,value:r.getDateTimeFormat(e,f).format(p)})}else if(ht(c)){f="string"==typeof c.style?n.time[c.style]:yt(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:ye.literal,value:r.getDateTimeFormat(e,f).format(p)})}else if(lt(c)){(f="string"==typeof c.style?n.number[c.style]:gt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),a.push({type:ye.literal,value:r.getNumberFormat(e,f).format(p)})}else{if(dt(c)){var m=c.children,d=c.value,g=i[d];if(!_e(g))throw new Ee(d,"function",s);var y=g(Le(m,e,r,n,i,o).map((function(t){return t.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(t){return{type:"string"==typeof t?ye.literal:ye.object,value:t}})))}if(pt(c)){if(!(b=c.options[p]||c.options.other))throw new ve(c.value,p,Object.keys(c.options),s);a.push.apply(a,Le(b.value,e,r,n,i))}else if(ft(c)){var b;if(!(b=c.options["=".concat(p)])){if(!Intl.PluralRules)throw new be('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',me.MISSING_INTL_API,s);var v=r.getPluralRules(e,{type:c.pluralType}).select(p-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new ve(c.value,p,Object.keys(c.options),s);a.push.apply(a,Le(b.value,e,r,n,i,p-(c.offset||0)))}else;}}}return function(t){return t.length<2?t:t.reduce((function(t,e){var r=t[t.length-1];return r&&r.type===ye.literal&&e.type===ye.literal?r.value+=e.value:t.push(e),t}),[])}(a)}function we(t,e){return e?Object.keys(t).reduce((function(r,n){var i,o;return r[n]=(i=t[n],(o=e[n])?ot(ot(ot({},i||{}),o||{}),Object.keys(i).reduce((function(t,e){return t[e]=ot(ot({},i[e]),o[e]||{}),t}),{})):i),r}),ot({},t)):t}function Ae(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(ye||(ye={}));var Be=function(){function t(e,r,n,i){var o,s=this;if(void 0===r&&(r=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=s.formatToParts(t);if(1===e.length)return e[0].value;var r=e.reduce((function(t,e){return t.length&&e.type===ye.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(t){return Le(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=t.resolveLocale(r),"string"==typeof e){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=t.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=we(t.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ae((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,st([void 0],e,!1)))}),{cache:Ae(o.number),strategy:ge.variadic}),getDateTimeFormat:ae((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,st([void 0],e,!1)))}),{cache:Ae(o.dateTime),strategy:ge.variadic}),getPluralRules:ae((function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,st([void 0],e,!1)))}),{cache:Ae(o.pluralRules),strategy:ge.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){var e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])},t.__parse=se,t.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"}}},t}(),Se=Be;const Pe={},He=(t,e,r)=>r?(e in Pe||(Pe[e]={}),t in Pe[e]||(Pe[e][t]=r),r):r,Oe=(t,e)=>{if(null==e)return;if(e in Pe&&t in Pe[e])return Pe[e][t];const r=Ke(e);for(let n=0;n<r.length;n++){const i=Ne(r[n],t);if(i)return He(t,e,i)}};let Ie;const xe=j({});function Ce(t){return t in Ie}function Ne(t,e){if(!Ce(t))return null;const r=function(t){return Ie[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}function Re(t,...e){delete Pe[t],xe.update((r=>(r[t]=Q.all([r[t]||{},...e]),r)))}V([xe],(([t])=>Object.keys(t))),xe.subscribe((t=>Ie=t));const Me={};function De(t){return Me[t]}function Ue(t){return null!=t&&Ke(t).some((t=>{var e;return null===(e=De(t))||void 0===e?void 0:e.size}))}const $e={};function ke(t){if(!Ue(t))return t in $e?$e[t]:Promise.resolve();const e=function(t){return Ke(t).map((t=>{const e=De(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return $e[t]=Promise.all(e.map((([t,e])=>function(t,e){const r=Promise.all(e.map((e=>(function(t,e){Me[t].delete(e),0===Me[t].size&&delete Me[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>Re(t,...e)))}(t,e)))).then((()=>{if(Ue(t))return ke(t);delete $e[t]})),$e[t]}function Ge(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}const Fe={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 je(){return Fe}const Ve=j(!1);let We;const Xe=j(null);function ze(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Ke(t,e=je().fallbackLocale){const r=ze(t);return e?[...new Set([...r,...ze(e)])]:r}function Ye(){return null!=We?We:void 0}Xe.subscribe((t=>{We=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const Ze=Object.assign(Object.assign({},Xe),{set:t=>{if(t&&function(t){if(null==t)return;const e=Ke(t);for(let t=0;t<e.length;t++){const r=e[t];if(Ce(r))return r}}(t)&&Ue(t)){const{loadingDelay:e}=je();let r;return"undefined"!=typeof window&&null!=Ye()&&e?r=window.setTimeout((()=>Ve.set(!0)),e):Ve.set(!0),ke(t).then((()=>{Xe.set(t)})).finally((()=>{clearTimeout(r),Ve.set(!1)}))}return Xe.set(t)}}),qe=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Je=(t,e)=>{const{formats:r}=je();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Qe=qe((t=>{var{locale:e,format:r}=t,n=Ge(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Je("number",r)),new Intl.NumberFormat(e,n)})),tr=qe((t=>{var{locale:e,format:r}=t,n=Ge(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Je("date",r):0===Object.keys(n).length&&(n=Je("date","short")),new Intl.DateTimeFormat(e,n)})),er=qe((t=>{var{locale:e,format:r}=t,n=Ge(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Je("time",r):0===Object.keys(n).length&&(n=Je("time","short")),new Intl.DateTimeFormat(e,n)})),rr=qe(((t,e=Ye())=>new Se(t,e,je().formats,{ignoreTag:je().ignoreTag}))),nr=(t,e={})=>{var r,n,i,o;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:u=Ye(),default:l}=s;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Oe(t,u);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${t}" 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=je()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:u,id:t,defaultValue:l}))&&void 0!==i?i:l)&&void 0!==o?o:t;if(!a)return c;let h=c;try{h=rr(c,u).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},ir=(t,e)=>((t={})=>{var{locale:e=Ye()}=t,r=Ge(t,["locale"]);return er(Object.assign({locale:e},r))})(e).format(t),or=(t,e)=>((t={})=>{var{locale:e=Ye()}=t,r=Ge(t,["locale"]);return tr(Object.assign({locale:e},r))})(e).format(t),sr=(t,e)=>((t={})=>{var{locale:e=Ye()}=t,r=Ge(t,["locale"]);return Qe(Object.assign({locale:e},r))})(e).format(t),ar=(t,e=Ye())=>Oe(t,e),ur=V([Ze,xe],(()=>nr));V([Ze],(()=>ir)),V([Ze],(()=>or)),V([Ze],(()=>sr)),V([Ze,xe],(()=>ar));const lr={en:{gamingLimits:{loadingText:"Loading, please wait...",Monthly:"month",Weekly:"week",Daily:"day",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager 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:"Succesful",popupError:"There was a problem while setting the limit, please try again."}},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",popupError:"There was a problem while setting the limit, please try again."}},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!",popupError:"There was a problem while setting the limit, please try again."}},es:{gamingLimits:{loadingText:"Cargando por favor espere..."}},pt:{gamingLimits:{loadingText:"Carregando, por favor espere..."}},de:{gamingLimits:{loadingText:"Laden, bitte warten...",popupError:"There was a problem while setting the limit, please try again."}}};var cr="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==cr&&cr,hr="URLSearchParams"in cr,pr="Symbol"in cr&&"iterator"in Symbol,fr="FileReader"in cr&&"Blob"in cr&&function(){try{return new Blob,!0}catch(t){return!1}}(),mr="FormData"in cr,dr="ArrayBuffer"in cr;if(dr)var gr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],yr=ArrayBuffer.isView||function(t){return t&&gr.indexOf(Object.prototype.toString.call(t))>-1};function br(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function vr(t){return"string"!=typeof t&&(t=String(t)),t}function Er(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return pr&&(e[Symbol.iterator]=function(){return e}),e}function Tr(t){this.map={},t instanceof Tr?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function _r(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Lr(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function wr(t){var e=new FileReader,r=Lr(e);return e.readAsArrayBuffer(t),r}function Ar(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function Br(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:fr&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:mr&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:hr&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():dr&&fr&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=Ar(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):dr&&(ArrayBuffer.prototype.isPrototypeOf(t)||yr(t))?this._bodyArrayBuffer=Ar(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):hr&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},fr&&(this.blob=function(){var t=_r(this);if(t)return t;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 t=_r(this);return t||(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(wr)}),this.text=function(){var t,e,r,n=_r(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=Lr(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},mr&&(this.formData=function(){return this.text().then(Hr)}),this.json=function(){return this.text().then(JSON.parse)},this}Tr.prototype.append=function(t,e){t=br(t),e=vr(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},Tr.prototype.delete=function(t){delete this.map[br(t)]},Tr.prototype.get=function(t){return t=br(t),this.has(t)?this.map[t]:null},Tr.prototype.has=function(t){return this.map.hasOwnProperty(br(t))},Tr.prototype.set=function(t,e){this.map[br(t)]=vr(e)},Tr.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},Tr.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),Er(t)},Tr.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),Er(t)},Tr.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),Er(t)},pr&&(Tr.prototype[Symbol.iterator]=Tr.prototype.entries);var Sr=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Pr(t,e){if(!(this instanceof Pr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(e=e||{}).body;if(t instanceof Pr){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new Tr(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new Tr(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),Sr.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.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"!==e.cache&&"no-cache"!==e.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 Hr(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function Or(t,e){if(!(this instanceof Or))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new Tr(e.headers),this.url=e.url||"",this._initBody(t)}Pr.prototype.clone=function(){return new Pr(this,{body:this._bodyInit})},Br.call(Pr.prototype),Br.call(Or.prototype),Or.prototype.clone=function(){return new Or(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Tr(this.headers),url:this.url})},Or.error=function(){var t=new Or(null,{status:0,statusText:""});return t.type="error",t};var Ir=[301,302,303,307,308];Or.redirect=function(t,e){if(-1===Ir.indexOf(e))throw new RangeError("Invalid status code");return new Or(null,{status:e,headers:{location:t}})};var xr=cr.DOMException;try{new xr}catch(t){(xr=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),xr.prototype.constructor=xr}function Cr(t,e){return new Promise((function(r,n){var i=new Pr(t,e);if(i.signal&&i.signal.aborted)return n(new xr("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var t,e,n={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",e=new Tr,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();e.append(n,i)}})),e)};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 Or(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 xr("Aborted","AbortError"))}),0)},o.open(i.method,function(t){try{return""===t&&cr.location.href?cr.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(fr?o.responseType="blob":dr&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof Tr?i.headers.forEach((function(t,e){o.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){o.setRequestHeader(t,vr(e.headers[t]))})),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)}))}Cr.polyfill=!0,cr.fetch||(cr.fetch=Cr,cr.Headers=Tr,cr.Request=Pr,cr.Response=Or),self.fetch.bind(self);var Nr=function(t,e){return Nr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Nr(t,e)};function Rr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Nr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Mr(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dr(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function Ur(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function $r(t){return"function"==typeof t}function kr(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Gr=kr((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function Fr(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var jr=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var t,e,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=Mr(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else o.remove(this);var u=this.initialTeardown;if($r(u))try{u()}catch(t){i=t instanceof Gr?t.errors:[t]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var c=Mr(l),h=c.next();!h.done;h=c.next()){var p=h.value;try{Xr(p)}catch(t){i=null!=i?i:[],t instanceof Gr?i=Ur(Ur([],Dr(i)),Dr(t.errors)):i.push(t)}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(i)throw new Gr(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Xr(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Fr(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&Fr(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),Vr=jr.EMPTY;function Wr(t){return t instanceof jr||t&&"closed"in t&&$r(t.remove)&&$r(t.add)&&$r(t.unsubscribe)}function Xr(t){$r(t)?t():t.unsubscribe()}var zr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Kr={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=Kr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Ur([t,e],Dr(r))):setTimeout.apply(void 0,Ur([t,e],Dr(r)))},clearTimeout:function(t){var e=Kr.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Yr(){}var Zr=null;function qr(t){if(zr.useDeprecatedSynchronousErrorHandling){var e=!Zr;if(e&&(Zr={errorThrown:!1,error:null}),t(),e){var r=Zr,n=r.errorThrown,i=r.error;if(Zr=null,n)throw i}}else t()}var Jr=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,Wr(e)&&e.add(r)):r.destination=on,r}return Rr(e,t),e.create=function(t,e,r){return new rn(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(jr),Qr=Function.prototype.bind;function tn(t,e){return Qr.call(t,e)}var en=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){nn(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){nn(t)}else nn(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){nn(t)}},t}(),rn=function(t){function e(e,r,n){var i,o,s=t.call(this)||this;$r(e)||!e?i={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&zr.useDeprecatedNextContext?((o=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},i={next:e.next&&tn(e.next,o),error:e.error&&tn(e.error,o),complete:e.complete&&tn(e.complete,o)}):i=e;return s.destination=new en(i),s}return Rr(e,t),e}(Jr);function nn(t){var e;e=t,Kr.setTimeout((function(){throw e}))}var on={closed:!0,next:Yr,error:function(t){throw t},complete:Yr},sn="function"==typeof Symbol&&Symbol.observable||"@@observable";function an(t){return t}function un(t){return 0===t.length?an:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var ln=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,i=this,o=(n=t)&&n instanceof Jr||function(t){return t&&$r(t.next)&&$r(t.error)&&$r(t.complete)}(n)&&Wr(n)?t:new rn(t,e,r);return qr((function(){var t=i,e=t.operator,r=t.source;o.add(e?e.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=cn(e))((function(e,n){var i=new rn({next:function(e){try{t(e)}catch(t){n(t),i.unsubscribe()}},error:n,complete:e});r.subscribe(i)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[sn]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return un(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=cn(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function cn(t){var e;return null!==(e=null!=t?t:zr.Promise)&&void 0!==e?e:Promise}var hn=kr((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),pn=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Rr(e,t),e.prototype.lift=function(t){var e=new fn(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new hn},e.prototype.next=function(t){var e=this;qr((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var i=Mr(e.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(t)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;qr((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;qr((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?Vr:(this.currentObservers=null,o.push(t),new jr((function(){e.currentObservers=null,Fr(o,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,i=e.isStopped;r?t.error(n):i&&t.complete()},e.prototype.asObservable=function(){var t=new ln;return t.source=this,t},e.create=function(t,e){return new fn(t,e)},e}(ln),fn=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return Rr(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:Vr},e}(pn),mn={now:function(){return(mn.delegate||Date).now()},delegate:void 0},dn=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=mn);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,r),i}return Rr(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(i.push(e),!o&&i.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!t.closed;i+=r?1:2)t.next(n[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var s=r.now(),a=0,u=1;u<n.length&&n[u]<=s;u+=2)a=u;a&&n.splice(0,a+1)}},e}(pn);let gn=[],yn={};window.emWidgets={topic:(t,e=0)=>{if(-1==gn.indexOf(t)){let r=new dn(e);yn[t]=r,gn.push(t)}return yn[t]}};function bn(t,e,r){const n=t.slice();return n[47]=e[r],n}function vn(t,e,r){const n=t.slice();return n[50]=e[r],n}function En(t,e,r){const n=t.slice();return n[50]=e[r],n}function Tn(t,e,r){const n=t.slice();return n[55]=e[r],n}function _n(t){let e,r,n;function i(t,e){return t[11]?Ln:wn}let o=i(t),s=o(t);return{c(){e=h("div"),r=h("div"),s.c(),g(r,"class",n="PopupContainer "+(t[14]?"Desktop":"")),g(e,"class","PopupOverlay")},m(t,n){u(t,e,n),a(e,r),s.m(r,null)},p(t,e){o===(o=i(t))&&s?s.p(t,e):(s.d(1),s=o(t),s&&(s.c(),s.m(r,null)))},d(t){t&&l(e),s.d()}}}function Ln(t){let e,r,n,i;function o(t,e){return t[9]?Bn:An}let s=o(t),a=s(t);return{c(){a.c(),e=m(),r=h("button"),r.textContent="OK",g(r,"class","ConfirmButton")},m(o,s){a.m(o,s),u(o,e,s),u(o,r,s),n||(i=d(r,"click",t[20]),n=!0)},p(t,r){s===(s=o(t))&&a?a.p(t,r):(a.d(1),a=s(t),a&&(a.c(),a.m(e.parentNode,e)))},d(t){a.d(t),t&&l(e),t&&l(r),n=!1,i()}}}function wn(e){let r;return{c(){r=h("div"),g(r,"class","LoadingIndicator")},m(t,e){u(t,r,e)},p:t,d(t){t&&l(r)}}}function An(t){let e,r,n,i,o,s,c,y,v,T,_,L,w,A,B,S,P,H,O,I,x,C,N=t[13]("gamingLimits.popupTitle")+"",R=t[13]("gamingLimits.popupSuccess")+"";return{c(){e=h("div"),r=h("span"),n=f(N),i=m(),o=h("button"),o.textContent="X",s=m(),c=h("div"),y=h("div"),v=p("svg"),T=p("defs"),_=p("style"),L=f(".fil0 {fill:black;fill-rule:nonzero}\n "),w=p("g"),A=p("polygon"),B=m(),S=h("p"),P=f(R),H=m(),O=h("p"),I=f(t[12]),g(r,"class","PopupTitle"),g(o,"class","ClosePopup"),g(e,"class","PopupTitleWrapper"),g(_,"type","text/css"),g(A,"class","fil0"),g(A,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(v,"xmlns","http://www.w3.org/2000/svg"),g(v,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(v,"xml:space","preserve"),g(v,"version","1.1"),E(v,"shape-rendering","geometricPrecision"),E(v,"text-rendering","geometricPrecision"),E(v,"image-rendering","optimizeQuality"),g(v,"viewBox","0 0 90 69"),g(v,"x","0px"),g(v,"y","0px"),g(v,"fill-rule","evenodd"),g(v,"clip-rule","evenodd"),g(y,"class","ResultIconWrapper"),g(O,"class","DescriptionParagraph"),g(c,"class","DescriptionWrapper")},m(l,h){u(l,e,h),a(e,r),a(r,n),a(e,i),a(e,o),u(l,s,h),u(l,c,h),a(c,y),a(y,v),a(v,T),a(T,_),a(_,L),a(v,w),a(w,A),a(y,B),a(y,S),a(S,P),a(c,H),a(c,O),a(O,I),x||(C=d(o,"click",t[20]),x=!0)},p(t,e){8192&e[0]&&N!==(N=t[13]("gamingLimits.popupTitle")+"")&&b(n,N),8192&e[0]&&R!==(R=t[13]("gamingLimits.popupSuccess")+"")&&b(P,R),4096&e[0]&&b(I,t[12])},d(t){t&&l(e),t&&l(s),t&&l(c),x=!1,C()}}}function Bn(t){let e,r,n,i,o,s,c,p,y,v,E,T=t[13]("gamingLimits.popupTitle")+"",_=t[13]("gamingLimits.popupError")+"";return{c(){e=h("div"),r=h("span"),n=f(T),i=m(),o=h("button"),o.textContent="X",s=m(),c=h("div"),p=h("p"),y=f(_),g(r,"class","PopupTitle"),g(o,"class","ClosePopup"),g(e,"class","PopupTitleWrapper"),g(p,"class","DescriptionParagraph"),g(c,"class","DescriptionWrapper")},m(l,h){u(l,e,h),a(e,r),a(r,n),a(e,i),a(e,o),u(l,s,h),u(l,c,h),a(c,p),a(p,y),v||(E=d(o,"click",t[20]),v=!0)},p(t,e){8192&e[0]&&T!==(T=t[13]("gamingLimits.popupTitle")+"")&&b(n,T),8192&e[0]&&_!==(_=t[13]("gamingLimits.popupError")+"")&&b(y,_)},d(t){t&&l(e),t&&l(s),t&&l(c),v=!1,E()}}}function Sn(t){let e,r,i,o,s,p,E,T,_,L,w,A,B,S,P,H,O,I=t[6]?`${t[13]("gamingLimits.amount")}`:`${t[13]("gamingLimits.new")} ${t[13](`gamingLimits.${t[2]}`)} ${t[13]("gamingLimits.limit")}`,x=t[13]("gamingLimits.setLimit")+"",C=t[15],N=[];for(let e=0;e<C.length;e+=1)N[e]=Mn(En(t,C,e));let R=t[5]&&Dn(t),M=t[6]&&$n(t);return{c(){e=h("div"),r=h("div"),i=h("div");for(let t=0;t<N.length;t+=1)N[t].c();o=m(),s=h("form"),R&&R.c(),p=m(),M&&M.c(),E=m(),T=h("label"),_=h("span"),L=f(I),w=m(),A=h("input"),B=m(),S=h("button"),P=f(x),g(i,"class","LimitsList "+(t[14]?"Desktop":"")),g(_,"class","LimitInputText"),g(A,"type","number"),g(A,"pattern","[0-9]*"),g(T,"class","LimitAmountInputWrapper"),g(S,"class","LimitSubmitButton"),g(S,"type","button"),S.disabled=!0,g(s,"class","LimitsInteractionArea "+(t[14]?"Desktop":"")),g(r,"class","LimitsPageContainer"),g(e,"class","player-account-gaming-limits-page-2-gmcore")},m(n,l){u(n,e,l),a(e,r),a(r,i);for(let t=0;t<N.length;t+=1)N[t].m(i,null);a(r,o),a(r,s),R&&R.m(s,null),a(s,p),M&&M.m(s,null),a(s,E),a(s,T),a(T,_),a(_,L),a(T,w),a(T,A),v(A,t[3]),a(s,B),a(s,S),a(S,P),t[33](S),H||(O=[d(A,"input",t[32]),d(A,"keyup",t[18]),d(S,"click",t[17]),d(s,"submit",t[17])],H=!0)},p(t,e){if(581632&e[0]){let r;for(C=t[15],r=0;r<C.length;r+=1){const n=En(t,C,r);N[r]?N[r].p(n,e):(N[r]=Mn(n),N[r].c(),N[r].m(i,null))}for(;r<N.length;r+=1)N[r].d(1);N.length=C.length}t[5]?R?R.p(t,e):(R=Dn(t),R.c(),R.m(s,p)):R&&(R.d(1),R=null),t[6]?M?M.p(t,e):(M=$n(t),M.c(),M.m(s,E)):M&&(M.d(1),M=null),8260&e[0]&&I!==(I=t[6]?`${t[13]("gamingLimits.amount")}`:`${t[13]("gamingLimits.new")} ${t[13](`gamingLimits.${t[2]}`)} ${t[13]("gamingLimits.limit")}`)&&b(L,I),8&e[0]&&y(A.value)!==t[3]&&v(A,t[3]),8192&e[0]&&x!==(x=t[13]("gamingLimits.setLimit")+"")&&b(P,x)},d(r){r&&l(e),c(N,r),R&&R.d(),M&&M.d(),t[33](null),H=!1,n(O)}}}function Pn(e){let r;return{c(){r=h("p"),r.textContent="500 Server error"},m(t,e){u(t,r,e)},p:t,d(t){t&&l(r)}}}function Hn(e){return{c:t,m:t,p:t,d:t}}function On(e){let r;return{c(){r=h("div"),g(r,"class","LoadingIndicator")},m(t,e){u(t,r,e)},p:t,d(t){t&&l(r)}}}function In(t){let e,r,n,i,o=t[13]("gamingLimits.noLimitText")+"";return{c(){e=h("div"),r=h("div"),n=h("div"),i=f(o),g(n,"class","LimitDetailsTextWrapper"),g(r,"class","LimitDetailsWrapper"),g(e,"class","LimitDetails")},m(t,o){u(t,e,o),a(e,r),a(r,n),a(n,i)},p(t,e){8192&e[0]&&o!==(o=t[13]("gamingLimits.noLimitText")+"")&&b(i,o)},d(t){t&&l(e)}}}function xn(t){let e,r=t[50].currentLimits,n=[];for(let e=0;e<r.length;e+=1)n[e]=Rn(Tn(t,r,e));return{c(){for(let t=0;t<n.length;t+=1)n[t].c();e=f("")},m(t,r){for(let e=0;e<n.length;e+=1)n[e].m(t,r);u(t,e,r)},p(t,i){if(565248&i[0]){let o;for(r=t[50].currentLimits,o=0;o<r.length;o+=1){const s=Tn(t,r,o);n[o]?n[o].p(s,i):(n[o]=Rn(s),n[o].c(),n[o].m(e.parentNode,e))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(t){c(n,t),t&&l(e)}}}function Cn(t){let e,r,n=`${t[13]("gamingLimits.removedLimitText")} ${t[55].expiryDate}`;return{c(){e=h("div"),r=f(n),g(e,"class","PendingLimit")},m(t,n){u(t,e,n),a(e,r)},p(t,e){8192&e[0]&&n!==(n=`${t[13]("gamingLimits.removedLimitText")} ${t[55].expiryDate}`)&&b(r,n)},d(t){t&&l(e)}}}function Nn(t){let e,r,n=`${t[55].updateAmount}${t[55].currency} ${t[13]("gamingLimits.per")} ${t[13](`gamingLimits.${t[55].period}`)} ${t[13]("gamingLimits.updateText")} ${t[55].expiryDate}`;return{c(){e=h("div"),r=f(n),g(e,"class","PendingLimit")},m(t,n){u(t,e,n),a(e,r)},p(t,e){8192&e[0]&&n!==(n=`${t[55].updateAmount}${t[55].currency} ${t[13]("gamingLimits.per")} ${t[13](`gamingLimits.${t[55].period}`)} ${t[13]("gamingLimits.updateText")} ${t[55].expiryDate}`)&&b(r,n)},d(t){t&&l(e)}}}function Rn(t){let e,r,n,i,o,s,c,p=`${t[55].amount}${t[55].currency} ${t[13]("gamingLimits.per")} ${t[13](`gamingLimits.${t[55].period}`)}`;let y=function(t,e){return t[55].isModified&&"-1"!=t[55].updateAmount?Nn:t[55].isModified?Cn:void 0}(t),v=y&&y(t),E=!t[55].isModified&&function(t){let e,r,n,i,o=t[13]("gamingLimits.removeLimit")+"";function s(){return t[29](t[55])}return{c(){e=h("button"),r=f(o),g(e,"class","RemoveLimitButton")},m(t,o){u(t,e,o),a(e,r),n||(i=d(e,"click",s),n=!0)},p(e,n){t=e,8192&n[0]&&o!==(o=t[13]("gamingLimits.removeLimit")+"")&&b(r,o)},d(t){t&&l(e),n=!1,i()}}}(t);return{c(){e=h("div"),r=h("div"),n=h("div"),i=f(p),o=m(),v&&v.c(),s=m(),E&&E.c(),c=m(),g(n,"class","CurrentLimit"),g(r,"class","LimitDetailsTextWrapper"),g(e,"class","LimitDetails")},m(t,l){u(t,e,l),a(e,r),a(r,n),a(n,i),a(r,o),v&&v.m(r,null),a(e,s),E&&E.m(e,null),a(e,c)},p(t,e){8192&e[0]&&p!==(p=`${t[55].amount}${t[55].currency} ${t[13]("gamingLimits.per")} ${t[13](`gamingLimits.${t[55].period}`)}`)&&b(i,p),v&&v.p(t,e),t[55].isModified||E.p(t,e)},d(t){t&&l(e),v&&v.d(),E&&E.d()}}}function Mn(t){let e,r,n,i,o,s,c=t[13](`gamingLimits.${t[50].value}`)+"";let p=function(t,e){return t[50].currentLimits.length>0?xn:In}(t),d=p(t);return{c(){e=h("div"),r=h("p"),n=f(c),i=m(),d.c(),o=m(),g(r,"class","LimitTitle"),g(e,"class",s="LimitWrapper "+(t[14]?"Desktop":""))},m(t,s){u(t,e,s),a(e,r),a(r,n),a(e,i),d.m(e,null),a(e,o)},p(t,e){8192&e[0]&&c!==(c=t[13](`gamingLimits.${t[50].value}`)+"")&&b(n,c),d.p(t,e)},d(t){t&&l(e),d.d()}}}function Dn(t){let e,r,i,o,s,p,y,v=t[13]("gamingLimits.limitType")+"",E=t[15],_=[];for(let e=0;e<E.length;e+=1)_[e]=Un(vn(t,E,e));return{c(){e=h("label"),r=h("span"),i=f(v),o=m(),s=h("select");for(let t=0;t<_.length;t+=1)_[t].c();g(r,"class","LimitSelectText"),g(s,"name",""),g(s,"id",""),void 0===t[1]&&x((()=>t[30].call(s))),g(e,"class","LimitTypeDropdownWrapper")},m(n,l){u(n,e,l),a(e,r),a(r,i),a(e,o),a(e,s);for(let t=0;t<_.length;t+=1)_[t].m(s,null);T(s,t[1]),p||(y=[d(s,"change",t[30]),d(s,"change",t[16])],p=!0)},p(t,e){if(8192&e[0]&&v!==(v=t[13]("gamingLimits.limitType")+"")&&b(i,v),32768&e[0]){let r;for(E=t[15],r=0;r<E.length;r+=1){const n=vn(t,E,r);_[r]?_[r].p(n,e):(_[r]=Un(n),_[r].c(),_[r].m(s,null))}for(;r<_.length;r+=1)_[r].d(1);_.length=E.length}32770&e[0]&&T(s,t[1])},d(t){t&&l(e),c(_,t),p=!1,n(y)}}}function Un(e){let r,n,i,o=e[50].title+"";return{c(){r=h("option"),n=f(o),r.__value=i=e[50].value,r.value=r.__value},m(t,e){u(t,r,e),a(r,n)},p:t,d(t){t&&l(r)}}}function $n(t){let e,r,n,i,o,s,p,y=t[13]("gamingLimits.period")+"",v=G[t[1]].periods,E=[];for(let e=0;e<v.length;e+=1)E[e]=kn(bn(t,v,e));return{c(){e=h("label"),r=h("span"),n=f(y),i=m(),o=h("select");for(let t=0;t<E.length;t+=1)E[t].c();g(r,"class","PeriodSelectText"),g(o,"name",""),g(o,"id",""),void 0===t[2]&&x((()=>t[31].call(o))),g(e,"class","LimitPeriodDropdownWrapper")},m(l,c){u(l,e,c),a(e,r),a(r,n),a(e,i),a(e,o);for(let t=0;t<E.length;t+=1)E[t].m(o,null);T(o,t[2]),s||(p=d(o,"change",t[31]),s=!0)},p(t,e){if(8192&e[0]&&y!==(y=t[13]("gamingLimits.period")+"")&&b(n,y),8194&e[0]){let r;for(v=G[t[1]].periods,r=0;r<v.length;r+=1){const n=bn(t,v,r);E[r]?E[r].p(n,e):(E[r]=kn(n),E[r].c(),E[r].m(o,null))}for(;r<E.length;r+=1)E[r].d(1);E.length=v.length}6&e[0]&&T(o,t[2])},d(t){t&&l(e),c(E,t),s=!1,p()}}}function kn(t){let e,r,n,i,o,s=t[13]("gamingLimits.per")+"",c=t[13](`gamingLimits.${t[47]}`)+"";return{c(){e=h("option"),r=f(s),n=m(),i=f(c),e.__value=o=t[47],e.value=e.__value,e.selected=!0},m(t,o){u(t,e,o),a(e,r),a(e,n),a(e,i)},p(t,n){8192&n[0]&&s!==(s=t[13]("gamingLimits.per")+"")&&b(r,s),8194&n[0]&&c!==(c=t[13](`gamingLimits.${t[47]}`)+"")&&b(i,c),32770&n[0]&&o!==(o=t[47])&&(e.__value=o,e.value=e.__value)},d(t){t&&l(e)}}}function Gn(e){let r,n,i=e[10]&&_n(e);function o(t,e){return t[7]&&!t[10]?On:t[7]?Hn:t[8]?Pn:Sn}let s=o(e),c=s(e);return{c(){r=h("div"),i&&i.c(),n=m(),c.c(),this.c=t},m(t,o){u(t,r,o),i&&i.m(r,null),a(r,n),c.m(r,null),e[34](r)},p(t,e){t[10]?i?i.p(t,e):(i=_n(t),i.c(),i.m(r,n)):i&&(i.d(1),i=null),s===(s=o(t))&&c?c.p(t,e):(c.d(1),c=s(t),c&&(c.c(),c.m(r,null)))},i:t,o:t,d(t){t&&l(r),i&&i.d(),c.d(),e[34](null)}}}function Fn(t,e,r){let n;var i,o;i=ur,o=t=>r(13,n=t),t.$$.on_destroy.push(s(i,o));let a,u,l,c,{lang:h="en"}=e,{currency:p=""}=e,{limits:f=""}=e,{session:m=""}=e,{userid:d=""}=e,{endpoint:g=""}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,E=!(t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(window.navigator.userAgent),T=[],L="",w="",A=!1,B=!1,P=!0,H=!1,O=!1,I=!1,x=!1,C="";const N={EUR:"€",RON:" lei"};Object.keys(lr).forEach((t=>{!function(t,e){Re(t,e)}(t,lr[t])}));const R=()=>{let t=new URL(`v2/player/${d}/limits`,g),e={method:"GET",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,e).then((t=>{if(t.status>=300)throw r(7,P=!1),r(8,H=!0),new Error("There was an error fetching the limits");return t.json()})).then((t=>{c=t,I&&U(),M(c),r(7,P=!1),r(3,u=null)})).catch((t=>{console.log(t),r(7,P=!1),r(8,H=!0)}))},M=t=>{T.forEach((e=>{var r;e.currentLimits=[],null===(r=t[G[e.value].callValue])||void 0===r||r.forEach(((r,n)=>{var i;const o=t[G[e.value].callValue][n];e.currentLimits.push({}),e.currentLimits[n].limitType=e.value,e.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),e.currentLimits[n].currency=null!==(i=N[o.currency])&&void 0!==i?i:o.currency,e.currentLimits[n].period=o.period,e.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),e.currentLimits[n].isModified=o.isModified,e.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),e.currentLimits=D(e.currentLimits)}))},D=t=>{const e={Daily:0,Weekly:1,Monthly:2};return t.sort(((t,r)=>e[t.period]-e[r.period])),t},U=()=>{if(c){const t=c[G[L].callValue].filter((t=>t.period===w))[0],e=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(t.amount);let i=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}",e).replace("{currency}",N[t.currency]||t.currency).replace("{selectedPeriod}",n(`gamingLimits.${w}`).toLowerCase());r(12,C=t.isModified?`${n("gamingLimits.popupPendingUpdate")} ${new Date(t.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:i)}r(11,x=!0)},$=t=>{r(10,I=!0),r(7,P=!0);let e=new URL(`v2/player/${d}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[t.limitType]}?periods=${t.period}`,g),n={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((t=>t.json())).then((t=>{R()})).catch((t=>{console.log(t),r(7,P=!1),r(8,H=!0)}))},k=()=>{var t;t=h,Ze.set(t)};return t.$$set=t=>{"lang"in t&&r(21,h=t.lang),"currency"in t&&r(22,p=t.currency),"limits"in t&&r(23,f=t.limits),"session"in t&&r(24,m=t.session),"userid"in t&&r(25,d=t.userid),"endpoint"in t&&r(26,g=t.endpoint),"clientstyling"in t&&r(27,b=t.clientstyling),"clientstylingurl"in t&&r(28,v=t.clientstylingurl)},t.$$.update=()=>{8388608&t.$$.dirty[0]&&f&&(f.split(" ").forEach((t=>{G[t]?T.push(G[t]):console.error(`Unknown limit: ${t}`)})),r(1,L=T[0].value),r(2,w=G[L].periods[0]),r(5,A=T.length>1),r(6,B=G[L].periods.length>1)),2097152&t.$$.dirty[0]&&h&&k(),117440512&t.$$.dirty[0]&&d&&m&&g&&R(),268435456&t.$$.dirty[0]&&v&&(()=>{let t=new URL(v),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,a&&(setTimeout((()=>{a.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),134217728&t.$$.dirty[0]&&b&&(()=>{let t=document.createElement("style");t.innerHTML=b,a.appendChild(t)})()},[a,L,w,u,l,A,B,P,H,O,I,x,C,n,E,T,()=>{r(2,w=G[L].periods[0]),r(6,B=G[L].periods.length>1)},()=>{if(!(u>0))return;r(10,I=!0),r(7,P=!0);let t=new URL(`v2/player/${d}/limits`,g);const e={};e[G[L].callValue]=[{period:w,amount:u,currency:p}];let n={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t.href,n).then((t=>{if(t.status>=300)throw r(7,P=!1),r(11,x=!0),r(9,O=!0),new Error("There was an error while setting the new limit");return t.json()})).then((t=>{R()})).catch((t=>{console.log(t),r(9,O=!0),r(11,x=!0),r(7,P=!1)}))},()=>{const t=999999999999999;u>t&&r(3,u=t);const e=u-Math.floor(u)==0;u>0&&e?l.removeAttribute("disabled"):l.setAttribute("disabled","true")},$,()=>{r(11,x=r(10,I=!1))},h,p,f,m,d,g,b,v,t=>$(t),function(){L=_(this),r(1,L),r(15,T)},function(){w=_(this),r(2,w),r(1,L)},function(){u=y(this.value),r(3,u)},function(t){S[t?"unshift":"push"]((()=>{l=t,r(4,l)}))},function(t){S[t?"unshift":"push"]((()=>{a=t,r(0,a)}))}]}class jn extends k{constructor(t){super(),this.shadowRoot.innerHTML="<style>: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}select,input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:2px;border:1px solid #999}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:63%;padding:0 12px;margin:0 auto}.LimitsList.Desktop{display:flex;flex-wrap:wrap;justify-content:space-between;width:63%;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:#7ac317;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:#000;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 #7ac317;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:1.0s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1.0s;animation-iteration-count:infinite;animation-timing-function:linear}</style>",$(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Fn,Gn,o,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28},null,[-1,-1]),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),R()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[21]}set lang(t){this.$$set({lang:t}),R()}get currency(){return this.$$.ctx[22]}set currency(t){this.$$set({currency:t}),R()}get limits(){return this.$$.ctx[23]}set limits(t){this.$$set({limits:t}),R()}get session(){return this.$$.ctx[24]}set session(t){this.$$set({session:t}),R()}get userid(){return this.$$.ctx[25]}set userid(t){this.$$set({userid:t}),R()}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),R()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(t){this.$$set({clientstyling:t}),R()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),R()}}return!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",jn),jn}));
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 r(e){e.forEach(t)}function n(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 r=t.subscribe(...i);return r.unsubscribe?()=>r.unsubscribe():r}function a(e,t){e.appendChild(t)}function u(e,t,i){e.insertBefore(t,i||null)}function l(e){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,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function g(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function y(e){return""===e?null:+e}function b(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function v(e,t){e.value=null==t?"":t}function E(e,t,i,r){null===i?e.style.removeProperty(t):e.style.setProperty(t,i,r?"important":"")}function T(e,t){for(let i=0;i<e.options.length;i+=1){const r=e.options[i];if(r.__value===t)return void(r.selected=!0)}e.selectedIndex=-1}function L(e){const t=e.querySelector(":checked")||e.options[0];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=[],P=[],H=[],O=Promise.resolve();let I=!1;function N(e){P.push(e)}const x=new Set;let C=0;function D(){const e=_;do{for(;C<S.length;){const e=S[C];C++,A(e),M(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(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}const U=new Set;function R(e,t){-1===e.$$.dirty[0]&&(S.push(e),I||(I=!0,O.then(D)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function k(o,s,a,u,c,h,p,m=[-1]){const f=_;A(o);const d=o.$$={fragment:null,ctx:null,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 g=!1;if(d.ctx=a?a(o,s.props||{},((e,t,...i)=>{const r=i.length?i[0]:t;return d.ctx&&c(d.ctx[e],d.ctx[e]=r)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](r),g&&R(o,e)),t})):[],d.update(),g=!0,r(d.before_update),d.fragment=!!u&&u(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(l)}else d.fragment&&d.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(U.delete(y),y.i(b))),function(e,i,o,s){const{fragment:a,on_mount:u,on_destroy:l,after_update:c}=e.$$;a&&a.m(i,o),s||N((()=>{const i=u.map(t).filter(n);l?l.push(...i):r(i),e.$$.on_mount=[]})),c.forEach(N)}(o,s.target,s.anchor,s.customElement),D()}var y,b;A(f)}let j;"function"==typeof HTMLElement&&(j=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(n);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){!function(e,t){const i=e.$$;null!==i.fragment&&(r(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}(this,1),this.$destroy=e}$on(e,t){const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const e=i.indexOf(t);-1!==e&&i.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 $={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"]}},G=[];function F(t,i=e){let r;const n=new Set;function s(e){if(o(t,e)&&(t=e,r)){const e=!G.length;for(const e of n)e[1](),G.push(e,t);if(e){for(let e=0;e<G.length;e+=2)G[e][0](G[e+1]);G.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const u=[o,a];return n.add(u),1===n.size&&(r=i(s)||e),o(t),()=>{n.delete(u),0===n.size&&(r(),r=null)}}}}function z(t,i,o){const a=!Array.isArray(t),u=a?[t]:t,l=i.length<2;return c=t=>{let o=!1;const c=[];let h=0,p=e;const m=()=>{if(h)return;p();const r=i(a?c[0]:c,t);l?t(r):p=n(r)?r:e},f=u.map(((e,t)=>s(e,(e=>{c[t]=e,h&=~(1<<t),o&&m()}),(()=>{h|=1<<t}))));return o=!0,m(),function(){r(f),p()}},{subscribe:F(o,c).subscribe};var c}var V=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===W}(e)}(e)};var W="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function X(e,t){return!1!==t.clone&&t.isMergeableObject(e)?J((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function K(e,t,i){return e.concat(t).map((function(e){return X(e,i)}))}function Y(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function Z(e,t){try{return t in e}catch(e){return!1}}function q(e,t,i){var r={};return i.isMergeableObject(e)&&Y(e).forEach((function(t){r[t]=X(e[t],i)})),Y(t).forEach((function(n){(function(e,t){return Z(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(Z(e,n)&&i.isMergeableObject(t[n])?r[n]=function(e,t){if(!t.customMerge)return J;var i=t.customMerge(e);return"function"==typeof i?i:J}(n,i)(e[n],t[n],i):r[n]=X(t[n],i))})),r}function J(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||K,i.isMergeableObject=i.isMergeableObject||V,i.cloneUnlessOtherwiseSpecified=X;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):q(e,t,i):X(t,i)}J.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return J(e,i,t)}),{})};var Q=J,ee=function(e,t){return ee=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])},ee(e,t)};function te(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}ee(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var ie,re,ne,oe=function(){return oe=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},oe.apply(this,arguments)};function se(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function ae(e){return e.type===re.literal}function ue(e){return e.type===re.argument}function le(e){return e.type===re.number}function ce(e){return e.type===re.date}function he(e){return e.type===re.time}function pe(e){return e.type===re.select}function me(e){return e.type===re.plural}function fe(e){return e.type===re.pound}function de(e){return e.type===re.tag}function ge(e){return!(!e||"object"!=typeof e||e.type!==ne.number)}function ye(e){return!(!e||"object"!=typeof e||e.type!==ne.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"}(re||(re={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ne||(ne={}));var be=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ve=/(?:[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 Ee(e){var t={};return e.replace(ve,(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 Te=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Le=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,we=/^(@+)?(\+|#+)?[rs]?$/g,_e=/(\*)(0+)|(#+)(0+)|(0+)/g,Ae=/^(0+)$/;function Se(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(we,(function(e,i,r){return"string"!=typeof r?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===r?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""})),t}function Be(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 Pe(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)),!Ae.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function He(e){var t=Be(e);return t||{}}function Oe(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=n.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=oe(oe(oe({},t),{notation:"scientific"}),n.options.reduce((function(e,t){return oe(oe({},e),He(t))}),{}));continue;case"engineering":t=oe(oe(oe({},t),{notation:"engineering"}),n.options.reduce((function(e,t){return oe(oe({},e),He(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(n.options[0]);continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(_e,(function(e,i,r,n,o,s){if(i)t.minimumIntegerDigits=r.length;else{if(n&&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(Ae.test(n.stem))t.minimumIntegerDigits=n.stem.length;else if(Le.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Le,(function(e,i,r,n,o,s){return"*"===r?t.minimumFractionDigits=i.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var o=n.options[0];"w"===o?t=oe(oe({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=oe(oe({},t),Se(o)))}else if(we.test(n.stem))t=oe(oe({},t),Se(n.stem));else{var s=Be(n.stem);s&&(t=oe(oe({},t),s));var a=Pe(n.stem);a&&(t=oe(oe({},t),a))}}return t}var Ie,Ne={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 xe(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,r=e.language;return"root"!==r&&(i=e.maximize().region),(Ne[i||""]||Ne[r||""]||Ne["".concat(r,"-001")]||Ne["001"])[0]}var Ce=new RegExp("^".concat(be.source,"*")),De=new RegExp("".concat(be.source,"*$"));function Me(e,t){return{start:e,end:t}}var Ue=!!String.prototype.startsWith,Re=!!String.fromCodePoint,ke=!!Object.fromEntries,je=!!String.prototype.codePointAt,$e=!!String.prototype.trimStart,Ge=!!String.prototype.trimEnd,Fe=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ze=!0;try{ze="a"===(null===(Ie=Je("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ie?void 0:Ie[0])}catch(e){ze=!1}var Ve,We=Ue?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Xe=Re?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",n=e.length,o=0;n>o;){if((i=e[o++])>1114111)throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},Ke=ke?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i],o=n[0],s=n[1];t[o]=s}return t},Ye=je?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var r,n=e.charCodeAt(t);return n<55296||n>56319||t+1===i||(r=e.charCodeAt(t+1))<56320||r>57343?n:r-56320+(n-55296<<10)+65536}},Ze=$e?function(e){return e.trimStart()}:function(e){return e.replace(Ce,"")},qe=Ge?function(e){return e.trimEnd()}:function(e){return e.replace(De,"")};function Je(e,t){return new RegExp(e,t)}if(ze){var Qe=Je("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ve=function(e,t){var i;return Qe.lastIndex=t,null!==(i=Qe.exec(e)[1])&&void 0!==i?i:""}}else Ve=function(e,t){for(var i=[];;){var r=Ye(e,t);if(void 0===r||rt(r)||nt(r))break;i.push(r),t+=r>=65536?2:1}return Xe.apply(void 0,i)};var et=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 r=[];!this.isEOF();){var n=this.char();if(123===n){if((o=this.parseArgument(e,i)).err)return o;r.push(o.val)}else{if(125===n&&e>0)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(ie.UNMATCHED_CLOSING_TAG,Me(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&tt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:re.pound,location:Me(s,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:re.literal,value:"<".concat(r,"/>"),location:Me(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,!0);if(n.err)return n;var o=n.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!tt(this.char()))return this.error(ie.INVALID_TAG,Me(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(ie.UNMATCHED_CLOSING_TAG,Me(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:re.tag,value:r,children:o,location:Me(i,this.clonePosition())},err:null}:this.error(ie.INVALID_TAG,Me(s,this.clonePosition())))}return this.error(ie.UNCLOSED_TAG,Me(i,this.clonePosition()))}return this.error(ie.INVALID_TAG,Me(i,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 i=this.clonePosition(),r="";;){var n=this.tryParseQuote(t);if(n)r+=n;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=Me(i,this.clonePosition());return{val:{type:re.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(tt(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 Xe.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(),Xe(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Me(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ie.EMPTY_ARGUMENT,Me(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(ie.MALFORMED_ARGUMENT,Me(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Me(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:re.argument,value:r,location:Me(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Me(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(ie.MALFORMED_ARGUMENT,Me(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Ve(this.message,t),r=t+i.length;return this.bumpTo(r),{value:i,location:Me(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,r){var n,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ie.EXPECT_ARGUMENT_TYPE,Me(o,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=qe(y.val)).length)return this.error(ie.EXPECT_ARGUMENT_STYLE,Me(this.clonePosition(),this.clonePosition()));u={style:m,styleLocation:Me(l,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var c=Me(r,this.clonePosition());if(u&&We(null==u?void 0:u.style,"::",0)){var h=Ze(u.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,u.styleLocation)).err?y:{val:{type:re.number,value:i,location:c,style:y.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 i="",r=0;r<e.length;r++){var n=e.charAt(r);if("j"===n){for(var o=0;r+1<e.length&&e.charAt(r+1)===n;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),u=xe(t);for("H"!=u&&"k"!=u||(a=0);a-- >0;)i+="a";for(;s-- >0;)i=u+i}else i+="J"===n?"H":n}return i}(h,this.locale));var m={type:ne.dateTime,pattern:p,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ee(p):{}};return{val:{type:"date"===s?re.date:re.time,value:i,location:c,style:m},err:null}}return{val:{type:"number"===s?re.number:"date"===s?re.date:re.time,value:i,location:c,style:null!==(n=null==u?void 0:u.style)&&void 0!==n?n:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ie.EXPECT_SELECT_ARGUMENT_OPTIONS,Me(f,oe({},f)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Me(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ie.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=y.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,d);if(v.err)return v;if((b=this.tryParseArgumentClose(r)).err)return b;var E=Me(r,this.clonePosition());return"select"===s?{val:{type:re.select,value:i,options:Ke(v.val),location:E},err:null}:{val:{type:re.plural,value:i,options:Ke(v.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(ie.INVALID_ARGUMENT_TYPE,Me(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Me(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(ie.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Me(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(Te).filter((function(e){return e.length>0})),i=[],r=0,n=t;r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),u=0,l=a;u<l.length;u++)if(0===l[u].length)throw new Error("Invalid number skeleton");i.push({stem:s,options:a})}return i}(e)}catch(e){return this.error(ie.INVALID_NUMBER_SKELETON,t)}return{val:{type:ne.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Oe(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var n,o=!1,s=[],a=new Set,u=r.value,l=r.location;;){if(0===u.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;l=Me(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(a.has(u))return this.error("select"===t?ie.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ie.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(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,Me(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([u,{value:m.val,location:Me(p,this.clonePosition())}]),a.add(u),this.bumpSpace(),u=(n=this.parseIdentifierIfPossible()).value,l=n.location}return 0===s.length?this.error("select"===t?ie.EXPECT_SELECT_ARGUMENT_SELECTOR:ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,Me(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ie.MISSING_OTHER_CLAUSE,Me(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var n=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;n=!0,o=10*o+(s-48),this.bump()}var a=Me(r,this.clonePosition());return n?Fe(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=Ye(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(We(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()&&rt(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 tt(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 rt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function nt(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 ot(e){e.forEach((function(e){if(delete e.location,pe(e)||me(e))for(var t in e.options)delete e.options[t].location,ot(e.options[t].value);else le(e)&&ge(e.style)||(ce(e)||he(e))&&ye(e.style)?delete e.style.location:de(e)&&ot(e.children)}))}function st(e,t){void 0===t&&(t={}),t=oe({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new et(e,t).parse();if(i.err){var r=SyntaxError(ie[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return(null==t?void 0:t.captureLocation)||ot(i.val),i.val}function at(e,t){var i=t&&t.cache?t.cache:dt,r=t&&t.serializer?t.serializer:pt;return(t&&t.strategy?t.strategy:ht)(e,{cache:i,serializer:r})}function ut(e,t,i,r){var n,o=null==(n=r)||"number"==typeof n||"boolean"==typeof n?r:i(r),s=t.get(o);return void 0===s&&(s=e.call(this,r),t.set(o,s)),s}function lt(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),o=t.get(n);return void 0===o&&(o=e.apply(this,r),t.set(n,o)),o}function ct(e,t,i,r,n){return i.bind(t,e,r,n)}function ht(e,t){return ct(e,this,1===e.length?ut:lt,t.cache.create(),t.serializer)}var pt=function(){return JSON.stringify(arguments)};function mt(){this.cache=Object.create(null)}mt.prototype.get=function(e){return this.cache[e]},mt.prototype.set=function(e,t){this.cache[e]=t};var ft,dt={create:function(){return new mt}},gt={variadic:function(e,t){return ct(e,this,lt,t.cache.create(),t.serializer)},monadic:function(e,t){return ct(e,this,ut,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ft||(ft={}));var yt,bt=function(e){function t(t,i,r){var n=e.call(this,t)||this;return n.code=i,n.originalMessage=r,n}return te(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),vt=function(e){function t(t,i,r,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ft.INVALID_VALUE,n)||this}return te(t,e),t}(bt),Et=function(e){function t(t,i,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),ft.INVALID_VALUE,r)||this}return te(t,e),t}(bt),Tt=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,'"'),ft.MISSING_VALUE,i)||this}return te(t,e),t}(bt);function Lt(e){return"function"==typeof e}function wt(e,t,i,r,n,o,s){if(1===e.length&&ae(e[0]))return[{type:yt.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(ae(c))a.push({type:yt.literal,value:c.value});else if(fe(c))"number"==typeof o&&a.push({type:yt.literal,value:i.getNumberFormat(t).format(o)});else{var h=c.value;if(!n||!(h in n))throw new Tt(h,s);var p=n[h];if(ue(c))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?yt.literal:yt.object,value:p});else if(ce(c)){var m="string"==typeof c.style?r.date[c.style]:ye(c.style)?c.style.parsedOptions:void 0;a.push({type:yt.literal,value:i.getDateTimeFormat(t,m).format(p)})}else if(he(c)){m="string"==typeof c.style?r.time[c.style]:ye(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:yt.literal,value:i.getDateTimeFormat(t,m).format(p)})}else if(le(c)){(m="string"==typeof c.style?r.number[c.style]:ge(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),a.push({type:yt.literal,value:i.getNumberFormat(t,m).format(p)})}else{if(de(c)){var f=c.children,d=c.value,g=n[d];if(!Lt(g))throw new Et(d,"function",s);var y=g(wt(f,t,i,r,n,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?yt.literal:yt.object,value:e}})))}if(pe(c)){if(!(b=c.options[p]||c.options.other))throw new vt(c.value,p,Object.keys(c.options),s);a.push.apply(a,wt(b.value,t,i,r,n))}else if(me(c)){var b;if(!(b=c.options["=".concat(p)])){if(!Intl.PluralRules)throw new bt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ft.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 vt(c.value,p,Object.keys(c.options),s);a.push.apply(a,wt(b.value,t,i,r,n,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===yt.literal&&t.type===yt.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function _t(e,t){return t?Object.keys(e).reduce((function(i,r){var n,o;return i[r]=(n=e[r],(o=t[r])?oe(oe(oe({},n||{}),o||{}),Object.keys(n).reduce((function(e,t){return e[t]=oe(oe({},n[t]),o[t]||{}),e}),{})):n),i}),oe({},e)):e}function At(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"}(yt||(yt={}));var St=function(){function e(t,i,r,n){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===yt.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 wt(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==n?void 0:n.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=_t(e.formats,r),this.formatters=n&&n.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:at((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,se([void 0],t,!1)))}),{cache:At(o.number),strategy:gt.variadic}),getDateTimeFormat:at((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,se([void 0],t,!1)))}),{cache:At(o.dateTime),strategy:gt.variadic}),getPluralRules:at((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,se([void 0],t,!1)))}),{cache:At(o.pluralRules),strategy:gt.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=st,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}(),Bt=St;const Pt={},Ht=(e,t,i)=>i?(t in Pt||(Pt[t]={}),e in Pt[t]||(Pt[t][e]=i),i):i,Ot=(e,t)=>{if(null==t)return;if(t in Pt&&e in Pt[t])return Pt[t][e];const i=Kt(t);for(let r=0;r<i.length;r++){const n=Ct(i[r],e);if(n)return Ht(e,t,n)}};let It;const Nt=F({});function xt(e){return e in It}function Ct(e,t){if(!xt(e))return null;const i=function(e){return It[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let e=0;e<i.length;e++)if("object"==typeof r){if(e>0){const t=i.slice(e,i.length).join(".");if(t in r){r=r[t];break}}r=r[i[e]]}else r=void 0;return r}(i,t)}function Dt(e,...t){delete Pt[e],Nt.update((i=>(i[e]=Q.all([i[e]||{},...t]),i)))}z([Nt],(([e])=>Object.keys(e))),Nt.subscribe((e=>It=e));const Mt={};function Ut(e){return Mt[e]}function Rt(e){return null!=e&&Kt(e).some((e=>{var t;return null===(t=Ut(e))||void 0===t?void 0:t.size}))}const kt={};function jt(e){if(!Rt(e))return e in kt?kt[e]:Promise.resolve();const t=function(e){return Kt(e).map((e=>{const t=Ut(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return kt[e]=Promise.all(t.map((([e,t])=>function(e,t){const i=Promise.all(t.map((t=>(function(e,t){Mt[e].delete(t),0===Mt[e].size&&delete Mt[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>Dt(e,...t)))}(e,t)))).then((()=>{if(Rt(e))return jt(e);delete kt[e]})),kt[e]}function $t(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]])}return i}const Gt={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 Ft(){return Gt}const zt=F(!1);let Vt;const Wt=F(null);function Xt(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function Kt(e,t=Ft().fallbackLocale){const i=Xt(e);return t?[...new Set([...i,...Xt(t)])]:i}function Yt(){return null!=Vt?Vt:void 0}Wt.subscribe((e=>{Vt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Zt=Object.assign(Object.assign({},Wt),{set:e=>{if(e&&function(e){if(null==e)return;const t=Kt(e);for(let e=0;e<t.length;e++){const i=t[e];if(xt(i))return i}}(e)&&Rt(e)){const{loadingDelay:t}=Ft();let i;return"undefined"!=typeof window&&null!=Yt()&&t?i=window.setTimeout((()=>zt.set(!0)),t):zt.set(!0),jt(e).then((()=>{Wt.set(e)})).finally((()=>{clearTimeout(i),zt.set(!1)}))}return Wt.set(e)}}),qt=e=>{const t=Object.create(null);return i=>{const r=JSON.stringify(i);return r in t?t[r]:t[r]=e(i)}},Jt=(e,t)=>{const{formats:i}=Ft();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Qt=qt((e=>{var{locale:t,format:i}=e,r=$t(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(r=Jt("number",i)),new Intl.NumberFormat(t,r)})),ei=qt((e=>{var{locale:t,format:i}=e,r=$t(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?r=Jt("date",i):0===Object.keys(r).length&&(r=Jt("date","short")),new Intl.DateTimeFormat(t,r)})),ti=qt((e=>{var{locale:t,format:i}=e,r=$t(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?r=Jt("time",i):0===Object.keys(r).length&&(r=Jt("time","short")),new Intl.DateTimeFormat(t,r)})),ii=qt(((e,t=Yt())=>new Bt(e,t,Ft().formats,{ignoreTag:Ft().ignoreTag}))),ri=(e,t={})=>{var i,r,n,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:u=Yt(),default:l}=s;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ot(e,u);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!==(n=null===(r=(i=Ft()).handleMissingMessage)||void 0===r?void 0:r.call(i,{locale:u,id:e,defaultValue:l}))&&void 0!==n?n:l)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=ii(c,u).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},ni=(e,t)=>((e={})=>{var{locale:t=Yt()}=e,i=$t(e,["locale"]);return ti(Object.assign({locale:t},i))})(t).format(e),oi=(e,t)=>((e={})=>{var{locale:t=Yt()}=e,i=$t(e,["locale"]);return ei(Object.assign({locale:t},i))})(t).format(e),si=(e,t)=>((e={})=>{var{locale:t=Yt()}=e,i=$t(e,["locale"]);return Qt(Object.assign({locale:t},i))})(t).format(e),ai=(e,t=Yt())=>Ot(e,t),ui=z([Zt,Nt],(()=>ri));z([Zt],(()=>ni)),z([Zt],(()=>oi)),z([Zt],(()=>si)),z([Zt,Nt],(()=>ai));const li={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} {per} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Succesful",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:"Slots-Limit",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} {per} {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} {per} {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} {per} {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"}},pol:{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} {per} {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 por favor espere..."}},pt:{gamingLimits:{loadingText:"Carregando, por favor espere..."}},de:{gamingLimits:{loadingText:"Laden, bitte warten..."}}};var ci="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==ci&&ci,hi="URLSearchParams"in ci,pi="Symbol"in ci&&"iterator"in Symbol,mi="FileReader"in ci&&"Blob"in ci&&function(){try{return new Blob,!0}catch(e){return!1}}(),fi="FormData"in ci,di="ArrayBuffer"in ci;if(di)var gi=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],yi=ArrayBuffer.isView||function(e){return e&&gi.indexOf(Object.prototype.toString.call(e))>-1};function bi(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 vi(e){return"string"!=typeof e&&(e=String(e)),e}function Ei(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return pi&&(t[Symbol.iterator]=function(){return t}),t}function Ti(e){this.map={},e instanceof Ti?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 Li(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function wi(e){return new Promise((function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}}))}function _i(e){var t=new FileReader,i=wi(t);return t.readAsArrayBuffer(e),i}function Ai(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Si(){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.prototype.isPrototypeOf(e)?this._bodyBlob=e:fi&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:hi&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():di&&mi&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Ai(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):di&&(ArrayBuffer.prototype.isPrototypeOf(e)||yi(e))?this._bodyArrayBuffer=Ai(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):hi&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},mi&&(this.blob=function(){var e=Li(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=Li(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(_i)}),this.text=function(){var e,t,i,r=Li(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=wi(t),t.readAsText(e),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),r=0;r<t.length;r++)i[r]=String.fromCharCode(t[r]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},fi&&(this.formData=function(){return this.text().then(Hi)}),this.json=function(){return this.text().then(JSON.parse)},this}Ti.prototype.append=function(e,t){e=bi(e),t=vi(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},Ti.prototype.delete=function(e){delete this.map[bi(e)]},Ti.prototype.get=function(e){return e=bi(e),this.has(e)?this.map[e]:null},Ti.prototype.has=function(e){return this.map.hasOwnProperty(bi(e))},Ti.prototype.set=function(e,t){this.map[bi(e)]=vi(t)},Ti.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},Ti.prototype.keys=function(){var e=[];return this.forEach((function(t,i){e.push(i)})),Ei(e)},Ti.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Ei(e)},Ti.prototype.entries=function(){var e=[];return this.forEach((function(t,i){e.push([i,t])})),Ei(e)},pi&&(Ti.prototype[Symbol.iterator]=Ti.prototype.entries);var Bi=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];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.');var i,r,n=(t=t||{}).body;if(e instanceof Pi){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Ti(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=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 Ti(t.headers)),this.method=(i=t.method||this.method||"GET",r=i.toUpperCase(),Bi.indexOf(r)>-1?r:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("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 Hi(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var i=e.split("="),r=i.shift().replace(/\+/g," "),n=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(n))}})),t}function Oi(e,t){if(!(this instanceof Oi))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 Ti(t.headers),this.url=t.url||"",this._initBody(e)}Pi.prototype.clone=function(){return new Pi(this,{body:this._bodyInit})},Si.call(Pi.prototype),Si.call(Oi.prototype),Oi.prototype.clone=function(){return new Oi(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ti(this.headers),url:this.url})},Oi.error=function(){var e=new Oi(null,{status:0,statusText:""});return e.type="error",e};var Ii=[301,302,303,307,308];Oi.redirect=function(e,t){if(-1===Ii.indexOf(t))throw new RangeError("Invalid status code");return new Oi(null,{status:t,headers:{location:e}})};var Ni=ci.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 xi(e,t){return new Promise((function(i,r){var n=new Pi(e,t);if(n.signal&&n.signal.aborted)return r(new Ni("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,r={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new Ti,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(":"),r=i.shift().trim();if(r){var n=i.join(":").trim();t.append(r,n)}})),t)};r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var n="response"in o?o.response:o.responseText;setTimeout((function(){i(new Oi(n,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){r(new Ni("Aborted","AbortError"))}),0)},o.open(n.method,function(e){try{return""===e&&ci.location.href?ci.location.href:e}catch(t){return e}}(n.url),!0),"include"===n.credentials?o.withCredentials=!0:"omit"===n.credentials&&(o.withCredentials=!1),"responseType"in o&&(mi?o.responseType="blob":di&&n.headers.get("Content-Type")&&-1!==n.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof Ti?n.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,vi(t.headers[e]))})),n.signal&&(n.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&n.signal.removeEventListener("abort",s)}),o.send(void 0===n._bodyInit?null:n._bodyInit)}))}xi.polyfill=!0,ci.fetch||(ci.fetch=xi,ci.Headers=Ti,ci.Request=Pi,ci.Response=Oi),self.fetch.bind(self);var Ci=function(e,t){return Ci=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])},Ci(e,t)};function Di(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}Ci(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function Mi(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ui(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,o=i.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return s}function Ri(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function ki(e){return"function"==typeof e}function ji(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 $i=ji((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 Gi(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Fi=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,r,n;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Mi(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 u=this.initialTeardown;if(ki(u))try{u()}catch(e){n=e instanceof $i?e.errors:[e]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var c=Mi(l),h=c.next();!h.done;h=c.next()){var p=h.value;try{Wi(p)}catch(e){n=null!=n?n:[],e instanceof $i?n=Ri(Ri([],Ui(n)),Ui(e.errors)):n.push(e)}}}catch(e){i={error:e}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(i)throw i.error}}}if(n)throw new $i(n)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Wi(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)&&Gi(t,e)},e.prototype.remove=function(t){var i=this._finalizers;i&&Gi(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),zi=Fi.EMPTY;function Vi(e){return e instanceof Fi||e&&"closed"in e&&ki(e.remove)&&ki(e.add)&&ki(e.unsubscribe)}function Wi(e){ki(e)?e():e.unsubscribe()}var Xi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ki={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var n=Ki.delegate;return(null==n?void 0:n.setTimeout)?n.setTimeout.apply(n,Ri([e,t],Ui(i))):setTimeout.apply(void 0,Ri([e,t],Ui(i)))},clearTimeout:function(e){var t=Ki.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Yi(){}var Zi=null;function qi(e){if(Xi.useDeprecatedSynchronousErrorHandling){var t=!Zi;if(t&&(Zi={errorThrown:!1,error:null}),e(),t){var i=Zi,r=i.errorThrown,n=i.error;if(Zi=null,r)throw n}}else e()}var Ji=function(e){function t(t){var i=e.call(this)||this;return i.isStopped=!1,t?(i.destination=t,Vi(t)&&t.add(i)):i.destination=nr,i}return Di(t,e),t.create=function(e,t,i){return new ir(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}(Fi),Qi=Function.prototype.bind;function er(e,t){return Qi.call(e,t)}var tr=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){rr(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){rr(e)}else rr(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){rr(e)}},e}(),ir=function(e){function t(t,i,r){var n,o,s=e.call(this)||this;ki(t)||!t?n={next:null!=t?t:void 0,error:null!=i?i:void 0,complete:null!=r?r:void 0}:s&&Xi.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},n={next:t.next&&er(t.next,o),error:t.error&&er(t.error,o),complete:t.complete&&er(t.complete,o)}):n=t;return s.destination=new tr(n),s}return Di(t,e),t}(Ji);function rr(e){var t;t=e,Ki.setTimeout((function(){throw t}))}var nr={closed:!0,next:Yi,error:function(e){throw e},complete:Yi},or="function"==typeof Symbol&&Symbol.observable||"@@observable";function sr(e){return e}function ar(e){return 0===e.length?sr:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var ur=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 r,n=this,o=(r=e)&&r instanceof Ji||function(e){return e&&ki(e.next)&&ki(e.error)&&ki(e.complete)}(r)&&Vi(r)?e:new ir(e,t,i);return qi((function(){var e=n,t=e.operator,i=e.source;o.add(t?t.call(o,i):i?n._subscribe(o):n._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=lr(t))((function(t,r){var n=new ir({next:function(t){try{e(t)}catch(e){r(e),n.unsubscribe()}},error:r,complete:t});i.subscribe(n)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[or]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ar(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=lr(e))((function(e,i){var r;t.subscribe((function(e){return r=e}),(function(e){return i(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function lr(e){var t;return null!==(t=null!=e?e:Xi.Promise)&&void 0!==t?t:Promise}var cr=ji((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),hr=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 Di(t,e),t.prototype.lift=function(e){var t=new pr(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new cr},t.prototype.next=function(e){var t=this;qi((function(){var i,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var n=Mi(t.currentObservers),o=n.next();!o.done;o=n.next()){o.value.next(e)}}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}}}))},t.prototype.error=function(e){var t=this;qi((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;qi((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,r=i.hasError,n=i.isStopped,o=i.observers;return r||n?zi:(this.currentObservers=null,o.push(e),new Fi((function(){t.currentObservers=null,Gi(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,i=t.hasError,r=t.thrownError,n=t.isStopped;i?e.error(r):n&&e.complete()},t.prototype.asObservable=function(){var e=new ur;return e.source=this,e},t.create=function(e,t){return new pr(e,t)},t}(ur),pr=function(e){function t(t,i){var r=e.call(this)||this;return r.destination=t,r.source=i,r}return Di(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:zi},t}(hr),mr={now:function(){return(mr.delegate||Date).now()},delegate:void 0},fr=function(e){function t(t,i,r){void 0===t&&(t=1/0),void 0===i&&(i=1/0),void 0===r&&(r=mr);var n=e.call(this)||this;return n._bufferSize=t,n._windowTime=i,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=i===1/0,n._bufferSize=Math.max(1,t),n._windowTime=Math.max(1,i),n}return Di(t,e),t.prototype.next=function(t){var i=this,r=i.isStopped,n=i._buffer,o=i._infiniteTimeWindow,s=i._timestampProvider,a=i._windowTime;r||(n.push(t),!o&&n.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,r=this._buffer.slice(),n=0;n<r.length&&!e.closed;n+=i?1:2)e.next(r[n]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,i=e._timestampProvider,r=e._buffer,n=e._infiniteTimeWindow,o=(n?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var s=i.now(),a=0,u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}},t}(hr);let dr=[],gr={};window.emWidgets={topic:(e,t=0)=>{if(-1==dr.indexOf(e)){let i=new fr(t);gr[e]=i,dr.push(e)}return gr[e]}};function yr(e,t,i){const r=e.slice();return r[47]=t[i],r}function br(e,t,i){const r=e.slice();return r[50]=t[i],r}function vr(e,t,i){const r=e.slice();return r[50]=t[i],r}function Er(e,t,i){const r=e.slice();return r[55]=t[i],r}function Tr(e){let t,i,r;function n(e,t){return e[11]?Lr:wr}let o=n(e),s=o(e);return{c(){t=h("div"),i=h("div"),s.c(),g(i,"class",r="PopupContainer "+(e[14]?"Desktop":"")),g(t,"class","PopupOverlay")},m(e,r){u(e,t,r),a(t,i),s.m(i,null)},p(e,t){o===(o=n(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null)))},d(e){e&&l(t),s.d()}}}function Lr(e){let t,i,r,n;function o(e,t){return e[9]?Ar:_r}let s=o(e),a=s(e);return{c(){a.c(),t=f(),i=h("button"),i.textContent="OK",g(i,"class","ConfirmButton")},m(o,s){a.m(o,s),u(o,t,s),u(o,i,s),r||(n=d(i,"click",e[20]),r=!0)},p(e,i){s===(s=o(e))&&a?a.p(e,i):(a.d(1),a=s(e),a&&(a.c(),a.m(t.parentNode,t)))},d(e){a.d(e),e&&l(t),e&&l(i),r=!1,n()}}}function wr(t){let i;return{c(){i=h("div"),g(i,"class","LoadingIndicator")},m(e,t){u(e,i,t)},p:e,d(e){e&&l(i)}}}function _r(e){let t,i,r,n,o,s,c,y,v,T,L,w,_,A,S,B,P,H,O,I,N,x,C=e[13]("gamingLimits.popupTitle")+"",D=e[13]("gamingLimits.popupSuccess")+"";return{c(){t=h("div"),i=h("span"),r=m(C),n=f(),o=h("button"),o.textContent="X",s=f(),c=h("div"),y=h("div"),v=p("svg"),T=p("defs"),L=p("style"),w=m(".fil0 {fill:black;fill-rule:nonzero}\n "),_=p("g"),A=p("polygon"),S=f(),B=h("p"),P=m(D),H=f(),O=h("p"),I=m(e[12]),g(i,"class","PopupTitle"),g(o,"class","ClosePopup"),g(t,"class","PopupTitleWrapper"),g(L,"type","text/css"),g(A,"class","fil0"),g(A,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(v,"xmlns","http://www.w3.org/2000/svg"),g(v,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(v,"xml:space","preserve"),g(v,"version","1.1"),E(v,"shape-rendering","geometricPrecision"),E(v,"text-rendering","geometricPrecision"),E(v,"image-rendering","optimizeQuality"),g(v,"viewBox","0 0 90 69"),g(v,"x","0px"),g(v,"y","0px"),g(v,"fill-rule","evenodd"),g(v,"clip-rule","evenodd"),g(y,"class","ResultIconWrapper"),g(O,"class","DescriptionParagraph"),g(c,"class","DescriptionWrapper")},m(l,h){u(l,t,h),a(t,i),a(i,r),a(t,n),a(t,o),u(l,s,h),u(l,c,h),a(c,y),a(y,v),a(v,T),a(T,L),a(L,w),a(v,_),a(_,A),a(y,S),a(y,B),a(B,P),a(c,H),a(c,O),a(O,I),N||(x=d(o,"click",e[20]),N=!0)},p(e,t){8192&t[0]&&C!==(C=e[13]("gamingLimits.popupTitle")+"")&&b(r,C),8192&t[0]&&D!==(D=e[13]("gamingLimits.popupSuccess")+"")&&b(P,D),4096&t[0]&&b(I,e[12])},d(e){e&&l(t),e&&l(s),e&&l(c),N=!1,x()}}}function Ar(e){let t,i,r,n,o,s,c,p,y,v,E,T=e[13]("gamingLimits.popupTitle")+"",L=e[13]("gamingLimits.popupError")+"";return{c(){t=h("div"),i=h("span"),r=m(T),n=f(),o=h("button"),o.textContent="X",s=f(),c=h("div"),p=h("p"),y=m(L),g(i,"class","PopupTitle"),g(o,"class","ClosePopup"),g(t,"class","PopupTitleWrapper"),g(p,"class","DescriptionParagraph"),g(c,"class","DescriptionWrapper")},m(l,h){u(l,t,h),a(t,i),a(i,r),a(t,n),a(t,o),u(l,s,h),u(l,c,h),a(c,p),a(p,y),v||(E=d(o,"click",e[20]),v=!0)},p(e,t){8192&t[0]&&T!==(T=e[13]("gamingLimits.popupTitle")+"")&&b(r,T),8192&t[0]&&L!==(L=e[13]("gamingLimits.popupError")+"")&&b(y,L)},d(e){e&&l(t),e&&l(s),e&&l(c),v=!1,E()}}}function Sr(e){let t,i,n,o,s,p,E,T,L,w,_,A,S,B,P,H,O,I=e[6]?`${e[13]("gamingLimits.amount")}`:`${e[13]("gamingLimits.new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("gamingLimits.limit")}`,N=e[13]("gamingLimits.setLimit")+"",x=e[15],C=[];for(let t=0;t<x.length;t+=1)C[t]=Dr(vr(e,x,t));let D=e[5]&&Mr(e),M=e[6]&&Rr(e);return{c(){t=h("div"),i=h("div"),n=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(N),g(n,"class","LimitsList "+(e[14]?"Desktop":"")),g(L,"class","LimitInputText"),g(A,"type","number"),g(A,"pattern","[0-9]*"),g(T,"class","LimitAmountInputWrapper"),g(B,"class","LimitSubmitButton"),g(B,"type","button"),B.disabled=!0,g(s,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),g(i,"class","LimitsPageContainer"),g(t,"class","player-account-gaming-limits-page-2-gmcore")},m(r,l){u(r,t,l),a(t,i),a(i,n);for(let e=0;e<C.length;e+=1)C[e].m(n,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(T,_),a(T,A),v(A,e[3]),a(s,S),a(s,B),a(B,P),e[33](B),H||(O=[d(A,"input",e[32]),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 r=vr(e,x,i);C[i]?C[i].p(r,t):(C[i]=Dr(r),C[i].c(),C[i].m(n,null))}for(;i<C.length;i+=1)C[i].d(1);C.length=x.length}e[5]?D?D.p(e,t):(D=Mr(e),D.c(),D.m(s,p)):D&&(D.d(1),D=null),e[6]?M?M.p(e,t):(M=Rr(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]&&y(A.value)!==e[3]&&v(A,e[3]),8192&t[0]&&N!==(N=e[13]("gamingLimits.setLimit")+"")&&b(P,N)},d(i){i&&l(t),c(C,i),D&&D.d(),M&&M.d(),e[33](null),H=!1,r(O)}}}function Br(t){let i;return{c(){i=h("p"),i.textContent="500 Server error"},m(e,t){u(e,i,t)},p:e,d(e){e&&l(i)}}}function Pr(t){return{c:e,m:e,p:e,d:e}}function Hr(t){let i;return{c(){i=h("div"),g(i,"class","LoadingIndicator")},m(e,t){u(e,i,t)},p:e,d(e){e&&l(i)}}}function Or(e){let t,i,r,n,o=e[13]("gamingLimits.noLimitText")+"";return{c(){t=h("div"),i=h("div"),r=h("div"),n=m(o),g(r,"class","LimitDetailsTextWrapper"),g(i,"class","LimitDetailsWrapper"),g(t,"class","LimitDetails")},m(e,o){u(e,t,o),a(t,i),a(i,r),a(r,n)},p(e,t){8192&t[0]&&o!==(o=e[13]("gamingLimits.noLimitText")+"")&&b(n,o)},d(e){e&&l(t)}}}function Ir(e){let t,i=e[50].currentLimits,r=[];for(let t=0;t<i.length;t+=1)r[t]=Cr(Er(e,i,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=m("")},m(e,i){for(let t=0;t<r.length;t+=1)r[t].m(e,i);u(e,t,i)},p(e,n){if(565248&n[0]){let o;for(i=e[50].currentLimits,o=0;o<i.length;o+=1){const s=Er(e,i,o);r[o]?r[o].p(s,n):(r[o]=Cr(s),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=i.length}},d(e){c(r,e),e&&l(t)}}}function Nr(e){let t,i,r=`${e[13]("gamingLimits.removedLimitText")} ${e[55].expiryDate}`;return{c(){t=h("div"),i=m(r),g(t,"class","PendingLimit")},m(e,r){u(e,t,r),a(t,i)},p(e,t){8192&t[0]&&r!==(r=`${e[13]("gamingLimits.removedLimitText")} ${e[55].expiryDate}`)&&b(i,r)},d(e){e&&l(t)}}}function xr(e){let t,i,r=`${e[55].updateAmount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)} ${e[13]("gamingLimits.updateText")} ${e[55].expiryDate}`;return{c(){t=h("div"),i=m(r),g(t,"class","PendingLimit")},m(e,r){u(e,t,r),a(t,i)},p(e,t){8192&t[0]&&r!==(r=`${e[55].updateAmount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)} ${e[13]("gamingLimits.updateText")} ${e[55].expiryDate}`)&&b(i,r)},d(e){e&&l(t)}}}function Cr(e){let t,i,r,n,o,s,c,p=`${e[55].amount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)}`;let y=function(e,t){return e[55].isModified&&"-1"!=e[55].updateAmount?xr:e[55].isModified?Nr:void 0}(e),v=y&&y(e),E=!e[55].isModified&&function(e){let t,i,r,n,o=e[13]("gamingLimits.removeLimit")+"";function s(){return e[29](e[55])}return{c(){t=h("button"),i=m(o),g(t,"class","RemoveLimitButton")},m(e,o){u(e,t,o),a(t,i),r||(n=d(t,"click",s),r=!0)},p(t,r){e=t,8192&r[0]&&o!==(o=e[13]("gamingLimits.removeLimit")+"")&&b(i,o)},d(e){e&&l(t),r=!1,n()}}}(e);return{c(){t=h("div"),i=h("div"),r=h("div"),n=m(p),o=f(),v&&v.c(),s=f(),E&&E.c(),c=f(),g(r,"class","CurrentLimit"),g(i,"class","LimitDetailsTextWrapper"),g(t,"class","LimitDetails")},m(e,l){u(e,t,l),a(t,i),a(i,r),a(r,n),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[55].amount}${e[55].currency} ${e[13]("gamingLimits.per")} ${e[13](`gamingLimits.${e[55].period}`)}`)&&b(n,p),v&&v.p(e,t),e[55].isModified||E.p(e,t)},d(e){e&&l(t),v&&v.d(),E&&E.d()}}}function Dr(e){let t,i,r,n,o,s,c=e[13](`gamingLimits.${e[50].value}`)+"";let p=function(e,t){return e[50].currentLimits.length>0?Ir:Or}(e),d=p(e);return{c(){t=h("div"),i=h("p"),r=m(c),n=f(),d.c(),o=f(),g(i,"class","LimitTitle"),g(t,"class",s="LimitWrapper "+(e[14]?"Desktop":""))},m(e,s){u(e,t,s),a(t,i),a(i,r),a(t,n),d.m(t,null),a(t,o)},p(e,t){8192&t[0]&&c!==(c=e[13](`gamingLimits.${e[50].value}`)+"")&&b(r,c),d.p(e,t)},d(e){e&&l(t),d.d()}}}function Mr(e){let t,i,n,o,s,p,y,v=e[13]("gamingLimits.limitType")+"",E=e[15],L=[];for(let t=0;t<E.length;t+=1)L[t]=Ur(br(e,E,t));return{c(){t=h("label"),i=h("span"),n=m(v),o=f(),s=h("select");for(let e=0;e<L.length;e+=1)L[e].c();g(i,"class","LimitSelectText"),g(s,"name",""),g(s,"id",""),void 0===e[1]&&N((()=>e[30].call(s))),g(t,"class","LimitTypeDropdownWrapper")},m(r,l){u(r,t,l),a(t,i),a(i,n),a(t,o),a(t,s);for(let e=0;e<L.length;e+=1)L[e].m(s,null);T(s,e[1]),p||(y=[d(s,"change",e[30]),d(s,"change",e[16])],p=!0)},p(e,t){if(8192&t[0]&&v!==(v=e[13]("gamingLimits.limitType")+"")&&b(n,v),32768&t[0]){let i;for(E=e[15],i=0;i<E.length;i+=1){const r=br(e,E,i);L[i]?L[i].p(r,t):(L[i]=Ur(r),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&&l(t),c(L,e),p=!1,r(y)}}}function Ur(t){let i,r,n,o=t[50].title+"";return{c(){i=h("option"),r=m(o),i.__value=n=t[50].value,i.value=i.__value},m(e,t){u(e,i,t),a(i,r)},p:e,d(e){e&&l(i)}}}function Rr(e){let t,i,r,n,o,s,p,y=e[13]("gamingLimits.period")+"",v=$[e[1]].periods,E=[];for(let t=0;t<v.length;t+=1)E[t]=kr(yr(e,v,t));return{c(){t=h("label"),i=h("span"),r=m(y),n=f(),o=h("select");for(let e=0;e<E.length;e+=1)E[e].c();g(i,"class","PeriodSelectText"),g(o,"name",""),g(o,"id",""),void 0===e[2]&&N((()=>e[31].call(o))),g(t,"class","LimitPeriodDropdownWrapper")},m(l,c){u(l,t,c),a(t,i),a(i,r),a(t,n),a(t,o);for(let e=0;e<E.length;e+=1)E[e].m(o,null);T(o,e[2]),s||(p=d(o,"change",e[31]),s=!0)},p(e,t){if(8192&t[0]&&y!==(y=e[13]("gamingLimits.period")+"")&&b(r,y),8194&t[0]){let i;for(v=$[e[1]].periods,i=0;i<v.length;i+=1){const r=yr(e,v,i);E[i]?E[i].p(r,t):(E[i]=kr(r),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&&l(t),c(E,e),s=!1,p()}}}function kr(e){let t,i,r,n,o,s=e[13]("gamingLimits.per")+"",c=e[13](`gamingLimits.${e[47]}`)+"";return{c(){t=h("option"),i=m(s),r=f(),n=m(c),t.__value=o=e[47],t.value=t.__value,t.selected=!0},m(e,o){u(e,t,o),a(t,i),a(t,r),a(t,n)},p(e,r){8192&r[0]&&s!==(s=e[13]("gamingLimits.per")+"")&&b(i,s),8194&r[0]&&c!==(c=e[13](`gamingLimits.${e[47]}`)+"")&&b(n,c),32770&r[0]&&o!==(o=e[47])&&(t.__value=o,t.value=t.__value)},d(e){e&&l(t)}}}function jr(t){let i,r,n=t[10]&&Tr(t);function o(e,t){return e[7]&&!e[10]?Hr:e[7]?Pr:e[8]?Br:Sr}let s=o(t),c=s(t);return{c(){i=h("div"),n&&n.c(),r=f(),c.c(),this.c=e},m(e,o){u(e,i,o),n&&n.m(i,null),a(i,r),c.m(i,null),t[34](i)},p(e,t){e[10]?n?n.p(e,t):(n=Tr(e),n.c(),n.m(i,r)):n&&(n.d(1),n=null),s===(s=o(e))&&c?c.p(e,t):(c.d(1),c=s(e),c&&(c.c(),c.m(i,null)))},i:e,o:e,d(e){e&&l(i),n&&n.d(),c.d(),t[34](null)}}}function $r(e,t,i){let r;var n,o;n=ui,o=e=>i(13,r=e),e.$$.on_destroy.push(s(n,o));let a,u,l,c,{lang:h="en"}=t,{currency:p=""}=t,{limits:m=""}=t,{session:f=""}=t,{userid:d=""}=t,{endpoint:g=""}=t,{clientstyling:b=""}=t,{clientstylingurl:v=""}=t,E=!(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),T=[],w="",_="",A=!1,S=!1,P=!0,H=!1,O=!1,I=!1,N=!1,x="";const C={EUR:"€",RON:" lei"};Object.keys(li).forEach((e=>{!function(e,t){Dt(e,t)}(e,li[e])}));const D=()=>{let e=new URL(`v2/player/${d}/limits`,g),t={method:"GET",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(7,P=!1),i(8,H=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{c=e,I&&R(),M(c),i(7,P=!1),i(3,u=null)})).catch((e=>{console.log(e),i(7,P=!1),i(8,H=!0)}))},M=e=>{T.forEach((t=>{var i;t.currentLimits=[],null===(i=e[$[t.value].callValue])||void 0===i||i.forEach(((i,r)=>{var n;const o=e[$[t.value].callValue][r];t.currentLimits.push({}),t.currentLimits[r].limitType=t.value,t.currentLimits[r].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[r].currency=null!==(n=C[o.currency])&&void 0!==n?n:o.currency,t.currentLimits[r].period=o.period,t.currentLimits[r].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[r].isModified=o.isModified,t.currentLimits[r].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=U(t.currentLimits)}))},U=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,i)=>t[e.period]-t[i.period])),e},R=()=>{if(c){const e=c[$[w].callValue].filter((e=>e.period===_))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let n=r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",r(`gamingLimits.${w}`).toLowerCase()).replace("{updatedAmount}",t).replace("{currency}",C[e.currency]||e.currency).replace("{selectedPeriod}",r(`gamingLimits.${_}`).toLowerCase());i(12,x=e.isModified?`${r("gamingLimits.popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:n)}i(11,N=!0)},k=e=>{i(10,I=!0),i(7,P=!0);let t=new URL(`v2/player/${d}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[e.limitType]}?periods=${e.period}`,g),r={method:"DELETE",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,r).then((e=>e.json())).then((e=>{D()})).catch((e=>{console.log(e),i(7,P=!1),i(8,H=!0)}))},j=()=>{var e;e=h,Zt.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,g=e.endpoint),"clientstyling"in e&&i(27,b=e.clientstyling),"clientstylingurl"in e&&i(28,v=e.clientstylingurl)},e.$$.update=()=>{8388608&e.$$.dirty[0]&&m&&(m.split(" ").forEach((e=>{$[e]?T.push($[e]):console.error(`Unknown limit: ${e}`)})),i(1,w=T[0].value),i(2,_=$[w].periods[0]),i(5,A=T.length>1),i(6,S=$[w].periods.length>1)),2097152&e.$$.dirty[0]&&h&&j(),117440512&e.$$.dirty[0]&&d&&f&&g&&D(),268435456&e.$$.dirty[0]&&v&&(()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,a&&(setTimeout((()=>{a.appendChild(t)}),1),setTimeout((()=>{}),500))}))})(),134217728&e.$$.dirty[0]&&b&&(()=>{let e=document.createElement("style");e.innerHTML=b,a.appendChild(e)})()},[a,w,_,u,l,A,S,P,H,O,I,N,x,r,E,T,()=>{i(2,_=$[w].periods[0]),i(6,S=$[w].periods.length>1)},()=>{if(!(u>0))return;i(10,I=!0),i(7,P=!0);let e=new URL(`v2/player/${d}/limits`,g);const t={};t[$[w].callValue]=[{period:_,amount:u,currency:p}];let r={method:"PUT",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,r).then((e=>{if(e.status>=300)throw i(7,P=!1),i(11,N=!0),i(9,O=!0),new Error("There was an error while setting the new limit");return e.json()})).then((e=>{D()})).catch((e=>{console.log(e),i(9,O=!0),i(11,N=!0),i(7,P=!1)}))},()=>{const e=999999999999999;u>e&&i(3,u=e);const t=u-Math.floor(u)==0;u>0&&t?l.removeAttribute("disabled"):l.setAttribute("disabled","true")},k,()=>{i(11,N=i(10,I=!1))},h,p,m,f,d,g,b,v,e=>k(e),function(){w=L(this),i(1,w),i(15,T)},function(){_=L(this),i(2,_),i(1,w)},function(){u=y(this.value),i(3,u)},function(e){B[e?"unshift":"push"]((()=>{l=e,i(4,l)}))},function(e){B[e?"unshift":"push"]((()=>{a=e,i(0,a)}))}]}class Gr extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>: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;border-color:#ced4da}select:hover{cursor:pointer;background-color:#7ec51e}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:63%;padding:0 12px;margin:0 auto}.LimitsList.Desktop{display:flex;flex-wrap:wrap;justify-content:space-between;width:63%;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:#7ac317;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 #7ac317;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:1.0s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1.0s;animation-iteration-count:infinite;animation-timing-function:linear}</style>",k(this,{target:this.shadowRoot,props:w(this.attributes),customElement:!0},$r,jr,o,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28},null,[-1,-1]),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),D()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl"]}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()}}return!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",Gr),Gr}));
2
2
  //# sourceMappingURL=player-account-gaming-limits-page-2-gmcore.js.map