@everymatrix/player-account-gaming-limits 1.43.2 → 1.43.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  ((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(){function z(){}let x=e=>e;function h(e){return e()}function p(){return Object.create(null)}function V(e){e.forEach(h)}function v(e){return"function"==typeof e}function T(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function E(e,...t){if(null==e)return z;let i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function re(e,t,i){e.$$.on_destroy.push(E(t,i))}var e="undefined"!=typeof window;let C=e?()=>window.performance.now():()=>Date.now(),M=e?e=>requestAnimationFrame(e):z,k=new Set;function A(t){k.forEach(e=>{e.c(t)||(k.delete(e),e.f())}),0!==k.size&&M(A)}function q(e,t){e.appendChild(t)}function D(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function Z(e,t,i){e.insertBefore(t,i||null)}function X(e){e.parentNode&&e.parentNode.removeChild(e)}function I(t,i){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(i)}function K(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function J(e){return document.createTextNode(e)}function Q(){return J(" ")}function w(){return J("")}function ee(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function oe(t){return function(e){return e.preventDefault(),t.call(this,e)}}function te(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function ie(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:te(e,t,i)}function ae(e){return""===e?null:+e}function ne(e,t){e.data!==(t=""+t)&&(e.data=t)}function P(e,t){e.value=null==t?"":t}function O(t,i,e){for(let e=0;e<t.options.length;e+=1){var n=t.options[e];if(n.__value===i)return n.selected=!0}e&&void 0===i||(t.selectedIndex=-1)}function N(e){var t,i={};for(t of e)i[t.name]=t.value;return i}let H=new Map,B,R=0;function $(e,i,n,t,r,o,a,s=0){var l=16.666/t;let u="{\n";for(let t=0;t<=1;t+=l){let e=i+(n-i)*o(t);u+=100*t+`%{${a(e,1-e)}}
2
2
  `}var c,d=u+`100% {${a(n,1-n)}}
3
- }`,s=`__svelte_${(e=>{let t=5381,i=e.length;for(;i--;)t=(t<<5)-t^e.charCodeAt(i);return t>>>0})(d)}_`+s,m=D(e),{stylesheet:h,rules:p}=H.get(m)||(m=m,c={stylesheet:(c=e,p=K("style"),c=D(c),h=p,q(c.head||c,h),h.sheet,p.sheet),rules:{}},H.set(m,c),c),m=(p[s]||(p[s]=!0,h.insertRule(`@keyframes ${s} `+d,h.cssRules.length)),e.style.animation||"");return e.style.animation=(m?m+", ":"")+s+` ${t}ms linear ${r}ms 1 both`,R+=1,s}function Y(e){B=e}function se(e){(()=>{if(B)return B;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e)}let F=[],j=[],G=[],U=[],le=Promise.resolve(),ue=!1;function ce(e){G.push(e)}let de=new Set,me,he=0;function m(){if(0===he){let e=B;do{try{for(;he<F.length;){let e=F[he];he++,Y(e),t=i=void 0;var t,i=e.$$;null!==i.fragment&&(i.update(),V(i.before_update),t=i.dirty,i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,t),i.after_update.forEach(ce))}}catch(e){throw F.length=0,he=0,e}for(Y(null),F.length=0,he=0;j.length;)j.pop()();for(let e=0;e<G.length;e+=1){var n=G[e];de.has(n)||(de.add(n),n())}}while(G.length=0,F.length);for(;U.length;)U.pop()();ue=!1,de.clear(),Y(e)}}function pe(e,t,i){var n;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:i=!1}={}]=[(t?"intro":"outro")+i],(n=document.createEvent("CustomEvent")).initCustomEvent(e,t,i,void 0),n))}let fe=new Set,g;function ge(e,t){e&&e.i&&(fe.delete(e),e.i(t))}function ye(e,t,i,n){e&&e.o?fe.has(e)||(fe.add(e),g.c.push(()=>{fe.delete(e),n&&(i&&e.d(1),n())}),e.o(t)):n&&n()}let ve={duration:0};function we(l,e,t,i){let n={direction:"both"},u=e(l,t,n),c=i?0:1,d=null,m=null,h=null;function p(){var e,t,i,n;h&&(e=l,t=h,i=(e.style.animation||"").split(", "),n=i.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(i=i.length-n.length)||(e.style.animation=n.join(", "),R-=i)||M(()=>{R||(H.forEach(e=>{e=e.stylesheet.ownerNode;e&&X(e)}),H.clear())}))}function f(e,t){var i=e.b-c;return t*=Math.abs(i),{a:c,b:e.b,d:i,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){let{delay:t=0,duration:i=300,easing:n=x,tick:r=z,css:o}=u||ve,a={start:C()+t,b:e};if(e||((a.group=g).r+=1),d||m)m=a;else{o&&(p(),h=$(l,c,e,i,t,n,o)),e&&r(0,1),d=f(a,i),ce(()=>pe(l,e,"start"));{var s=e=>(m&&e>m.start&&(d=f(m,i),m=null,pe(l,d.b,"start"),o)&&(p(),h=$(l,c,d.b,d.duration,0,n,u.css)),d&&(e>=d.end?(r(c=d.b,1-c),pe(l,d.b,"end"),m||(d.b?p():--d.group.r||V(d.group.c)),d=null):e>=d.start&&(e=e-d.start,c=d.a+d.d*n(e/d.duration),r(c,1-c))),!(!d&&!m));let t;0===k.size&&M(A),new Promise(e=>{k.add(t={c:s,f:e})})}}}return{run(e){v(u)?(me||(me=Promise.resolve()).then(()=>{me=null}),me.then(()=>{u=u(n),r(e)})):r(e)},end(){p(),d=m=null}}}function be(n,t,e,i,r,o,a,s=[-1]){var l=B;Y(n);let u=n.$$={fragment:null,ctx:[],props:o,update:z,not_equal:r,bound:p(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:p(),dirty:s,skip_bound:!1,root:t.target||l.$$.root},c=(a&&a(u.root),!1);if(u.ctx=e?e(n,t.props||{},(e,t,...i)=>{var i=i.length?i[0]:t;return u.ctx&&r(u.ctx[e],u.ctx[e]=i)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](i),c)&&(i=e,-1===(e=n).$$.dirty[0]&&(F.push(e),ue||(ue=!0,le.then(m)),e.$$.dirty.fill(0)),e.$$.dirty[i/31|0]|=1<<i%31),t}):[],u.update(),c=!0,V(u.before_update),u.fragment=!!i&&i(u.ctx),t.target){if(t.hydrate){o=t.target;let e=Array.from(o.childNodes);u.fragment&&u.fragment.l(e),e.forEach(X)}else u.fragment&&u.fragment.c();t.intro&&ge(n.$$.fragment);var d=n,s=t.customElement,{fragment:a,after_update:e}=d.$$;a&&a.m(t.target,t.anchor),s||ce(()=>{var e=d.$$.on_mount.map(h).filter(v);d.$$.on_destroy?d.$$.on_destroy.push(...e):V(e),d.$$.on_mount=[]}),e.forEach(ce),m()}Y(l)}let Le;"function"==typeof HTMLElement&&(Le=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(h).filter(v);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){V(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;let t=[],i=[];G.forEach(e=>(-1===n.indexOf(e)?t:i).push(e)),i.forEach(e=>e()),G=t}V(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=z}$on(e,t){if(!v(t))return z;let i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var _e,xe,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Te="URLSearchParams"in l,Ee="Symbol"in l&&"iterator"in Symbol,Ce="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),Me="FormData"in l,ke="ArrayBuffer"in l;function Se(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 Ae(e){return e="string"!=typeof e?String(e):e}function De(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ee&&(e[Symbol.iterator]=function(){return e}),e}function u(t){this.map={},t instanceof u?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Ie(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Pe(i){return new Promise(function(e,t){i.onload=function(){e(i.result)},i.onerror=function(){t(i.error)}})}function Oe(e){var t=new FileReader,i=Pe(t);return t.readAsArrayBuffer(e),i}function Ne(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function He(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Ce&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Me&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Te&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ke&&Ce&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Ne(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ke&&(ArrayBuffer.prototype.isPrototypeOf(e)||xe(e))?this._bodyArrayBuffer=Ne(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,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):Te&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Ce&&(this.blob=function(){var e=Ie(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)return Ie(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(Ce)return this.blob().then(Oe);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,n=Ie(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Pe(e),i=(i=/charset=([A-Za-z0-9_-]+)/.exec(n.type))?i[1]:"utf-8",e.readAsText(n,i),t;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Me&&(this.formData=function(){return this.text().then($e)}),this.json=function(){return this.text().then(JSON.parse)},this}ke&&(_e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],xe=ArrayBuffer.isView||function(e){return e&&-1<_e.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=Se(e),t=Ae(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},u.prototype.delete=function(e){delete this.map[Se(e)]},u.prototype.get=function(e){return e=Se(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(Se(e))},u.prototype.set=function(e,t){this.map[Se(e)]=Ae(t)},u.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},u.prototype.keys=function(){var i=[];return this.forEach(function(e,t){i.push(t)}),De(i)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),De(t)},u.prototype.entries=function(){var i=[];return this.forEach(function(e,t){i.push([t,e])}),De(i)},Ee&&(u.prototype[Symbol.iterator]=u.prototype.entries);var Be=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Re(e,t){if(!(this instanceof Re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n=(t=t||{}).body;if(e instanceof Re){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(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 u(t.headers)),this.method=(i=(e=t.method||this.method||"GET").toUpperCase(),-1<Be.indexOf(i)?i:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(()=>{if("AbortController"in l)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((i=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function $e(e){var i=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),i.append(decodeURIComponent(t),decodeURIComponent(e)))}),i}function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}Re.prototype.clone=function(){return new Re(this,{body:this._bodyInit})},He.call(Re.prototype),He.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var Ye=[301,302,303,307,308],Fe=(c.redirect=function(e,t){if(-1===Ye.indexOf(t))throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},l.DOMException);try{new Fe}catch(z){(Fe=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Fe.prototype.constructor=Fe}function Ge(n,s){return new Promise(function(r,e){var o=new Re(n,s);if(o.signal&&o.signal.aborted)return e(new Fe("Aborted","AbortError"));var i,a=new XMLHttpRequest;function t(){a.abort()}a.onload=function(){var e,n,t={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new u,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 t=e.split(":"),i=t.shift().trim();if(i){t=t.join(":").trim();try{n.append(i,t)}catch(e){console.warn("Response "+e.message)}}}),n)},i=(0===o.url.indexOf("file://")&&(a.status<200||599<a.status)?t.status=200:t.status=a.status,t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){r(new c(i,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){e(new Fe("Aborted","AbortError"))},0)},a.open(o.method,(t=>{try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}})(o.url),!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&(Ce?a.responseType="blob":ke&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(i=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){i.push(Se(e)),a.setRequestHeader(e,Ae(s.headers[e]))}),o.headers.forEach(function(e,t){-1===i.indexOf(t)&&a.setRequestHeader(t,e)})):o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),o.signal&&(o.signal.addEventListener("abort",t),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",t)}),a.send(void 0===o._bodyInit?null:o._bodyInit)})}function Si(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ge.polyfill=!0,l.fetch||(l.fetch=Ge,l.Headers=u,l.Request=Re,l.Response=c),self.fetch.bind(self);var Ue=function(e,t){return(Ue=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])}))(e,t)};function je(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}Ue(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function We(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ze(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,o=i.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}function Ve(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||((n=n||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function qe(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ze=qe(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Xe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}i.prototype.unsubscribe=function(){var e,t,i,n,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=We(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(d(o))try{o()}catch(e){r=e instanceof Ze?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=We(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{et(c)}catch(e){r=null!=r?r:[],e instanceof Ze?r=Ve(Ve([],ze(r)),ze(e.errors)):r.push(e)}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}if(r)throw new Ze(r)}},i.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)et(e);else{if(e instanceof i){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},i.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},i.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},i.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Xe(t,e)},i.prototype.remove=function(e){var t=this._finalizers;t&&Xe(t,e),e instanceof i&&e._removeParent(this)},i.EMPTY=((e=new i).closed=!0,e);var Ke=i,Je=Ke.EMPTY;function i(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Qe(e){return e instanceof Ke||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function et(e){d(e)?e():e.unsubscribe()}var tt=void 0,it=!1,nt=!1,rt={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var r=rt.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,Ve([e,t],ze(i))):setTimeout.apply(void 0,Ve([e,t],ze(i)))},clearTimeout:function(e){var t=rt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ot(){}var at=null;function st(e){if(it){var t=!at;if(t&&(at={errorThrown:!1,error:null}),e(),t){var t=at,i=t.errorThrown;if(at=null,i)throw t.error}}else e()}je(n,lt=Ke),n.create=function(e,t,i){return new pt(e,t,i)},n.prototype.next=function(e){this.isStopped||this._next(e)},n.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,lt.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var lt,ut=n,ct=Function.prototype.bind;function n(e){var t=lt.call(this)||this;return t.isStopped=!1,e?Qe(t.destination=e)&&e.add(t):t.destination=vt,t}function dt(e,t){return ct.call(e,t)}gt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){yt(e)}},gt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){yt(e)}else yt(e)},gt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){yt(e)}};var mt,ht=gt,pt=(je(ft,mt=ut),ft);function ft(e,t,i){var n=mt.call(this)||this,i=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=i?i:void 0}:n&&nt?((t=Object.create(e)).unsubscribe=function(){return n.unsubscribe()},{next:e.next&&dt(e.next,t),error:e.error&&dt(e.error,t),complete:e.complete&&dt(e.complete,t)}):e;return n.destination=new ht(i),n}function gt(e){this.partialObserver=e}function yt(e){var t=e;rt.setTimeout(function(){throw t})}var vt={closed:!0,next:ot,error:function(e){throw e},complete:ot},e="function"==typeof Symbol&&Symbol.observable||"@@observable";r.prototype.lift=function(e){var t=new r;return t.source=this,t.operator=e,t},r.prototype.subscribe=function(e,t,i){var n,r=this,o=(n=e)&&n instanceof ut||n&&d(n.next)&&d(n.error)&&d(n.complete)&&Qe(n)?e:new pt(e,t,i);return st(function(){var e=r.operator,t=r.source;o.add(e?e.call(o,t):t?r._subscribe(o):r._trySubscribe(o))}),o},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(n,e){var r=this;return new(e=bt(e))(function(e,t){var i=new pt({next:function(e){try{n(e)}catch(e){t(e),i.unsubscribe()}},error:t,complete:e});r.subscribe(i)})},r.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},r.prototype[e]=function(){return this},r.prototype.pipe=function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},r.prototype.toPromise=function(e){var n=this;return new(e=bt(e))(function(e,t){var i;n.subscribe(function(e){return i=e},function(e){return t(e)},function(){return e(i)})})},r.create=function(e){return new r(e)};var wt=r;function r(e){e&&(this._subscribe=e)}function bt(e){return null!=(e=null!=e?e:tt)?e:Promise}var Lt,_t,xt,Tt=qe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(je(o,xt=wt),o.prototype.lift=function(e){var t=new Et(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new Tt},o.prototype.next=function(r){var o=this;st(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var i=We(o.currentObservers),n=i.next();!n.done;n=i.next())n.value.next(r)}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},o.prototype.error=function(t){var i=this;st(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var e=i.observers;e.length;)e.shift().error(t)}})},o.prototype.complete=function(){var t=this;st(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},o.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(o.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),o.prototype._trySubscribe=function(e){return this._throwIfClosed(),xt.prototype._trySubscribe.call(this,e)},o.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},o.prototype._innerSubscribe=function(e){var t=this,i=this.hasError,n=this.isStopped,r=this.observers;return i||n?Je:(this.currentObservers=null,r.push(e),new Ke(function(){t.currentObservers=null,Xe(r,e)}))},o.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,i=this.thrownError,n=this.isStopped;t?e.error(i):n&&e.complete()},o.prototype.asObservable=function(){var e=new wt;return e.source=this,e},o.create=function(e,t){return new Et(e,t)},o),Et=(je(St,_t=e),St.prototype.next=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.next)&&i.call(t,e)},St.prototype.error=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.error)&&i.call(t,e)},St.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},St.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Je},St),Ct={now:function(){return(Ct.delegate||Date).now()},delegate:void 0},Mt=(je(kt,Lt=e),kt.prototype.next=function(e){var t=this,i=t.isStopped,n=t._buffer,r=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;i||(n.push(e),r)||n.push(o.now()+t),this._trimBuffer(),Lt.prototype.next.call(this,e)},kt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!e.closed;r+=i?1:2)e.next(n[r]);return this._checkFinalizedStatuses(e),t},kt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,i=this._buffer,n=this._infiniteTimeWindow,r=(n?1:2)*e;if(e<1/0&&r<i.length&&i.splice(0,i.length-r),!n){for(var o=t.now(),a=0,s=1;s<i.length&&i[s]<=o;s+=2)a=s;a&&i.splice(0,a+1)}},kt);function kt(e,t,i){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===i&&(i=Ct);var n=Lt.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=i,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function St(e,t){var i=_t.call(this)||this;return i.destination=e,i.source=t,i}function o(){var e=xt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let At=[],Dt={},It=[];function Pt(n,r=z){let o,a=new Set;function s(e){if(T(n,e)&&(n=e,o)){let e=!It.length;for(let e of a)e[1](),It.push(e,n);if(e){for(let e=0;e<It.length;e+=2)It[e][0](It[e+1]);It.length=0}}}return{set:s,update:function(e){s(e(n))},subscribe:function(e,t=z){let i=[e,t];return a.add(i),1===a.size&&(o=r(s)||z),e(n),()=>{a.delete(i),0===a.size&&o&&(o(),o=null)}}}}function Ot(e,s,t){let l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:Pt(t,t=>{let i=!1,n=[],r=0,o=z,a=()=>{var e;r||(o(),e=s(l?n[0]:n,t),c?t(e):o=v(e)?e:z)},e=u.map((e,t)=>E(e,e=>{n[t]=e,r&=~(1<<t),i&&a()},()=>{r|=1<<t}));return i=!0,a(),function(){V(e),o(),i=!1}}).subscribe}}function Nt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Ht);var t}var Ht="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Bt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Gt(Array.isArray(e)?[]:{},e,t):e}function Rt(e,t,i){return e.concat(t).map(function(e){return Bt(e,i)})}function $t(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Yt(e,t){try{return t in e}catch(e){return!1}}function Ft(n,r,o){var a={};return o.isMergeableObject(n)&&$t(n).forEach(function(e){a[e]=Bt(n[e],o)}),$t(r).forEach(function(e){var t,i;(!Yt(t=n,i=e)||Object.hasOwnProperty.call(t,i)&&Object.propertyIsEnumerable.call(t,i))&&(Yt(n,e)&&o.isMergeableObject(r[e])?a[e]=((t=o).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Gt)(n[e],r[e],o):a[e]=Bt(r[e],o))}),a}function Gt(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Rt,i.isMergeableObject=i.isMergeableObject||Nt,i.cloneUnlessOtherwiseSpecified=Bt;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):Ft(e,t,i):Bt(t,i)}Gt.all=function(e,i){if(Array.isArray(e))return e.reduce(function(e,t){return Gt(e,t,i)},{});throw new Error("first argument should be an array")};var Ut=Gt,jt=function(e,t){return(jt=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])}))(e,t)};function Wt(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}jt(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var f,y,zt,b=function(){return(b=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Vt(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||((n=n||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function qt(e){return e.type===y.literal}function Zt(e){return e.type===y.number}function Xt(e){return e.type===y.date}function Kt(e){return e.type===y.time}function Jt(e){return e.type===y.select}function Qt(e){return e.type===y.plural}function ei(e){return e.type===y.tag}function ti(e){return e&&"object"==typeof e&&e.type===zt.number}function ii(e){return e&&"object"==typeof e&&e.type===zt.dateTime}(e=f=f||{})[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",(e=y=y||{})[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",(e=zt=zt||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ni=/(?:[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;var ri=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,oi=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ai=/^(@+)?(\+|#+)?[rs]?$/g,si=/(\*)(0+)|(#+)(0+)|(0+)/g,li=/^(0+)$/;function ui(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(ai,function(e,t,i){return"string"!=typeof i?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===i?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof i?i.length:0)),""}),n}function ci(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 di(e){return ci(e)||{}}function mi(e){for(var a={},t=0,i=e;t<i.length;t++){var n,r=i[t];switch(r.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=r.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=b(b(b({},a),{notation:"scientific"}),r.options.reduce(function(e,t){return b(b({},e),di(t))},{}));continue;case"engineering":a=b(b(b({},a),{notation:"engineering"}),r.options.reduce(function(e,t){return b(b({},e),di(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(si,function(e,t,i,n,r,o){if(t)a.minimumIntegerDigits=i.length;else{if(n&&r)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(li.test(r.stem))a.minimumIntegerDigits=r.stem.length;else if(oi.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(oi,function(e,t,i,n,r,o){return"*"===i?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:r&&o?(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var o=r.options[0];"w"===o?a=b(b({},a),{trailingZeroDisplay:"stripIfInteger"}):o&&(a=b(b({},a),ui(o)))}else ai.test(r.stem)?a=b(b({},a),ui(r.stem)):((o=ci(r.stem))&&(a=b(b({},a),o)),(n=(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)),!li.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(r.stem))&&(a=b(b({},a),n)))}return a}var hi={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"]};var pi=new RegExp("^".concat(e.source,"*")),fi=new RegExp("".concat(e.source,"*$"));function L(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,gi=!!String.fromCodePoint,yi=!!Object.fromEntries,vi=!!String.prototype.codePointAt,wi=!!String.prototype.trimStart,bi=!!String.prototype.trimEnd,Li=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},_i=!0;try{_i="a"===(null==(ji=Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ji[0])}catch(z){_i=!1}var xi,Ti,Ei=e?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Ci=gi?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,o=0;o<r;){if(1114111<(i=e[o++]))throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},Mi=yi?Object.fromEntries:function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];t[r[0]]=r[1]}return t},ki=vi?function(e,t){return e.codePointAt(t)}:function(e,t){var i,n=e.length;if(!(t<0||n<=t))return(i=e.charCodeAt(t))<55296||56319<i||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?i:n-56320+(i-55296<<10)+65536},Ai=wi?function(e){return e.trimStart()}:function(e){return e.replace(pi,"")},Di=bi?function(e){return e.trimEnd()}:function(e){return e.replace(fi,"")};function Ii(e,t){return new RegExp(e,t)}Ti=_i?(xi=Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return xi.lastIndex=t,null!=(t=xi.exec(e)[1])?t:""}):function(e,t){for(var i,n=[];;){var r=ki(e,t);if(void 0===r||Ni(r)||33<=(i=r)&&i<=35||36===i||37<=i&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||46<=i&&i<=47||58<=i&&i<=59||60<=i&&i<=62||63<=i&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||162<=i&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||8208<=i&&i<=8213||8214<=i&&i<=8215||8216===i||8217===i||8218===i||8219<=i&&i<=8220||8221===i||8222===i||8223===i||8224<=i&&i<=8231||8240<=i&&i<=8248||8249===i||8250===i||8251<=i&&i<=8254||8257<=i&&i<=8259||8260===i||8261===i||8262===i||8263<=i&&i<=8273||8274===i||8275===i||8277<=i&&i<=8286||8592<=i&&i<=8596||8597<=i&&i<=8601||8602<=i&&i<=8603||8604<=i&&i<=8607||8608===i||8609<=i&&i<=8610||8611===i||8612<=i&&i<=8613||8614===i||8615<=i&&i<=8621||8622===i||8623<=i&&i<=8653||8654<=i&&i<=8655||8656<=i&&i<=8657||8658===i||8659===i||8660===i||8661<=i&&i<=8691||8692<=i&&i<=8959||8960<=i&&i<=8967||8968===i||8969===i||8970===i||8971===i||8972<=i&&i<=8991||8992<=i&&i<=8993||8994<=i&&i<=9e3||9001===i||9002===i||9003<=i&&i<=9083||9084===i||9085<=i&&i<=9114||9115<=i&&i<=9139||9140<=i&&i<=9179||9180<=i&&i<=9185||9186<=i&&i<=9254||9255<=i&&i<=9279||9280<=i&&i<=9290||9291<=i&&i<=9311||9472<=i&&i<=9654||9655===i||9656<=i&&i<=9664||9665===i||9666<=i&&i<=9719||9720<=i&&i<=9727||9728<=i&&i<=9838||9839===i||9840<=i&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||10132<=i&&i<=10175||10176<=i&&i<=10180||10181===i||10182===i||10183<=i&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||10224<=i&&i<=10239||10240<=i&&i<=10495||10496<=i&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||10649<=i&&i<=10711||10712===i||10713===i||10714===i||10715===i||10716<=i&&i<=10747||10748===i||10749===i||10750<=i&&i<=11007||11008<=i&&i<=11055||11056<=i&&i<=11076||11077<=i&&i<=11078||11079<=i&&i<=11084||11085<=i&&i<=11123||11124<=i&&i<=11125||11126<=i&&i<=11157||11158===i||11159<=i&&i<=11263||11776<=i&&i<=11777||11778===i||11779===i||11780===i||11781===i||11782<=i&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||11790<=i&&i<=11798||11799===i||11800<=i&&i<=11801||11802===i||11803===i||11804===i||11805===i||11806<=i&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||11818<=i&&i<=11822||11823===i||11824<=i&&i<=11833||11834<=i&&i<=11835||11836<=i&&i<=11839||11840===i||11841===i||11842===i||11843<=i&&i<=11855||11856<=i&&i<=11857||11858===i||11859<=i&&i<=11903||12289<=i&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||12306<=i&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||12318<=i&&i<=12319||12320===i||12336===i||64830===i||64831===i||65093<=i&&i<=65094)break;n.push(r),t+=65536<=r?2:1}return Ci.apply(void 0,n)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(e,i)).err)return r;n.push(r.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(f.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Oi(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r}else if((r=this.parseLiteral(e,t)).err)return r;n.push(r.val)}else{o=this.clonePosition();this.bump(),n.push({type:y.pound,location:L(o,this.clonePosition())})}}}return{val:n,err:null}},a.prototype.parseTag=function(e,t){var i,n=this.clonePosition(),r=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(r,"/>"),location:L(n,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Oi(this.char())?this.error(f.INVALID_TAG,L(e,this.clonePosition())):(i=this.clonePosition(),r!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,L(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:L(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,L(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,L(n,this.clonePosition()))):this.error(f.INVALID_TAG,L(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{r=this.tryParseUnquoted(e,t);if(r)n+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;n+=r}}}i=L(i,this.clonePosition());return{val:{type:y.literal,value:n,location:i},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Oi(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.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 Ci.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){var i;return this.isEOF()||60===(i=this.char())||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&0<e?null:(this.bump(),Ci(i))},a.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,L(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,L(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(f.MALFORMED_ARGUMENT,L(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,L(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:n,location:L(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,L(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(f.MALFORMED_ARGUMENT,L(i,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Ti(this.message,t),t=t+i.length;return this.bumpTo(t),{value:i,location:L(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,i,n){var r,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,L(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(m=Di(d.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:L(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(n)).err?u:(h=L(n,this.clonePosition()),l&&Ei(null==l?void 0:l.style,"::",0)?(p=Ai(l.style.slice(2)),"number"===a?(d=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?d:{val:{type:y.number,value:i,location:h,style:d.val},err:null}:0===p.length?this.error(f.EXPECT_DATE_TIME_SKELETON,h):(c=p,this.locale&&(c=((e,t)=>{for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var o=0;n+1<e.length&&e.charAt(n+1)===r;)o++,n++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=(e=>{var t,i=e.hourCycle;if(i=void 0===i&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(i=e.language)&&(t=e.maximize().region),(hi[t||""]||hi[i||""]||hi["".concat(i,"-001")]||hi["001"])[0]})(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)i+="a";for(;0<a--;)i=l+i}else i+="J"===r?"H":r}return i})(p,this.locale)),m={type:zt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},c.replace(ni,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"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":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-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":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<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""}),r):{}},{val:{type:"date"===a?y.date:y.time,value:i,location:h,style:m},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:i,location:h,style:null!=(p=null==l?void 0:l.style)?p:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,L(c,b({},c)));this.bumpSpace();var d,m=this.parseIdentifierIfPossible(),h=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=d.val}var p,l=this.tryParsePluralOrSelectOptions(e,a,t,m);return l.err?l:(u=this.tryParseArgumentClose(n)).err?u:(p=L(n,this.clonePosition()),"select"===a?{val:{type:y.select,value:i,options:Mi(l.val),location:p},err:null}:{val:{type:y.plural,value:i,options:Mi(l.val),offset:h,pluralType:"plural"===a?"cardinal":"ordinal",location:p},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,L(o,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,L(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.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(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},a.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],i=0,n=e.split(ri).filter(function(e){return 0<e.length});i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],r=r.slice(1),a=0,s=r;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:r})}return t})(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:zt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?mi(i):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){for(var r=!1,o=[],a=new Set,s=n.value,l=n.location;;){if(0===s.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=L(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,L(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,i);if(u.err)return u;var d=this.tryParseArgumentClose(c);if(d.err)return d;o.push([s,{value:u.val,location:L(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,L(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(f.MISSING_OTHER_CLAUSE,L(this.clonePosition(),this.clonePosition())):{val:o,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;r=!0,o=10*o+(a-48),this.bump()}n=L(n,this.clonePosition());return r?Li(o*=i)?{val:o,err:null}:this.error(t,n):this.error(e,n)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ki(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(Ei(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.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(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ni(this.char());)this.bump()},a.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Pi=a;function a(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}function Oi(e){return 97<=e&&e<=122||65<=e&&e<=90}function Ni(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Hi(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var i,e=new Pi(e,t).parse();if(e.err)throw(i=SyntaxError(f[e.err.kind])).location=e.err.location,i.originalMessage=e.err.message,i;return null!=t&&t.captureLocation||function i(e){e.forEach(function(e){if(delete e.location,Jt(e)||Qt(e))for(var t in e.options)delete e.options[t].location,i(e.options[t].value);else Zt(e)&&ti(e.style)||(Xt(e)||Kt(e))&&ii(e.style)?delete e.style.location:ei(e)&&i(e.children)})}(e.val),e.val}function Bi(e,t){var i=t&&t.cache?t.cache:Wi,n=t&&t.serializer?t.serializer:Fi;return(t&&t.strategy?t.strategy:function(e,t){return Yi(e,this,1===e.length?Ri:$i,t.cache.create(),t.serializer)})(e,{cache:i,serializer:n})}function Ri(e,t,i,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:i(n),r=t.get(i);return void 0===r&&(r=e.call(this,n),t.set(i,r)),r}function $i(e,t,i){var n=Array.prototype.slice.call(arguments,3),i=i(n),r=t.get(i);return void 0===r&&(r=e.apply(this,n),t.set(i,r)),r}function Yi(e,t,i,n,r){return i.bind(t,e,n,r)}var Fi=function(){return JSON.stringify(arguments)};function Gi(){this.cache=Object.create(null)}Gi.prototype.get=function(e){return this.cache[e]},Gi.prototype.set=function(e,t){this.cache[e]=t};var Ui,ji,Wi={create:function(){return new Gi}},zi={variadic:function(e,t){return Yi(e,this,$i,t.cache.create(),t.serializer)},monadic:function(e,t){return Yi(e,this,Ri,t.cache.create(),t.serializer)}};(ji=Ui=Ui||{}).MISSING_VALUE="MISSING_VALUE",ji.INVALID_VALUE="INVALID_VALUE",ji.MISSING_INTL_API="MISSING_INTL_API";Wt(on,Xi=Error),on.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var _,Vi,qi,Zi,Xi,Ki=on,Ji=(Wt(rn,Zi=Ki),rn),Qi=(Wt(nn,qi=Ki),nn),en=(Wt(tn,Vi=Ki),tn);function tn(e,t){return Vi.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Ui.MISSING_VALUE,t)||this}function nn(e,t,i){return qi.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Ui.INVALID_VALUE,i)||this}function rn(e,t,i,n){return Zi.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ui.INVALID_VALUE,n)||this}function on(e,t,i){e=Xi.call(this,e)||this;return e.code=t,e.originalMessage=i,e}function an(e,t,i,n,r,o,a){if(1===e.length&&qt(e[0]))return[{type:_.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(qt(c))s.push({type:_.literal,value:c.value});else if(c.type===y.pound)"number"==typeof o&&s.push({type:_.literal,value:i.getNumberFormat(t).format(o)});else{var d=c.value;if(!(r&&d in r))throw new en(d,a);d=r[d];if(c.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?_.literal:_.object,value:d});else if(Xt(c)){var m="string"==typeof c.style?n.date[c.style]:ii(c.style)?c.style.parsedOptions:void 0;s.push({type:_.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(Kt(c))m="string"==typeof c.style?n.time[c.style]:ii(c.style)?c.style.parsedOptions:n.time.medium,s.push({type:_.literal,value:i.getDateTimeFormat(t,m).format(d)});else if(Zt(c))(m="string"==typeof c.style?n.number[c.style]:ti(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(d*=m.scale||1),s.push({type:_.literal,value:i.getNumberFormat(t,m).format(d)});else{if(ei(c)){var h=c.children,p=c.value,f=r[p];if("function"!=typeof f)throw new Qi(p,"function",a);p=f(an(h,t,i,n,r,o).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(e){return{type:"string"==typeof e?_.literal:_.object,value:e}}))}if(Jt(c)){if(!(g=c.options[d]||c.options.other))throw new Ji(c.value,d,Object.keys(c.options),a);s.push.apply(s,an(g.value,t,i,n,r))}else if(Qt(c)){if(!(g=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new Ki('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ui.MISSING_INTL_API,a);var f=i.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0)),g=c.options[f]||c.options.other}if(!g)throw new Ji(c.value,d,Object.keys(c.options),a);s.push.apply(s,an(g.value,t,i,n,r,d-(c.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===_.literal&&t.type===_.literal?i.value+=t.value:e.push(t),e},[])}function sn(i){return{create:function(){return{get:function(e){return i[e]},set:function(e,t){i[e]=t}}}}}(e=_=_||{})[e.literal=0]="literal",e[e.object=1]="object";Object.defineProperty(s,"defaultLocale",{get:function(){return s.memoizedDefaultLocale||(s.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),s.memoizedDefaultLocale},enumerable:!1,configurable:!0}),s.memoizedDefaultLocale=null,s.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},s.__parse=Hi,s.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"}}};var ln=s;function s(e,t,i,n){var r,o,a=this;if(void 0===t&&(t=s.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===_.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return an(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=s.resolveLocale(t),"string"==typeof e){if(this.message=e,!s.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=s.__parse(e,{ignoreTag:null==n?void 0:n.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=(r=s.formats,(o=i)?Object.keys(r).reduce(function(e,t){var i,n;return e[t]=(i=r[t],(n=o[t])?b(b(b({},i||{}),n||{}),Object.keys(i).reduce(function(e,t){return e[t]=b(b({},i[t]),n[t]||{}),e},{})):i),e},b({},r)):r),this.formatters=n&&n.formatters||{getNumberFormat:Bi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Vt([void 0],t,!1)))},{cache:sn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:zi.variadic}),getDateTimeFormat:Bi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Vt([void 0],t,!1)))},{cache:sn(t.dateTime),strategy:zi.variadic}),getPluralRules:Bi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Vt([void 0],t,!1)))},{cache:sn(t.pluralRules),strategy:zi.variadic})}}let un={},cn=(e,t,i)=>i&&(t in un||(un[t]={}),e in un[t]||(un[t][e]=i),i),dn=(t,i)=>{if(null!=i){if(i in un&&t in un[i])return un[i][t];var n=Dn(i);for(let e=0;e<n.length;e++){var r=((e,t)=>{if(!pn(e))return null;e=(e=>mn[e]||null)(e);var n=t;if(null!=n){if(n in e)return e[n];var r=n.split(".");let i=e;for(let t=0;t<r.length;t++)if("object"==typeof i){if(0<t){let e=r.slice(t,r.length).join(".");if(e in i){i=i[e];break}}i=i[r[t]]}else i=void 0;return i}})(n[e],t);if(r)return cn(t,i,r)}}},mn,hn=Pt({});function pn(e){return e in mn}function fn(t,...i){delete un[t],hn.update(e=>(e[t]=Ut.all([e[t]||{},...i]),e))}Ot([hn],([e])=>Object.keys(e)),hn.subscribe(e=>mn=e);let gn={};function yn(e){return gn[e]}function vn(e){return null!=e&&Dn(e).some(e=>null==(e=yn(e))?void 0:e.size)}function wn(n,e){return Promise.all(e.map(e=>{return t=n,i=e,gn[t].delete(i),0===gn[t].size&&delete gn[t],e().then(e=>e.default||e);var t,i})).then(e=>fn(n,...e))}let bn={};let Ln={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};let _n=Pt(!1);var xn=Object.defineProperty,gi=Object.defineProperties,yi=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,Mn=(e,t,i)=>t in e?xn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let kn,Sn=Pt(null);function An(e){return e.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function Dn(e,t=Ln.fallbackLocale){e=An(e);return t?[...new Set([...e,...An(t)])]:e}function In(){return null!=kn?kn:void 0}Sn.subscribe(e=>{kn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let W=gi(((e,t)=>{for(var i in t=t||{})En.call(t,i)&&Mn(e,i,t[i]);if(Tn)for(var i of Tn(t))Cn.call(t,i)&&Mn(e,i,t[i]);return e})({},Sn),yi({set:t=>{if(t&&(e=>{if(null!=e){var t=Dn(e);for(let e=0;e<t.length;e++){var i=t[e];if(pn(i))return i}}})(t)&&vn(t)){var i=Ln.loadingDelay;let e;return"undefined"!=typeof window&&null!=In()&&i?e=window.setTimeout(()=>_n.set(!0),i):_n.set(!0),function e(t){var i;return vn(t)?(i=Dn(t).map(e=>{var t=yn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),bn[t]=Promise.all(i.map(([e,t])=>wn(e,t))).then(()=>{if(vn(t))return e(t);delete bn[t]}),bn[t]):t in bn?bn[t]:Promise.resolve()}(t).then(()=>{Sn.set(t)}).finally(()=>{clearTimeout(e),_n.set(!1)})}return Sn.set(t)}}));var vi=i=>{let n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=i(e)}},Pn=Object.defineProperty,On=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,Bn=(e,t,i)=>t in e?Pn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Rn=(e,t)=>{for(var i in t=t||{})Nn.call(t,i)&&Bn(e,i,t[i]);if(On)for(var i of On(t))Hn.call(t,i)&&Bn(e,i,t[i]);return e},$n=(e,t)=>{var i={};for(n in e)Nn.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&On)for(var n of On(e))t.indexOf(n)<0&&Hn.call(e,n)&&(i[n]=e[n]);return i};let Yn=(e,t)=>{var i=Ln.formats;if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Fn=vi(e=>{var{locale:t,format:i}=e,e=$n(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(e=Yn("number",i)),new Intl.NumberFormat(t,e)}),Gn=vi(e=>{var{locale:t,format:i}=e,e=$n(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?e=Yn("date",i):0===Object.keys(e).length&&(e=Yn("date","short")),new Intl.DateTimeFormat(t,e)}),Un=vi(e=>{var{locale:t,format:i}=e,e=$n(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?e=Yn("time",i):0===Object.keys(e).length&&(e=Yn("time","short")),new Intl.DateTimeFormat(t,e)}),jn=vi((e,t=In())=>new ln(e,t,Ln.formats,{ignoreTag:Ln.ignoreTag})),Wn=Ot([W,hn],()=>(e,t={})=>{let i,n,r,o,a=t;"object"==typeof e&&(e=(a=e).id);var{values:s,locale:l=In(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=dn(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(r=null==(n=(i=Ln).handleMissingMessage)?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))?r:u)?o:e;if(!s)return c;let d=c;try{d=jn(c,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d}),zn=(Ot([W],()=>(e,t)=>((e={})=>{var{locale:t=In()}=e,e=$n(e,["locale"]);return Un(Rn({locale:t},e))})(t).format(e)),Ot([W],()=>(e,t)=>((e={})=>{var{locale:t=In()}=e,e=$n(e,["locale"]);return Gn(Rn({locale:t},e))})(t).format(e)),Ot([W],()=>(e,t)=>((e={})=>{var{locale:t=In()}=e,e=$n(e,["locale"]);return Fn(Rn({locale:t},e))})(t).format(e)),Ot([W,hn],()=>(e,t=In())=>dn(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==At.indexOf(e)&&(t=new Mt(t),Dt[e]=t,At.push(e)),Dt[e])},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");function Vn(e,t){fn(e,t)}let qn={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"}};function Zn(e,t){fn(e,t)}let Xn={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"}};function Kn(e,t){fn(e,t)}let Jn={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},de:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",defaultText:"當您設置遊戲限制時,它從您激活它的那一刻起生效,並持續到所選時間段結束。 因此,如果您將每日限制設置為 14.00,則計算的 24 小時周期是從其激活到格林威治標準時間 00:00。 然後限制每 24 小時有效。 您可以隨時降低限制並立即生效。 但是,提高或取消限制將僅在當前限製到期時適用。"},fr:{name:"Info",amountChanged:"Votre limit a été modifiée ou augmentée: {amount} {currency}. Vous devez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",defaultText:"Lorsque vous définissez une limite de jeu, elle prend effet à partir du moment ou vous l'activez et dure jusqu'à la fin de la période séléctionnée. Par conséquent, si vous fixez une limite quotidienne à 14.00, la période de 24 heures qui compte est celle allant de son activation jusqu'à 00:00 GMT.la limite est alors valable 24 jours. vous pouvez abaisser une limite à tout moment avec un effet immédiat. cependant, l'augmentation ou la suppression d'une limite ne s'appliquera que lorsque la limite actuelle expira."},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră."},es:{name:"Info",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {amount} {currency}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",defaultText:"Kada postavite ograničenje igre"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que ultrapassar a data de expiração para que o novo limite entre em vigor:",defaultText:'Quando um limite é definido,Entra em vigor a partir do momento em que é ativado e dura até o final do período selecionado. Portanto,Se você definir o limite diário às 14h00.,"O período de 24 horas é desde o momento da ativação até. O limite será então válido por 24 dias, você pode reduzir o limite a qualquer momento com efeito imediato, no entanto",aumentar ou remover um limite não será aplicado até que o limite atual expire'},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado: {amount} {currency}. Tendrá que espirar a la fecha de expiración para que el nuevo límite entre en efecto:",defaultText:'Cuando se fija un límite,entra en efecto desde el momento que se activa y dura hasta el final del periodo seleccionado. Por lo tanto,Si fija el límite diario a las 14.00,"el periodo de 24-horas es desde el momento de la activación hasta. El límite entonces sera válido por 24 días, ustede puede reducir el límite en cualquier momento con efecto inmediato, sin embargo", aumentar o remover un límite no aplicará hasta el límite actual expire'},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",defaultText:"Oyun limiti belirlediğinizde, aktif hale getirdiğiniz andan itibaren geçerli olur ve seçilen sürenin sonuna kadar sürer. Bu nedenle, eğer günlük limiti saat 14.00 olarak ayarlarsanız, 24 saatlik süre, etkinleştirildiği andan saat 00:00 GMT'ye kadardır. Limit daha sonra 24 gün boyunca geçerlidir. Dilediğiniz zaman anında etkili olacak şekilde bir limiti düşürebilirsiniz. ancak mevcut limitin süresi dolana kadar limitin arttırılması veya kaldırılması geçerli olmayacaktır."}};function Qn(i){let n,r,o,a,s,l,u,c,d,m,h,p,f,g,y=i[4]("name")+"";function v(e){return e[0]?tr:er}let w=v(i),b=w(i);return{c(){n=K("section"),r=K("div"),o=K("div"),(a=K("div")).textContent="i",s=Q(),l=K("div"),u=J(y),c=Q(),(d=K("div")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',m=Q(),h=K("div"),b.c(),te(a,"class","InfoCardPopupIcon"),te(l,"class","InfoCardPopupTitle"),te(d,"class","InfoCardPopupCloseButton"),te(o,"class","InfoCardPopupHeader"),te(h,"class","InfoCardPopupContentArea"),te(r,"class",p="InfoCardPopupWrapper "+(i[5]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),te(n,"class",i[5]?"InfoCardPopupMobileModal":"")},m(e,t){Z(e,n,t),q(n,r),q(r,o),q(o,a),q(o,s),q(o,l),q(l,u),q(o,c),q(o,d),q(r,m),q(r,h),b.m(h,null),i[12](n),f||(g=ee(d,"click",oe(i[6])),f=!0)},p(e,t){16&t&&y!==(y=e[4]("name")+"")&&ne(u,y),w===(w=v(e))&&b?b.p(e,t):(b.d(1),(b=w(e))&&(b.c(),b.m(h,null))),1&t&&p!==(p="InfoCardPopupWrapper "+(e[5]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&te(r,"class",p)},d(e){e&&X(n),b.d(),i[12](null),f=!1,g()}}}function er(e){let i,n,r=e[4]("defaultText")+"";return{c(){i=K("p"),n=J(r),te(i,"class","InfoCardPopupContent")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){16&t&&r!==(r=e[4]("defaultText")+"")&&ne(n,r)},d(e){e&&X(i)}}}function tr(e){let i,n,r=e[4]("amountChanged",{values:{amount:e[0],currency:e[1]}})+"";return{c(){i=K("p"),n=J(r),te(i,"class","InfoCardPopupContent")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){19&t&&r!==(r=e[4]("amountChanged",{values:{amount:e[0],currency:e[1]}})+"")&&ne(n,r)},d(e){e&&X(i)}}}function ir(e){let i,n=e[3]&&Qn(e);return{c(){n&&n.c(),i=w(),this.c=z},m(e,t){n&&n.m(e,t),Z(e,i,t)},p(e,[t]){e[3]?n?n.p(e,t):((n=Qn(e)).c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},i:z,o:z,d(e){n&&n.d(e),e&&X(i)}}}function nr(t,e,i){let n,{showpopup:r=""}=(re(t,Wn,e=>i(4,n=e)),e),{iteminfoamount:o=""}=e,{lang:a="en"}=e,{playercurrency:s="USD"}=e,{clientstyling:l=""}=e,{clientstylingurl:u=""}=e,{translationurl:c=""}=e;Object.keys(Jn).forEach(e=>{Kn(e,Jn[e])});let d,m=!1,h=window.navigator.userAgent,p="PC"!==zn(h),f=e=>{e.data&&"ClosePlayerAccountGamingLimitsPopup"==e.data.type&&i(3,m=!1)};return se(()=>(window.addEventListener("message",f,!1),()=>{window.removeEventListener("message",f)})),t.$$set=e=>{"showpopup"in e&&i(7,r=e.showpopup),"iteminfoamount"in e&&i(0,o=e.iteminfoamount),"lang"in e&&i(8,a=e.lang),"playercurrency"in e&&i(1,s=e.playercurrency),"clientstyling"in e&&i(9,l=e.clientstyling),"clientstylingurl"in e&&i(10,u=e.clientstylingurl),"translationurl"in e&&i(11,c=e.translationurl)},t.$$.update=()=>{if(384&t.$$.dirty&&r&&a&&(e=a,W.set(e),o<0&&i(0,o="0"),i(3,m=r)),1028&t.$$.dirty&&u&&d){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{d.appendChild(t)},1)})}var e;516&t.$$.dirty&&l&&d&&((e=document.createElement("style")).innerHTML=l,d.appendChild(e)),2048&t.$$.dirty&&c&&fetch(c).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Kn(e,t[e])})}).catch(e=>{console.log(e)})},[o,s,d,m,n,p,()=>{i(3,m=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,a,l,u,c,function(e){j[e?"unshift":"push"](()=>{d=e,i(2,d)})}]}function rr(e,t){fn(e,t)}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends Le{constructor(e){super();var t=document.createElement("style");t.textContent='.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emfe-w-color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:102}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emfe-w-color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));fill:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839))}',this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},nr,ir,T,{showpopup:7,iteminfoamount:0,lang:8,playercurrency:1,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency","clientstyling","clientstylingurl","translationurl"]}get showpopup(){return this.$$.ctx[7]}set showpopup(e){this.$$set({showpopup:e}),m()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(e){this.$$set({iteminfoamount:e}),m()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(e){this.$$set({playercurrency:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}});let or={en:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on",invalidInputMessageLimit:"The amount needs to be between 1 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect.",daily:"Daily",weekly:"Weekly",monthly:"Monthly",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{back:"返回游戲限制",limit:"限制",amount:"數量",noLimit:"沒有限制t",changeLimitsText:"您確定要更改 {limit} 嗎?",success:"您的遊戲限制已成功設置。",remove:"您已請求取消此限制。 這將應用於",invalidInputMessageLimit:"金額需要在 0 到 99,999,999 之間",invalidInputMessageTime:"時間量需要大於 {minTime} 且低於 {maxTime} 分鐘",expirationDate:"截止日期:",save:"節省",changedLimitTextBefore:"您的限額已更改或增加:",changedLimitTextAfter:"您必須等待到期日期才能使新限制生效",daily:"日常的",weekly:"每周",monthly:"月刊",depositLimit:"存款限额",timeLimit:"时限",wageringLimit:"投注限额",lossLimit:"损失限额"},fr:{back:"Retour aux limites de jeu",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",limit:"Limite",amount:"Montant",noLimit:"Aucune limite",changeLimitsText:"Etes-vous sûr de vouloir changer les {limit}s??",success:"Vos limites de jeu ont été respectées.",remove:"Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée",invalidInputMessageLimit:"Le montant doit être compris entre 1 et 99,999,999.",invalidInputMessageTime:"La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",expirationDate:"Date d'expiration:",save:"Sauvez",changedLimitTextBefore:"Votre limit a été modifiée ou augmentée:",changedLimitTextAfter:"Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 1 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere"},es:{back:"Regresa a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin Límite",changeLimitsText:"Esta seguro que desea cambiar los {limit}es?",success:"Limite actualizado satisfactoriamente",remove:"Ha solicitado retirar este limite. Esto será aplicado",invalidInputMessageLimit:"El monto debe ser entre 1 y 99",invalidInputMessageTime:"La cantidad de tiempo debe ser superior a {minTime} y por debajo de {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú limite ha sido cambiado o incrementado:",changedLimitTextAfter:"Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{back:"Voltar para Limites de jogos",limit:"Limite",amount:"Montante",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar os {limite}s?",success:"Seus limites de jogo foram definidos com sucesso.",remove:"Você solicitou a remoção deste limite. Isso será aplicado em",invalidInputMessageLimit:"O valor precisa estar entre 1 e 99.999.999",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",expirationDate:"Data de Validade",save:"Guardar",changedLimitTextBefore:"Seu limite foi alterado ou aumentado:",changedLimitTextAfter:"Você terá que aguardar a data de expiração para que seu novo limite entre em vigor",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda"},hr:{back:"Povratak na ograničenja igranja",limit:"Limit",amount:"Iznos",noLimit:"Nema ograničenja",changeLimitsText:"Jeste li sigurni da želite promijeniti {limit}e?",success:"Uspješno",remove:"Zatražili ste uklanjanje ovog ograničenja. Ovo će se primijeniti na",invalidInputMessageLimit:"Iznos mora biti između 1 i 99",invalidInputMessageTime:"Vremenski iznos mora biti veći od {minTime} i manji od {maxTime} minuta.",expirationDate:"Datum isteka:",save:"Spremi",changedLimitTextBefore:"Vaše ograničenje je promijenjeno ili povećano:",changedLimitTextAfter:"Morat ćete pričekati datum isteka da bi vaše novo ograničenje stupilo na snagu.",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{back:"Retornar aos limites do jogo",limit:"Limite",amount:"Quantidade",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar o(s) limite(s)?",success:"A operação bem-sucedida lorem Ipsum é simplesmente um texto fictício da indústria de impressão e composição tipográfica.",remove:"Você solicitou a remoção deste limite. Isto será aplicado a partir de",invalidInputMessageLimit:"A Quantia deve estar entre 1 e 99",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {minTime} e menor que {maxTime} minutos.",expirationDate:"Data de expiração:",save:"Manter",changedLimitTextBefore:"Seu limite de tempo foi alterado ou aumentado:",changedLimitTextAfter:"Você deve aguardar a data de expiração para que seu novo limite entre em vigor.",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{back:"Regresar a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin límite",changeLimitsText:"¿Está seguro que quiere cambiar el/los límite(s)?",success:"Operación exitosa lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"Ha solicitado remover este límite. Esto se aplicará a partir de",invalidInputMessageLimit:"El monto debe ser entre 1 y 99,999,999",invalidInputMessageTime:"El monto de tiempo necesita ser mayor a {minTime} y menor a {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú límite de tiempo ha sido cambiado o aumentado:",changedLimitTextAfter:"Tiene que esperar a la fecha de expiración para que su nuevo límite entre en efecto.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdida"},tr:{back:"Oyun Sınırlarına Geri Dön",limit:"Sınır",amount:"Miktar",noLimit:"Limit yok",changeLimitsText:"{limit}'leri değiştirmek istediğinizden emin misiniz?",success:"Başarı lorem Ipsum, basım ve dizgi endüstrisinin sahte metnidir.",remove:"Bu sınırın kaldırılmasını talep ettiniz. Bu şu tarihte uygulanacaktır:",invalidInputMessageLimit:"Tutarın 1 ile 99.999.999 arasında olması gerekir.",invalidInputMessageTime:"Süre miktarının {minTime} değerinden büyük ve {maxTime} dakikanın altında olması gerekir.",expirationDate:"Son kullanma tarihi:",save:"Kaydetmek",changedLimitTextBefore:"Limitiniz değiştirildi veya artırıldı:",changedLimitTextAfter:"Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir.",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"}};sr=ar={path:void 0,exports:{},require:function(e,t){return Si(null==t&&ar.path)}},ar.exports,sr.exports=(()=>{var H;function p(){return H.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function B(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function $(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function Y(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function F(e,t){for(var i=[],n=e.length,r=0;r<n;++r)i.push(t(e[r],r));return i}function G(e,t){for(var i in t)f(t,i)&&(e[i]=t[i]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,i,n){return It(e,t,i,n,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){var t,i,n=e._d&&!isNaN(e._d.getTime());return n&&(t=g(e),i=W.call(t.parsedDateParts,function(e){return null!=e}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||(t.meridiem,i)),e._strict)&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?n:(e._isValid=n,e._isValid)}function j(e){var t=u(NaN);return null!=e?G(g(t),e):g(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),i=t.length>>>0,n=0;n<i;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1},z=p.momentProperties=[],V=!1;function q(e,t){var i,n,r,o=z.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=g(t)),s(t._locale)||(e._locale=t._locale),0<o)for(i=0;i<o;i++)s(r=t[n=z[i]])||(e[n]=r);return e}function Z(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,p.updateOffset(this),V=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function X(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,a){var s=!0;return G(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,o),s){for(var e,t,i=[],n=arguments.length,r=0;r<n;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];i.push(e)}X(o+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),s=!1}return a.apply(this,arguments)},a)}var K={};function J(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),K[e]||(X(t),K[e]=!0)}function c(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var i,n=G({},e);for(i in t)f(t,i)&&(B(e[i])&&B(t[i])?(n[i]={},G(n[i],e[i]),G(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)f(e,i)&&!f(t,i)&&B(e[i])&&(n[i]=G({},n[i]));return n}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,i=[];for(t in e)f(e,t)&&i.push(t);return i};function o(e,t,i){var n=""+Math.abs(e);return(0<=e?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var ie=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},oe={};function n(e,t,i,n){var r="string"==typeof n?function(){return this[n]()}:n;e&&(oe[e]=r),t&&(oe[t[0]]=function(){return o(r.apply(this,arguments),t[1],t[2])}),i&&(oe[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||(n=>{for(var e,r=n.match(ie),t=0,o=r.length;t<o;t++)oe[r[t]]?r[t]=oe[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",i=0;i<o;i++)t+=c(r[i])?r[i].call(e,n):r[i];return t}})(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(ne.lastIndex=0;0<=i&&ne.test(e);)e=e.replace(ne,n),ne.lastIndex=0,--i;return e}var le={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ue(e){var t,i,n={};for(i in e)f(e,i)&&(t=d(i))&&(n[t]=e[i]);return n}var ce={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},de=/\d/,t=/\d\d/,me=/\d{3}/,he=/\d{4}/,pe=/[+-]?\d{6}/,i=/\d\d?/,fe=/\d\d\d\d?/,ge=/\d\d\d\d\d\d?/,ye=/\d{1,3}/,ve=/\d{1,4}/,we=/[+-]?\d{1,6}/,be=/\d+/,Le=/[+-]?\d+/,_e=/Z|[+-]\d\d:?\d\d/gi,xe=/Z|[+-]\d\d(?::?\d\d)?/gi,r=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,m=/^[1-9]\d?/,h=/^([1-9]\d|\d)/;function y(e,i,n){Ee[e]=c(i)?i:function(e,t){return e&&n?n:i}}function Te(e,t){return f(Ee,e)?Ee[e](t._strict,t._locale):new RegExp(v(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,r){return t||i||n||r})))}function v(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?w(e):t}var Ee={},Ce={};function L(e,i){var t,n,r=i;for("string"==typeof e&&(e=[e]),$(i)&&(r=function(e,t){t[i]=b(e)}),n=e.length,t=0;t<n;t++)Ce[e[t]]=r}function Me(e,r){L(e,function(e,t,i,n){i._w=i._w||{},r(e,i._w,i,n)})}function ke(e){return e%4==0&&e%100!=0||e%400==0}var _=0,x=1,T=2,E=3,C=4,M=5,Se=6,Ae=7,De=8;function Ie(e){return ke(e)?366:365}n("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),n(0,["YY",2],0,function(){return this.year()%100}),n(0,["YYYY",4],0,"year"),n(0,["YYYYY",5],0,"year"),n(0,["YYYYYY",6,!0],0,"year"),y("Y",Le),y("YY",i,t),y("YYYY",ve,he),y("YYYYY",we,pe),y("YYYYYY",we,pe),L(["YYYYY","YYYYYY"],_),L("YYYY",function(e,t){t[_]=2===e.length?p.parseTwoDigitYear(e):b(e)}),L("YY",function(e,t){t[_]=p.parseTwoDigitYear(e)}),L("Y",function(e,t){t[_]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return b(e)+(68<b(e)?1900:2e3)};var k,Pe=Oe("FullYear",!0);function Oe(t,i){return function(e){return null!=e?(He(this,t,e),p.updateOffset(this,i),this):Ne(this,t)}}function Ne(e,t){if(!e.isValid())return NaN;var i=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return n?i.getUTCSeconds():i.getSeconds();case"Minutes":return n?i.getUTCMinutes():i.getMinutes();case"Hours":return n?i.getUTCHours():i.getHours();case"Date":return n?i.getUTCDate():i.getDate();case"Day":return n?i.getUTCDay():i.getDay();case"Month":return n?i.getUTCMonth():i.getMonth();case"FullYear":return n?i.getUTCFullYear():i.getFullYear();default:return NaN}}function He(e,t,i){var n,r,o;if(e.isValid()&&!isNaN(i)){switch(n=e._d,r=e._isUTC,t){case"Milliseconds":return r?n.setUTCMilliseconds(i):n.setMilliseconds(i);case"Seconds":return r?n.setUTCSeconds(i):n.setSeconds(i);case"Minutes":return r?n.setUTCMinutes(i):n.setMinutes(i);case"Hours":return r?n.setUTCHours(i):n.setHours(i);case"Date":return r?n.setUTCDate(i):n.setDate(i);case"FullYear":break;default:return}t=i,o=e.month(),e=29!==(e=e.date())||1!==o||ke(t)?e:28,r?n.setUTCFullYear(t,o,e):n.setFullYear(t,o,e)}}function Be(e,t){var i;return isNaN(e)||isNaN(t)?NaN:(i=(t%(i=12)+i)%i,e+=(t-i)/12,1==i?ke(e)?29:28:31-i%7%2)}k=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},n("M",["MM",2],"Mo",function(){return this.month()+1}),n("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),n("MMMM",0,0,function(e){return this.localeData().months(this,e)}),y("M",i,m),y("MM",i,t),y("MMM",function(e,t){return t.monthsShortRegex(e)}),y("MMMM",function(e,t){return t.monthsRegex(e)}),L(["M","MM"],function(e,t){t[x]=b(e)-1}),L(["MMM","MMMM"],function(e,t,i,n){n=i._locale.monthsParse(e,n,i._strict);null!=n?t[x]=n:g(i).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),$e="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ye=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe=r,Ge=r;function Ue(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=b(t);else if(!$(t=e.localeData().monthsParse(t)))return;var i=(i=e.date())<29?i:Math.min(i,Be(e.year(),t));e._isUTC?e._d.setUTCMonth(t,i):e._d.setMonth(t,i)}}function je(e){return null!=e?(Ue(this,e),p.updateOffset(this,!0),this):Ne(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,i,n=[],r=[],o=[],a=0;a<12;a++)i=u([2e3,a]),t=v(this.monthsShort(i,"")),i=v(this.months(i,"")),n.push(t),r.push(i),o.push(i),o.push(t);n.sort(e),r.sort(e),o.sort(e),this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function ze(e,t,i,n,r,o,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,i,n,r,o,a),s}function Ve(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function qe(e,t,i){i=7+t-i;return-(7+Ve(e,0,i).getUTCDay()-t)%7+i-1}function Ze(e,t,i,n,r){var o,t=1+7*(t-1)+(7+i-n)%7+qe(e,n,r),i=t<=0?Ie(o=e-1)+t:t>Ie(e)?(o=e+1,t-Ie(e)):(o=e,t);return{year:o,dayOfYear:i}}function Xe(e,t,i){var n,r,o=qe(e.year(),t,i),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?n=o+S(r=e.year()-1,t,i):o>S(e.year(),t,i)?(n=o-S(e.year(),t,i),r=e.year()+1):(r=e.year(),n=o),{week:n,year:r}}function S(e,t,i){var n=qe(e,t,i),t=qe(e+1,t,i);return(Ie(e)-n+t)/7}function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}n("w",["ww",2],"wo","week"),n("W",["WW",2],"Wo","isoWeek"),y("w",i,m),y("ww",i,t),y("W",i,m),y("WW",i,t),Me(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=b(e)}),n("d",0,"do","day"),n("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),n("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),n("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),n("e",0,0,"weekday"),n("E",0,0,"isoWeekday"),y("d",i),y("e",i),y("E",i),y("dd",function(e,t){return t.weekdaysMinRegex(e)}),y("ddd",function(e,t){return t.weekdaysShortRegex(e)}),y("dddd",function(e,t){return t.weekdaysRegex(e)}),Me(["dd","ddd","dddd"],function(e,t,i,n){n=i._locale.weekdaysParse(e,n,i._strict);null!=n?t.d=n:g(i).invalidWeekday=e}),Me(["d","e","E"],function(e,t,i,n){t[n]=b(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tt=r,it=r,nt=r;function rt(){function e(e,t){return t.length-e.length}for(var t,i,n,r=[],o=[],a=[],s=[],l=0;l<7;l++)n=u([2e3,1]).day(l),t=v(this.weekdaysMin(n,"")),i=v(this.weekdaysShort(n,"")),n=v(this.weekdays(n,"")),r.push(t),o.push(i),a.push(n),s.push(t),s.push(i),s.push(n);r.sort(e),o.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ot(){return this.hours()%12||12}function at(e,t){n(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}n("H",["HH",2],0,"hour"),n("h",["hh",2],0,ot),n("k",["kk",2],0,function(){return this.hours()||24}),n("hmm",0,0,function(){return""+ot.apply(this)+o(this.minutes(),2)}),n("hmmss",0,0,function(){return""+ot.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),n("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),n("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),at("a",!0),at("A",!1),y("a",st),y("A",st),y("H",i,h),y("h",i,m),y("k",i,m),y("HH",i,t),y("hh",i,t),y("kk",i,t),y("hmm",fe),y("hmmss",ge),y("Hmm",fe),y("Hmmss",ge),L(["H","HH"],E),L(["k","kk"],function(e,t,i){e=b(e);t[E]=24===e?0:e}),L(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),L(["h","hh"],function(e,t,i){t[E]=b(e),g(i).bigHour=!0}),L("hmm",function(e,t,i){var n=e.length-2;t[E]=b(e.substr(0,n)),t[C]=b(e.substr(n)),g(i).bigHour=!0}),L("hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[E]=b(e.substr(0,n)),t[C]=b(e.substr(n,2)),t[M]=b(e.substr(r)),g(i).bigHour=!0}),L("Hmm",function(e,t,i){var n=e.length-2;t[E]=b(e.substr(0,n)),t[C]=b(e.substr(n))}),L("Hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[E]=b(e.substr(0,n)),t[C]=b(e.substr(n,2)),t[M]=b(e.substr(r))}),r=Oe("Hours",!0);var lt,ut={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:$e,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:et,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},A={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function mt(e){for(var t,i,n,r,o=0;o<e.length;){for(t=(r=dt(e[o]).split("-")).length,i=(i=dt(e[o+1]))?i.split("-"):null;0<t;){if(n=ht(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&((e,t)=>{for(var i=Math.min(e.length,t.length),n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i})(r,i)>=t-1)break;t--}o++}return lt}function ht(t){var e,i;if(void 0===A[t]&&sr&&sr.exports&&(i=t)&&i.match("^[^/\\\\]*$"))try{e=lt._abbr,Si(),pt(e)}catch(e){A[t]=null}return A[t]}function pt(e,t){return e&&((t=s(t)?D(e):ft(e,t))?lt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function ft(e,t){if(null===t)return delete A[e],null;var i,n=ut;if(t.abbr=e,null!=A[e])J("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=A[e]._config;else if(null!=t.parentLocale)if(null!=A[t.parentLocale])n=A[t.parentLocale]._config;else{if(null==(i=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;n=i._config}return A[e]=new ee(Q(n,t)),ct[e]&&ct[e].forEach(function(e){ft(e.name,e.config)}),pt(e),A[e]}function D(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return lt;if(!a(e)){if(t=ht(e))return t;e=[e]}return mt(e)}function gt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[x]<0||11<t[x]?x:t[T]<1||t[T]>Be(t[_],t[x])?T:t[E]<0||24<t[E]||24===t[E]&&(0!==t[C]||0!==t[M]||0!==t[Se])?E:t[C]<0||59<t[C]?C:t[M]<0||59<t[M]?M:t[Se]<0||999<t[Se]?Se:-1,g(e)._overflowDayOfYear&&(t<_||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=Ae),g(e)._overflowWeekday&&-1===t&&(t=De),g(e).overflow=t),e}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Lt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((-?\d+)/i,xt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Tt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,i,n,r,o,a,s=e._i,l=yt.exec(s)||vt.exec(s),s=bt.length,u=Lt.length;if(l){for(g(e).iso=!0,t=0,i=s;t<i;t++)if(bt[t][1].exec(l[1])){r=bt[t][0],n=!1!==bt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,i=u;t<i;t++)if(Lt[t][1].exec(l[3])){o=(l[2]||" ")+Lt[t][0];break}if(null==o)return e._isValid=!1}if(!n&&null!=o)return e._isValid=!1;if(l[4]){if(!wt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=r+(o||"")+(a||""),At(e)}else e._isValid=!1}function Ct(e,t,i,n,r,o){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),$e.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return o&&e.push(parseInt(o,10)),e}function Mt(e){var t,i,n,r,o=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Ct(o[4],o[3],o[2],o[5],o[6],o[7]),i=o[1],n=t,r=e,i&&Qe.indexOf(i)!==new Date(n[0],n[1],n[2]).getDay()?(g(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(i=o[8],n=o[9],r=o[10],i?Tt[i]:n?0:((i=parseInt(r,10))-(n=i%100))/100*60+n),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,i){return null!=e?e:null!=t?t:i}function St(e){var t,i,n,r,o,a,s,l,u,c,d,m=[];if(!e._d){for(c=e,d=new Date(p.now()),i=c._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[x]&&(null!=(d=(c=e)._w).GG||null!=d.W||null!=d.E?(a=1,s=4,n=kt(d.GG,c._a[_],Xe(I(),1,4).year),r=kt(d.W,1),((o=kt(d.E,1))<1||7<o)&&(l=!0)):(a=c._locale._week.dow,s=c._locale._week.doy,u=Xe(I(),a,s),n=kt(d.gg,c._a[_],u.year),r=kt(d.w,u.week),null!=d.d?((o=d.d)<0||6<o)&&(l=!0):null!=d.e?(o=d.e+a,(d.e<0||6<d.e)&&(l=!0)):o=a),r<1||r>S(n,a,s)?g(c)._overflowWeeks=!0:null!=l?g(c)._overflowWeekday=!0:(u=Ze(n,r,o,a,s),c._a[_]=u.year,c._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[_],i[_]),(e._dayOfYear>Ie(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(d,0,e._dayOfYear),e._a[x]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=i[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[E]&&0===e._a[C]&&0===e._a[M]&&0===e._a[Se]&&(e._nextDay=!0,e._a[E]=0),e._d=(e._useUTC?Ve:ze).apply(null,m),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[E]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(g(e).weekdayMismatch=!0)}}function At(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],g(e).empty=!0;for(var t,i,n,r=""+e._i,o=r.length,a=0,s=(i=se(e._f,e._locale).match(ie)||[]).length,l=0;l<s;l++)n=i[l],(t=(r.match(Te(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&g(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),a+=t.length),oe[n]?(t?g(e).empty=!1:g(e).unusedTokens.push(n),d=n,h=e,null!=(m=t)&&f(Ce,d)&&Ce[d](m,h._a,h,d)):e._strict&&!t&&g(e).unusedTokens.push(n);g(e).charsLeftOver=o-a,0<r.length&&g(e).unusedInput.push(r),e._a[E]<=12&&!0===g(e).bigHour&&0<e._a[E]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[E]=(o=e._locale,u=e._a[E],null==(c=e._meridiem)?u:null!=o.meridiemHour?o.meridiemHour(u,c):null!=o.isPM?((o=o.isPM(c))&&u<12&&(u+=12),u=o||12!==u?u:0):u),null!==(c=g(e).era)&&(e._a[_]=e._locale.erasConvertYear(c,e._a[_])),St(e),gt(e)}else Mt(e);else Et(e);var u,c,d,m,h}function Dt(e){var t,i=e._i,n=e._f;{var r,o;return(e._locale=e._locale||D(e._l),null===i||void 0===n&&""===i)?j({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),l(i)?new Z(gt(i)):(Y(i)?e._d=i:a(n)?(e=>{var t,i,n,r,o,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)o=0,a=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],At(t),U(t)&&(a=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,s?o<n&&(n=o,i=t):(null==n||o<n||a)&&(n=o,i=t,a)&&(s=!0);G(e,i||t)})(e):n?At(e):s(n=(i=e)._i)?i._d=new Date(p.now()):Y(n)?i._d=new Date(n.valueOf()):"string"==typeof n?(r=i,null===(o=_t.exec(r._i))?(Et(r),!1===r._isValid&&(delete r._isValid,Mt(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:p.createFromInputFallback(r))):r._d=new Date(+o[1])):a(n)?(i._a=F(n.slice(0),function(e){return parseInt(e,10)}),St(i)):B(n)?(r=i)._d||(t=void 0===(o=ue(r._i)).day?o.date:o.day,r._a=F([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),St(r)):$(n)?i._d=new Date(n):p.createFromInputFallback(i),U(e)||(e._d=null),e))}}function It(e,t,i,n,r){var o={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(B(e)&&R(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=i,o._i=e,o._f=t,o._strict=n,(r=new Z(gt(Dt(r=o))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function I(e,t,i,n){return It(e,t,i,n,!1)}function Pt(e,t){var i,n;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return I();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}p.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){},fe=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ge=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var e=ue(e),t=e.year||0,i=e.quarter||0,n=e.month||0,r=e.week||e.isoWeek||0,o=e.day||0,a=e.hour||0,s=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=(e=>{var t,i,n=!1,r=Ot.length;for(t in e)if(f(e,t)&&(-1===k.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<r;++i)if(e[Ot[i]]){if(n)return!1;parseFloat(e[Ot[i]])!==b(e[Ot[i]])&&(n=!0)}return!0})(e),this._milliseconds=+u+1e3*l+6e4*s+1e3*a*60*60,this._days=+o+7*r,this._months=+n+3*i+12*t,this._data={},this._locale=D(),this._bubble()}function Ht(e){return e instanceof Nt}function Bt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Rt(e,i){n(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+i+o(~~e%60,2)})}Rt("Z",":"),Rt("ZZ",""),y("Z",xe),y("ZZ",xe),L(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Yt(xe,e)});var $t=/([\+\-]|\d\d)/gi;function Yt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+b(e[2]))?0:"+"===e[0]?t:-t}function Ft(e,t){var i;return t._isUTC?(t=t.clone(),i=(l(e)||Y(e)?e:I(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),p.updateOffset(t,!1),t):I(e).local()}function Gt(e){return-Math.round(e._d.getTimezoneOffset())}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var i,n,r=e;return Ht(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:$(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=jt.exec(e))?(i="-"===t[1]?-1:1,r={y:0,d:b(t[T])*i,h:b(t[E])*i,m:b(t[C])*i,s:b(t[M])*i,ms:b(Bt(1e3*t[Se]))*i}):(t=Wt.exec(e))?(i="-"===t[1]?-1:1,r={y:zt(t[2],i),M:zt(t[3],i),w:zt(t[4],i),d:zt(t[5],i),h:zt(t[6],i),m:zt(t[7],i),s:zt(t[8],i)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=I(r.from),i=I(r.to),t=t.isValid()&&i.isValid()?(i=Ft(i,t),t.isBefore(i)?n=Vt(t,i):((n=Vt(i,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(r={}).ms=t.milliseconds,r.M=t.months),n=new Nt(r),Ht(e)&&f(e,"_locale")&&(n._locale=e._locale),Ht(e)&&f(e,"_isValid")&&(n._isValid=e._isValid),n}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function qt(n,r){return function(e,t){var i;return null===t||isNaN(+t)||(J(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=t,t=i),Zt(this,P(e,t),n),this}}function Zt(e,t,i,n){var r=t._milliseconds,o=Bt(t._days),t=Bt(t._months);e.isValid()&&(n=null==n||n,t&&Ue(e,Ne(e,"Month")+t*i),o&&He(e,"Date",Ne(e,"Date")+o*i),r&&e._d.setTime(e._d.valueOf()+r*i),n)&&p.updateOffset(e,o||t)}function Xt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||Y(e)||Xt(e)||$(e)||(i=a(t=e),n=!1,i&&(n=0===t.filter(function(e){return!$(e)&&Xt(t)}).length),i&&n)||(e=>{var t,i,n=B(e)&&!R(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)i=o[t],r=r||f(e,i);return n&&r})(e)||null==e;var t,i,n}function Jt(e,t){var i,n;return e.date()<t.date()?-Jt(t,e):-((i=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(n=e.clone().add(i,"months"))<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(1+i,"months")-n)))||0}function Qt(e){return void 0===e?this._locale._abbr:(null!=(e=D(e))&&(this._locale=e),this)}function ei(){return this._locale}P.fn=Nt.prototype,P.invalid=function(){return P(NaN)},Re=qt(1,"add"),Je=qt(-1,"subtract"),p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",et=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});var ti=126227808e5;function ii(e,t){return(e%t+t)%t}function ni(e,t,i){return e<100&&0<=e?new Date(e+400,t,i)-ti:new Date(e,t,i).valueOf()}function ri(e,t,i){return e<100&&0<=e?Date.UTC(e+400,t,i)-ti:Date.UTC(e,t,i)}function oi(e,t){return t.erasAbbrRegex(e)}function ai(){for(var e,t,i,n=[],r=[],o=[],a=[],s=this.eras(),l=0,u=s.length;l<u;++l)e=v(s[l].name),t=v(s[l].abbr),i=v(s[l].narrow),r.push(e),n.push(t),o.push(i),a.push(e),a.push(t),a.push(i);this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function si(e,t){n(0,[e,e.length],0,t)}function li(e,t,i,n,r){var o;return null==e?Xe(this,n,r).year:(t>(o=S(e,n,r))&&(t=o),function(e,t,i,n,r){e=Ze(e,t,i,n,r),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,i,n,r))}n("N",0,0,"eraAbbr"),n("NN",0,0,"eraAbbr"),n("NNN",0,0,"eraAbbr"),n("NNNN",0,0,"eraName"),n("NNNNN",0,0,"eraNarrow"),n("y",["y",1],"yo","eraYear"),n("y",["yy",2],0,"eraYear"),n("y",["yyy",3],0,"eraYear"),n("y",["yyyy",4],0,"eraYear"),y("N",oi),y("NN",oi),y("NNN",oi),y("NNNN",function(e,t){return t.erasNameRegex(e)}),y("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),L(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){n=i._locale.erasParse(e,n,i._strict);n?g(i).era=n:g(i).invalidEra=e}),y("y",be),y("yy",be),y("yyy",be),y("yyyy",be),y("yo",function(e,t){return t._eraYearOrdinalRegex||be}),L(["y","yy","yyy","yyyy"],_),L(["yo"],function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[_]=i._locale.eraYearOrdinalParse(e,r):t[_]=parseInt(e,10)}),n(0,["gg",2],0,function(){return this.weekYear()%100}),n(0,["GG",2],0,function(){return this.isoWeekYear()%100}),si("gggg","weekYear"),si("ggggg","weekYear"),si("GGGG","isoWeekYear"),si("GGGGG","isoWeekYear"),y("G",Le),y("g",Le),y("GG",i,t),y("gg",i,t),y("GGGG",ve,he),y("gggg",ve,he),y("GGGGG",we,pe),y("ggggg",we,pe),Me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=b(e)}),Me(["gg","GG"],function(e,t,i,n){t[n]=p.parseTwoDigitYear(e)}),n("Q",0,"Qo","quarter"),y("Q",de),L("Q",function(e,t){t[x]=3*(b(e)-1)}),n("D",["DD",2],"Do","date"),y("D",i,m),y("DD",i,t),y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),L(["D","DD"],T),L("Do",function(e,t){t[T]=b(e.match(i)[0])}),ve=Oe("Date",!0),n("DDD",["DDDD",3],"DDDo","dayOfYear"),y("DDD",ye),y("DDDD",me),L(["DDD","DDDD"],function(e,t,i){i._dayOfYear=b(e)}),n("m",["mm",2],0,"minute"),y("m",i,h),y("mm",i,t),L(["m","mm"],C),he=Oe("Minutes",!1),n("s",["ss",2],0,"second"),y("s",i,h),y("ss",i,t),L(["s","ss"],M);var ui,we=Oe("Seconds",!1);for(n("S",0,0,function(){return~~(this.millisecond()/100)}),n(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),n(0,["SSS",3],0,"millisecond"),n(0,["SSSS",4],0,function(){return 10*this.millisecond()}),n(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),n(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),n(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),n(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),n(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),y("S",ye,de),y("SS",ye,t),y("SSS",ye,me),ui="SSSS";ui.length<=9;ui+="S")y(ui,be);function ci(e,t){t[Se]=b(1e3*("0."+e))}for(ui="S";ui.length<=9;ui+="S")L(ui,ci);function di(e){return e}function mi(e,t,i,n){var r=D(),n=u().set(n,t);return r[i](n,e)}function hi(e,t,i){if($(e)&&(t=e,e=void 0),e=e||"",null!=t)return mi(e,t,i,"month");for(var n=[],r=0;r<12;r++)n[r]=mi(e,r,i,"month");return n}function pi(e,t,i,n){t=("boolean"==typeof e||(i=t=e,e=!1),$(t)&&(i=t,t=void 0),t||"");var r,o=D(),a=e?o._week.dow:0,s=[];if(null!=i)return mi(t,(i+a)%7,n,"day");for(r=0;r<7;r++)s[r]=mi(t,(r+a)%7,n,"day");return s}pe=Oe("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName"),(m=Z.prototype).add=Re,m.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):(e=>{for(var t=B(e)&&!R(e),i=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<n.length;r+=1)i=i||f(e,n[r]);return t&&i})(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||I(),i=Ft(e,this).startOf("day"),i=p.calendarFormat(this,i)||"sameElse",t=t&&(c(t[i])?t[i].call(this,e):t[i]);return this.format(t||this.localeData().calendar(i,this,I(e)))},m.clone=function(){return new Z(this)},m.diff=function(e,t,i){var n,r,o;if(!this.isValid())return NaN;if(!(n=Ft(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=d(t)){case"year":o=Jt(this,n)/12;break;case"month":o=Jt(this,n);break;case"quarter":o=Jt(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-r)/864e5;break;case"week":o=(this-n-r)/6048e5;break;default:o=this-n}return i?o:w(o)},m.endOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ri:ni,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-ii(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ii(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ii(t,1e3)-1}this._d.setTime(t),p.updateOffset(this,!0)}return this},m.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},m.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},m.fromNow=function(e){return this.from(I(),e)},m.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},m.toNow=function(e){return this.to(I(),e)},m.get=function(e){return c(this[e=d(e)])?this[e]():this},m.invalidAt=function(){return g(this).overflow},m.isAfter=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},m.isBefore=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},m.isBetween=function(e,t,i,n){return e=l(e)?e:I(e),t=l(t)?t:I(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(n=n||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&(")"===n[1]?this.isBefore(t,i):!this.isAfter(t,i))},m.isSame=function(e,t){var e=l(e)?e:I(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},m.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},m.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},m.isValid=function(){return U(this)},m.lang=et,m.locale=Qt,m.localeData=ei,m.max=ge,m.min=fe,m.parsingFlags=function(){return G({},g(this))},m.set=function(e,t){if("object"==typeof e)for(var i=(e=>{var t,i=[];for(t in e)f(e,t)&&i.push({unit:t,priority:ce[t]});return i.sort(function(e,t){return e.priority-t.priority}),i})(e=ue(e)),n=i.length,r=0;r<n;r++)this[i[r].unit](e[i[r].unit]);else if(c(this[e=d(e)]))return this[e](t);return this},m.startOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ri:ni,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ii(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ii(t,6e4);break;case"second":t=this._d.valueOf(),t-=ii(t,1e3)}this._d.setTime(t),p.updateOffset(this,!0)}return this},m.subtract=Je,m.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},m.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},m.toDate=function(){return new Date(this.valueOf())},m.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):c(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ae(t,"Z")):ae(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},m.inspect=function(){var e,t,i;return this.isValid()?(t="moment",i="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(i+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(m[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},m.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},m.eraName=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].name;if(t[i].until<=e&&e<=t[i].since)return t[i].name}return""},m.eraNarrow=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].narrow;if(t[i].until<=e&&e<=t[i].since)return t[i].narrow}return""},m.eraAbbr=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].abbr;if(t[i].until<=e&&e<=t[i].since)return t[i].abbr}return""},m.eraYear=function(){for(var e,t,i=this.localeData().eras(),n=0,r=i.length;n<r;++n)if(e=i[n].since<=i[n].until?1:-1,t=this.clone().startOf("day").valueOf(),i[n].since<=t&&t<=i[n].until||i[n].until<=t&&t<=i[n].since)return(this.year()-p(i[n].since).year())*e+i[n].offset;return this.year()},m.year=Pe,m.isLeapYear=function(){return ke(this.year())},m.weekYear=function(e){return li.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},m.isoWeekYear=function(e){return li.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},m.quarter=m.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},m.month=je,m.daysInMonth=function(){return Be(this.year(),this.month())},m.week=m.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},m.isoWeek=m.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},m.weeksInYear=function(){var e=this.localeData()._week;return S(this.year(),e.dow,e.doy)},m.weeksInWeekYear=function(){var e=this.localeData()._week;return S(this.weekYear(),e.dow,e.doy)},m.isoWeeksInYear=function(){return S(this.year(),1,4)},m.isoWeeksInISOWeekYear=function(){return S(this.isoWeekYear(),1,4)},m.date=ve,m.day=m.days=function(e){var t,i,n;return this.isValid()?(t=Ne(this,"Day"),null!=e?(i=e,n=this.localeData(),e="string"!=typeof i?i:isNaN(i)?"number"==typeof(i=n.weekdaysParse(i))?i:null:parseInt(i,10),this.add(e-t,"d")):t):null!=e?this:NaN},m.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},m.isoWeekday=function(e){var t,i;return this.isValid()?null!=e?(t=e,i=this.localeData(),i="string"==typeof t?i.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?i:i-7)):this.day()||7:null!=e?this:NaN},m.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},m.hour=m.hours=r,m.minute=m.minutes=he,m.second=m.seconds=we,m.millisecond=m.milliseconds=pe,m.utcOffset=function(e,t,i){var n,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:Gt(this);if("string"==typeof e){if(null===(e=Yt(xe,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=Gt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Zt(this,P(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},m.utc=function(e){return this.utcOffset(0,e)},m.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Gt(this),"m"),this},m.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Yt(_e,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},m.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60==0)},m.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},m.isLocal=function(){return!!this.isValid()&&!this._isUTC},m.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},m.isUtc=Ut,m.isUTC=Ut,m.zoneAbbr=function(){return this._isUTC?"UTC":""},m.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},m.dates=e("dates accessor is deprecated. Use date instead.",ve),m.months=e("months accessor is deprecated. Use month instead",je),m.years=e("years accessor is deprecated. Use year instead",Pe),m.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),m.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(q(t={},this),(t=Dt(t))._a?(e=(t._isUTC?u:I)(t._a),this._isDSTShifted=this.isValid()&&0<((e,t,i)=>{for(var n=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,a=0;a<n;a++)(i&&e[a]!==t[a]||!i&&b(e[a])!==b(t[a]))&&o++;return o+r})(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(h=ee.prototype).calendar=function(e,t,i){return c(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,i):e},h.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(ie).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},h.invalidDate=function(){return this._invalidDate},h.ordinal=function(e){return this._ordinal.replace("%d",e)},h.preparse=di,h.postformat=di,h.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return c(r)?r(e,t,i,n):r.replace(/%d/i,e)},h.pastFuture=function(e,t){return c(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},h.set=function(e){var t,i;for(i in e)f(e,i)&&(c(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},h.eras=function(e,t){for(var i,n=this._eras||D("en")._eras,r=0,o=n.length;r<o;++r)switch("string"==typeof n[r].since&&(i=p(n[r].since).startOf("day"),n[r].since=i.valueOf()),typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":i=p(n[r].until).startOf("day").valueOf(),n[r].until=i.valueOf()}return n},h.erasParse=function(e,t,i){var n,r,o,a,s,l=this.eras();for(e=e.toUpperCase(),n=0,r=l.length;n<r;++n)if(o=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(o===e)return l[n];break;case"NNNNN":if(s===e)return l[n]}else if(0<=[o,a,s].indexOf(e))return l[n]},h.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*i},h.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||ai.call(this),e?this._erasAbbrRegex:this._erasRegex},h.erasNameRegex=function(e){return f(this,"_erasNameRegex")||ai.call(this),e?this._erasNameRegex:this._erasRegex},h.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||ai.call(this),e?this._erasNarrowRegex:this._erasRegex},h.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Ye).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},h.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Ye.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},h.monthsParse=function(e,t,i){var n,r;if(this._monthsParseExact)return function(e,t,i){var n,r,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=u([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=k.call(this._shortMonthsParse,e))?r:null:-1!==(r=k.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=k.call(this._shortMonthsParse,e))||-1!==(r=k.call(this._longMonthsParse,e))?r:null:-1!==(r=k.call(this._longMonthsParse,e))||-1!==(r=k.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=u([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},h.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},h.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},h.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},h.firstDayOfYear=function(){return this._week.doy},h.firstDayOfWeek=function(){return this._week.dow},h.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ke(t,this._week.dow):e?t[e.day()]:t},h.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},h.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},h.weekdaysParse=function(e,t,i){var n,r;if(this._weekdaysParseExact)return function(e,t,i){var n,r,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=u([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=k.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=k.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=k.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=k.call(this._weekdaysParse,e))||-1!==(r=k.call(this._shortWeekdaysParse,e))||-1!==(r=k.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=k.call(this._shortWeekdaysParse,e))||-1!==(r=k.call(this._weekdaysParse,e))||-1!==(r=k.call(this._minWeekdaysParse,e))?r:null:-1!==(r=k.call(this._minWeekdaysParse,e))||-1!==(r=k.call(this._weekdaysParse,e))||-1!==(r=k.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=u([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},h.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},h.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=it),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},h.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},h.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},h.meridiem=function(e,t,i){return 11<e?i?"pm":"PM":i?"am":"AM"},pt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===b(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",D);var O=Math.abs;function fi(e,t,i,n){t=P(t,i);return e._milliseconds+=n*t._milliseconds,e._days+=n*t._days,e._months+=n*t._months,e._bubble()}function gi(e){return e<0?Math.floor(e):Math.ceil(e)}function yi(e){return 4800*e/146097}function vi(e){return 146097*e/4800}function wi(e){return function(){return this.as(e)}}function bi(e){return function(){return this.isValid()?this._data[e]:NaN}}de=wi("ms"),t=wi("s"),ye=wi("m"),me=wi("h"),Re=wi("d"),ge=wi("w"),fe=wi("M"),Je=wi("Q"),r=wi("y"),he=de;var we=bi("milliseconds"),pe=bi("seconds"),ve=bi("minutes"),Pe=bi("hours"),h=bi("days"),Li=bi("months"),_i=bi("years"),xi=Math.round,Ti={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ei(e,t,i,n){var r=P(e).abs(),o=xi(r.as("s")),a=xi(r.as("m")),s=xi(r.as("h")),l=xi(r.as("d")),u=xi(r.as("M")),c=xi(r.as("w")),r=xi(r.as("y")),o=(o<=i.ss?["s",o]:o<i.s&&["ss",o])||(a<=1?["m"]:a<i.m&&["mm",a])||(s<=1?["h"]:s<i.h&&["hh",s])||(l<=1?["d"]:l<i.d&&["dd",l]);return(o=(o=null!=i.w?o||(c<=1?["w"]:c<i.w&&["ww",c]):o)||(u<=1?["M"]:u<i.M&&["MM",u])||(r<=1?["y"]:["yy",r]))[2]=t,o[3]=0<+e,o[4]=n,function(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}.apply(null,o)}var Ci=Math.abs;function Mi(e){return(0<e)-(e<0)||+e}function ki(){var e,t,i,n,r,o,a,s,l,u,c;return this.isValid()?(s=Ci(this._milliseconds)/1e3,l=Ci(this._days),u=Ci(this._months),(c=this.asSeconds())?(e=w(s/60),t=w(e/60),s%=60,e%=60,i=w(u/12),u%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Mi(this._months)!==Mi(c)?"-":"",o=Mi(this._days)!==Mi(c)?"-":"",a=Mi(this._milliseconds)!==Mi(c)?"-":"",(c<0?"-":"")+"P"+(i?r+i+"Y":"")+(u?r+u+"M":"")+(l?o+l+"D":"")+(t||e||s?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(s?a+n+"S":"")):"P0D"):this.localeData().invalidDate()}var N=Nt.prototype;return N.isValid=function(){return this._isValid},N.abs=function(){var e=this._data;return this._milliseconds=O(this._milliseconds),this._days=O(this._days),this._months=O(this._months),e.milliseconds=O(e.milliseconds),e.seconds=O(e.seconds),e.minutes=O(e.minutes),e.hours=O(e.hours),e.months=O(e.months),e.years=O(e.years),this},N.add=function(e,t){return fi(this,e,t,1)},N.subtract=function(e,t){return fi(this,e,t,-1)},N.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+yi(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(vi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},N.asMilliseconds=de,N.asSeconds=t,N.asMinutes=ye,N.asHours=me,N.asDays=Re,N.asWeeks=ge,N.asMonths=fe,N.asQuarters=Je,N.asYears=r,N.valueOf=he,N._bubble=function(){var e=this._milliseconds,t=this._days,i=this._months,n=this._data;return 0<=e&&0<=t&&0<=i||e<=0&&t<=0&&i<=0||(e+=864e5*gi(vi(i)+t),i=t=0),n.milliseconds=e%1e3,e=w(e/1e3),n.seconds=e%60,e=w(e/60),n.minutes=e%60,e=w(e/60),n.hours=e%24,t+=w(e/24),i+=e=w(yi(t)),t-=gi(vi(e)),e=w(i/12),i%=12,n.days=t,n.months=i,n.years=e,this},N.clone=function(){return P(this)},N.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},N.milliseconds=we,N.seconds=pe,N.minutes=ve,N.hours=Pe,N.days=h,N.weeks=function(){return w(this.days()/7)},N.months=Li,N.years=_i,N.humanize=function(e,t){var i,n;return this.isValid()?(i=!1,n=Ti,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(n=Object.assign({},Ti,t),null!=t.s)&&null==t.ss&&(n.ss=t.s-1),t=Ei(this,!i,n,e=this.localeData()),i&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},N.toISOString=ki,N.toString=ki,N.toJSON=ki,N.locale=Qt,N.localeData=ei,N.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ki),N.lang=et,n("X",0,0,"unix"),n("x",0,0,"valueOf"),y("x",Le),y("X",/[+-]?\d+(\.\d{1,3})?/),L("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),L("x",function(e,t,i){i._d=new Date(b(e))}),p.version="2.30.1",H=I,p.fn=m,p.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=u,p.unix=function(e){return I(1e3*e)},p.months=function(e,t){return hi(e,t,"months")},p.isDate=Y,p.locale=pt,p.invalid=j,p.duration=P,p.isMoment=l,p.weekdays=function(e,t,i){return pi(e,t,i,"weekdays")},p.parseZone=function(){return I.apply(null,arguments).parseZone()},p.localeData=D,p.isDuration=Ht,p.monthsShort=function(e,t){return hi(e,t,"monthsShort")},p.weekdaysMin=function(e,t,i){return pi(e,t,i,"weekdaysMin")},p.defineLocale=ft,p.updateLocale=function(e,t){var i,n;return null!=t?(n=ut,null!=A[e]&&null!=A[e].parentLocale?A[e].set(Q(A[e]._config,t)):(t=Q(n=null!=(i=ht(e))?i._config:n,t),null==i&&(t.abbr=e),(n=new ee(t)).parentLocale=A[e],A[e]=n),pt(e)):null!=A[e]&&(null!=A[e].parentLocale?(A[e]=A[e].parentLocale,e===pt()&&pt(e)):null!=A[e]&&delete A[e]),A[e]},p.locales=function(){return te(A)},p.weekdaysShort=function(e,t,i){return pi(e,t,i,"weekdaysShort")},p.normalizeUnits=d,p.relativeTimeRounding=function(e){return void 0===e?xi:"function"==typeof e&&(xi=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Ti[e]&&(void 0===t?Ti[e]:(Ti[e]=t,"s"===e&&(Ti.ss=t-1),!0))},p.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=m,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p})();var ar,sr,S=ar.exports;function lr(e,{delay:t=0,duration:i=400,easing:n=x}={}){let r=+getComputedStyle(e).opacity;return{delay:t,duration:i,easing:n,css:e=>"opacity: "+e*r}}function ur(i){let n,r,t,o;return{c(){n=K("div"),(r=K("div")).innerHTML='<div class="ModalContainer"><slot></slot></div>',te(r,"class","ModalWindow"),te(r,"id","Modal")},m(e,t){Z(e,n,t),q(n,r),i[6](r),i[7](n),o=!0},p(e,t){i=e},i(e){o||(ce(()=>{o&&(t=t||we(r,lr,{transitionDuration:i[1]},!0)).run(1)}),o=!0)},o(e){(t=t||we(r,lr,{transitionDuration:i[1]},!1)).run(0),o=!1},d(e){e&&X(n),i[6](null),e&&t&&t.end(),i[7](null)}}}function cr(e){let i,n,r=e[0]&&ur(e);return{c(){r&&r.c(),i=w(),this.c=z},m(e,t){r&&r.m(e,t),Z(e,i,t),n=!0},p(e,[t]){e[0]?r?(r.p(e,t),1&t&&ge(r,1)):((r=ur(e)).c(),ge(r,1),r.m(i.parentNode,i)):r&&(g={r:0,c:[],p:g},ye(r,1,1,()=>{r=null}),g.r||V(g.c),g=g.p)},i(e){n||(ge(r),n=!0)},o(e){ye(r),n=!1},d(e){r&&r.d(e),e&&X(i)}}}function dr(t,e,i){let n,r,{show:o=!1}=e,{duration:a=350}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,u=e=>{"ModalClosed"==e.data.type&&i(0,o=!1),"ShowLimitsConfirmationModal"===e.data.type&&(i(0,o=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return se(()=>(window.addEventListener("message",u,!1),()=>{window.removeEventListener("message",u)})),t.$$set=e=>{"show"in e&&i(0,o=e.show),"duration"in e&&i(1,a=e.duration),"clientstyling"in e&&i(4,s=e.clientstyling),"clientstylingurl"in e&&i(5,l=e.clientstylingurl)},t.$$.update=()=>{if(36&t.$$.dirty&&l&&n){let e=new URL(l),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e;20&t.$$.dirty&&s&&n&&((e=document.createElement("style")).innerHTML=s,n.appendChild(e))},[o,a,n,void 0,s,l,function(e){j[e?"unshift":"push"](()=>{r=e,i(3,r)})},function(e){j[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}function mr(e,t){fn(e,t)}customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends Le{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0}",this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},dr,cr,T,{show:0,duration:1,clientstyling:4,clientstylingurl:5},null),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["show","duration","clientstyling","clientstylingurl"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),m()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}});let hr={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"}};function pr(i){let n,r,o,a,s,l,u,c,d,m,h,p,f,g,y,v=i[2]("cancel")+"",w=i[2]("confirm")+"";return{c(){n=K("div"),r=K("div"),(o=K("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',a=Q(),s=K("div"),l=J(i[0]),u=Q(),c=K("div"),d=K("button"),m=J(v),h=Q(),p=K("button"),f=J(w),this.c=z,te(o,"class","ModalCloseBtn"),te(o,"role","button"),te(s,"class","GamingLimitsConfirmationContent"),te(d,"class","GamingLimitsCancelButton"),te(p,"class","GamingLimitsConfirmButton"),te(c,"class","GamingLimitsConfirmationControlArea "+(i[3]?"GamingLimitsConfirmationControlAreaMobile":"")),te(r,"class","GamingLimitsConfirmationContainer "+(i[3]?"GamingLimitsConfirmationContainerMobile":"")),te(n,"class","GamingLimitsConfirmationWrapper "+(i[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(e,t){Z(e,n,t),q(n,r),q(r,o),q(r,a),q(r,s),q(s,l),q(r,u),q(r,c),q(c,d),q(d,m),q(c,h),q(c,p),q(p,f),i[12](n),g||(y=[ee(o,"click",i[4]),ee(d,"click",i[6]),ee(p,"click",i[5])],g=!0)},p(e,[t]){1&t&&ne(l,e[0]),4&t&&v!==(v=e[2]("cancel")+"")&&ne(m,v),4&t&&w!==(w=e[2]("confirm")+"")&&ne(f,w)},i:z,o:z,d(e){e&&X(n),i[12](null),g=!1,V(y)}}}function fr(t,e,i){let n,{modaltext:r="Are you sure that you want to perform this action?"}=(re(t,Wn,e=>i(2,n=e)),e),{modalsource:o=""}=e,{lang:a="en"}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{translationurl:u=""}=e,c,d=(Object.keys(hr).forEach(e=>{mr(e,hr[e])}),window.navigator.userAgent),m="PC"!==zn(d),h={},p="",f=e=>{e.data&&"DeleteLimitsItem"===e.data.type&&(h=e.data.removeData,e=e.data.removeName,p="Time Limit"===e?"cumulativeSessionLimits":"Deposit Limit"===e?"depositLimits":"Wagering Limit"===e?"wageringLimit":"lossLimit")};return se(()=>(window.addEventListener("message",f,!1),()=>{window.removeEventListener("message",f)})),t.$$set=e=>{"modaltext"in e&&i(0,r=e.modaltext),"modalsource"in e&&i(7,o=e.modalsource),"lang"in e&&i(8,a=e.lang),"clientstyling"in e&&i(9,s=e.clientstyling),"clientstylingurl"in e&&i(10,l=e.clientstylingurl),"translationurl"in e&&i(11,u=e.translationurl)},t.$$.update=()=>{if(385&t.$$.dirty&&r&&o&&a&&(e=a,W.set(e)),514&t.$$.dirty&&s&&c&&((e=document.createElement("style")).innerHTML=s,c.appendChild(e)),1026&t.$$.dirty&&l&&c){let e=new URL(l),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1)})}var e;2048&t.$$.dirty&&u&&fetch(u).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{mr(e,t[e])})}).catch(e=>{console.log(e)})},[r,c,n,m,()=>{window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:h,name:p},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},o,a,s,l,u,function(e){j[e?"unshift":"push"](()=>{c=e,i(1,c)})}]}function gr(e,t,i){e=e.slice();return e[56]=t[i],e[57]=t,e[58]=i,e}function yr(e,t,i){e=e.slice();return e[59]=t[i],e}function vr(e,t,i){e=e.slice();return e[56]=t[i],e[58]=i,e}function wr(e){let i,n,r,o=e[18]("success")+"";return{c(){i=K("div"),n=K("p"),r=J(o),te(i,"class","AccountEditLimitSuccessfulChangeContainer")},m(e,t){Z(e,i,t),q(i,n),q(n,r)},p(e,t){262144&t[0]&&o!==(o=e[18]("success")+"")&&ne(r,o)},d(e){e&&X(i)}}}function br(t){let r,o=t[14],a=[];for(let e=0;e<o.length;e+=1)a[e]=_r(vr(t,o,e));return{c(){r=K("div");for(let e=0;e<a.length;e+=1)a[e].c();te(r,"class","AccountEditLimitSuccessfulChangeContainer")},m(e,t){Z(e,r,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(r,null)},p(t,i){if(409600&i[0]){let e;for(o=t[14],e=0;e<o.length;e+=1){var n=vr(t,o,e);a[e]?a[e].p(n,i):(a[e]=_r(n),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&X(r),I(a,e)}}}function Lr(e){let i,n,r,o,a=e[18]("remove")+"",s=(e[56].expiryDate?S(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("p"),n=J(a),r=Q(),o=J(s)},m(e,t){Z(e,i,t),q(i,n),q(i,r),q(i,o)},p(e,t){262144&t[0]&&a!==(a=e[18]("remove")+"")&&ne(n,a),16384&t[0]&&s!==(s=(e[56].expiryDate?S(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(o,s)},d(e){e&&X(i)}}}function _r(e){let i,n=e[56].period==e[17][e[58]].period&&Lr(e);return{c(){n&&n.c(),i=w()},m(e,t){n&&n.m(e,t),Z(e,i,t)},p(e,t){e[56].period==e[17][e[58]].period?n?n.p(e,t):((n=Lr(e)).c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&X(i)}}}function xr(t){let i,r,o=t[14],a=[];for(let e=0;e<o.length;e+=1)a[e]=Pr(gr(t,o,e));return{c(){i=K("div"),r=K("div");for(let e=0;e<a.length;e+=1)a[e].c();te(r,"class","AccountEditLimitsContainer"),te(i,"class","AccountEditContent")},m(e,t){Z(e,i,t),q(i,r);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(r,null)},p(t,i){if(18836560&i[0]){let e;for(o=t[14],e=0;e<o.length;e+=1){var n=gr(t,o,e);a[e]?a[e].p(n,i):(a[e]=Pr(n),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&X(i),I(a,e)}}}function Tr(n){let r,i,o,t,a,s,l,u,c,d,m=n[18]("noLimit")+"",h=n[20].get(n[6])[n[58]].values,p=[];for(let e=0;e<h.length;e+=1)p[e]=Cr(yr(n,h,e));function f(){n[29].call(r,n[58])}let g="Custom"===n[17][n[58]].amount&&Mr(n),y=!0===n[56].isModified&&Ir(n);return{c(){r=K("select"),i=K("option"),o=J(m);for(let e=0;e<p.length;e+=1)p[e].c();a=Q(),s=K("div"),g&&g.c(),l=Q(),y&&y.c(),u=w(),i.__value="",i.value=i.__value,i.disabled=!0,i.selected=!0,i.hidden=!0,te(r,"class","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),r.disabled=t=!0===n[56].isModified,void 0===n[17][n[58]].amount&&ce(f),te(s,"class","AccountEditLimitsInputContainer")},m(e,t){Z(e,r,t),q(r,i),q(i,o);for(let e=0;e<p.length;e+=1)p[e]&&p[e].m(r,null);O(r,n[17][n[58]].amount,!0),Z(e,a,t),Z(e,s,t),g&&g.m(s,null),Z(e,l,t),y&&y.m(e,t),Z(e,u,t),c||(d=[ee(r,"change",f),ee(r,"change",function(){v(n[24](n[17][n[58]],n[58],!1,n[16]))&&n[24](n[17][n[58]],n[58],!1,n[16]).apply(this,arguments)})],c=!0)},p(e,i){if(n=e,262144&i[0]&&m!==(m=n[18]("noLimit")+"")&&ne(o,m),1048656&i[0]){let t;for(h=n[20].get(n[6])[n[58]].values,t=0;t<h.length;t+=1){let e=yr(n,h,t);p[t]?p[t].p(e,i):(p[t]=Cr(e),p[t].c(),p[t].m(r,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=h.length}16384&i[0]&&t!==(t=!0===n[56].isModified)&&(r.disabled=t),1179712&i[0]&&O(r,n[17][n[58]].amount),"Custom"===n[17][n[58]].amount?g?g.p(n,i):((g=Mr(n)).c(),g.m(s,null)):g&&(g.d(1),g=null),!0===n[56].isModified?y?y.p(n,i):((y=Ir(n)).c(),y.m(u.parentNode,u)):y&&(y.d(1),y=null)},d(e){e&&X(r),I(p,e),e&&X(a),e&&X(s),g&&g.d(),e&&X(l),y&&y.d(e),e&&X(u),c=!1,V(d)}}}function Er(e){let i,n=("Time Limit"!==e[6]?e[4]:" minutes")+"";return{c(){i=J(n)},m(e,t){Z(e,i,t)},p(e,t){80&t[0]&&n!==(n=("Time Limit"!==e[6]?e[4]:" minutes")+"")&&ne(i,n)},d(e){e&&X(i)}}}function Cr(e){let i,n,r,o,a,s=e[59]+"",l="No limit"!==e[59]&&"Custom"!==e[59]&&Er(e);return{c(){i=K("option"),n=J(s),r=Q(),l&&l.c(),o=Q(),i.__value=a=e[59],i.value=i.__value},m(e,t){Z(e,i,t),q(i,n),q(i,r),l&&l.m(i,null),q(i,o)},p(e,t){64&t[0]&&s!==(s=e[59]+"")&&ne(n,s),"No limit"!==e[59]&&"Custom"!==e[59]?l?l.p(e,t):((l=Er(e)).c(),l.m(i,o)):l&&(l.d(1),l=null),64&t[0]&&a!==(a=e[59])&&(i.__value=a,i.value=i.__value)},d(e){e&&X(i),l&&l.d()}}}function Mr(e){let i;function n(e){return"Time Limit"!==e[6]?Sr:kr}let r=n(e),o=r(e);return{c(){o.c(),i=w()},m(e,t){o.m(e,t),Z(e,i,t)},p(e,t){r===(r=n(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i.parentNode,i)))},d(e){o.d(e),e&&X(i)}}}function kr(i){let n,r,o,a,s,l;function u(){i[31].call(n,i[58])}let c=1==i[13][i[58]]&&Ar(i);return{c(){n=K("input"),o=Q(),a=K("p"),c&&c.c(),te(n,"type","number"),te(n,"class","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[56].isModified,te(a,"class","AccountEditWarningText")},m(e,t){Z(e,n,t),P(n,i[17][i[58]].value),Z(e,o,t),Z(e,a,t),c&&c.m(a,null),s||(l=[ee(n,"keyup",function(){v(i[24](i[17][i[58]],i[58],!0,i[16]))&&i[24](i[17][i[58]],i[58],!0,i[16]).apply(this,arguments)}),ee(n,"input",u)],s=!0)},p(e,t){i=e,16384&t[0]&&r!==(r=!0===i[56].isModified)&&(n.disabled=r),1179712&t[0]&&ae(n.value)!==i[17][i[58]].value&&P(n,i[17][i[58]].value),1==i[13][i[58]]?c?c.p(i,t):((c=Ar(i)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&X(n),e&&X(o),e&&X(a),c&&c.d(),s=!1,V(l)}}}function Sr(i){let n,r,o,a,s,l;function u(){i[30].call(n,i[58])}let c=1==i[13][i[58]]&&Dr(i);return{c(){n=K("input"),o=Q(),a=K("p"),c&&c.c(),te(n,"type","number"),te(n,"class","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[56].isModified,te(a,"class","AccountEditWarningText")},m(e,t){Z(e,n,t),P(n,i[17][i[58]].value),Z(e,o,t),Z(e,a,t),c&&c.m(a,null),s||(l=[ee(n,"keyup",function(){v(i[24](i[17][i[58]],i[58],!1,i[16]))&&i[24](i[17][i[58]],i[58],!1,i[16]).apply(this,arguments)}),ee(n,"input",u)],s=!0)},p(e,t){i=e,16384&t[0]&&r!==(r=!0===i[56].isModified)&&(n.disabled=r),1179712&t[0]&&ae(n.value)!==i[17][i[58]].value&&P(n,i[17][i[58]].value),1==i[13][i[58]]?c?c.p(i,t):((c=Dr(i)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&X(n),e&&X(o),e&&X(a),c&&c.d(),s=!1,V(l)}}}function Ar(e){let i,n,r=e[18]("invalidInputMessageTime",{values:{minTime:e[10],maxTime:e[11]}})+"";return{c(){i=K("p"),n=J(r),te(i,"class","InvalidInput")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){265216&t[0]&&r!==(r=e[18]("invalidInputMessageTime",{values:{minTime:e[10],maxTime:e[11]}})+"")&&ne(n,r)},d(e){e&&X(i)}}}function Dr(e){let i,n,r=e[18]("invalidInputMessageLimit")+"";return{c(){i=K("p"),n=J(r),te(i,"class","InvalidInput")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){262144&t[0]&&r!==(r=e[18]("invalidInputMessageLimit")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Ir(e){let i,n,r,o,a,s,l,u,c,d,m,h,p,f,g,y,v,w=e[18]("expirationDate")+"",b=(e[56].expiryDate?S(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",L=e[18]("changedLimitTextBefore")+"",_=(0<e[56].updateAmount?e[56].updateAmount:0)+"",x=(void 0!==e[56].minutes?" minutes":e[4])+"",T=e[18]("changedLimitTextAfter")+"";return{c(){i=K("p"),n=J(w),r=Q(),o=K("span"),a=J(b),s=Q(),l=K("div"),u=K("p"),(c=K("span")).textContent="i",d=K("span"),m=J(L),h=Q(),p=J(_),f=Q(),g=J(x),y=J(". "),v=J(T),te(i,"class","AccountEditLimitsExpiryDate"),te(c,"class","AccountEditLimitChangePeriodIcon"),te(l,"class","AccountEditLimitsPeriodChangeContainer")},m(e,t){Z(e,i,t),q(i,n),q(i,r),q(i,o),q(o,a),Z(e,s,t),Z(e,l,t),q(l,u),q(u,c),q(u,d),q(d,m),q(d,h),q(d,p),q(d,f),q(d,g),q(d,y),q(d,v)},p(e,t){262144&t[0]&&w!==(w=e[18]("expirationDate")+"")&&ne(n,w),16384&t[0]&&b!==(b=(e[56].expiryDate?S(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(a,b),262144&t[0]&&L!==(L=e[18]("changedLimitTextBefore")+"")&&ne(m,L),16384&t[0]&&_!==(_=(0<e[56].updateAmount?e[56].updateAmount:0)+"")&&ne(p,_),16400&t[0]&&x!==(x=(void 0!==e[56].minutes?" minutes":e[4])+"")&&ne(g,x),262144&t[0]&&T!==(T=e[18]("changedLimitTextAfter")+"")&&ne(v,T)},d(e){e&&X(i),e&&X(s),e&&X(l)}}}function Pr(e){let i,n,r,o,a,s=e[18](""+e[56].period.charAt(0).toLowerCase()+e[56].period.substring(1))+"",l=e[56].period==e[17][e[58]].period&&Tr(e);return{c(){i=K("div"),n=K("p"),r=J(s),o=Q(),l&&l.c(),a=Q(),te(n,"class","AccountEditLimitsTitle"),te(i,"class","AccountEditLimitsBox")},m(e,t){Z(e,i,t),q(i,n),q(n,r),q(i,o),l&&l.m(i,null),q(i,a)},p(e,t){278528&t[0]&&s!==(s=e[18](""+e[56].period.charAt(0).toLowerCase()+e[56].period.substring(1))+"")&&ne(r,s),e[56].period==e[17][e[58]].period?l?l.p(e,t):((l=Tr(e)).c(),l.m(i,a)):l&&(l.d(1),l=null)},d(e){e&&X(i),l&&l.d()}}}function Or(i){let n,R,r,o,a,s,$,l,u,c,Y,d,m,F,h,p,f,G,g,y,U,v,j,w,b,L,_,x,T,E,C,M,k,S,A,W,D=i[18]("back")+"",I=(i[1]?i[9]:"")+"",P=i[18]("save")+"",O=i[19]&&(i=>{let n,r,o,a,s,l,u,c,d,m,h,p,f,g=i[18]("back")+"";return{c(){n=K("div"),r=t("svg"),o=t("defs"),a=t("style"),s=J(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=t("g"),u=t("g"),c=t("path"),d=Q(),m=K("h2"),h=J(g),te(c,"class","aaa"),te(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),te(c,"transform","translate(15 15) rotate(180)"),te(u,"transform","translate(20 158)"),te(l,"transform","translate(-20 -158)"),te(r,"xmlns","http://www.w3.org/2000/svg"),te(r,"width","15"),te(r,"height","15"),te(r,"viewBox","0 0 15 15"),te(m,"class","MyAccountCategoryTitleMobile"),te(n,"class","MenuReturnButton")},m(e,t){Z(e,n,t),q(n,r),q(r,o),q(o,a),q(a,s),q(r,l),q(l,u),q(u,c),q(n,d),q(n,m),q(m,h),p||(f=ee(n,"click",i[22]),p=!0)},p(e,t){262144&t[0]&&g!==(g=e[18]("back")+"")&&ne(h,g)},d(e){e&&X(n),p=!1,f()}}})(i),N=i[2]&&wr(i),H=i[3]&&br(i),B=i[8]&&xr(i);return{c(){n=K("div"),O&&O.c(),R=Q(),r=K("div"),o=t("svg"),a=t("defs"),s=t("style"),$=J(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=t("g"),u=t("g"),c=t("path"),Y=Q(),d=K("h2"),m=J(D),F=Q(),h=K("div"),p=K("h6"),f=J(I),G=Q(),g=K("div"),(y=K("span")).textContent="i",U=Q(),v=K("player-account-gaming-limits-popup"),j=Q(),N&&N.c(),w=Q(),H&&H.c(),b=Q(),B&&B.c(),L=Q(),_=K("div"),x=K("button"),T=J(P),M=Q(),k=K("player-account-modal"),S=K("player-account-gaming-limits-confirmation-modal"),this.c=z,te(c,"class","aaa"),te(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),te(c,"transform","translate(15 15) rotate(180)"),te(u,"transform","translate(20 158)"),te(l,"transform","translate(-20 -158)"),te(o,"xmlns","http://www.w3.org/2000/svg"),te(o,"width","20"),te(o,"height","20"),te(o,"viewBox","0 0 15 15"),te(d,"class","MyAccountCategoryTitle "+(i[19]?"MyAccountCategoryTitleNone":"")),te(r,"class","MenuReturnButton "+(i[19]?"MyAccountCategoryTitleNone":"")),te(y,"class","AccountEditLimitsIcon"),ie(v,"showpopup",i[7]),ie(v,"lang",i[0]),te(g,"class","AccountEditLimitsIconWrapper"),te(h,"class","AccountEditLimitsHeader"),te(x,"class",E="AccountEditLimitsSaveButton "+(i[15]?"":"AccountEditLimitsButtonDisabled")),x.disabled=C=!i[15],te(_,"class","AccountEditLimitsControlArea"),te(n,"class","AccountEditLimitsWrapper "+(i[19]?"AccountEditLimitsMobileWrapper":"")),ie(S,"modaltext",i[12]),ie(S,"modalsource","groupEdit"),ie(S,"lang",i[0])},m(e,t){Z(e,n,t),O&&O.m(n,null),q(n,R),q(n,r),q(r,o),q(o,a),q(a,s),q(s,$),q(o,l),q(l,u),q(u,c),q(r,Y),q(r,d),q(d,m),q(n,F),q(n,h),q(h,p),q(p,f),q(h,G),q(h,g),q(g,y),q(g,U),q(g,v),q(n,j),N&&N.m(n,null),q(n,w),H&&H.m(n,null),q(n,b),B&&B.m(n,null),q(n,L),q(n,_),q(_,x),q(x,T),i[33](n),Z(e,M,t),Z(e,k,t),q(k,S),A||(W=[ee(r,"click",i[22]),ee(y,"click",oe(i[21])),ee(x,"click",i[32])],A=!0)},p(e,t){e[19]&&O.p(e,t),262144&t[0]&&D!==(D=e[18]("back")+"")&&ne(m,D),514&t[0]&&I!==(I=(e[1]?e[9]:"")+"")&&ne(f,I),128&t[0]&&ie(v,"showpopup",e[7]),1&t[0]&&ie(v,"lang",e[0]),e[2]?N?N.p(e,t):((N=wr(e)).c(),N.m(n,w)):N&&(N.d(1),N=null),e[3]?H?H.p(e,t):((H=br(e)).c(),H.m(n,b)):H&&(H.d(1),H=null),e[8]?B?B.p(e,t):((B=xr(e)).c(),B.m(n,L)):B&&(B.d(1),B=null),262144&t[0]&&P!==(P=e[18]("save")+"")&&ne(T,P),32768&t[0]&&E!==(E="AccountEditLimitsSaveButton "+(e[15]?"":"AccountEditLimitsButtonDisabled"))&&te(x,"class",E),32768&t[0]&&C!==(C=!e[15])&&(x.disabled=C),4096&t[0]&&ie(S,"modaltext",e[12]),1&t[0]&&ie(S,"lang",e[0])},i:z,o:z,d(e){e&&X(n),O&&O.d(),N&&N.d(),H&&H.d(),B&&B.d(),i[33](null),e&&X(M),e&&X(k),A=!1,V(W)}}}function Nr(t,e,o){let i,{limitsdata:n=[]}=(re(t,Wn,e=>o(18,i=e)),e),{showsuccessnotification:r=!1}=e,{showdeletenotification:a=!1}=e,{playercurrency:s=""}=e,{lang:l="en"}=e,{separatelimits:u="true"}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{translationurl:m=""}=e,h,p,f=(Object.keys(or).forEach(e=>{rr(e,or[e])}),!1),g=!1,y="",v=!1,w=0,b=0,L="",H=window.navigator.userAgent,B="PC"!==zn(H),_=new Array(3).fill(0),x={},T=[],E=[],C=!1,M=[],k={amount:/^[0-9]{0,8}$/,time:/^[1-9]\d*$/},S=[{period:"Daily",amount:"No limit",value:0},{period:"Weekly",amount:"No limit",value:0},{period:"Monthly",amount:"No limit",value:0}],A=[{period:"Daily",values:["10000","20000","50000","No limit","Custom"]},{period:"Weekly",values:["10000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["50000","100000","200000","No limit","Custom"]}],D=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],R=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],$=[{period:"Daily",values:["500","1000","1430","No limit","Custom"]},{period:"Weekly",values:["5000","7000","10000","No limit","Custom"]},{period:"Monthly",values:["20000","30000","43000","No limit","Custom"]}],I=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),P=new Map([["Deposit Limit",A],["Time Limit",$],["Wagering Limit",D],["Loss Limit",R]]),Y=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},O=(i,e)=>{let n=JSON.parse(JSON.stringify(e));S.forEach(t=>{n.forEach(e=>{t.period==i.period&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0)),e.period===t.period&&(e.amount=t.value)})})},F=()=>{M.forEach(e=>{var t=e;E.forEach(e=>{t.period===e.period&&("Time Limit"===h&&(o(10,w=60),"Daily"===t.period?o(11,b=1440):"Weekly"==t.period?o(11,b=10080):o(11,b=43200)),-1<e.values.indexOf(t.amount))&&("No limit"===t.amount?t.amount=0:t.amount=JSON.parse(t.amount))})}),x.forEach(n=>{E.forEach(e=>{var t,i;n.period===e.period&&(e=e,t=n,i=S,e=e.values,t.amount&&"No limit"!==t.amount?e.includes(JSON.stringify(t.amount))?i.forEach(e=>{e.period===t.period&&(e.amount=JSON.stringify(t.amount),e.value=t.amount)}):i.forEach(e=>{e.period===t.period&&(e.amount="Custom",e.value=t.amount)}):i.forEach(e=>{e.period===t.period&&(e.amount=t.amount,e.value=0)}))})})},G=()=>{var e="Time Limit"===h?"time limit":"Deposit Limit"===h?"deposit limit":"Wagering Limit"===h?"wagering limit":"loss limit";o(12,L=i("changeLimitsText",{values:{limit:e}}))},N=()=>{var e=l;W.set(e),G(),o(16,M=JSON.parse(JSON.stringify(n))),o(14,x=JSON.parse(JSON.stringify(n))),E="Wagering Limit"===h?D:"Loss Limit"===h?R:"Deposit Limit"===h?A:"Time Limit"===h?$:[],F()},U=e=>{if(e.data)switch(e.data.type){case"LanguageChanged":o(0,l=e.data.lang),G();break;case"EditPlayerLimit":o(6,h=e.data.name),o(9,y=i(h.charAt(0).toLowerCase()+h.substring(1).replace(/\s/g,""))),N(),o(8,g=!0);break;case"ClosePlayerAccountGamingLimitsPopup":o(7,f=!1);break;case"GamingLimitsConfirmChanges":(v=!0)&&("Time Limit"===h?S.forEach(t=>{var e;"true"==u?0!=t.value&&(e={period:t.period,minutes:t.value},T.push(e)):x.forEach(e=>{e.period===t.period&&(e.minutes=t.value)})}):S.forEach(t=>{var e;"true"==u?0!=t.value&&(e={period:t.period,amount:t.value,currency:s},T.push(e)):x.forEach(e=>{e.period===t.period&&(e.amount=t.value,e.currency=s)})}),t={},t="true"==u?{[I.get(h)]:[...T]}:{[I.get(h)]:[...x]},T.length=0,window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:t,limitsCategory:I.get(h)},window.location.href),o(15,C=!1));break;case"CancelGamingLimitsChanges":o(8,g=!1),setTimeout(()=>{o(8,g=!0)},10),N(),o(15,C=!1),v=!1}var t};return se(()=>(window.addEventListener("message",U,!1),()=>{window.removeEventListener("message",U)})),t.$$set=e=>{"limitsdata"in e&&o(1,n=e.limitsdata),"showsuccessnotification"in e&&o(2,r=e.showsuccessnotification),"showdeletenotification"in e&&o(3,a=e.showdeletenotification),"playercurrency"in e&&o(4,s=e.playercurrency),"lang"in e&&o(0,l=e.lang),"separatelimits"in e&&o(25,u=e.separatelimits),"clientstyling"in e&&o(26,c=e.clientstyling),"clientstylingurl"in e&&o(27,d=e.clientstylingurl),"translationurl"in e&&o(28,m=e.translationurl)},t.$$.update=()=>{if(12&t.$$.dirty[0]&&r&&a&&N(),t.$$.dirty[0],67108896&t.$$.dirty[0]&&c&&p&&((e=document.createElement("style")).innerHTML=c,p.appendChild(e)),134217760&t.$$.dirty[0]&&d&&p){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{p.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{rr(e,t[e])})}).catch(e=>{console.log(e)})},[l,n,r,a,s,p,h,f,g,y,w,b,L,_,x,C,M,S,i,B,P,()=>{o(7,f=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},Y,(e,t,i,n)=>{var r;"Custom"===e.amount?"Time Limit"==h?(o(10,w=60),"Daily"===e.period?o(11,b=1440):"Weekly"==e.period?o(11,b=10080):o(11,b=43200),e.value&&k.time.test(e.value)&&e.value>w&&e.value<=b?(o(13,_[t]=0,_),r=n[t],e.period==r.period&&e.value==r.amount?(o(15,C=!1),O(e,n)):o(15,C=!0)):(o(13,_[t]=1,_),o(15,C=!1))):e.value&&k.amount.test(e.value)?(o(13,_[t]=0,_),e.period==n[t].period&&e.value==n[t].amount?(o(15,C=!!C),O(e,n)):o(15,C=!0),"true"!=u&&S.forEach(e=>{0==e.value&&o(15,C=!1)})):(o(13,_[t]=1,_),o(15,C=!1)):(e.period==n[t].period?(O(e,n),o(15,C=e.value!=n[t].amount)):o(15,C=!0),S.forEach(e=>{(0==e.value&&"true"!=u||"Custom"==e.amount&&!k.amount.test(e.value.toString()))&&o(15,C=!1)}))},u,c,d,m,function(e){S[e].amount=(e=>(e=e.querySelector(":checked"))&&e.__value)(this),o(17,S),o(20,P),o(6,h)},function(e){S[e].value=ae(this.value),o(17,S),o(20,P),o(6,h)},function(e){S[e].value=ae(this.value),o(17,S),o(20,P),o(6,h)},()=>Y(),function(e){j[e?"unshift":"push"](()=>{p=e,o(5,p)})}]}function Hr(e,t,i){e=e.slice();return e[41]=t[i],e[43]=i,e}function Br(e,t,i){e=e.slice();return e[41]=t[i],e[43]=i,e}function Rr(i){let n,r,o,a,s,l,u,c,d,m,h,p,f,g,y,v,w,b,L,_,x,T,E,C=(i[0]?i[15](i[1].charAt(0).toLowerCase()+i[1].substring(1).replace(/\s/g,"")):"")+"",M=i[15]("edit")+"";function k(e){return"Time Limit"===e[1]?Fr:Yr}let S=k(i),A=S(i),D=!i[9]&&!i[0].isModified&&i[14]&&io(i),I=i[11]&&no(i);return{c(){n=K("div"),r=K("div"),o=K("div"),a=K("h5"),s=J(C),l=Q(),u=K("div"),(c=K("span")).textContent="i",d=Q(),m=K("player-account-gaming-limits-popup"),p=Q(),f=K("div"),g=K("div"),y=K("div"),A.c(),v=Q(),w=K("div"),b=K("button"),L=J(M),_=Q(),D&&D.c(),x=Q(),I&&I.c(),te(c,"class","InfoCardIcon"),ie(m,"showpopup",h=i[8][0]),ie(m,"lang",i[3]),ie(m,"clientstyling",i[4]),ie(m,"clientstylingurl",i[5]),te(u,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":"")),te(o,"class","InfoCardHeader "+(i[16]?"InfoCardMobileHeader":"")),te(y,"class","InfoCardTableRow"),te(g,"class","InfoCardTableWrapper"),te(b,"class","InfoCardEditButton"),te(w,"class","InfoCardControlArea"),te(f,"class","InfoCard"),te(r,"class","InfoCardWrapper"),te(n,"class","InfoCardSection")},m(e,t){Z(e,n,t),q(n,r),q(r,o),q(o,a),q(a,s),q(o,l),q(o,u),q(u,c),q(u,d),q(u,m),q(r,p),q(r,f),q(f,g),q(g,y),A.m(y,null),q(f,v),q(f,w),q(w,b),q(b,L),q(w,_),D&&D.m(w,null),q(n,x),I&&I.m(n,null),T||(E=[ee(c,"click",oe(i[23])),ee(b,"click",i[26])],T=!0)},p(e,t){32771&t[0]&&C!==(C=(e[0]?e[15](e[1].charAt(0).toLowerCase()+e[1].substring(1).replace(/\s/g,"")):"")+"")&&ne(s,C),256&t[0]&&h!==(h=e[8][0])&&ie(m,"showpopup",h),8&t[0]&&ie(m,"lang",e[3]),16&t[0]&&ie(m,"clientstyling",e[4]),32&t[0]&&ie(m,"clientstylingurl",e[5]),S===(S=k(e))&&A?A.p(e,t):(A.d(1),(A=S(e))&&(A.c(),A.m(y,null))),32768&t[0]&&M!==(M=e[15]("edit")+"")&&ne(L,M),e[9]||e[0].isModified||!e[14]?D&&(D.d(1),D=null):D?D.p(e,t):((D=io(e)).c(),D.m(w,null)),e[11]?I?I.p(e,t):((I=no(e)).c(),I.m(n,null)):I&&(I.d(1),I=null)},d(e){e&&X(n),A.d(),D&&D.d(),I&&I.d(),T=!1,V(E)}}}function $r(e){let i;return{c(){te(i=K("div"),"class","ModalLoader")},m(e,t){Z(e,i,t)},p:z,d(e){e&&X(i)}}}function Yr(t){let r,o=t[0],a=[];for(let e=0;e<o.length;e+=1)a[e]=Vr(Hr(t,o,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=w()},m(t,i){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,i);Z(t,r,i)},p(t,i){if(3375423&i[0]){let e;for(o=t[0],e=0;e<o.length;e+=1){var n=Hr(t,o,e);a[e]?a[e].p(n,i):(a[e]=Vr(n),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){I(a,e),e&&X(r)}}}function Fr(t){let r,o=t[0],a=[];for(let e=0;e<o.length;e+=1)a[e]=to(Br(t,o,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=w()},m(t,i){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,i);Z(t,r,i)},p(t,i){if(3375419&i[0]){let e;for(o=t[0],e=0;e<o.length;e+=1){var n=Br(t,o,e);a[e]?a[e].p(n,i):(a[e]=to(n),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){I(a,e),e&&X(r)}}}function Gr(e){let i,n,r=(e[41]?e[41].currency:"")+"";return{c(){i=K("span"),n=J(r),te(i,"class","InfoCardCurrency")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){1&t[0]&&r!==(r=(e[41]?e[41].currency:"")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Ur(e){let i,n,r=e[15]("notAvailable")+"";return{c(){i=K("div"),n=J(r),te(i,"class","InfoCardRowValue")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){32768&t[0]&&r!==(r=e[15]("notAvailable")+"")&&ne(n,r)},d(e){e&&X(i)}}}function jr(e){let i,n,r=(e[41]?(S(e[41].expiryDate).year()>e[17].year()+30?e[17].clone().add(5,"years"):S(e[41].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=J(r),te(i,"class","InfoCardRowValue")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){1&t[0]&&r!==(r=(e[41]?(S(e[41].expiryDate).year()>e[17].year()+30?e[17].clone().add(5,"years"):S(e[41].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Wr(i){let n,r,o,a,s,l,u,c;function d(){return i[25](i[43])}return{c(){n=K("div"),(r=K("span")).textContent="i",o=Q(),a=K("player-account-gaming-limits-popup"),te(r,"class","InfoCardIcon"),ie(a,"showpopup",s=i[8][i[43]+1]),ie(a,"iteminfoamount",l=i[41].updateAmount),ie(a,"playercurrency",i[2]),ie(a,"lang",i[3]),ie(a,"clientstyling",i[4]),ie(a,"clientstylingurl",i[5]),te(n,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":""))},m(e,t){Z(e,n,t),q(n,r),q(n,o),q(n,a),u||(c=ee(r,"click",oe(d)),u=!0)},p(e,t){i=e,256&t[0]&&s!==(s=i[8][i[43]+1])&&ie(a,"showpopup",s),1&t[0]&&l!==(l=i[41].updateAmount)&&ie(a,"iteminfoamount",l),4&t[0]&&ie(a,"playercurrency",i[2]),8&t[0]&&ie(a,"lang",i[3]),16&t[0]&&ie(a,"clientstyling",i[4]),32&t[0]&&ie(a,"clientstylingurl",i[5])},d(e){e&&X(n),u=!1,c()}}}function zr(i){let n,r,o;return{c(){(n=K("div")).innerHTML="<span></span>",te(n,"class","InfoCardRemoveIcon")},m(e,t){Z(e,n,t),r||(o=ee(n,"click",function(){v(i[20](i[41],i[1]))&&i[20](i[41],i[1]).apply(this,arguments)}),r=!0)},p(e,t){i=e},d(e){e&&X(n),r=!1,o()}}}function Vr(e){let i,n,r,o,a,s,l,u,c,d,m,h,p,f,g,y,v,w=(e[41]?e[15](e[41].period.charAt(0).toLowerCase()+e[41].period.substring(1)):"")+"",b=(e[41]?"No limit"===e[41].amount?e[15]("noLimit"):e[41].amount:0)+"",L="No limit"!=e[41].amount&&e[41].amount!=e[15]("noLimit"),_=e[15]("expirationDate")+"",x=L&&Gr(e);function T(e){return e[41].expiryDate?jr:Ur}let E=T(e),C=E(e);function M(e,t){return(y=null==(y=32769&t[0]?null:y)?!(e[41].amount===e[15]("noLimit")||"No limit"===e[41].amount||e[41].isModified):y)?zr:"No limit"!=e[41].amount&&e[41].isModified?Wr:void 0}let k=M(e,[-1,-1]),S=k&&k(e);return{c(){i=K("div"),n=K("div"),r=K("div"),o=K("div"),a=J(w),s=Q(),l=K("div"),u=J(b),c=Q(),x&&x.c(),d=Q(),m=K("div"),h=K("div"),p=J(_),f=Q(),C.c(),g=Q(),S&&S.c(),v=Q(),te(o,"class","InfoCardRowTitle"),te(l,"class","InfoCardRowValue"),te(r,"class","InfoCardRow InfoMainRow"),te(h,"class","InfoCardRowTitle"),te(m,"class","InfoCardRow"),te(n,"class","InfoCardRowContainer"),te(i,"class","InfoCardBox InfoCardMultipleItems")},m(e,t){Z(e,i,t),q(i,n),q(n,r),q(r,o),q(o,a),q(r,s),q(r,l),q(l,u),q(l,c),x&&x.m(l,null),q(n,d),q(n,m),q(m,h),q(h,p),q(m,f),C.m(m,null),q(i,g),S&&S.m(i,null),q(i,v)},p(e,t){32769&t[0]&&w!==(w=(e[41]?e[15](e[41].period.charAt(0).toLowerCase()+e[41].period.substring(1)):"")+"")&&ne(a,w),32769&t[0]&&b!==(b=(e[41]?"No limit"===e[41].amount?e[15]("noLimit"):e[41].amount:0)+"")&&ne(u,b),(L=32769&t[0]?"No limit"!=e[41].amount&&e[41].amount!=e[15]("noLimit"):L)?x?x.p(e,t):((x=Gr(e)).c(),x.m(l,null)):x&&(x.d(1),x=null),32768&t[0]&&_!==(_=e[15]("expirationDate")+"")&&ne(p,_),E===(E=T(e))&&C?C.p(e,t):(C.d(1),(C=E(e))&&(C.c(),C.m(m,null))),k===(k=M(e,t))&&S?S.p(e,t):(S&&S.d(1),(S=k&&k(e))&&(S.c(),S.m(i,v)))},d(e){e&&X(i),x&&x.d(),C.d(),S&&S.d()}}}function qr(e){let i,n,r=e[15]("noLimit")+"";return{c(){i=K("span"),n=J(r),te(i,"class","InfoCardCurrency")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){32768&t[0]&&r!==(r=e[15]("noLimit")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Zr(e){let i,n,r,o=(e[41]?"No limit"===e[41].amount?e[15]("noLimit"):e[41].amount:0)+"",a="No limit"!==e[41].amount&&e[41].amount!==e[15]("noLimit"),s=a&&Xr(e);return{c(){i=J(o),n=Q(),s&&s.c(),r=w()},m(e,t){Z(e,i,t),Z(e,n,t),s&&s.m(e,t),Z(e,r,t)},p(e,t){32769&t[0]&&o!==(o=(e[41]?"No limit"===e[41].amount?e[15]("noLimit"):e[41].amount:0)+"")&&ne(i,o),(a=32769&t[0]?"No limit"!==e[41].amount&&e[41].amount!==e[15]("noLimit"):a)?s?s.p(e,t):((s=Xr(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){e&&X(i),e&&X(n),s&&s.d(e),e&&X(r)}}}function Xr(e){let i,n,r=e[15]("minutes")+"";return{c(){i=K("span"),n=J(r),te(i,"class","InfoCardCurrency")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){32768&t[0]&&r!==(r=e[15]("minutes")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Kr(e){let i,n,r=e[15]("notAvailable")+"";return{c(){i=K("div"),n=J(r),te(i,"class","InfoCardRowValue")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){32768&t[0]&&r!==(r=e[15]("notAvailable")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Jr(e){let i,n,r=(e[41]?(S(e[41].expiryDate).year()>e[17].year()+30?e[17].clone().add(5,"years"):S(e[41].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=J(r),te(i,"class","InfoCardRowValue")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){1&t[0]&&r!==(r=(e[41]?(S(e[41].expiryDate).year()>e[17].year()+30?e[17].clone().add(5,"years"):S(e[41].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Qr(i){let n,r,o,a,s,l,u,c,d;function m(){return i[24](i[43])}return{c(){n=K("div"),(r=K("span")).textContent="i",o=Q(),a=K("player-account-gaming-limits-popup"),te(r,"class","InfoCardIcon"),ie(a,"showpopup",s=i[8][i[43]+1]),ie(a,"iteminfoamount",l=i[41].updateMinutes),ie(a,"playercurrency",u=i[15]("minutes")),ie(a,"lang",i[3]),ie(a,"clientstyling",i[4]),ie(a,"clientstylingurl",i[5]),te(n,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":""))},m(e,t){Z(e,n,t),q(n,r),q(n,o),q(n,a),c||(d=ee(r,"click",oe(m)),c=!0)},p(e,t){i=e,256&t[0]&&s!==(s=i[8][i[43]+1])&&ie(a,"showpopup",s),1&t[0]&&l!==(l=i[41].updateMinutes)&&ie(a,"iteminfoamount",l),32768&t[0]&&u!==(u=i[15]("minutes"))&&ie(a,"playercurrency",u),8&t[0]&&ie(a,"lang",i[3]),16&t[0]&&ie(a,"clientstyling",i[4]),32&t[0]&&ie(a,"clientstylingurl",i[5])},d(e){e&&X(n),c=!1,d()}}}function eo(i){let n,r,o;return{c(){(n=K("div")).innerHTML="<span></span>",te(n,"class","InfoCardRemoveIcon")},m(e,t){Z(e,n,t),r||(o=ee(n,"click",function(){v(i[20](i[41],i[1]))&&i[20](i[41],i[1]).apply(this,arguments)}),r=!0)},p(e,t){i=e},d(e){e&&X(n),r=!1,o()}}}function to(e){let i,n,r,o,a,s,l,u,c,d,m,h,p,f,g,y=(e[41]?e[15](e[41].period.charAt(0).toLowerCase()+e[41].period.substring(1)):"")+"",v=e[15]("expirationDate")+"";function w(e){return 0!==e[41].amount?Zr:qr}let b=w(e),L=b(e);function _(e){return e[41].expiryDate?Jr:Kr}let x=_(e),T=x(e);function E(e,t){return(f=null==(f=32769&t[0]?null:f)?!(e[41].amount===e[15]("noLimit")||"No limit"===e[41].amount||e[41].isModified):f)?eo:"No limit"!=e[41].amount&&e[41].isModified?Qr:void 0}let C=E(e,[-1,-1]),M=C&&C(e);return{c(){i=K("div"),n=K("div"),r=K("div"),o=K("div"),a=J(y),s=Q(),l=K("div"),L.c(),u=Q(),c=K("div"),d=K("div"),m=J(v),h=Q(),T.c(),p=Q(),M&&M.c(),g=Q(),te(o,"class","InfoCardRowTitle"),te(l,"class","InfoCardRowValue"),te(r,"class","InfoCardRow InfoMainRow"),te(d,"class","InfoCardRowTitle"),te(c,"class","InfoCardRow"),te(n,"class","InfoCardRowContainer"),te(i,"class","InfoCardBox InfoCardMultipleItems")},m(e,t){Z(e,i,t),q(i,n),q(n,r),q(r,o),q(o,a),q(r,s),q(r,l),L.m(l,null),q(n,u),q(n,c),q(c,d),q(d,m),q(c,h),T.m(c,null),q(i,p),M&&M.m(i,null),q(i,g)},p(e,t){32769&t[0]&&y!==(y=(e[41]?e[15](e[41].period.charAt(0).toLowerCase()+e[41].period.substring(1)):"")+"")&&ne(a,y),b===(b=w(e))&&L?L.p(e,t):(L.d(1),(L=b(e))&&(L.c(),L.m(l,null))),32768&t[0]&&v!==(v=e[15]("expirationDate")+"")&&ne(m,v),x===(x=_(e))&&T?T.p(e,t):(T.d(1),(T=x(e))&&(T.c(),T.m(c,null))),C===(C=E(e,t))&&M?M.p(e,t):(M&&M.d(1),(M=C&&C(e))&&(M.c(),M.m(i,g)))},d(e){e&&X(i),L.d(),T.d(),M&&M.d()}}}function io(i){let n,r,o,a,s=i[15]("removeLimits")+"";return{c(){n=K("button"),r=J(s),te(n,"class","InfoCardRemoveButton")},m(e,t){Z(e,n,t),q(n,r),o||(a=ee(n,"click",i[27]),o=!0)},p(e,t){32768&t[0]&&s!==(s=e[15]("removeLimits")+"")&&ne(r,s)},d(e){e&&X(n),o=!1,a()}}}function no(e){let i,n,r;return{c(){i=K("player-account-modal"),ie(n=K("player-account-gaming-limits-confirmation-modal"),"modaltext",r=e[10]?e[12]:e[13]),ie(n,"modalsource","infoCard"),ie(n,"lang",e[3]),ie(n,"clientstyling",e[4]),ie(n,"clientstylingurl",e[5]),ie(i,"clientstyling",e[4]),ie(i,"clientstylingurl",e[5])},m(e,t){Z(e,i,t),q(i,n)},p(e,t){13312&t[0]&&r!==(r=e[10]?e[12]:e[13])&&ie(n,"modaltext",r),8&t[0]&&ie(n,"lang",e[3]),16&t[0]&&ie(n,"clientstyling",e[4]),32&t[0]&&ie(n,"clientstylingurl",e[5]),16&t[0]&&ie(i,"clientstyling",e[4]),32&t[0]&&ie(i,"clientstylingurl",e[5])},d(e){e&&X(i)}}}function ro(i){let n;function r(e){return e[7]?$r:Rr}let o=r(i),a=o(i);return{c(){n=K("div"),a.c(),this.c=z},m(e,t){Z(e,n,t),a.m(n,null),i[28](n)},p(e,t){o===(o=r(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(n,null)))},i:z,o:z,d(e){e&&X(n),a.d(),i[28](null)}}}function oo(t,e,n){let i,{limitsdata:r=[]}=(re(t,Wn,e=>n(15,i=e)),e),{limitname:o=""}=e,{playercurrency:a=""}=e,{lang:s="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:u=""}=e,{translationurl:c=""}=e;Object.keys(Xn).forEach(e=>{Zn(e,Xn[e])});let d,m=!0,h=new Array(5).fill(0),p=["Daily","Weekly","Monthly"],f=!0,g=!0,y=!1,v=window.navigator.userAgent,w="PC"!==zn(v),b="",L="",_=!0,x=S(),T=e=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:e,name:o},window.location.href)},E=e=>{n(11,y=!0),n(10,g=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:o},window.location.href)},C=e=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{n(8,h[e]=!0,h)},50)},M=(e,t)=>"Weekly"===e.period&&"Daily"===t.period||"Monthly"===e.period&&"Daily"===t.period||"Monthly"===e.period&&"Weekly"===t.period?1:"Daily"===e.period&&"Weekly"===t.period||"Daily"===e.period&&"Monthly"===t.period||"Weekly"===e.period&&"Monthly"===t.period?-1:0,k=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":n(8,h=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),n(11,y=!1),n(10,g=!1)}};return se(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),t.$$set=e=>{"limitsdata"in e&&n(0,r=e.limitsdata),"limitname"in e&&n(1,o=e.limitname),"playercurrency"in e&&n(2,a=e.playercurrency),"lang"in e&&n(3,s=e.lang),"clientstyling"in e&&n(4,l=e.clientstyling),"clientstylingurl"in e&&n(5,u=e.clientstylingurl),"translationurl"in e&&n(22,c=e.translationurl)},t.$$.update=()=>{if(11&t.$$.dirty[0]&&r&&o&&s&&(()=>{var e=s;W.set(e),e="Time Limit"===o?"time limit":"Deposit Limit"===o?"deposit limit":"Wagering Limit"===o?"wagering limit":"loss limit",n(12,b=i("removeLimitsText",{values:{limit:e}})),n(13,L=i("removeLimitText",{values:{limit:e}})),r.forEach(e=>{e.isModified&&n(14,_=!1)});{let i=[...e=r];p.forEach((t,e)=>{e=(i=i.find(e=>e.period===t)?i:((e,t,i)=>{i={period:i,amount:"No limit",currency:"",isModified:!1,expiryDate:""},e=[...e];return e.splice(t,0,i),e})(i,e,t)).find(e=>e.period===t);e&&"No limit"!==e.amount&&n(9,f=!1)}),e.splice(0,e.length,...i),n(7,m=!1)}r.sort(M)})(),80&t.$$.dirty[0]&&l&&d&&((e=document.createElement("style")).innerHTML=l,d.appendChild(e)),96&t.$$.dirty[0]&&u&&d){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{d.appendChild(t)},1)})}var e;4194304&t.$$.dirty[0]&&c&&fetch(c).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Zn(e,t[e])})}).catch(e=>{console.log(e)})},[r,o,a,s,l,u,d,m,h,f,g,y,b,L,_,i,w,x,T,E,(e,t)=>{n(11,y=!0),n(10,g=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:t},window.location.href)},C,c,()=>C(0),e=>C(e+1),e=>C(e+1),()=>T(r),()=>E(r),function(e){j[e?"unshift":"push"](()=>{d=e,n(6,d)})}]}function ao(e){let i;return{c(){ie(i=K("player-account-gaming-limits-group-edit"),"limitsdata",e[13]),ie(i,"limitname",e[14]),ie(i,"showsuccessnotification",e[7]),ie(i,"showdeletenotification",e[6]),ie(i,"playercurrency",e[5]),ie(i,"lang",e[0]),ie(i,"separatelimits",e[8]),ie(i,"clientstyling",e[9]),ie(i,"clientstylingurl",e[10])},m(e,t){Z(e,i,t)},p(e,t){8192&t&&ie(i,"limitsdata",e[13]),16384&t&&ie(i,"limitname",e[14]),128&t&&ie(i,"showsuccessnotification",e[7]),64&t&&ie(i,"showdeletenotification",e[6]),32&t&&ie(i,"playercurrency",e[5]),1&t&&ie(i,"lang",e[0]),256&t&&ie(i,"separatelimits",e[8]),512&t&&ie(i,"clientstyling",e[9]),1024&t&&ie(i,"clientstylingurl",e[10])},d(e){e&&X(i)}}}function so(e){let i,n,r,o,a,s,l,u,c,d,m,h,p,f=e[16]("gamingLimitsText")+"",g=e[17]&&(i=>{let n,r,o,a,s,l,u,c,d,m,h,p,f,g=i[16]("gamingLimitsText")+"";return{c(){n=K("div"),r=t("svg"),o=t("defs"),a=t("style"),s=J(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=t("g"),u=t("g"),c=t("path"),d=Q(),m=K("h2"),h=J(g),te(c,"class","aaa"),te(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),te(c,"transform","translate(15 15) rotate(180)"),te(u,"transform","translate(20 158)"),te(l,"transform","translate(-20 -158)"),te(r,"xmlns","http://www.w3.org/2000/svg"),te(r,"width","15"),te(r,"height","15"),te(r,"viewBox","0 0 15 15"),te(m,"class","PlayerGamingLimitsTitleMobile"),te(n,"class","MenuReturnButton")},m(e,t){Z(e,n,t),q(n,r),q(r,o),q(o,a),q(a,s),q(r,l),q(l,u),q(u,c),q(n,d),q(n,m),q(m,h),p||(f=ee(n,"click",i[21]),p=!0)},p(e,t){65536&t&&g!==(g=e[16]("gamingLimitsText")+"")&&ne(h,g)},d(e){e&&X(n),p=!1,f()}}})(e);return{c(){i=K("div"),g&&g.c(),n=Q(),r=K("h2"),o=J(f),a=Q(),s=K("div"),l=K("player-account-gaming-limits-info-card"),u=Q(),c=K("player-account-gaming-limits-info-card"),d=Q(),m=K("player-account-gaming-limits-info-card"),h=Q(),p=K("player-account-gaming-limits-info-card"),te(r,"class","PlayerGamingLimitsTitle "+(e[17]?"PlayerGamingLimitsTitleNone":"")),ie(l,"limitsdata",e[1]),ie(l,"limitname",co),ie(l,"playercurrency",e[5]),ie(l,"lang",e[0]),ie(l,"clientstyling",e[9]),ie(l,"clientstylingurl",e[10]),ie(c,"limitsdata",e[2]),ie(c,"limitname",mo),ie(c,"playercurrency",e[5]),ie(c,"lang",e[0]),ie(c,"clientstyling",e[9]),ie(c,"clientstylingurl",e[10]),ie(m,"limitsdata",e[3]),ie(m,"limitname",ho),ie(m,"playercurrency",e[5]),ie(m,"lang",e[0]),ie(m,"clientstyling",e[9]),ie(m,"clientstylingurl",e[10]),ie(p,"limitsdata",e[4]),ie(p,"limitname",po),ie(p,"playercurrency",e[5]),ie(p,"lang",e[0]),ie(p,"clientstyling",e[9]),ie(p,"clientstylingurl",e[10]),te(s,"class","PlayerAccountGamingLimitsContainer"),te(i,"class","PlayerAccountGamingLimitsWrapper "+(e[17]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(e[18].matches&&e[17]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(e,t){Z(e,i,t),g&&g.m(i,null),q(i,n),q(i,r),q(r,o),q(i,a),q(i,s),q(s,l),q(s,u),q(s,c),q(s,d),q(s,m),q(s,h),q(s,p)},p(e,t){e[17]&&g.p(e,t),65536&t&&f!==(f=e[16]("gamingLimitsText")+"")&&ne(o,f),2&t&&ie(l,"limitsdata",e[1]),32&t&&ie(l,"playercurrency",e[5]),1&t&&ie(l,"lang",e[0]),512&t&&ie(l,"clientstyling",e[9]),1024&t&&ie(l,"clientstylingurl",e[10]),4&t&&ie(c,"limitsdata",e[2]),32&t&&ie(c,"playercurrency",e[5]),1&t&&ie(c,"lang",e[0]),512&t&&ie(c,"clientstyling",e[9]),1024&t&&ie(c,"clientstylingurl",e[10]),8&t&&ie(m,"limitsdata",e[3]),32&t&&ie(m,"playercurrency",e[5]),1&t&&ie(m,"lang",e[0]),512&t&&ie(m,"clientstyling",e[9]),1024&t&&ie(m,"clientstylingurl",e[10]),16&t&&ie(p,"limitsdata",e[4]),32&t&&ie(p,"playercurrency",e[5]),1&t&&ie(p,"lang",e[0]),512&t&&ie(p,"clientstyling",e[9]),1024&t&&ie(p,"clientstylingurl",e[10])},d(e){e&&X(i),g&&g.d()}}}function lo(e){let i;return{c(){te(i=K("div"),"class","ModalLoader")},m(e,t){Z(e,i,t)},p:z,d(e){e&&X(i)}}}function uo(i){let n;function r(e){return e[12]?lo:e[15]?so:ao}let o=r(i),a=o(i);return{c(){n=K("div"),a.c(),this.c=z},m(e,t){Z(e,n,t),a.m(n,null),i[22](n)},p(e,[t]){o===(o=r(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(n,null)))},i:z,o:z,d(e){e&&X(n),a.d(),i[22](null)}}}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends Le{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emfe-w-button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}',this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},fr,pr,T,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["modaltext","modalsource","lang","clientstyling","clientstylingurl","translationurl"]}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),m()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),m()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}}),customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",class extends Le{constructor(e){super();var t=document.createElement("style");t.textContent=".MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emfe-w-color-gray-300, #58586B);background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emfe-w-color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}",this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Nr,Or,T,{limitsdata:1,showsuccessnotification:2,showdeletenotification:3,playercurrency:4,lang:0,separatelimits:25,clientstyling:26,clientstylingurl:27,translationurl:28},null,[-1,-1,-1]),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","playercurrency","lang","separatelimits","clientstyling","clientstylingurl","translationurl"]}get limitsdata(){return this.$$.ctx[1]}set limitsdata(e){this.$$set({limitsdata:e}),m()}get showsuccessnotification(){return this.$$.ctx[2]}set showsuccessnotification(e){this.$$set({showsuccessnotification:e}),m()}get showdeletenotification(){return this.$$.ctx[3]}set showdeletenotification(e){this.$$set({showdeletenotification:e}),m()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(e){this.$$set({playercurrency:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get separatelimits(){return this.$$.ctx[25]}set separatelimits(e){this.$$set({separatelimits:e}),m()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),m()}}),customElements.get("player-account-gaming-limits-info-card")||customElements.define("player-account-gaming-limits-info-card",class extends Le{constructor(e){super();var t=document.createElement("style");t.textContent='@charset "UTF-8";.InfoCard{padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 3px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emfe-w-color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border:1px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emfe-w-color-black, #000000)}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B)}',this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},oo,ro,T,{limitsdata:0,limitname:1,playercurrency:2,lang:3,clientstyling:4,clientstylingurl:5,translationurl:22},null,[-1,-1]),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["limitsdata","limitname","playercurrency","lang","clientstyling","clientstylingurl","translationurl"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$$set({limitsdata:e}),m()}get limitname(){return this.$$.ctx[1]}set limitname(e){this.$$set({limitname:e}),m()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(e){this.$$set({playercurrency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[22]}set translationurl(e){this.$$set({translationurl:e}),m()}});let co="Deposit Limit",mo="Wagering Limit",ho="Loss Limit",po="Time Limit";function fo(t,e,i){let n,r=(re(t,Wn,e=>i(16,n=e)),e).depositlimit,o=e.wageringlimit,a=e.losslimit,s=e.timelimit,{showdeletenotification:l=!1}=e,{showsuccessnotification:u=!1}=e,{lang:c="en"}=e,{playercurrency:d=""}=e,{separatelimits:m="true"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{translationurl:f=""}=e,g;Object.keys(qn).forEach(e=>{Vn(e,qn[e])});let y,v=!0,w=window.navigator.userAgent,b="PC"!==zn(w),L="",_=!0,x=window.matchMedia("(min-width: 768px)"),T=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:b},window.location.href)},E=e=>{if(e.data)switch(e.data.type){case"PlayerLimitsData":i(0,c=e.data.limits.lang),i(1,r=e.data.limits.depositlimit),i(2,o=e.data.limits.wageringlimit),i(3,a=e.data.limits.losslimit),i(4,s=e.data.limits.timelimit),i(12,v=!1);break;case"EditPlayerAccountGamingLimits":i(13,y=e.data.edit),i(14,L=e.data.name),i(15,_=!1),window.postMessage({type:"EditPlayerLimit",name:L},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":i(15,_=!0);break;case"ProfileDetailsData":var t=e.data.profileDetails;i(5,d=t.currency)}};return se(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),t.$$set=e=>{"depositlimit"in e&&i(1,r=e.depositlimit),"wageringlimit"in e&&i(2,o=e.wageringlimit),"losslimit"in e&&i(3,a=e.losslimit),"timelimit"in e&&i(4,s=e.timelimit),"showdeletenotification"in e&&i(6,l=e.showdeletenotification),"showsuccessnotification"in e&&i(7,u=e.showsuccessnotification),"lang"in e&&i(0,c=e.lang),"playercurrency"in e&&i(5,d=e.playercurrency),"separatelimits"in e&&i(8,m=e.separatelimits),"clientstyling"in e&&i(9,h=e.clientstyling),"clientstylingurl"in e&&i(10,p=e.clientstylingurl),"translationurl"in e&&i(20,f=e.translationurl)},t.$$.update=()=>{if(1&t.$$.dirty&&c&&(e=c,W.set(e)),2560&t.$$.dirty&&h&&g&&((e=document.createElement("style")).innerHTML=h,g.appendChild(e)),3072&t.$$.dirty&&p&&g){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{g.appendChild(t)},1)})}var e;1048576&t.$$.dirty&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Vn(e,t[e])})}).catch(e=>{console.log(e)})},[c,r,o,a,s,d,l,u,m,h,p,g,v,y,L,_,n,b,x,T,f,()=>T(),function(e){j[e?"unshift":"push"](()=>{g=e,i(11,g)})}]}class go extends Le{constructor(e){super();var t=document.createElement("style");t.textContent='.PlayerAccountGamingLimitsWrapper{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));padding:50px;max-width:760px}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emfe-w-color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},fo,uo,T,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,playercurrency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,translationurl:20},null),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["depositlimit","wageringlimit","losslimit","timelimit","showdeletenotification","showsuccessnotification","lang","playercurrency","separatelimits","clientstyling","clientstylingurl","translationurl"]}get depositlimit(){return this.$$.ctx[1]}set depositlimit(e){this.$$set({depositlimit:e}),m()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(e){this.$$set({wageringlimit:e}),m()}get losslimit(){return this.$$.ctx[3]}set losslimit(e){this.$$set({losslimit:e}),m()}get timelimit(){return this.$$.ctx[4]}set timelimit(e){this.$$set({timelimit:e}),m()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(e){this.$$set({showdeletenotification:e}),m()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(e){this.$$set({showsuccessnotification:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get playercurrency(){return this.$$.ctx[5]}set playercurrency(e){this.$$set({playercurrency:e}),m()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(e){this.$$set({separatelimits:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}}return customElements.get("player-account-gaming-limits")||customElements.define("player-account-gaming-limits",go),go});
3
+ }`,s=`__svelte_${(e=>{let t=5381,i=e.length;for(;i--;)t=(t<<5)-t^e.charCodeAt(i);return t>>>0})(d)}_`+s,m=D(e),{stylesheet:h,rules:p}=H.get(m)||(m=m,c={stylesheet:(c=e,p=K("style"),c=D(c),h=p,q(c.head||c,h),h.sheet,p.sheet),rules:{}},H.set(m,c),c),m=(p[s]||(p[s]=!0,h.insertRule(`@keyframes ${s} `+d,h.cssRules.length)),e.style.animation||"");return e.style.animation=(m?m+", ":"")+s+` ${t}ms linear ${r}ms 1 both`,R+=1,s}function Y(e){B=e}function se(e){(()=>{if(B)return B;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e)}let F=[],j=[],G=[],U=[],le=Promise.resolve(),ue=!1;function ce(e){G.push(e)}let de=new Set,me,he=0;function m(){if(0===he){let e=B;do{try{for(;he<F.length;){let e=F[he];he++,Y(e),t=i=void 0;var t,i=e.$$;null!==i.fragment&&(i.update(),V(i.before_update),t=i.dirty,i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,t),i.after_update.forEach(ce))}}catch(e){throw F.length=0,he=0,e}for(Y(null),F.length=0,he=0;j.length;)j.pop()();for(let e=0;e<G.length;e+=1){var n=G[e];de.has(n)||(de.add(n),n())}}while(G.length=0,F.length);for(;U.length;)U.pop()();ue=!1,de.clear(),Y(e)}}function pe(e,t,i){var n;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:i=!1}={}]=[(t?"intro":"outro")+i],(n=document.createEvent("CustomEvent")).initCustomEvent(e,t,i,void 0),n))}let fe=new Set,g;function ge(e,t){e&&e.i&&(fe.delete(e),e.i(t))}function ye(e,t,i,n){e&&e.o?fe.has(e)||(fe.add(e),g.c.push(()=>{fe.delete(e),n&&(i&&e.d(1),n())}),e.o(t)):n&&n()}let ve={duration:0};function we(l,e,t,i){let n={direction:"both"},u=e(l,t,n),c=i?0:1,d=null,m=null,h=null;function p(){var e,t,i,n;h&&(e=l,t=h,i=(e.style.animation||"").split(", "),n=i.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(i=i.length-n.length)||(e.style.animation=n.join(", "),R-=i)||M(()=>{R||(H.forEach(e=>{e=e.stylesheet.ownerNode;e&&X(e)}),H.clear())}))}function f(e,t){var i=e.b-c;return t*=Math.abs(i),{a:c,b:e.b,d:i,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){let{delay:t=0,duration:i=300,easing:n=x,tick:r=z,css:o}=u||ve,a={start:C()+t,b:e};if(e||((a.group=g).r+=1),d||m)m=a;else{o&&(p(),h=$(l,c,e,i,t,n,o)),e&&r(0,1),d=f(a,i),ce(()=>pe(l,e,"start"));{var s=e=>(m&&e>m.start&&(d=f(m,i),m=null,pe(l,d.b,"start"),o)&&(p(),h=$(l,c,d.b,d.duration,0,n,u.css)),d&&(e>=d.end?(r(c=d.b,1-c),pe(l,d.b,"end"),m||(d.b?p():--d.group.r||V(d.group.c)),d=null):e>=d.start&&(e=e-d.start,c=d.a+d.d*n(e/d.duration),r(c,1-c))),!(!d&&!m));let t;0===k.size&&M(A),new Promise(e=>{k.add(t={c:s,f:e})})}}}return{run(e){v(u)?(me||(me=Promise.resolve()).then(()=>{me=null}),me.then(()=>{u=u(n),r(e)})):r(e)},end(){p(),d=m=null}}}function be(n,t,e,i,r,o,a,s=[-1]){var l=B;Y(n);let u=n.$$={fragment:null,ctx:[],props:o,update:z,not_equal:r,bound:p(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:p(),dirty:s,skip_bound:!1,root:t.target||l.$$.root},c=(a&&a(u.root),!1);if(u.ctx=e?e(n,t.props||{},(e,t,...i)=>{var i=i.length?i[0]:t;return u.ctx&&r(u.ctx[e],u.ctx[e]=i)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](i),c)&&(i=e,-1===(e=n).$$.dirty[0]&&(F.push(e),ue||(ue=!0,le.then(m)),e.$$.dirty.fill(0)),e.$$.dirty[i/31|0]|=1<<i%31),t}):[],u.update(),c=!0,V(u.before_update),u.fragment=!!i&&i(u.ctx),t.target){if(t.hydrate){o=t.target;let e=Array.from(o.childNodes);u.fragment&&u.fragment.l(e),e.forEach(X)}else u.fragment&&u.fragment.c();t.intro&&ge(n.$$.fragment);var d=n,s=t.customElement,{fragment:a,after_update:e}=d.$$;a&&a.m(t.target,t.anchor),s||ce(()=>{var e=d.$$.on_mount.map(h).filter(v);d.$$.on_destroy?d.$$.on_destroy.push(...e):V(e),d.$$.on_mount=[]}),e.forEach(ce),m()}Y(l)}let Le;"function"==typeof HTMLElement&&(Le=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(h).filter(v);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){V(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;let t=[],i=[];G.forEach(e=>(-1===n.indexOf(e)?t:i).push(e)),i.forEach(e=>e()),G=t}V(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=z}$on(e,t){if(!v(t))return z;let i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var _e,xe,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Te="URLSearchParams"in l,Ee="Symbol"in l&&"iterator"in Symbol,Ce="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),Me="FormData"in l,ke="ArrayBuffer"in l;function Se(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 Ae(e){return e="string"!=typeof e?String(e):e}function De(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ee&&(e[Symbol.iterator]=function(){return e}),e}function u(t){this.map={},t instanceof u?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Ie(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Pe(i){return new Promise(function(e,t){i.onload=function(){e(i.result)},i.onerror=function(){t(i.error)}})}function Oe(e){var t=new FileReader,i=Pe(t);return t.readAsArrayBuffer(e),i}function Ne(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function He(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Ce&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Me&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Te&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ke&&Ce&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Ne(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ke&&(ArrayBuffer.prototype.isPrototypeOf(e)||xe(e))?this._bodyArrayBuffer=Ne(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,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):Te&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Ce&&(this.blob=function(){var e=Ie(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)return Ie(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(Ce)return this.blob().then(Oe);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,n=Ie(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Pe(e),i=(i=/charset=([A-Za-z0-9_-]+)/.exec(n.type))?i[1]:"utf-8",e.readAsText(n,i),t;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Me&&(this.formData=function(){return this.text().then($e)}),this.json=function(){return this.text().then(JSON.parse)},this}ke&&(_e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],xe=ArrayBuffer.isView||function(e){return e&&-1<_e.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=Se(e),t=Ae(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},u.prototype.delete=function(e){delete this.map[Se(e)]},u.prototype.get=function(e){return e=Se(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(Se(e))},u.prototype.set=function(e,t){this.map[Se(e)]=Ae(t)},u.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},u.prototype.keys=function(){var i=[];return this.forEach(function(e,t){i.push(t)}),De(i)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),De(t)},u.prototype.entries=function(){var i=[];return this.forEach(function(e,t){i.push([t,e])}),De(i)},Ee&&(u.prototype[Symbol.iterator]=u.prototype.entries);var Be=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Re(e,t){if(!(this instanceof Re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n=(t=t||{}).body;if(e instanceof Re){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(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 u(t.headers)),this.method=(i=(e=t.method||this.method||"GET").toUpperCase(),-1<Be.indexOf(i)?i:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(()=>{if("AbortController"in l)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((i=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function $e(e){var i=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),i.append(decodeURIComponent(t),decodeURIComponent(e)))}),i}function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}Re.prototype.clone=function(){return new Re(this,{body:this._bodyInit})},He.call(Re.prototype),He.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var Ye=[301,302,303,307,308],Fe=(c.redirect=function(e,t){if(-1===Ye.indexOf(t))throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},l.DOMException);try{new Fe}catch(z){(Fe=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Fe.prototype.constructor=Fe}function Ge(n,s){return new Promise(function(r,e){var o=new Re(n,s);if(o.signal&&o.signal.aborted)return e(new Fe("Aborted","AbortError"));var i,a=new XMLHttpRequest;function t(){a.abort()}a.onload=function(){var e,n,t={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",n=new u,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 t=e.split(":"),i=t.shift().trim();if(i){t=t.join(":").trim();try{n.append(i,t)}catch(e){console.warn("Response "+e.message)}}}),n)},i=(0===o.url.indexOf("file://")&&(a.status<200||599<a.status)?t.status=200:t.status=a.status,t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){r(new c(i,t))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){e(new Fe("Aborted","AbortError"))},0)},a.open(o.method,(t=>{try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}})(o.url),!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&(Ce?a.responseType="blob":ke&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(i=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){i.push(Se(e)),a.setRequestHeader(e,Ae(s.headers[e]))}),o.headers.forEach(function(e,t){-1===i.indexOf(t)&&a.setRequestHeader(t,e)})):o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),o.signal&&(o.signal.addEventListener("abort",t),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",t)}),a.send(void 0===o._bodyInit?null:o._bodyInit)})}function Si(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ge.polyfill=!0,l.fetch||(l.fetch=Ge,l.Headers=u,l.Request=Re,l.Response=c),self.fetch.bind(self);var Ue=function(e,t){return(Ue=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])}))(e,t)};function je(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}Ue(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function We(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ze(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,o=i.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}function Ve(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||((n=n||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function qe(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ze=qe(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Xe(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}i.prototype.unsubscribe=function(){var e,t,i,n,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=We(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(d(o))try{o()}catch(e){r=e instanceof Ze?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=We(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{et(c)}catch(e){r=null!=r?r:[],e instanceof Ze?r=Ve(Ve([],ze(r)),ze(e.errors)):r.push(e)}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}if(r)throw new Ze(r)}},i.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)et(e);else{if(e instanceof i){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},i.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},i.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},i.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Xe(t,e)},i.prototype.remove=function(e){var t=this._finalizers;t&&Xe(t,e),e instanceof i&&e._removeParent(this)},i.EMPTY=((e=new i).closed=!0,e);var Ke=i,Je=Ke.EMPTY;function i(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Qe(e){return e instanceof Ke||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function et(e){d(e)?e():e.unsubscribe()}var tt=void 0,it=!1,nt=!1,rt={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var r=rt.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,Ve([e,t],ze(i))):setTimeout.apply(void 0,Ve([e,t],ze(i)))},clearTimeout:function(e){var t=rt.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ot(){}var at=null;function st(e){if(it){var t=!at;if(t&&(at={errorThrown:!1,error:null}),e(),t){var t=at,i=t.errorThrown;if(at=null,i)throw t.error}}else e()}je(n,lt=Ke),n.create=function(e,t,i){return new pt(e,t,i)},n.prototype.next=function(e){this.isStopped||this._next(e)},n.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,lt.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var lt,ut=n,ct=Function.prototype.bind;function n(e){var t=lt.call(this)||this;return t.isStopped=!1,e?Qe(t.destination=e)&&e.add(t):t.destination=vt,t}function dt(e,t){return ct.call(e,t)}gt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){yt(e)}},gt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){yt(e)}else yt(e)},gt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){yt(e)}};var mt,ht=gt,pt=(je(ft,mt=ut),ft);function ft(e,t,i){var n=mt.call(this)||this,i=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=i?i:void 0}:n&&nt?((t=Object.create(e)).unsubscribe=function(){return n.unsubscribe()},{next:e.next&&dt(e.next,t),error:e.error&&dt(e.error,t),complete:e.complete&&dt(e.complete,t)}):e;return n.destination=new ht(i),n}function gt(e){this.partialObserver=e}function yt(e){var t=e;rt.setTimeout(function(){throw t})}var vt={closed:!0,next:ot,error:function(e){throw e},complete:ot},e="function"==typeof Symbol&&Symbol.observable||"@@observable";r.prototype.lift=function(e){var t=new r;return t.source=this,t.operator=e,t},r.prototype.subscribe=function(e,t,i){var n,r=this,o=(n=e)&&n instanceof ut||n&&d(n.next)&&d(n.error)&&d(n.complete)&&Qe(n)?e:new pt(e,t,i);return st(function(){var e=r.operator,t=r.source;o.add(e?e.call(o,t):t?r._subscribe(o):r._trySubscribe(o))}),o},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(n,e){var r=this;return new(e=bt(e))(function(e,t){var i=new pt({next:function(e){try{n(e)}catch(e){t(e),i.unsubscribe()}},error:t,complete:e});r.subscribe(i)})},r.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},r.prototype[e]=function(){return this},r.prototype.pipe=function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},r.prototype.toPromise=function(e){var n=this;return new(e=bt(e))(function(e,t){var i;n.subscribe(function(e){return i=e},function(e){return t(e)},function(){return e(i)})})},r.create=function(e){return new r(e)};var wt=r;function r(e){e&&(this._subscribe=e)}function bt(e){return null!=(e=null!=e?e:tt)?e:Promise}var Lt,_t,xt,Tt=qe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(je(o,xt=wt),o.prototype.lift=function(e){var t=new Et(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new Tt},o.prototype.next=function(r){var o=this;st(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var i=We(o.currentObservers),n=i.next();!n.done;n=i.next())n.value.next(r)}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},o.prototype.error=function(t){var i=this;st(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var e=i.observers;e.length;)e.shift().error(t)}})},o.prototype.complete=function(){var t=this;st(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},o.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(o.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),o.prototype._trySubscribe=function(e){return this._throwIfClosed(),xt.prototype._trySubscribe.call(this,e)},o.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},o.prototype._innerSubscribe=function(e){var t=this,i=this.hasError,n=this.isStopped,r=this.observers;return i||n?Je:(this.currentObservers=null,r.push(e),new Ke(function(){t.currentObservers=null,Xe(r,e)}))},o.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,i=this.thrownError,n=this.isStopped;t?e.error(i):n&&e.complete()},o.prototype.asObservable=function(){var e=new wt;return e.source=this,e},o.create=function(e,t){return new Et(e,t)},o),Et=(je(St,_t=e),St.prototype.next=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.next)&&i.call(t,e)},St.prototype.error=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.error)&&i.call(t,e)},St.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},St.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Je},St),Ct={now:function(){return(Ct.delegate||Date).now()},delegate:void 0},Mt=(je(kt,Lt=e),kt.prototype.next=function(e){var t=this,i=t.isStopped,n=t._buffer,r=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;i||(n.push(e),r)||n.push(o.now()+t),this._trimBuffer(),Lt.prototype.next.call(this,e)},kt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!e.closed;r+=i?1:2)e.next(n[r]);return this._checkFinalizedStatuses(e),t},kt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,i=this._buffer,n=this._infiniteTimeWindow,r=(n?1:2)*e;if(e<1/0&&r<i.length&&i.splice(0,i.length-r),!n){for(var o=t.now(),a=0,s=1;s<i.length&&i[s]<=o;s+=2)a=s;a&&i.splice(0,a+1)}},kt);function kt(e,t,i){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===i&&(i=Ct);var n=Lt.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=i,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function St(e,t){var i=_t.call(this)||this;return i.destination=e,i.source=t,i}function o(){var e=xt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let At=[],Dt={},It=[];function Pt(n,r=z){let o,a=new Set;function s(e){if(T(n,e)&&(n=e,o)){let e=!It.length;for(let e of a)e[1](),It.push(e,n);if(e){for(let e=0;e<It.length;e+=2)It[e][0](It[e+1]);It.length=0}}}return{set:s,update:function(e){s(e(n))},subscribe:function(e,t=z){let i=[e,t];return a.add(i),1===a.size&&(o=r(s)||z),e(n),()=>{a.delete(i),0===a.size&&o&&(o(),o=null)}}}}function Ot(e,s,t){let l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:Pt(t,t=>{let i=!1,n=[],r=0,o=z,a=()=>{var e;r||(o(),e=s(l?n[0]:n,t),c?t(e):o=v(e)?e:z)},e=u.map((e,t)=>E(e,e=>{n[t]=e,r&=~(1<<t),i&&a()},()=>{r|=1<<t}));return i=!0,a(),function(){V(e),o(),i=!1}}).subscribe}}function Nt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===Ht);var t}var Ht="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Bt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Gt(Array.isArray(e)?[]:{},e,t):e}function Rt(e,t,i){return e.concat(t).map(function(e){return Bt(e,i)})}function $t(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Yt(e,t){try{return t in e}catch(e){return!1}}function Ft(n,r,o){var a={};return o.isMergeableObject(n)&&$t(n).forEach(function(e){a[e]=Bt(n[e],o)}),$t(r).forEach(function(e){var t,i;(!Yt(t=n,i=e)||Object.hasOwnProperty.call(t,i)&&Object.propertyIsEnumerable.call(t,i))&&(Yt(n,e)&&o.isMergeableObject(r[e])?a[e]=((t=o).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Gt)(n[e],r[e],o):a[e]=Bt(r[e],o))}),a}function Gt(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Rt,i.isMergeableObject=i.isMergeableObject||Nt,i.cloneUnlessOtherwiseSpecified=Bt;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):Ft(e,t,i):Bt(t,i)}Gt.all=function(e,i){if(Array.isArray(e))return e.reduce(function(e,t){return Gt(e,t,i)},{});throw new Error("first argument should be an array")};var Ut=Gt,jt=function(e,t){return(jt=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])}))(e,t)};function Wt(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}jt(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var f,y,zt,b=function(){return(b=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Vt(e,t,i){if(i||2===arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||((n=n||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function qt(e){return e.type===y.literal}function Zt(e){return e.type===y.number}function Xt(e){return e.type===y.date}function Kt(e){return e.type===y.time}function Jt(e){return e.type===y.select}function Qt(e){return e.type===y.plural}function ei(e){return e.type===y.tag}function ti(e){return e&&"object"==typeof e&&e.type===zt.number}function ii(e){return e&&"object"==typeof e&&e.type===zt.dateTime}(e=f=f||{})[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",(e=y=y||{})[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",(e=zt=zt||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ni=/(?:[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;var ri=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,oi=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ai=/^(@+)?(\+|#+)?[rs]?$/g,si=/(\*)(0+)|(#+)(0+)|(0+)/g,li=/^(0+)$/;function ui(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(ai,function(e,t,i){return"string"!=typeof i?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===i?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof i?i.length:0)),""}),n}function ci(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 di(e){return ci(e)||{}}function mi(e){for(var a={},t=0,i=e;t<i.length;t++){var n,r=i[t];switch(r.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=r.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=b(b(b({},a),{notation:"scientific"}),r.options.reduce(function(e,t){return b(b({},e),di(t))},{}));continue;case"engineering":a=b(b(b({},a),{notation:"engineering"}),r.options.reduce(function(e,t){return b(b({},e),di(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(si,function(e,t,i,n,r,o){if(t)a.minimumIntegerDigits=i.length;else{if(n&&r)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(li.test(r.stem))a.minimumIntegerDigits=r.stem.length;else if(oi.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(oi,function(e,t,i,n,r,o){return"*"===i?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:r&&o?(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var o=r.options[0];"w"===o?a=b(b({},a),{trailingZeroDisplay:"stripIfInteger"}):o&&(a=b(b({},a),ui(o)))}else ai.test(r.stem)?a=b(b({},a),ui(r.stem)):((o=ci(r.stem))&&(a=b(b({},a),o)),(n=(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)),!li.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(r.stem))&&(a=b(b({},a),n)))}return a}var hi={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"]};var pi=new RegExp("^".concat(e.source,"*")),fi=new RegExp("".concat(e.source,"*$"));function L(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,gi=!!String.fromCodePoint,yi=!!Object.fromEntries,vi=!!String.prototype.codePointAt,wi=!!String.prototype.trimStart,bi=!!String.prototype.trimEnd,Li=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},_i=!0;try{_i="a"===(null==(ji=Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ji[0])}catch(z){_i=!1}var xi,Ti,Ei=e?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Ci=gi?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,o=0;o<r;){if(1114111<(i=e[o++]))throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},Mi=yi?Object.fromEntries:function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];t[r[0]]=r[1]}return t},ki=vi?function(e,t){return e.codePointAt(t)}:function(e,t){var i,n=e.length;if(!(t<0||n<=t))return(i=e.charCodeAt(t))<55296||56319<i||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?i:n-56320+(i-55296<<10)+65536},Ai=wi?function(e){return e.trimStart()}:function(e){return e.replace(pi,"")},Di=bi?function(e){return e.trimEnd()}:function(e){return e.replace(fi,"")};function Ii(e,t){return new RegExp(e,t)}Ti=_i?(xi=Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return xi.lastIndex=t,null!=(t=xi.exec(e)[1])?t:""}):function(e,t){for(var i,n=[];;){var r=ki(e,t);if(void 0===r||Ni(r)||33<=(i=r)&&i<=35||36===i||37<=i&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||46<=i&&i<=47||58<=i&&i<=59||60<=i&&i<=62||63<=i&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||162<=i&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||8208<=i&&i<=8213||8214<=i&&i<=8215||8216===i||8217===i||8218===i||8219<=i&&i<=8220||8221===i||8222===i||8223===i||8224<=i&&i<=8231||8240<=i&&i<=8248||8249===i||8250===i||8251<=i&&i<=8254||8257<=i&&i<=8259||8260===i||8261===i||8262===i||8263<=i&&i<=8273||8274===i||8275===i||8277<=i&&i<=8286||8592<=i&&i<=8596||8597<=i&&i<=8601||8602<=i&&i<=8603||8604<=i&&i<=8607||8608===i||8609<=i&&i<=8610||8611===i||8612<=i&&i<=8613||8614===i||8615<=i&&i<=8621||8622===i||8623<=i&&i<=8653||8654<=i&&i<=8655||8656<=i&&i<=8657||8658===i||8659===i||8660===i||8661<=i&&i<=8691||8692<=i&&i<=8959||8960<=i&&i<=8967||8968===i||8969===i||8970===i||8971===i||8972<=i&&i<=8991||8992<=i&&i<=8993||8994<=i&&i<=9e3||9001===i||9002===i||9003<=i&&i<=9083||9084===i||9085<=i&&i<=9114||9115<=i&&i<=9139||9140<=i&&i<=9179||9180<=i&&i<=9185||9186<=i&&i<=9254||9255<=i&&i<=9279||9280<=i&&i<=9290||9291<=i&&i<=9311||9472<=i&&i<=9654||9655===i||9656<=i&&i<=9664||9665===i||9666<=i&&i<=9719||9720<=i&&i<=9727||9728<=i&&i<=9838||9839===i||9840<=i&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||10132<=i&&i<=10175||10176<=i&&i<=10180||10181===i||10182===i||10183<=i&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||10224<=i&&i<=10239||10240<=i&&i<=10495||10496<=i&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||10649<=i&&i<=10711||10712===i||10713===i||10714===i||10715===i||10716<=i&&i<=10747||10748===i||10749===i||10750<=i&&i<=11007||11008<=i&&i<=11055||11056<=i&&i<=11076||11077<=i&&i<=11078||11079<=i&&i<=11084||11085<=i&&i<=11123||11124<=i&&i<=11125||11126<=i&&i<=11157||11158===i||11159<=i&&i<=11263||11776<=i&&i<=11777||11778===i||11779===i||11780===i||11781===i||11782<=i&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||11790<=i&&i<=11798||11799===i||11800<=i&&i<=11801||11802===i||11803===i||11804===i||11805===i||11806<=i&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||11818<=i&&i<=11822||11823===i||11824<=i&&i<=11833||11834<=i&&i<=11835||11836<=i&&i<=11839||11840===i||11841===i||11842===i||11843<=i&&i<=11855||11856<=i&&i<=11857||11858===i||11859<=i&&i<=11903||12289<=i&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||12306<=i&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||12318<=i&&i<=12319||12320===i||12336===i||64830===i||64831===i||65093<=i&&i<=65094)break;n.push(r),t+=65536<=r?2:1}return Ci.apply(void 0,n)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(e,i)).err)return r;n.push(r.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(f.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Oi(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r}else if((r=this.parseLiteral(e,t)).err)return r;n.push(r.val)}else{o=this.clonePosition();this.bump(),n.push({type:y.pound,location:L(o,this.clonePosition())})}}}return{val:n,err:null}},a.prototype.parseTag=function(e,t){var i,n=this.clonePosition(),r=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(r,"/>"),location:L(n,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Oi(this.char())?this.error(f.INVALID_TAG,L(e,this.clonePosition())):(i=this.clonePosition(),r!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,L(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:L(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,L(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,L(n,this.clonePosition()))):this.error(f.INVALID_TAG,L(n,this.clonePosition()))},a.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},a.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{r=this.tryParseUnquoted(e,t);if(r)n+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;n+=r}}}i=L(i,this.clonePosition());return{val:{type:y.literal,value:n,location:i},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Oi(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.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 Ci.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){var i;return this.isEOF()||60===(i=this.char())||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&0<e?null:(this.bump(),Ci(i))},a.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,L(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,L(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(f.MALFORMED_ARGUMENT,L(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,L(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:n,location:L(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,L(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(f.MALFORMED_ARGUMENT,L(i,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Ti(this.message,t),t=t+i.length;return this.bumpTo(t),{value:i,location:L(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,i,n){var r,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,L(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(m=Di(d.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:L(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(n)).err?u:(h=L(n,this.clonePosition()),l&&Ei(null==l?void 0:l.style,"::",0)?(p=Ai(l.style.slice(2)),"number"===a?(d=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?d:{val:{type:y.number,value:i,location:h,style:d.val},err:null}:0===p.length?this.error(f.EXPECT_DATE_TIME_SKELETON,h):(c=p,this.locale&&(c=((e,t)=>{for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var o=0;n+1<e.length&&e.charAt(n+1)===r;)o++,n++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=(e=>{var t,i=e.hourCycle;if(i=void 0===i&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(i=e.language)&&(t=e.maximize().region),(hi[t||""]||hi[i||""]||hi["".concat(i,"-001")]||hi["001"])[0]})(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)i+="a";for(;0<a--;)i=l+i}else i+="J"===r?"H":r}return i})(p,this.locale)),m={type:zt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},c.replace(ni,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"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":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-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":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<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""}),r):{}},{val:{type:"date"===a?y.date:y.time,value:i,location:h,style:m},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:i,location:h,style:null!=(p=null==l?void 0:l.style)?p:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,L(c,b({},c)));this.bumpSpace();var d,m=this.parseIdentifierIfPossible(),h=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=d.val}var p,l=this.tryParsePluralOrSelectOptions(e,a,t,m);return l.err?l:(u=this.tryParseArgumentClose(n)).err?u:(p=L(n,this.clonePosition()),"select"===a?{val:{type:y.select,value:i,options:Mi(l.val),location:p},err:null}:{val:{type:y.plural,value:i,options:Mi(l.val),offset:h,pluralType:"plural"===a?"cardinal":"ordinal",location:p},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,L(o,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,L(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.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(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},a.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],i=0,n=e.split(ri).filter(function(e){return 0<e.length});i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],r=r.slice(1),a=0,s=r;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:r})}return t})(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:zt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?mi(i):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){for(var r=!1,o=[],a=new Set,s=n.value,l=n.location;;){if(0===s.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=L(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,L(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,i);if(u.err)return u;var d=this.tryParseArgumentClose(c);if(d.err)return d;o.push([s,{value:u.val,location:L(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,L(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(f.MISSING_OTHER_CLAUSE,L(this.clonePosition(),this.clonePosition())):{val:o,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;r=!0,o=10*o+(a-48),this.bump()}n=L(n,this.clonePosition());return r?Li(o*=i)?{val:o,err:null}:this.error(t,n):this.error(e,n)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ki(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},a.prototype.bumpIf=function(e){if(Ei(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.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(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ni(this.char());)this.bump()},a.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Pi=a;function a(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}function Oi(e){return 97<=e&&e<=122||65<=e&&e<=90}function Ni(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Hi(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var i,e=new Pi(e,t).parse();if(e.err)throw(i=SyntaxError(f[e.err.kind])).location=e.err.location,i.originalMessage=e.err.message,i;return null!=t&&t.captureLocation||function i(e){e.forEach(function(e){if(delete e.location,Jt(e)||Qt(e))for(var t in e.options)delete e.options[t].location,i(e.options[t].value);else Zt(e)&&ti(e.style)||(Xt(e)||Kt(e))&&ii(e.style)?delete e.style.location:ei(e)&&i(e.children)})}(e.val),e.val}function Bi(e,t){var i=t&&t.cache?t.cache:Wi,n=t&&t.serializer?t.serializer:Fi;return(t&&t.strategy?t.strategy:function(e,t){return Yi(e,this,1===e.length?Ri:$i,t.cache.create(),t.serializer)})(e,{cache:i,serializer:n})}function Ri(e,t,i,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:i(n),r=t.get(i);return void 0===r&&(r=e.call(this,n),t.set(i,r)),r}function $i(e,t,i){var n=Array.prototype.slice.call(arguments,3),i=i(n),r=t.get(i);return void 0===r&&(r=e.apply(this,n),t.set(i,r)),r}function Yi(e,t,i,n,r){return i.bind(t,e,n,r)}var Fi=function(){return JSON.stringify(arguments)};function Gi(){this.cache=Object.create(null)}Gi.prototype.get=function(e){return this.cache[e]},Gi.prototype.set=function(e,t){this.cache[e]=t};var Ui,ji,Wi={create:function(){return new Gi}},zi={variadic:function(e,t){return Yi(e,this,$i,t.cache.create(),t.serializer)},monadic:function(e,t){return Yi(e,this,Ri,t.cache.create(),t.serializer)}};(ji=Ui=Ui||{}).MISSING_VALUE="MISSING_VALUE",ji.INVALID_VALUE="INVALID_VALUE",ji.MISSING_INTL_API="MISSING_INTL_API";Wt(on,Xi=Error),on.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var _,Vi,qi,Zi,Xi,Ki=on,Ji=(Wt(rn,Zi=Ki),rn),Qi=(Wt(nn,qi=Ki),nn),en=(Wt(tn,Vi=Ki),tn);function tn(e,t){return Vi.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Ui.MISSING_VALUE,t)||this}function nn(e,t,i){return qi.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Ui.INVALID_VALUE,i)||this}function rn(e,t,i,n){return Zi.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ui.INVALID_VALUE,n)||this}function on(e,t,i){e=Xi.call(this,e)||this;return e.code=t,e.originalMessage=i,e}function an(e,t,i,n,r,o,a){if(1===e.length&&qt(e[0]))return[{type:_.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(qt(c))s.push({type:_.literal,value:c.value});else if(c.type===y.pound)"number"==typeof o&&s.push({type:_.literal,value:i.getNumberFormat(t).format(o)});else{var d=c.value;if(!(r&&d in r))throw new en(d,a);d=r[d];if(c.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?_.literal:_.object,value:d});else if(Xt(c)){var m="string"==typeof c.style?n.date[c.style]:ii(c.style)?c.style.parsedOptions:void 0;s.push({type:_.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(Kt(c))m="string"==typeof c.style?n.time[c.style]:ii(c.style)?c.style.parsedOptions:n.time.medium,s.push({type:_.literal,value:i.getDateTimeFormat(t,m).format(d)});else if(Zt(c))(m="string"==typeof c.style?n.number[c.style]:ti(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(d*=m.scale||1),s.push({type:_.literal,value:i.getNumberFormat(t,m).format(d)});else{if(ei(c)){var h=c.children,p=c.value,f=r[p];if("function"!=typeof f)throw new Qi(p,"function",a);p=f(an(h,t,i,n,r,o).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(e){return{type:"string"==typeof e?_.literal:_.object,value:e}}))}if(Jt(c)){if(!(g=c.options[d]||c.options.other))throw new Ji(c.value,d,Object.keys(c.options),a);s.push.apply(s,an(g.value,t,i,n,r))}else if(Qt(c)){if(!(g=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new Ki('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ui.MISSING_INTL_API,a);var f=i.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0)),g=c.options[f]||c.options.other}if(!g)throw new Ji(c.value,d,Object.keys(c.options),a);s.push.apply(s,an(g.value,t,i,n,r,d-(c.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===_.literal&&t.type===_.literal?i.value+=t.value:e.push(t),e},[])}function sn(i){return{create:function(){return{get:function(e){return i[e]},set:function(e,t){i[e]=t}}}}}(e=_=_||{})[e.literal=0]="literal",e[e.object=1]="object";Object.defineProperty(s,"defaultLocale",{get:function(){return s.memoizedDefaultLocale||(s.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),s.memoizedDefaultLocale},enumerable:!1,configurable:!0}),s.memoizedDefaultLocale=null,s.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},s.__parse=Hi,s.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"}}};var ln=s;function s(e,t,i,n){var r,o,a=this;if(void 0===t&&(t=s.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===_.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return an(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=s.resolveLocale(t),"string"==typeof e){if(this.message=e,!s.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=s.__parse(e,{ignoreTag:null==n?void 0:n.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=(r=s.formats,(o=i)?Object.keys(r).reduce(function(e,t){var i,n;return e[t]=(i=r[t],(n=o[t])?b(b(b({},i||{}),n||{}),Object.keys(i).reduce(function(e,t){return e[t]=b(b({},i[t]),n[t]||{}),e},{})):i),e},b({},r)):r),this.formatters=n&&n.formatters||{getNumberFormat:Bi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Vt([void 0],t,!1)))},{cache:sn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:zi.variadic}),getDateTimeFormat:Bi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Vt([void 0],t,!1)))},{cache:sn(t.dateTime),strategy:zi.variadic}),getPluralRules:Bi(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Vt([void 0],t,!1)))},{cache:sn(t.pluralRules),strategy:zi.variadic})}}let un={},cn=(e,t,i)=>i&&(t in un||(un[t]={}),e in un[t]||(un[t][e]=i),i),dn=(t,i)=>{if(null!=i){if(i in un&&t in un[i])return un[i][t];var n=Dn(i);for(let e=0;e<n.length;e++){var r=((e,t)=>{if(!pn(e))return null;e=(e=>mn[e]||null)(e);var n=t;if(null!=n){if(n in e)return e[n];var r=n.split(".");let i=e;for(let t=0;t<r.length;t++)if("object"==typeof i){if(0<t){let e=r.slice(t,r.length).join(".");if(e in i){i=i[e];break}}i=i[r[t]]}else i=void 0;return i}})(n[e],t);if(r)return cn(t,i,r)}}},mn,hn=Pt({});function pn(e){return e in mn}function fn(t,...i){delete un[t],hn.update(e=>(e[t]=Ut.all([e[t]||{},...i]),e))}Ot([hn],([e])=>Object.keys(e)),hn.subscribe(e=>mn=e);let gn={};function yn(e){return gn[e]}function vn(e){return null!=e&&Dn(e).some(e=>null==(e=yn(e))?void 0:e.size)}function wn(n,e){return Promise.all(e.map(e=>{return t=n,i=e,gn[t].delete(i),0===gn[t].size&&delete gn[t],e().then(e=>e.default||e);var t,i})).then(e=>fn(n,...e))}let bn={};let Ln={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};let _n=Pt(!1);var xn=Object.defineProperty,gi=Object.defineProperties,yi=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,Mn=(e,t,i)=>t in e?xn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let kn,Sn=Pt(null);function An(e){return e.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function Dn(e,t=Ln.fallbackLocale){e=An(e);return t?[...new Set([...e,...An(t)])]:e}function In(){return null!=kn?kn:void 0}Sn.subscribe(e=>{kn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let W=gi(((e,t)=>{for(var i in t=t||{})En.call(t,i)&&Mn(e,i,t[i]);if(Tn)for(var i of Tn(t))Cn.call(t,i)&&Mn(e,i,t[i]);return e})({},Sn),yi({set:t=>{if(t&&(e=>{if(null!=e){var t=Dn(e);for(let e=0;e<t.length;e++){var i=t[e];if(pn(i))return i}}})(t)&&vn(t)){var i=Ln.loadingDelay;let e;return"undefined"!=typeof window&&null!=In()&&i?e=window.setTimeout(()=>_n.set(!0),i):_n.set(!0),function e(t){var i;return vn(t)?(i=Dn(t).map(e=>{var t=yn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),bn[t]=Promise.all(i.map(([e,t])=>wn(e,t))).then(()=>{if(vn(t))return e(t);delete bn[t]}),bn[t]):t in bn?bn[t]:Promise.resolve()}(t).then(()=>{Sn.set(t)}).finally(()=>{clearTimeout(e),_n.set(!1)})}return Sn.set(t)}}));var vi=i=>{let n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=i(e)}},Pn=Object.defineProperty,On=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,Bn=(e,t,i)=>t in e?Pn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Rn=(e,t)=>{for(var i in t=t||{})Nn.call(t,i)&&Bn(e,i,t[i]);if(On)for(var i of On(t))Hn.call(t,i)&&Bn(e,i,t[i]);return e},$n=(e,t)=>{var i={};for(n in e)Nn.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&On)for(var n of On(e))t.indexOf(n)<0&&Hn.call(e,n)&&(i[n]=e[n]);return i};let Yn=(e,t)=>{var i=Ln.formats;if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Fn=vi(e=>{var{locale:t,format:i}=e,e=$n(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(e=Yn("number",i)),new Intl.NumberFormat(t,e)}),Gn=vi(e=>{var{locale:t,format:i}=e,e=$n(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?e=Yn("date",i):0===Object.keys(e).length&&(e=Yn("date","short")),new Intl.DateTimeFormat(t,e)}),Un=vi(e=>{var{locale:t,format:i}=e,e=$n(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?e=Yn("time",i):0===Object.keys(e).length&&(e=Yn("time","short")),new Intl.DateTimeFormat(t,e)}),jn=vi((e,t=In())=>new ln(e,t,Ln.formats,{ignoreTag:Ln.ignoreTag})),Wn=Ot([W,hn],()=>(e,t={})=>{let i,n,r,o,a=t;"object"==typeof e&&(e=(a=e).id);var{values:s,locale:l=In(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=dn(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(r=null==(n=(i=Ln).handleMissingMessage)?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))?r:u)?o:e;if(!s)return c;let d=c;try{d=jn(c,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d}),zn=(Ot([W],()=>(e,t)=>((e={})=>{var{locale:t=In()}=e,e=$n(e,["locale"]);return Un(Rn({locale:t},e))})(t).format(e)),Ot([W],()=>(e,t)=>((e={})=>{var{locale:t=In()}=e,e=$n(e,["locale"]);return Gn(Rn({locale:t},e))})(t).format(e)),Ot([W],()=>(e,t)=>((e={})=>{var{locale:t=In()}=e,e=$n(e,["locale"]);return Fn(Rn({locale:t},e))})(t).format(e)),Ot([W,hn],()=>(e,t=In())=>dn(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==At.indexOf(e)&&(t=new Mt(t),Dt[e]=t,At.push(e)),Dt[e])},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");function Vn(e,t){fn(e,t)}let qn={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"}};function Zn(e,t){fn(e,t)}let Xn={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"}};function Kn(e,t){fn(e,t)}let Jn={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},de:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",defaultText:"當您設置遊戲限制時,它從您激活它的那一刻起生效,並持續到所選時間段結束。 因此,如果您將每日限制設置為 14.00,則計算的 24 小時周期是從其激活到格林威治標準時間 00:00。 然後限制每 24 小時有效。 您可以隨時降低限制並立即生效。 但是,提高或取消限制將僅在當前限製到期時適用。"},fr:{name:"Info",amountChanged:"Votre limit a été modifiée ou augmentée: {amount} {currency}. Vous devez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",defaultText:"Lorsque vous définissez une limite de jeu, elle prend effet à partir du moment ou vous l'activez et dure jusqu'à la fin de la période séléctionnée. Par conséquent, si vous fixez une limite quotidienne à 14.00, la période de 24 heures qui compte est celle allant de son activation jusqu'à 00:00 GMT.la limite est alors valable 24 jours. vous pouvez abaisser une limite à tout moment avec un effet immédiat. cependant, l'augmentation ou la suppression d'une limite ne s'appliquera que lorsque la limite actuelle expira."},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră."},es:{name:"Info",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {amount} {currency}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",defaultText:"Kada postavite ograničenje igre"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que ultrapassar a data de expiração para que o novo limite entre em vigor:",defaultText:'Quando um limite é definido,Entra em vigor a partir do momento em que é ativado e dura até o final do período selecionado. Portanto,Se você definir o limite diário às 14h00.,"O período de 24 horas é desde o momento da ativação até. O limite será então válido por 24 dias, você pode reduzir o limite a qualquer momento com efeito imediato, no entanto",aumentar ou remover um limite não será aplicado até que o limite atual expire'},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado: {amount} {currency}. Tendrá que espirar a la fecha de expiración para que el nuevo límite entre en efecto:",defaultText:'Cuando se fija un límite,entra en efecto desde el momento que se activa y dura hasta el final del periodo seleccionado. Por lo tanto,Si fija el límite diario a las 14.00,"el periodo de 24-horas es desde el momento de la activación hasta. El límite entonces sera válido por 24 días, ustede puede reducir el límite en cualquier momento con efecto inmediato, sin embargo", aumentar o remover un límite no aplicará hasta el límite actual expire'},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",defaultText:"Oyun limiti belirlediğinizde, aktif hale getirdiğiniz andan itibaren geçerli olur ve seçilen sürenin sonuna kadar sürer. Bu nedenle, eğer günlük limiti saat 14.00 olarak ayarlarsanız, 24 saatlik süre, etkinleştirildiği andan saat 00:00 GMT'ye kadardır. Limit daha sonra 24 gün boyunca geçerlidir. Dilediğiniz zaman anında etkili olacak şekilde bir limiti düşürebilirsiniz. ancak mevcut limitin süresi dolana kadar limitin arttırılması veya kaldırılması geçerli olmayacaktır."}};function Qn(i){let n,r,o,a,s,l,u,c,d,m,h,p,f,g,y=i[4]("name")+"";function v(e){return e[0]?tr:er}let w=v(i),b=w(i);return{c(){n=K("section"),r=K("div"),o=K("div"),(a=K("div")).textContent="i",s=Q(),l=K("div"),u=J(y),c=Q(),(d=K("div")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',m=Q(),h=K("div"),b.c(),te(a,"class","InfoCardPopupIcon"),te(l,"class","InfoCardPopupTitle"),te(d,"class","InfoCardPopupCloseButton"),te(o,"class","InfoCardPopupHeader"),te(h,"class","InfoCardPopupContentArea"),te(r,"class",p="InfoCardPopupWrapper "+(i[5]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),te(n,"class",i[5]?"InfoCardPopupMobileModal":"")},m(e,t){Z(e,n,t),q(n,r),q(r,o),q(o,a),q(o,s),q(o,l),q(l,u),q(o,c),q(o,d),q(r,m),q(r,h),b.m(h,null),i[12](n),f||(g=ee(d,"click",oe(i[6])),f=!0)},p(e,t){16&t&&y!==(y=e[4]("name")+"")&&ne(u,y),w===(w=v(e))&&b?b.p(e,t):(b.d(1),(b=w(e))&&(b.c(),b.m(h,null))),1&t&&p!==(p="InfoCardPopupWrapper "+(e[5]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&te(r,"class",p)},d(e){e&&X(n),b.d(),i[12](null),f=!1,g()}}}function er(e){let i,n,r=e[4]("defaultText")+"";return{c(){i=K("p"),n=J(r),te(i,"class","InfoCardPopupContent")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){16&t&&r!==(r=e[4]("defaultText")+"")&&ne(n,r)},d(e){e&&X(i)}}}function tr(e){let i,n,r=e[4]("amountChanged",{values:{amount:e[0],currency:e[1]}})+"";return{c(){i=K("p"),n=J(r),te(i,"class","InfoCardPopupContent")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){19&t&&r!==(r=e[4]("amountChanged",{values:{amount:e[0],currency:e[1]}})+"")&&ne(n,r)},d(e){e&&X(i)}}}function ir(e){let i,n=e[3]&&Qn(e);return{c(){n&&n.c(),i=w(),this.c=z},m(e,t){n&&n.m(e,t),Z(e,i,t)},p(e,[t]){e[3]?n?n.p(e,t):((n=Qn(e)).c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},i:z,o:z,d(e){n&&n.d(e),e&&X(i)}}}function nr(t,e,i){let n,{showpopup:r=""}=(re(t,Wn,e=>i(4,n=e)),e),{iteminfoamount:o=""}=e,{lang:a="en"}=e,{playercurrency:s="USD"}=e,{clientstyling:l=""}=e,{clientstylingurl:u=""}=e,{translationurl:c=""}=e;Object.keys(Jn).forEach(e=>{Kn(e,Jn[e])});let d,m=!1,h=window.navigator.userAgent,p="PC"!==zn(h),f=e=>{e.data&&"ClosePlayerAccountGamingLimitsPopup"==e.data.type&&i(3,m=!1)};return se(()=>(window.addEventListener("message",f,!1),()=>{window.removeEventListener("message",f)})),t.$$set=e=>{"showpopup"in e&&i(7,r=e.showpopup),"iteminfoamount"in e&&i(0,o=e.iteminfoamount),"lang"in e&&i(8,a=e.lang),"playercurrency"in e&&i(1,s=e.playercurrency),"clientstyling"in e&&i(9,l=e.clientstyling),"clientstylingurl"in e&&i(10,u=e.clientstylingurl),"translationurl"in e&&i(11,c=e.translationurl)},t.$$.update=()=>{if(384&t.$$.dirty&&r&&a&&(e=a,W.set(e),o<0&&i(0,o="0"),i(3,m=r)),1028&t.$$.dirty&&u&&d){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{d.appendChild(t)},1)})}var e;516&t.$$.dirty&&l&&d&&((e=document.createElement("style")).innerHTML=l,d.appendChild(e)),2048&t.$$.dirty&&c&&fetch(c).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Kn(e,t[e])})}).catch(e=>{console.log(e)})},[o,s,d,m,n,p,()=>{i(3,m=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,a,l,u,c,function(e){j[e?"unshift":"push"](()=>{d=e,i(2,d)})}]}function rr(e,t){fn(e,t)}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends Le{constructor(e){super();var t=document.createElement("style");t.textContent='.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emfe-w-color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emfe-w-color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));fill:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839))}',this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},nr,ir,T,{showpopup:7,iteminfoamount:0,lang:8,playercurrency:1,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency","clientstyling","clientstylingurl","translationurl"]}get showpopup(){return this.$$.ctx[7]}set showpopup(e){this.$$set({showpopup:e}),m()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(e){this.$$set({iteminfoamount:e}),m()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(e){this.$$set({playercurrency:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}});let or={en:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on",invalidInputMessageLimit:"The amount needs to be between 1 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect.",daily:"Daily",weekly:"Weekly",monthly:"Monthly",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{back:"返回游戲限制",limit:"限制",amount:"數量",noLimit:"沒有限制t",changeLimitsText:"您確定要更改 {limit} 嗎?",success:"您的遊戲限制已成功設置。",remove:"您已請求取消此限制。 這將應用於",invalidInputMessageLimit:"金額需要在 0 到 99,999,999 之間",invalidInputMessageTime:"時間量需要大於 {minTime} 且低於 {maxTime} 分鐘",expirationDate:"截止日期:",save:"節省",changedLimitTextBefore:"您的限額已更改或增加:",changedLimitTextAfter:"您必須等待到期日期才能使新限制生效",daily:"日常的",weekly:"每周",monthly:"月刊",depositLimit:"存款限额",timeLimit:"时限",wageringLimit:"投注限额",lossLimit:"损失限额"},fr:{back:"Retour aux limites de jeu",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",limit:"Limite",amount:"Montant",noLimit:"Aucune limite",changeLimitsText:"Etes-vous sûr de vouloir changer les {limit}s??",success:"Vos limites de jeu ont été respectées.",remove:"Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée",invalidInputMessageLimit:"Le montant doit être compris entre 1 et 99,999,999.",invalidInputMessageTime:"La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",expirationDate:"Date d'expiration:",save:"Sauvez",changedLimitTextBefore:"Votre limit a été modifiée ou augmentée:",changedLimitTextAfter:"Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 1 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere"},es:{back:"Regresa a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin Límite",changeLimitsText:"Esta seguro que desea cambiar los {limit}es?",success:"Limite actualizado satisfactoriamente",remove:"Ha solicitado retirar este limite. Esto será aplicado",invalidInputMessageLimit:"El monto debe ser entre 1 y 99",invalidInputMessageTime:"La cantidad de tiempo debe ser superior a {minTime} y por debajo de {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú limite ha sido cambiado o incrementado:",changedLimitTextAfter:"Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{back:"Voltar para Limites de jogos",limit:"Limite",amount:"Montante",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar os {limite}s?",success:"Seus limites de jogo foram definidos com sucesso.",remove:"Você solicitou a remoção deste limite. Isso será aplicado em",invalidInputMessageLimit:"O valor precisa estar entre 1 e 99.999.999",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",expirationDate:"Data de Validade",save:"Guardar",changedLimitTextBefore:"Seu limite foi alterado ou aumentado:",changedLimitTextAfter:"Você terá que aguardar a data de expiração para que seu novo limite entre em vigor",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda"},hr:{back:"Povratak na ograničenja igranja",limit:"Limit",amount:"Iznos",noLimit:"Nema ograničenja",changeLimitsText:"Jeste li sigurni da želite promijeniti {limit}e?",success:"Uspješno",remove:"Zatražili ste uklanjanje ovog ograničenja. Ovo će se primijeniti na",invalidInputMessageLimit:"Iznos mora biti između 1 i 99",invalidInputMessageTime:"Vremenski iznos mora biti veći od {minTime} i manji od {maxTime} minuta.",expirationDate:"Datum isteka:",save:"Spremi",changedLimitTextBefore:"Vaše ograničenje je promijenjeno ili povećano:",changedLimitTextAfter:"Morat ćete pričekati datum isteka da bi vaše novo ograničenje stupilo na snagu.",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{back:"Retornar aos limites do jogo",limit:"Limite",amount:"Quantidade",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar o(s) limite(s)?",success:"A operação bem-sucedida lorem Ipsum é simplesmente um texto fictício da indústria de impressão e composição tipográfica.",remove:"Você solicitou a remoção deste limite. Isto será aplicado a partir de",invalidInputMessageLimit:"A Quantia deve estar entre 1 e 99",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {minTime} e menor que {maxTime} minutos.",expirationDate:"Data de expiração:",save:"Manter",changedLimitTextBefore:"Seu limite de tempo foi alterado ou aumentado:",changedLimitTextAfter:"Você deve aguardar a data de expiração para que seu novo limite entre em vigor.",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{back:"Regresar a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin límite",changeLimitsText:"¿Está seguro que quiere cambiar el/los límite(s)?",success:"Operación exitosa lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"Ha solicitado remover este límite. Esto se aplicará a partir de",invalidInputMessageLimit:"El monto debe ser entre 1 y 99,999,999",invalidInputMessageTime:"El monto de tiempo necesita ser mayor a {minTime} y menor a {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú límite de tiempo ha sido cambiado o aumentado:",changedLimitTextAfter:"Tiene que esperar a la fecha de expiración para que su nuevo límite entre en efecto.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdida"},tr:{back:"Oyun Sınırlarına Geri Dön",limit:"Sınır",amount:"Miktar",noLimit:"Limit yok",changeLimitsText:"{limit}'leri değiştirmek istediğinizden emin misiniz?",success:"Başarı lorem Ipsum, basım ve dizgi endüstrisinin sahte metnidir.",remove:"Bu sınırın kaldırılmasını talep ettiniz. Bu şu tarihte uygulanacaktır:",invalidInputMessageLimit:"Tutarın 1 ile 99.999.999 arasında olması gerekir.",invalidInputMessageTime:"Süre miktarının {minTime} değerinden büyük ve {maxTime} dakikanın altında olması gerekir.",expirationDate:"Son kullanma tarihi:",save:"Kaydetmek",changedLimitTextBefore:"Limitiniz değiştirildi veya artırıldı:",changedLimitTextAfter:"Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir.",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"}};sr=ar={path:void 0,exports:{},require:function(e,t){return Si(null==t&&ar.path)}},ar.exports,sr.exports=(()=>{var H;function p(){return H.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function B(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function $(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function Y(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function F(e,t){for(var i=[],n=e.length,r=0;r<n;++r)i.push(t(e[r],r));return i}function G(e,t){for(var i in t)f(t,i)&&(e[i]=t[i]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,i,n){return It(e,t,i,n,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){var t,i,n=e._d&&!isNaN(e._d.getTime());return n&&(t=g(e),i=W.call(t.parsedDateParts,function(e){return null!=e}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||(t.meridiem,i)),e._strict)&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?n:(e._isValid=n,e._isValid)}function j(e){var t=u(NaN);return null!=e?G(g(t),e):g(t).userInvalidated=!0,t}var W=Array.prototype.some||function(e){for(var t=Object(this),i=t.length>>>0,n=0;n<i;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1},z=p.momentProperties=[],V=!1;function q(e,t){var i,n,r,o=z.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=g(t)),s(t._locale)||(e._locale=t._locale),0<o)for(i=0;i<o;i++)s(r=t[n=z[i]])||(e[n]=r);return e}function Z(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,p.updateOffset(this),V=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function X(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,a){var s=!0;return G(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,o),s){for(var e,t,i=[],n=arguments.length,r=0;r<n;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];i.push(e)}X(o+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),s=!1}return a.apply(this,arguments)},a)}var K={};function J(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),K[e]||(X(t),K[e]=!0)}function c(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var i,n=G({},e);for(i in t)f(t,i)&&(B(e[i])&&B(t[i])?(n[i]={},G(n[i],e[i]),G(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)f(e,i)&&!f(t,i)&&B(e[i])&&(n[i]=G({},n[i]));return n}function ee(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var te=Object.keys||function(e){var t,i=[];for(t in e)f(e,t)&&i.push(t);return i};function o(e,t,i){var n=""+Math.abs(e);return(0<=e?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var ie=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},oe={};function n(e,t,i,n){var r="string"==typeof n?function(){return this[n]()}:n;e&&(oe[e]=r),t&&(oe[t[0]]=function(){return o(r.apply(this,arguments),t[1],t[2])}),i&&(oe[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||(n=>{for(var e,r=n.match(ie),t=0,o=r.length;t<o;t++)oe[r[t]]?r[t]=oe[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",i=0;i<o;i++)t+=c(r[i])?r[i].call(e,n):r[i];return t}})(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(ne.lastIndex=0;0<=i&&ne.test(e);)e=e.replace(ne,n),ne.lastIndex=0,--i;return e}var le={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ue(e){var t,i,n={};for(i in e)f(e,i)&&(t=d(i))&&(n[t]=e[i]);return n}var ce={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},de=/\d/,t=/\d\d/,me=/\d{3}/,he=/\d{4}/,pe=/[+-]?\d{6}/,i=/\d\d?/,fe=/\d\d\d\d?/,ge=/\d\d\d\d\d\d?/,ye=/\d{1,3}/,ve=/\d{1,4}/,we=/[+-]?\d{1,6}/,be=/\d+/,Le=/[+-]?\d+/,_e=/Z|[+-]\d\d:?\d\d/gi,xe=/Z|[+-]\d\d(?::?\d\d)?/gi,r=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,m=/^[1-9]\d?/,h=/^([1-9]\d|\d)/;function y(e,i,n){Ee[e]=c(i)?i:function(e,t){return e&&n?n:i}}function Te(e,t){return f(Ee,e)?Ee[e](t._strict,t._locale):new RegExp(v(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,r){return t||i||n||r})))}function v(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?w(e):t}var Ee={},Ce={};function L(e,i){var t,n,r=i;for("string"==typeof e&&(e=[e]),$(i)&&(r=function(e,t){t[i]=b(e)}),n=e.length,t=0;t<n;t++)Ce[e[t]]=r}function Me(e,r){L(e,function(e,t,i,n){i._w=i._w||{},r(e,i._w,i,n)})}function ke(e){return e%4==0&&e%100!=0||e%400==0}var _=0,x=1,T=2,E=3,C=4,M=5,Se=6,Ae=7,De=8;function Ie(e){return ke(e)?366:365}n("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),n(0,["YY",2],0,function(){return this.year()%100}),n(0,["YYYY",4],0,"year"),n(0,["YYYYY",5],0,"year"),n(0,["YYYYYY",6,!0],0,"year"),y("Y",Le),y("YY",i,t),y("YYYY",ve,he),y("YYYYY",we,pe),y("YYYYYY",we,pe),L(["YYYYY","YYYYYY"],_),L("YYYY",function(e,t){t[_]=2===e.length?p.parseTwoDigitYear(e):b(e)}),L("YY",function(e,t){t[_]=p.parseTwoDigitYear(e)}),L("Y",function(e,t){t[_]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return b(e)+(68<b(e)?1900:2e3)};var k,Pe=Oe("FullYear",!0);function Oe(t,i){return function(e){return null!=e?(He(this,t,e),p.updateOffset(this,i),this):Ne(this,t)}}function Ne(e,t){if(!e.isValid())return NaN;var i=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return n?i.getUTCSeconds():i.getSeconds();case"Minutes":return n?i.getUTCMinutes():i.getMinutes();case"Hours":return n?i.getUTCHours():i.getHours();case"Date":return n?i.getUTCDate():i.getDate();case"Day":return n?i.getUTCDay():i.getDay();case"Month":return n?i.getUTCMonth():i.getMonth();case"FullYear":return n?i.getUTCFullYear():i.getFullYear();default:return NaN}}function He(e,t,i){var n,r,o;if(e.isValid()&&!isNaN(i)){switch(n=e._d,r=e._isUTC,t){case"Milliseconds":return r?n.setUTCMilliseconds(i):n.setMilliseconds(i);case"Seconds":return r?n.setUTCSeconds(i):n.setSeconds(i);case"Minutes":return r?n.setUTCMinutes(i):n.setMinutes(i);case"Hours":return r?n.setUTCHours(i):n.setHours(i);case"Date":return r?n.setUTCDate(i):n.setDate(i);case"FullYear":break;default:return}t=i,o=e.month(),e=29!==(e=e.date())||1!==o||ke(t)?e:28,r?n.setUTCFullYear(t,o,e):n.setFullYear(t,o,e)}}function Be(e,t){var i;return isNaN(e)||isNaN(t)?NaN:(i=(t%(i=12)+i)%i,e+=(t-i)/12,1==i?ke(e)?29:28:31-i%7%2)}k=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},n("M",["MM",2],"Mo",function(){return this.month()+1}),n("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),n("MMMM",0,0,function(e){return this.localeData().months(this,e)}),y("M",i,m),y("MM",i,t),y("MMM",function(e,t){return t.monthsShortRegex(e)}),y("MMMM",function(e,t){return t.monthsRegex(e)}),L(["M","MM"],function(e,t){t[x]=b(e)-1}),L(["MMM","MMMM"],function(e,t,i,n){n=i._locale.monthsParse(e,n,i._strict);null!=n?t[x]=n:g(i).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),$e="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ye=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe=r,Ge=r;function Ue(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=b(t);else if(!$(t=e.localeData().monthsParse(t)))return;var i=(i=e.date())<29?i:Math.min(i,Be(e.year(),t));e._isUTC?e._d.setUTCMonth(t,i):e._d.setMonth(t,i)}}function je(e){return null!=e?(Ue(this,e),p.updateOffset(this,!0),this):Ne(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,i,n=[],r=[],o=[],a=0;a<12;a++)i=u([2e3,a]),t=v(this.monthsShort(i,"")),i=v(this.months(i,"")),n.push(t),r.push(i),o.push(i),o.push(t);n.sort(e),r.sort(e),o.sort(e),this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function ze(e,t,i,n,r,o,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,i,n,r,o,a),s}function Ve(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function qe(e,t,i){i=7+t-i;return-(7+Ve(e,0,i).getUTCDay()-t)%7+i-1}function Ze(e,t,i,n,r){var o,t=1+7*(t-1)+(7+i-n)%7+qe(e,n,r),i=t<=0?Ie(o=e-1)+t:t>Ie(e)?(o=e+1,t-Ie(e)):(o=e,t);return{year:o,dayOfYear:i}}function Xe(e,t,i){var n,r,o=qe(e.year(),t,i),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?n=o+S(r=e.year()-1,t,i):o>S(e.year(),t,i)?(n=o-S(e.year(),t,i),r=e.year()+1):(r=e.year(),n=o),{week:n,year:r}}function S(e,t,i){var n=qe(e,t,i),t=qe(e+1,t,i);return(Ie(e)-n+t)/7}function Ke(e,t){return e.slice(t,7).concat(e.slice(0,t))}n("w",["ww",2],"wo","week"),n("W",["WW",2],"Wo","isoWeek"),y("w",i,m),y("ww",i,t),y("W",i,m),y("WW",i,t),Me(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=b(e)}),n("d",0,"do","day"),n("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),n("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),n("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),n("e",0,0,"weekday"),n("E",0,0,"isoWeekday"),y("d",i),y("e",i),y("E",i),y("dd",function(e,t){return t.weekdaysMinRegex(e)}),y("ddd",function(e,t){return t.weekdaysShortRegex(e)}),y("dddd",function(e,t){return t.weekdaysRegex(e)}),Me(["dd","ddd","dddd"],function(e,t,i,n){n=i._locale.weekdaysParse(e,n,i._strict);null!=n?t.d=n:g(i).invalidWeekday=e}),Me(["d","e","E"],function(e,t,i,n){t[n]=b(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tt=r,it=r,nt=r;function rt(){function e(e,t){return t.length-e.length}for(var t,i,n,r=[],o=[],a=[],s=[],l=0;l<7;l++)n=u([2e3,1]).day(l),t=v(this.weekdaysMin(n,"")),i=v(this.weekdaysShort(n,"")),n=v(this.weekdays(n,"")),r.push(t),o.push(i),a.push(n),s.push(t),s.push(i),s.push(n);r.sort(e),o.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ot(){return this.hours()%12||12}function at(e,t){n(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}n("H",["HH",2],0,"hour"),n("h",["hh",2],0,ot),n("k",["kk",2],0,function(){return this.hours()||24}),n("hmm",0,0,function(){return""+ot.apply(this)+o(this.minutes(),2)}),n("hmmss",0,0,function(){return""+ot.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),n("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),n("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),at("a",!0),at("A",!1),y("a",st),y("A",st),y("H",i,h),y("h",i,m),y("k",i,m),y("HH",i,t),y("hh",i,t),y("kk",i,t),y("hmm",fe),y("hmmss",ge),y("Hmm",fe),y("Hmmss",ge),L(["H","HH"],E),L(["k","kk"],function(e,t,i){e=b(e);t[E]=24===e?0:e}),L(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),L(["h","hh"],function(e,t,i){t[E]=b(e),g(i).bigHour=!0}),L("hmm",function(e,t,i){var n=e.length-2;t[E]=b(e.substr(0,n)),t[C]=b(e.substr(n)),g(i).bigHour=!0}),L("hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[E]=b(e.substr(0,n)),t[C]=b(e.substr(n,2)),t[M]=b(e.substr(r)),g(i).bigHour=!0}),L("Hmm",function(e,t,i){var n=e.length-2;t[E]=b(e.substr(0,n)),t[C]=b(e.substr(n))}),L("Hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[E]=b(e.substr(0,n)),t[C]=b(e.substr(n,2)),t[M]=b(e.substr(r))}),r=Oe("Hours",!0);var lt,ut={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:$e,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:et,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},A={},ct={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function mt(e){for(var t,i,n,r,o=0;o<e.length;){for(t=(r=dt(e[o]).split("-")).length,i=(i=dt(e[o+1]))?i.split("-"):null;0<t;){if(n=ht(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&((e,t)=>{for(var i=Math.min(e.length,t.length),n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i})(r,i)>=t-1)break;t--}o++}return lt}function ht(t){var e,i;if(void 0===A[t]&&sr&&sr.exports&&(i=t)&&i.match("^[^/\\\\]*$"))try{e=lt._abbr,Si(),pt(e)}catch(e){A[t]=null}return A[t]}function pt(e,t){return e&&((t=s(t)?D(e):ft(e,t))?lt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function ft(e,t){if(null===t)return delete A[e],null;var i,n=ut;if(t.abbr=e,null!=A[e])J("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=A[e]._config;else if(null!=t.parentLocale)if(null!=A[t.parentLocale])n=A[t.parentLocale]._config;else{if(null==(i=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;n=i._config}return A[e]=new ee(Q(n,t)),ct[e]&&ct[e].forEach(function(e){ft(e.name,e.config)}),pt(e),A[e]}function D(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return lt;if(!a(e)){if(t=ht(e))return t;e=[e]}return mt(e)}function gt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[x]<0||11<t[x]?x:t[T]<1||t[T]>Be(t[_],t[x])?T:t[E]<0||24<t[E]||24===t[E]&&(0!==t[C]||0!==t[M]||0!==t[Se])?E:t[C]<0||59<t[C]?C:t[M]<0||59<t[M]?M:t[Se]<0||999<t[Se]?Se:-1,g(e)._overflowDayOfYear&&(t<_||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=Ae),g(e)._overflowWeekday&&-1===t&&(t=De),g(e).overflow=t),e}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Lt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((-?\d+)/i,xt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Tt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,i,n,r,o,a,s=e._i,l=yt.exec(s)||vt.exec(s),s=bt.length,u=Lt.length;if(l){for(g(e).iso=!0,t=0,i=s;t<i;t++)if(bt[t][1].exec(l[1])){r=bt[t][0],n=!1!==bt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,i=u;t<i;t++)if(Lt[t][1].exec(l[3])){o=(l[2]||" ")+Lt[t][0];break}if(null==o)return e._isValid=!1}if(!n&&null!=o)return e._isValid=!1;if(l[4]){if(!wt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=r+(o||"")+(a||""),At(e)}else e._isValid=!1}function Ct(e,t,i,n,r,o){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),$e.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return o&&e.push(parseInt(o,10)),e}function Mt(e){var t,i,n,r,o=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Ct(o[4],o[3],o[2],o[5],o[6],o[7]),i=o[1],n=t,r=e,i&&Qe.indexOf(i)!==new Date(n[0],n[1],n[2]).getDay()?(g(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(i=o[8],n=o[9],r=o[10],i?Tt[i]:n?0:((i=parseInt(r,10))-(n=i%100))/100*60+n),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,i){return null!=e?e:null!=t?t:i}function St(e){var t,i,n,r,o,a,s,l,u,c,d,m=[];if(!e._d){for(c=e,d=new Date(p.now()),i=c._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[x]&&(null!=(d=(c=e)._w).GG||null!=d.W||null!=d.E?(a=1,s=4,n=kt(d.GG,c._a[_],Xe(I(),1,4).year),r=kt(d.W,1),((o=kt(d.E,1))<1||7<o)&&(l=!0)):(a=c._locale._week.dow,s=c._locale._week.doy,u=Xe(I(),a,s),n=kt(d.gg,c._a[_],u.year),r=kt(d.w,u.week),null!=d.d?((o=d.d)<0||6<o)&&(l=!0):null!=d.e?(o=d.e+a,(d.e<0||6<d.e)&&(l=!0)):o=a),r<1||r>S(n,a,s)?g(c)._overflowWeeks=!0:null!=l?g(c)._overflowWeekday=!0:(u=Ze(n,r,o,a,s),c._a[_]=u.year,c._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[_],i[_]),(e._dayOfYear>Ie(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(d,0,e._dayOfYear),e._a[x]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=m[t]=i[t];for(;t<7;t++)e._a[t]=m[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[E]&&0===e._a[C]&&0===e._a[M]&&0===e._a[Se]&&(e._nextDay=!0,e._a[E]=0),e._d=(e._useUTC?Ve:ze).apply(null,m),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[E]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(g(e).weekdayMismatch=!0)}}function At(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],g(e).empty=!0;for(var t,i,n,r=""+e._i,o=r.length,a=0,s=(i=se(e._f,e._locale).match(ie)||[]).length,l=0;l<s;l++)n=i[l],(t=(r.match(Te(n,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&g(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),a+=t.length),oe[n]?(t?g(e).empty=!1:g(e).unusedTokens.push(n),d=n,h=e,null!=(m=t)&&f(Ce,d)&&Ce[d](m,h._a,h,d)):e._strict&&!t&&g(e).unusedTokens.push(n);g(e).charsLeftOver=o-a,0<r.length&&g(e).unusedInput.push(r),e._a[E]<=12&&!0===g(e).bigHour&&0<e._a[E]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[E]=(o=e._locale,u=e._a[E],null==(c=e._meridiem)?u:null!=o.meridiemHour?o.meridiemHour(u,c):null!=o.isPM?((o=o.isPM(c))&&u<12&&(u+=12),u=o||12!==u?u:0):u),null!==(c=g(e).era)&&(e._a[_]=e._locale.erasConvertYear(c,e._a[_])),St(e),gt(e)}else Mt(e);else Et(e);var u,c,d,m,h}function Dt(e){var t,i=e._i,n=e._f;{var r,o;return(e._locale=e._locale||D(e._l),null===i||void 0===n&&""===i)?j({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),l(i)?new Z(gt(i)):(Y(i)?e._d=i:a(n)?(e=>{var t,i,n,r,o,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)o=0,a=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],At(t),U(t)&&(a=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,s?o<n&&(n=o,i=t):(null==n||o<n||a)&&(n=o,i=t,a)&&(s=!0);G(e,i||t)})(e):n?At(e):s(n=(i=e)._i)?i._d=new Date(p.now()):Y(n)?i._d=new Date(n.valueOf()):"string"==typeof n?(r=i,null===(o=_t.exec(r._i))?(Et(r),!1===r._isValid&&(delete r._isValid,Mt(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:p.createFromInputFallback(r))):r._d=new Date(+o[1])):a(n)?(i._a=F(n.slice(0),function(e){return parseInt(e,10)}),St(i)):B(n)?(r=i)._d||(t=void 0===(o=ue(r._i)).day?o.date:o.day,r._a=F([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),St(r)):$(n)?i._d=new Date(n):p.createFromInputFallback(i),U(e)||(e._d=null),e))}}function It(e,t,i,n,r){var o={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(B(e)&&R(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=i,o._i=e,o._f=t,o._strict=n,(r=new Z(gt(Dt(r=o))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function I(e,t,i,n){return It(e,t,i,n,!1)}function Pt(e,t){var i,n;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return I();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}p.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){},fe=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ge=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var e=ue(e),t=e.year||0,i=e.quarter||0,n=e.month||0,r=e.week||e.isoWeek||0,o=e.day||0,a=e.hour||0,s=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=(e=>{var t,i,n=!1,r=Ot.length;for(t in e)if(f(e,t)&&(-1===k.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<r;++i)if(e[Ot[i]]){if(n)return!1;parseFloat(e[Ot[i]])!==b(e[Ot[i]])&&(n=!0)}return!0})(e),this._milliseconds=+u+1e3*l+6e4*s+1e3*a*60*60,this._days=+o+7*r,this._months=+n+3*i+12*t,this._data={},this._locale=D(),this._bubble()}function Ht(e){return e instanceof Nt}function Bt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Rt(e,i){n(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+i+o(~~e%60,2)})}Rt("Z",":"),Rt("ZZ",""),y("Z",xe),y("ZZ",xe),L(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Yt(xe,e)});var $t=/([\+\-]|\d\d)/gi;function Yt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+b(e[2]))?0:"+"===e[0]?t:-t}function Ft(e,t){var i;return t._isUTC?(t=t.clone(),i=(l(e)||Y(e)?e:I(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),p.updateOffset(t,!1),t):I(e).local()}function Gt(e){return-Math.round(e._d.getTimezoneOffset())}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function P(e,t){var i,n,r=e;return Ht(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:$(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=jt.exec(e))?(i="-"===t[1]?-1:1,r={y:0,d:b(t[T])*i,h:b(t[E])*i,m:b(t[C])*i,s:b(t[M])*i,ms:b(Bt(1e3*t[Se]))*i}):(t=Wt.exec(e))?(i="-"===t[1]?-1:1,r={y:zt(t[2],i),M:zt(t[3],i),w:zt(t[4],i),d:zt(t[5],i),h:zt(t[6],i),m:zt(t[7],i),s:zt(t[8],i)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=I(r.from),i=I(r.to),t=t.isValid()&&i.isValid()?(i=Ft(i,t),t.isBefore(i)?n=Vt(t,i):((n=Vt(i,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(r={}).ms=t.milliseconds,r.M=t.months),n=new Nt(r),Ht(e)&&f(e,"_locale")&&(n._locale=e._locale),Ht(e)&&f(e,"_isValid")&&(n._isValid=e._isValid),n}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function qt(n,r){return function(e,t){var i;return null===t||isNaN(+t)||(J(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=t,t=i),Zt(this,P(e,t),n),this}}function Zt(e,t,i,n){var r=t._milliseconds,o=Bt(t._days),t=Bt(t._months);e.isValid()&&(n=null==n||n,t&&Ue(e,Ne(e,"Month")+t*i),o&&He(e,"Date",Ne(e,"Date")+o*i),r&&e._d.setTime(e._d.valueOf()+r*i),n)&&p.updateOffset(e,o||t)}function Xt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||Y(e)||Xt(e)||$(e)||(i=a(t=e),n=!1,i&&(n=0===t.filter(function(e){return!$(e)&&Xt(t)}).length),i&&n)||(e=>{var t,i,n=B(e)&&!R(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)i=o[t],r=r||f(e,i);return n&&r})(e)||null==e;var t,i,n}function Jt(e,t){var i,n;return e.date()<t.date()?-Jt(t,e):-((i=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(n=e.clone().add(i,"months"))<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(1+i,"months")-n)))||0}function Qt(e){return void 0===e?this._locale._abbr:(null!=(e=D(e))&&(this._locale=e),this)}function ei(){return this._locale}P.fn=Nt.prototype,P.invalid=function(){return P(NaN)},Re=qt(1,"add"),Je=qt(-1,"subtract"),p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",et=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});var ti=126227808e5;function ii(e,t){return(e%t+t)%t}function ni(e,t,i){return e<100&&0<=e?new Date(e+400,t,i)-ti:new Date(e,t,i).valueOf()}function ri(e,t,i){return e<100&&0<=e?Date.UTC(e+400,t,i)-ti:Date.UTC(e,t,i)}function oi(e,t){return t.erasAbbrRegex(e)}function ai(){for(var e,t,i,n=[],r=[],o=[],a=[],s=this.eras(),l=0,u=s.length;l<u;++l)e=v(s[l].name),t=v(s[l].abbr),i=v(s[l].narrow),r.push(e),n.push(t),o.push(i),a.push(e),a.push(t),a.push(i);this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function si(e,t){n(0,[e,e.length],0,t)}function li(e,t,i,n,r){var o;return null==e?Xe(this,n,r).year:(t>(o=S(e,n,r))&&(t=o),function(e,t,i,n,r){e=Ze(e,t,i,n,r),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,i,n,r))}n("N",0,0,"eraAbbr"),n("NN",0,0,"eraAbbr"),n("NNN",0,0,"eraAbbr"),n("NNNN",0,0,"eraName"),n("NNNNN",0,0,"eraNarrow"),n("y",["y",1],"yo","eraYear"),n("y",["yy",2],0,"eraYear"),n("y",["yyy",3],0,"eraYear"),n("y",["yyyy",4],0,"eraYear"),y("N",oi),y("NN",oi),y("NNN",oi),y("NNNN",function(e,t){return t.erasNameRegex(e)}),y("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),L(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){n=i._locale.erasParse(e,n,i._strict);n?g(i).era=n:g(i).invalidEra=e}),y("y",be),y("yy",be),y("yyy",be),y("yyyy",be),y("yo",function(e,t){return t._eraYearOrdinalRegex||be}),L(["y","yy","yyy","yyyy"],_),L(["yo"],function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[_]=i._locale.eraYearOrdinalParse(e,r):t[_]=parseInt(e,10)}),n(0,["gg",2],0,function(){return this.weekYear()%100}),n(0,["GG",2],0,function(){return this.isoWeekYear()%100}),si("gggg","weekYear"),si("ggggg","weekYear"),si("GGGG","isoWeekYear"),si("GGGGG","isoWeekYear"),y("G",Le),y("g",Le),y("GG",i,t),y("gg",i,t),y("GGGG",ve,he),y("gggg",ve,he),y("GGGGG",we,pe),y("ggggg",we,pe),Me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=b(e)}),Me(["gg","GG"],function(e,t,i,n){t[n]=p.parseTwoDigitYear(e)}),n("Q",0,"Qo","quarter"),y("Q",de),L("Q",function(e,t){t[x]=3*(b(e)-1)}),n("D",["DD",2],"Do","date"),y("D",i,m),y("DD",i,t),y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),L(["D","DD"],T),L("Do",function(e,t){t[T]=b(e.match(i)[0])}),ve=Oe("Date",!0),n("DDD",["DDDD",3],"DDDo","dayOfYear"),y("DDD",ye),y("DDDD",me),L(["DDD","DDDD"],function(e,t,i){i._dayOfYear=b(e)}),n("m",["mm",2],0,"minute"),y("m",i,h),y("mm",i,t),L(["m","mm"],C),he=Oe("Minutes",!1),n("s",["ss",2],0,"second"),y("s",i,h),y("ss",i,t),L(["s","ss"],M);var ui,we=Oe("Seconds",!1);for(n("S",0,0,function(){return~~(this.millisecond()/100)}),n(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),n(0,["SSS",3],0,"millisecond"),n(0,["SSSS",4],0,function(){return 10*this.millisecond()}),n(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),n(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),n(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),n(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),n(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),y("S",ye,de),y("SS",ye,t),y("SSS",ye,me),ui="SSSS";ui.length<=9;ui+="S")y(ui,be);function ci(e,t){t[Se]=b(1e3*("0."+e))}for(ui="S";ui.length<=9;ui+="S")L(ui,ci);function di(e){return e}function mi(e,t,i,n){var r=D(),n=u().set(n,t);return r[i](n,e)}function hi(e,t,i){if($(e)&&(t=e,e=void 0),e=e||"",null!=t)return mi(e,t,i,"month");for(var n=[],r=0;r<12;r++)n[r]=mi(e,r,i,"month");return n}function pi(e,t,i,n){t=("boolean"==typeof e||(i=t=e,e=!1),$(t)&&(i=t,t=void 0),t||"");var r,o=D(),a=e?o._week.dow:0,s=[];if(null!=i)return mi(t,(i+a)%7,n,"day");for(r=0;r<7;r++)s[r]=mi(t,(r+a)%7,n,"day");return s}pe=Oe("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName"),(m=Z.prototype).add=Re,m.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):(e=>{for(var t=B(e)&&!R(e),i=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<n.length;r+=1)i=i||f(e,n[r]);return t&&i})(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||I(),i=Ft(e,this).startOf("day"),i=p.calendarFormat(this,i)||"sameElse",t=t&&(c(t[i])?t[i].call(this,e):t[i]);return this.format(t||this.localeData().calendar(i,this,I(e)))},m.clone=function(){return new Z(this)},m.diff=function(e,t,i){var n,r,o;if(!this.isValid())return NaN;if(!(n=Ft(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=d(t)){case"year":o=Jt(this,n)/12;break;case"month":o=Jt(this,n);break;case"quarter":o=Jt(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-r)/864e5;break;case"week":o=(this-n-r)/6048e5;break;default:o=this-n}return i?o:w(o)},m.endOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ri:ni,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-ii(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ii(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ii(t,1e3)-1}this._d.setTime(t),p.updateOffset(this,!0)}return this},m.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},m.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},m.fromNow=function(e){return this.from(I(),e)},m.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},m.toNow=function(e){return this.to(I(),e)},m.get=function(e){return c(this[e=d(e)])?this[e]():this},m.invalidAt=function(){return g(this).overflow},m.isAfter=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},m.isBefore=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},m.isBetween=function(e,t,i,n){return e=l(e)?e:I(e),t=l(t)?t:I(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(n=n||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&(")"===n[1]?this.isBefore(t,i):!this.isAfter(t,i))},m.isSame=function(e,t){var e=l(e)?e:I(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},m.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},m.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},m.isValid=function(){return U(this)},m.lang=et,m.locale=Qt,m.localeData=ei,m.max=ge,m.min=fe,m.parsingFlags=function(){return G({},g(this))},m.set=function(e,t){if("object"==typeof e)for(var i=(e=>{var t,i=[];for(t in e)f(e,t)&&i.push({unit:t,priority:ce[t]});return i.sort(function(e,t){return e.priority-t.priority}),i})(e=ue(e)),n=i.length,r=0;r<n;r++)this[i[r].unit](e[i[r].unit]);else if(c(this[e=d(e)]))return this[e](t);return this},m.startOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ri:ni,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ii(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ii(t,6e4);break;case"second":t=this._d.valueOf(),t-=ii(t,1e3)}this._d.setTime(t),p.updateOffset(this,!0)}return this},m.subtract=Je,m.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},m.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},m.toDate=function(){return new Date(this.valueOf())},m.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):c(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ae(t,"Z")):ae(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},m.inspect=function(){var e,t,i;return this.isValid()?(t="moment",i="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(i+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(m[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},m.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},m.eraName=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].name;if(t[i].until<=e&&e<=t[i].since)return t[i].name}return""},m.eraNarrow=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].narrow;if(t[i].until<=e&&e<=t[i].since)return t[i].narrow}return""},m.eraAbbr=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].abbr;if(t[i].until<=e&&e<=t[i].since)return t[i].abbr}return""},m.eraYear=function(){for(var e,t,i=this.localeData().eras(),n=0,r=i.length;n<r;++n)if(e=i[n].since<=i[n].until?1:-1,t=this.clone().startOf("day").valueOf(),i[n].since<=t&&t<=i[n].until||i[n].until<=t&&t<=i[n].since)return(this.year()-p(i[n].since).year())*e+i[n].offset;return this.year()},m.year=Pe,m.isLeapYear=function(){return ke(this.year())},m.weekYear=function(e){return li.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},m.isoWeekYear=function(e){return li.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},m.quarter=m.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},m.month=je,m.daysInMonth=function(){return Be(this.year(),this.month())},m.week=m.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},m.isoWeek=m.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},m.weeksInYear=function(){var e=this.localeData()._week;return S(this.year(),e.dow,e.doy)},m.weeksInWeekYear=function(){var e=this.localeData()._week;return S(this.weekYear(),e.dow,e.doy)},m.isoWeeksInYear=function(){return S(this.year(),1,4)},m.isoWeeksInISOWeekYear=function(){return S(this.isoWeekYear(),1,4)},m.date=ve,m.day=m.days=function(e){var t,i,n;return this.isValid()?(t=Ne(this,"Day"),null!=e?(i=e,n=this.localeData(),e="string"!=typeof i?i:isNaN(i)?"number"==typeof(i=n.weekdaysParse(i))?i:null:parseInt(i,10),this.add(e-t,"d")):t):null!=e?this:NaN},m.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},m.isoWeekday=function(e){var t,i;return this.isValid()?null!=e?(t=e,i=this.localeData(),i="string"==typeof t?i.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?i:i-7)):this.day()||7:null!=e?this:NaN},m.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},m.hour=m.hours=r,m.minute=m.minutes=he,m.second=m.seconds=we,m.millisecond=m.milliseconds=pe,m.utcOffset=function(e,t,i){var n,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:Gt(this);if("string"==typeof e){if(null===(e=Yt(xe,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=Gt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Zt(this,P(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},m.utc=function(e){return this.utcOffset(0,e)},m.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Gt(this),"m"),this},m.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Yt(_e,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},m.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60==0)},m.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},m.isLocal=function(){return!!this.isValid()&&!this._isUTC},m.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},m.isUtc=Ut,m.isUTC=Ut,m.zoneAbbr=function(){return this._isUTC?"UTC":""},m.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},m.dates=e("dates accessor is deprecated. Use date instead.",ve),m.months=e("months accessor is deprecated. Use month instead",je),m.years=e("years accessor is deprecated. Use year instead",Pe),m.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),m.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(q(t={},this),(t=Dt(t))._a?(e=(t._isUTC?u:I)(t._a),this._isDSTShifted=this.isValid()&&0<((e,t,i)=>{for(var n=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,a=0;a<n;a++)(i&&e[a]!==t[a]||!i&&b(e[a])!==b(t[a]))&&o++;return o+r})(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(h=ee.prototype).calendar=function(e,t,i){return c(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,i):e},h.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(ie).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},h.invalidDate=function(){return this._invalidDate},h.ordinal=function(e){return this._ordinal.replace("%d",e)},h.preparse=di,h.postformat=di,h.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return c(r)?r(e,t,i,n):r.replace(/%d/i,e)},h.pastFuture=function(e,t){return c(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},h.set=function(e){var t,i;for(i in e)f(e,i)&&(c(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},h.eras=function(e,t){for(var i,n=this._eras||D("en")._eras,r=0,o=n.length;r<o;++r)switch("string"==typeof n[r].since&&(i=p(n[r].since).startOf("day"),n[r].since=i.valueOf()),typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":i=p(n[r].until).startOf("day").valueOf(),n[r].until=i.valueOf()}return n},h.erasParse=function(e,t,i){var n,r,o,a,s,l=this.eras();for(e=e.toUpperCase(),n=0,r=l.length;n<r;++n)if(o=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(o===e)return l[n];break;case"NNNNN":if(s===e)return l[n]}else if(0<=[o,a,s].indexOf(e))return l[n]},h.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*i},h.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||ai.call(this),e?this._erasAbbrRegex:this._erasRegex},h.erasNameRegex=function(e){return f(this,"_erasNameRegex")||ai.call(this),e?this._erasNameRegex:this._erasRegex},h.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||ai.call(this),e?this._erasNarrowRegex:this._erasRegex},h.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Ye).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},h.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Ye.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},h.monthsParse=function(e,t,i){var n,r;if(this._monthsParseExact)return function(e,t,i){var n,r,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=u([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=k.call(this._shortMonthsParse,e))?r:null:-1!==(r=k.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=k.call(this._shortMonthsParse,e))||-1!==(r=k.call(this._longMonthsParse,e))?r:null:-1!==(r=k.call(this._longMonthsParse,e))||-1!==(r=k.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=u([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},h.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},h.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},h.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},h.firstDayOfYear=function(){return this._week.doy},h.firstDayOfWeek=function(){return this._week.dow},h.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ke(t,this._week.dow):e?t[e.day()]:t},h.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},h.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},h.weekdaysParse=function(e,t,i){var n,r;if(this._weekdaysParseExact)return function(e,t,i){var n,r,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=u([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=k.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=k.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=k.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=k.call(this._weekdaysParse,e))||-1!==(r=k.call(this._shortWeekdaysParse,e))||-1!==(r=k.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=k.call(this._shortWeekdaysParse,e))||-1!==(r=k.call(this._weekdaysParse,e))||-1!==(r=k.call(this._minWeekdaysParse,e))?r:null:-1!==(r=k.call(this._minWeekdaysParse,e))||-1!==(r=k.call(this._weekdaysParse,e))||-1!==(r=k.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=u([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},h.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},h.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=it),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},h.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},h.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},h.meridiem=function(e,t,i){return 11<e?i?"pm":"PM":i?"am":"AM"},pt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===b(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=e("moment.lang is deprecated. Use moment.locale instead.",pt),p.langData=e("moment.langData is deprecated. Use moment.localeData instead.",D);var O=Math.abs;function fi(e,t,i,n){t=P(t,i);return e._milliseconds+=n*t._milliseconds,e._days+=n*t._days,e._months+=n*t._months,e._bubble()}function gi(e){return e<0?Math.floor(e):Math.ceil(e)}function yi(e){return 4800*e/146097}function vi(e){return 146097*e/4800}function wi(e){return function(){return this.as(e)}}function bi(e){return function(){return this.isValid()?this._data[e]:NaN}}de=wi("ms"),t=wi("s"),ye=wi("m"),me=wi("h"),Re=wi("d"),ge=wi("w"),fe=wi("M"),Je=wi("Q"),r=wi("y"),he=de;var we=bi("milliseconds"),pe=bi("seconds"),ve=bi("minutes"),Pe=bi("hours"),h=bi("days"),Li=bi("months"),_i=bi("years"),xi=Math.round,Ti={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ei(e,t,i,n){var r=P(e).abs(),o=xi(r.as("s")),a=xi(r.as("m")),s=xi(r.as("h")),l=xi(r.as("d")),u=xi(r.as("M")),c=xi(r.as("w")),r=xi(r.as("y")),o=(o<=i.ss?["s",o]:o<i.s&&["ss",o])||(a<=1?["m"]:a<i.m&&["mm",a])||(s<=1?["h"]:s<i.h&&["hh",s])||(l<=1?["d"]:l<i.d&&["dd",l]);return(o=(o=null!=i.w?o||(c<=1?["w"]:c<i.w&&["ww",c]):o)||(u<=1?["M"]:u<i.M&&["MM",u])||(r<=1?["y"]:["yy",r]))[2]=t,o[3]=0<+e,o[4]=n,function(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}.apply(null,o)}var Ci=Math.abs;function Mi(e){return(0<e)-(e<0)||+e}function ki(){var e,t,i,n,r,o,a,s,l,u,c;return this.isValid()?(s=Ci(this._milliseconds)/1e3,l=Ci(this._days),u=Ci(this._months),(c=this.asSeconds())?(e=w(s/60),t=w(e/60),s%=60,e%=60,i=w(u/12),u%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Mi(this._months)!==Mi(c)?"-":"",o=Mi(this._days)!==Mi(c)?"-":"",a=Mi(this._milliseconds)!==Mi(c)?"-":"",(c<0?"-":"")+"P"+(i?r+i+"Y":"")+(u?r+u+"M":"")+(l?o+l+"D":"")+(t||e||s?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(s?a+n+"S":"")):"P0D"):this.localeData().invalidDate()}var N=Nt.prototype;return N.isValid=function(){return this._isValid},N.abs=function(){var e=this._data;return this._milliseconds=O(this._milliseconds),this._days=O(this._days),this._months=O(this._months),e.milliseconds=O(e.milliseconds),e.seconds=O(e.seconds),e.minutes=O(e.minutes),e.hours=O(e.hours),e.months=O(e.months),e.years=O(e.years),this},N.add=function(e,t){return fi(this,e,t,1)},N.subtract=function(e,t){return fi(this,e,t,-1)},N.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+yi(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(vi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},N.asMilliseconds=de,N.asSeconds=t,N.asMinutes=ye,N.asHours=me,N.asDays=Re,N.asWeeks=ge,N.asMonths=fe,N.asQuarters=Je,N.asYears=r,N.valueOf=he,N._bubble=function(){var e=this._milliseconds,t=this._days,i=this._months,n=this._data;return 0<=e&&0<=t&&0<=i||e<=0&&t<=0&&i<=0||(e+=864e5*gi(vi(i)+t),i=t=0),n.milliseconds=e%1e3,e=w(e/1e3),n.seconds=e%60,e=w(e/60),n.minutes=e%60,e=w(e/60),n.hours=e%24,t+=w(e/24),i+=e=w(yi(t)),t-=gi(vi(e)),e=w(i/12),i%=12,n.days=t,n.months=i,n.years=e,this},N.clone=function(){return P(this)},N.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},N.milliseconds=we,N.seconds=pe,N.minutes=ve,N.hours=Pe,N.days=h,N.weeks=function(){return w(this.days()/7)},N.months=Li,N.years=_i,N.humanize=function(e,t){var i,n;return this.isValid()?(i=!1,n=Ti,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(n=Object.assign({},Ti,t),null!=t.s)&&null==t.ss&&(n.ss=t.s-1),t=Ei(this,!i,n,e=this.localeData()),i&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},N.toISOString=ki,N.toString=ki,N.toJSON=ki,N.locale=Qt,N.localeData=ei,N.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ki),N.lang=et,n("X",0,0,"unix"),n("x",0,0,"valueOf"),y("x",Le),y("X",/[+-]?\d+(\.\d{1,3})?/),L("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),L("x",function(e,t,i){i._d=new Date(b(e))}),p.version="2.30.1",H=I,p.fn=m,p.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=u,p.unix=function(e){return I(1e3*e)},p.months=function(e,t){return hi(e,t,"months")},p.isDate=Y,p.locale=pt,p.invalid=j,p.duration=P,p.isMoment=l,p.weekdays=function(e,t,i){return pi(e,t,i,"weekdays")},p.parseZone=function(){return I.apply(null,arguments).parseZone()},p.localeData=D,p.isDuration=Ht,p.monthsShort=function(e,t){return hi(e,t,"monthsShort")},p.weekdaysMin=function(e,t,i){return pi(e,t,i,"weekdaysMin")},p.defineLocale=ft,p.updateLocale=function(e,t){var i,n;return null!=t?(n=ut,null!=A[e]&&null!=A[e].parentLocale?A[e].set(Q(A[e]._config,t)):(t=Q(n=null!=(i=ht(e))?i._config:n,t),null==i&&(t.abbr=e),(n=new ee(t)).parentLocale=A[e],A[e]=n),pt(e)):null!=A[e]&&(null!=A[e].parentLocale?(A[e]=A[e].parentLocale,e===pt()&&pt(e)):null!=A[e]&&delete A[e]),A[e]},p.locales=function(){return te(A)},p.weekdaysShort=function(e,t,i){return pi(e,t,i,"weekdaysShort")},p.normalizeUnits=d,p.relativeTimeRounding=function(e){return void 0===e?xi:"function"==typeof e&&(xi=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Ti[e]&&(void 0===t?Ti[e]:(Ti[e]=t,"s"===e&&(Ti.ss=t-1),!0))},p.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=m,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p})();var ar,sr,S=ar.exports;function lr(e,{delay:t=0,duration:i=400,easing:n=x}={}){let r=+getComputedStyle(e).opacity;return{delay:t,duration:i,easing:n,css:e=>"opacity: "+e*r}}function ur(i){let n,r,t,o;return{c(){n=K("div"),(r=K("div")).innerHTML='<div class="ModalContainer"><slot></slot></div>',te(r,"class","ModalWindow"),te(r,"id","Modal")},m(e,t){Z(e,n,t),q(n,r),i[6](r),i[7](n),o=!0},p(e,t){i=e},i(e){o||(ce(()=>{o&&(t=t||we(r,lr,{transitionDuration:i[1]},!0)).run(1)}),o=!0)},o(e){(t=t||we(r,lr,{transitionDuration:i[1]},!1)).run(0),o=!1},d(e){e&&X(n),i[6](null),e&&t&&t.end(),i[7](null)}}}function cr(e){let i,n,r=e[0]&&ur(e);return{c(){r&&r.c(),i=w(),this.c=z},m(e,t){r&&r.m(e,t),Z(e,i,t),n=!0},p(e,[t]){e[0]?r?(r.p(e,t),1&t&&ge(r,1)):((r=ur(e)).c(),ge(r,1),r.m(i.parentNode,i)):r&&(g={r:0,c:[],p:g},ye(r,1,1,()=>{r=null}),g.r||V(g.c),g=g.p)},i(e){n||(ge(r),n=!0)},o(e){ye(r),n=!1},d(e){r&&r.d(e),e&&X(i)}}}function dr(t,e,i){let n,r,{show:o=!1}=e,{duration:a=350}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,u=e=>{"ModalClosed"==e.data.type&&i(0,o=!1),"ShowLimitsConfirmationModal"===e.data.type&&(i(0,o=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return se(()=>(window.addEventListener("message",u,!1),()=>{window.removeEventListener("message",u)})),t.$$set=e=>{"show"in e&&i(0,o=e.show),"duration"in e&&i(1,a=e.duration),"clientstyling"in e&&i(4,s=e.clientstyling),"clientstylingurl"in e&&i(5,l=e.clientstylingurl)},t.$$.update=()=>{if(36&t.$$.dirty&&l&&n){let e=new URL(l),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e;20&t.$$.dirty&&s&&n&&((e=document.createElement("style")).innerHTML=s,n.appendChild(e))},[o,a,n,void 0,s,l,function(e){j[e?"unshift":"push"](()=>{r=e,i(3,r)})},function(e){j[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}function mr(e,t){fn(e,t)}customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends Le{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}",this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},dr,cr,T,{show:0,duration:1,clientstyling:4,clientstylingurl:5},null),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["show","duration","clientstyling","clientstylingurl"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),m()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}});let hr={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"}};function pr(i){let n,r,o,a,s,l,u,c,d,m,h,p,f,g,y,v=i[2]("cancel")+"",w=i[2]("confirm")+"";return{c(){n=K("div"),r=K("div"),(o=K("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',a=Q(),s=K("div"),l=J(i[0]),u=Q(),c=K("div"),d=K("button"),m=J(v),h=Q(),p=K("button"),f=J(w),this.c=z,te(o,"class","ModalCloseBtn"),te(o,"role","button"),te(s,"class","GamingLimitsConfirmationContent"),te(d,"class","GamingLimitsCancelButton"),te(p,"class","GamingLimitsConfirmButton"),te(c,"class","GamingLimitsConfirmationControlArea "+(i[3]?"GamingLimitsConfirmationControlAreaMobile":"")),te(r,"class","GamingLimitsConfirmationContainer "+(i[3]?"GamingLimitsConfirmationContainerMobile":"")),te(n,"class","GamingLimitsConfirmationWrapper "+(i[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(e,t){Z(e,n,t),q(n,r),q(r,o),q(r,a),q(r,s),q(s,l),q(r,u),q(r,c),q(c,d),q(d,m),q(c,h),q(c,p),q(p,f),i[12](n),g||(y=[ee(o,"click",i[4]),ee(d,"click",i[6]),ee(p,"click",i[5])],g=!0)},p(e,[t]){1&t&&ne(l,e[0]),4&t&&v!==(v=e[2]("cancel")+"")&&ne(m,v),4&t&&w!==(w=e[2]("confirm")+"")&&ne(f,w)},i:z,o:z,d(e){e&&X(n),i[12](null),g=!1,V(y)}}}function fr(t,e,i){let n,{modaltext:r="Are you sure that you want to perform this action?"}=(re(t,Wn,e=>i(2,n=e)),e),{modalsource:o=""}=e,{lang:a="en"}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{translationurl:u=""}=e,c,d=(Object.keys(hr).forEach(e=>{mr(e,hr[e])}),window.navigator.userAgent),m="PC"!==zn(d),h={},p="",f=e=>{e.data&&"DeleteLimitsItem"===e.data.type&&(h=e.data.removeData,e=e.data.removeName,p="Time Limit"===e?"cumulativeSessionLimits":"Deposit Limit"===e?"depositLimits":"Wagering Limit"===e?"wageringLimit":"lossLimit")};return se(()=>(window.addEventListener("message",f,!1),()=>{window.removeEventListener("message",f)})),t.$$set=e=>{"modaltext"in e&&i(0,r=e.modaltext),"modalsource"in e&&i(7,o=e.modalsource),"lang"in e&&i(8,a=e.lang),"clientstyling"in e&&i(9,s=e.clientstyling),"clientstylingurl"in e&&i(10,l=e.clientstylingurl),"translationurl"in e&&i(11,u=e.translationurl)},t.$$.update=()=>{if(385&t.$$.dirty&&r&&o&&a&&(e=a,W.set(e)),514&t.$$.dirty&&s&&c&&((e=document.createElement("style")).innerHTML=s,c.appendChild(e)),1026&t.$$.dirty&&l&&c){let e=new URL(l),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1)})}var e;2048&t.$$.dirty&&u&&fetch(u).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{mr(e,t[e])})}).catch(e=>{console.log(e)})},[r,c,n,m,()=>{window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:h,name:p},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},o,a,s,l,u,function(e){j[e?"unshift":"push"](()=>{c=e,i(1,c)})}]}function gr(e,t,i){e=e.slice();return e[56]=t[i],e[57]=t,e[58]=i,e}function yr(e,t,i){e=e.slice();return e[59]=t[i],e}function vr(e,t,i){e=e.slice();return e[56]=t[i],e[58]=i,e}function wr(e){let i,n,r,o=e[18]("success")+"";return{c(){i=K("div"),n=K("p"),r=J(o),te(i,"class","AccountEditLimitSuccessfulChangeContainer")},m(e,t){Z(e,i,t),q(i,n),q(n,r)},p(e,t){262144&t[0]&&o!==(o=e[18]("success")+"")&&ne(r,o)},d(e){e&&X(i)}}}function br(t){let r,o=t[14],a=[];for(let e=0;e<o.length;e+=1)a[e]=_r(vr(t,o,e));return{c(){r=K("div");for(let e=0;e<a.length;e+=1)a[e].c();te(r,"class","AccountEditLimitSuccessfulChangeContainer")},m(e,t){Z(e,r,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(r,null)},p(t,i){if(409600&i[0]){let e;for(o=t[14],e=0;e<o.length;e+=1){var n=vr(t,o,e);a[e]?a[e].p(n,i):(a[e]=_r(n),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&X(r),I(a,e)}}}function Lr(e){let i,n,r,o,a=e[18]("remove")+"",s=(e[56].expiryDate?S(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("p"),n=J(a),r=Q(),o=J(s)},m(e,t){Z(e,i,t),q(i,n),q(i,r),q(i,o)},p(e,t){262144&t[0]&&a!==(a=e[18]("remove")+"")&&ne(n,a),16384&t[0]&&s!==(s=(e[56].expiryDate?S(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(o,s)},d(e){e&&X(i)}}}function _r(e){let i,n=e[56].period==e[17][e[58]].period&&Lr(e);return{c(){n&&n.c(),i=w()},m(e,t){n&&n.m(e,t),Z(e,i,t)},p(e,t){e[56].period==e[17][e[58]].period?n?n.p(e,t):((n=Lr(e)).c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&X(i)}}}function xr(t){let i,r,o=t[14],a=[];for(let e=0;e<o.length;e+=1)a[e]=Pr(gr(t,o,e));return{c(){i=K("div"),r=K("div");for(let e=0;e<a.length;e+=1)a[e].c();te(r,"class","AccountEditLimitsContainer"),te(i,"class","AccountEditContent")},m(e,t){Z(e,i,t),q(i,r);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(r,null)},p(t,i){if(18836560&i[0]){let e;for(o=t[14],e=0;e<o.length;e+=1){var n=gr(t,o,e);a[e]?a[e].p(n,i):(a[e]=Pr(n),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&X(i),I(a,e)}}}function Tr(n){let r,i,o,t,a,s,l,u,c,d,m=n[18]("noLimit")+"",h=n[20].get(n[6])[n[58]].values,p=[];for(let e=0;e<h.length;e+=1)p[e]=Cr(yr(n,h,e));function f(){n[29].call(r,n[58])}let g="Custom"===n[17][n[58]].amount&&Mr(n),y=!0===n[56].isModified&&Ir(n);return{c(){r=K("select"),i=K("option"),o=J(m);for(let e=0;e<p.length;e+=1)p[e].c();a=Q(),s=K("div"),g&&g.c(),l=Q(),y&&y.c(),u=w(),i.__value="",i.value=i.__value,i.disabled=!0,i.selected=!0,i.hidden=!0,te(r,"class","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),r.disabled=t=!0===n[56].isModified,void 0===n[17][n[58]].amount&&ce(f),te(s,"class","AccountEditLimitsInputContainer")},m(e,t){Z(e,r,t),q(r,i),q(i,o);for(let e=0;e<p.length;e+=1)p[e]&&p[e].m(r,null);O(r,n[17][n[58]].amount,!0),Z(e,a,t),Z(e,s,t),g&&g.m(s,null),Z(e,l,t),y&&y.m(e,t),Z(e,u,t),c||(d=[ee(r,"change",f),ee(r,"change",function(){v(n[24](n[17][n[58]],n[58],!1,n[16]))&&n[24](n[17][n[58]],n[58],!1,n[16]).apply(this,arguments)})],c=!0)},p(e,i){if(n=e,262144&i[0]&&m!==(m=n[18]("noLimit")+"")&&ne(o,m),1048656&i[0]){let t;for(h=n[20].get(n[6])[n[58]].values,t=0;t<h.length;t+=1){let e=yr(n,h,t);p[t]?p[t].p(e,i):(p[t]=Cr(e),p[t].c(),p[t].m(r,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=h.length}16384&i[0]&&t!==(t=!0===n[56].isModified)&&(r.disabled=t),1179712&i[0]&&O(r,n[17][n[58]].amount),"Custom"===n[17][n[58]].amount?g?g.p(n,i):((g=Mr(n)).c(),g.m(s,null)):g&&(g.d(1),g=null),!0===n[56].isModified?y?y.p(n,i):((y=Ir(n)).c(),y.m(u.parentNode,u)):y&&(y.d(1),y=null)},d(e){e&&X(r),I(p,e),e&&X(a),e&&X(s),g&&g.d(),e&&X(l),y&&y.d(e),e&&X(u),c=!1,V(d)}}}function Er(e){let i,n=("Time Limit"!==e[6]?e[4]:" minutes")+"";return{c(){i=J(n)},m(e,t){Z(e,i,t)},p(e,t){80&t[0]&&n!==(n=("Time Limit"!==e[6]?e[4]:" minutes")+"")&&ne(i,n)},d(e){e&&X(i)}}}function Cr(e){let i,n,r,o,a,s=e[59]+"",l="No limit"!==e[59]&&"Custom"!==e[59]&&Er(e);return{c(){i=K("option"),n=J(s),r=Q(),l&&l.c(),o=Q(),i.__value=a=e[59],i.value=i.__value},m(e,t){Z(e,i,t),q(i,n),q(i,r),l&&l.m(i,null),q(i,o)},p(e,t){64&t[0]&&s!==(s=e[59]+"")&&ne(n,s),"No limit"!==e[59]&&"Custom"!==e[59]?l?l.p(e,t):((l=Er(e)).c(),l.m(i,o)):l&&(l.d(1),l=null),64&t[0]&&a!==(a=e[59])&&(i.__value=a,i.value=i.__value)},d(e){e&&X(i),l&&l.d()}}}function Mr(e){let i;function n(e){return"Time Limit"!==e[6]?Sr:kr}let r=n(e),o=r(e);return{c(){o.c(),i=w()},m(e,t){o.m(e,t),Z(e,i,t)},p(e,t){r===(r=n(e))&&o?o.p(e,t):(o.d(1),(o=r(e))&&(o.c(),o.m(i.parentNode,i)))},d(e){o.d(e),e&&X(i)}}}function kr(i){let n,r,o,a,s,l;function u(){i[31].call(n,i[58])}let c=1==i[13][i[58]]&&Ar(i);return{c(){n=K("input"),o=Q(),a=K("p"),c&&c.c(),te(n,"type","number"),te(n,"class","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[56].isModified,te(a,"class","AccountEditWarningText")},m(e,t){Z(e,n,t),P(n,i[17][i[58]].value),Z(e,o,t),Z(e,a,t),c&&c.m(a,null),s||(l=[ee(n,"keyup",function(){v(i[24](i[17][i[58]],i[58],!0,i[16]))&&i[24](i[17][i[58]],i[58],!0,i[16]).apply(this,arguments)}),ee(n,"input",u)],s=!0)},p(e,t){i=e,16384&t[0]&&r!==(r=!0===i[56].isModified)&&(n.disabled=r),1179712&t[0]&&ae(n.value)!==i[17][i[58]].value&&P(n,i[17][i[58]].value),1==i[13][i[58]]?c?c.p(i,t):((c=Ar(i)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&X(n),e&&X(o),e&&X(a),c&&c.d(),s=!1,V(l)}}}function Sr(i){let n,r,o,a,s,l;function u(){i[30].call(n,i[58])}let c=1==i[13][i[58]]&&Dr(i);return{c(){n=K("input"),o=Q(),a=K("p"),c&&c.c(),te(n,"type","number"),te(n,"class","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[56].isModified,te(a,"class","AccountEditWarningText")},m(e,t){Z(e,n,t),P(n,i[17][i[58]].value),Z(e,o,t),Z(e,a,t),c&&c.m(a,null),s||(l=[ee(n,"keyup",function(){v(i[24](i[17][i[58]],i[58],!1,i[16]))&&i[24](i[17][i[58]],i[58],!1,i[16]).apply(this,arguments)}),ee(n,"input",u)],s=!0)},p(e,t){i=e,16384&t[0]&&r!==(r=!0===i[56].isModified)&&(n.disabled=r),1179712&t[0]&&ae(n.value)!==i[17][i[58]].value&&P(n,i[17][i[58]].value),1==i[13][i[58]]?c?c.p(i,t):((c=Dr(i)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&X(n),e&&X(o),e&&X(a),c&&c.d(),s=!1,V(l)}}}function Ar(e){let i,n,r=e[18]("invalidInputMessageTime",{values:{minTime:e[10],maxTime:e[11]}})+"";return{c(){i=K("p"),n=J(r),te(i,"class","InvalidInput")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){265216&t[0]&&r!==(r=e[18]("invalidInputMessageTime",{values:{minTime:e[10],maxTime:e[11]}})+"")&&ne(n,r)},d(e){e&&X(i)}}}function Dr(e){let i,n,r=e[18]("invalidInputMessageLimit")+"";return{c(){i=K("p"),n=J(r),te(i,"class","InvalidInput")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){262144&t[0]&&r!==(r=e[18]("invalidInputMessageLimit")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Ir(e){let i,n,r,o,a,s,l,u,c,d,m,h,p,f,g,y,v,w=e[18]("expirationDate")+"",b=(e[56].expiryDate?S(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",L=e[18]("changedLimitTextBefore")+"",_=(0<e[56].updateAmount?e[56].updateAmount:0)+"",x=(void 0!==e[56].minutes?" minutes":e[4])+"",T=e[18]("changedLimitTextAfter")+"";return{c(){i=K("p"),n=J(w),r=Q(),o=K("span"),a=J(b),s=Q(),l=K("div"),u=K("p"),(c=K("span")).textContent="i",d=K("span"),m=J(L),h=Q(),p=J(_),f=Q(),g=J(x),y=J(". "),v=J(T),te(i,"class","AccountEditLimitsExpiryDate"),te(c,"class","AccountEditLimitChangePeriodIcon"),te(l,"class","AccountEditLimitsPeriodChangeContainer")},m(e,t){Z(e,i,t),q(i,n),q(i,r),q(i,o),q(o,a),Z(e,s,t),Z(e,l,t),q(l,u),q(u,c),q(u,d),q(d,m),q(d,h),q(d,p),q(d,f),q(d,g),q(d,y),q(d,v)},p(e,t){262144&t[0]&&w!==(w=e[18]("expirationDate")+"")&&ne(n,w),16384&t[0]&&b!==(b=(e[56].expiryDate?S(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(a,b),262144&t[0]&&L!==(L=e[18]("changedLimitTextBefore")+"")&&ne(m,L),16384&t[0]&&_!==(_=(0<e[56].updateAmount?e[56].updateAmount:0)+"")&&ne(p,_),16400&t[0]&&x!==(x=(void 0!==e[56].minutes?" minutes":e[4])+"")&&ne(g,x),262144&t[0]&&T!==(T=e[18]("changedLimitTextAfter")+"")&&ne(v,T)},d(e){e&&X(i),e&&X(s),e&&X(l)}}}function Pr(e){let i,n,r,o,a,s=e[18](""+e[56].period.charAt(0).toLowerCase()+e[56].period.substring(1))+"",l=e[56].period==e[17][e[58]].period&&Tr(e);return{c(){i=K("div"),n=K("p"),r=J(s),o=Q(),l&&l.c(),a=Q(),te(n,"class","AccountEditLimitsTitle"),te(i,"class","AccountEditLimitsBox")},m(e,t){Z(e,i,t),q(i,n),q(n,r),q(i,o),l&&l.m(i,null),q(i,a)},p(e,t){278528&t[0]&&s!==(s=e[18](""+e[56].period.charAt(0).toLowerCase()+e[56].period.substring(1))+"")&&ne(r,s),e[56].period==e[17][e[58]].period?l?l.p(e,t):((l=Tr(e)).c(),l.m(i,a)):l&&(l.d(1),l=null)},d(e){e&&X(i),l&&l.d()}}}function Or(i){let n,R,r,o,a,s,$,l,u,c,Y,d,m,F,h,p,f,G,g,y,U,v,j,w,b,L,_,x,T,E,C,M,k,S,A,W,D=i[18]("back")+"",I=(i[1]?i[9]:"")+"",P=i[18]("save")+"",O=i[19]&&(i=>{let n,r,o,a,s,l,u,c,d,m,h,p,f,g=i[18]("back")+"";return{c(){n=K("div"),r=t("svg"),o=t("defs"),a=t("style"),s=J(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=t("g"),u=t("g"),c=t("path"),d=Q(),m=K("h2"),h=J(g),te(c,"class","aaa"),te(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),te(c,"transform","translate(15 15) rotate(180)"),te(u,"transform","translate(20 158)"),te(l,"transform","translate(-20 -158)"),te(r,"xmlns","http://www.w3.org/2000/svg"),te(r,"width","15"),te(r,"height","15"),te(r,"viewBox","0 0 15 15"),te(m,"class","MyAccountCategoryTitleMobile"),te(n,"class","MenuReturnButton")},m(e,t){Z(e,n,t),q(n,r),q(r,o),q(o,a),q(a,s),q(r,l),q(l,u),q(u,c),q(n,d),q(n,m),q(m,h),p||(f=ee(n,"click",i[22]),p=!0)},p(e,t){262144&t[0]&&g!==(g=e[18]("back")+"")&&ne(h,g)},d(e){e&&X(n),p=!1,f()}}})(i),N=i[2]&&wr(i),H=i[3]&&br(i),B=i[8]&&xr(i);return{c(){n=K("div"),O&&O.c(),R=Q(),r=K("div"),o=t("svg"),a=t("defs"),s=t("style"),$=J(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=t("g"),u=t("g"),c=t("path"),Y=Q(),d=K("h2"),m=J(D),F=Q(),h=K("div"),p=K("h6"),f=J(I),G=Q(),g=K("div"),(y=K("span")).textContent="i",U=Q(),v=K("player-account-gaming-limits-popup"),j=Q(),N&&N.c(),w=Q(),H&&H.c(),b=Q(),B&&B.c(),L=Q(),_=K("div"),x=K("button"),T=J(P),M=Q(),k=K("player-account-modal"),S=K("player-account-gaming-limits-confirmation-modal"),this.c=z,te(c,"class","aaa"),te(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),te(c,"transform","translate(15 15) rotate(180)"),te(u,"transform","translate(20 158)"),te(l,"transform","translate(-20 -158)"),te(o,"xmlns","http://www.w3.org/2000/svg"),te(o,"width","20"),te(o,"height","20"),te(o,"viewBox","0 0 15 15"),te(d,"class","MyAccountCategoryTitle "+(i[19]?"MyAccountCategoryTitleNone":"")),te(r,"class","MenuReturnButton "+(i[19]?"MyAccountCategoryTitleNone":"")),te(y,"class","AccountEditLimitsIcon"),ie(v,"showpopup",i[7]),ie(v,"lang",i[0]),te(g,"class","AccountEditLimitsIconWrapper"),te(h,"class","AccountEditLimitsHeader"),te(x,"class",E="AccountEditLimitsSaveButton "+(i[15]?"":"AccountEditLimitsButtonDisabled")),x.disabled=C=!i[15],te(_,"class","AccountEditLimitsControlArea"),te(n,"class","AccountEditLimitsWrapper "+(i[19]?"AccountEditLimitsMobileWrapper":"")),ie(S,"modaltext",i[12]),ie(S,"modalsource","groupEdit"),ie(S,"lang",i[0])},m(e,t){Z(e,n,t),O&&O.m(n,null),q(n,R),q(n,r),q(r,o),q(o,a),q(a,s),q(s,$),q(o,l),q(l,u),q(u,c),q(r,Y),q(r,d),q(d,m),q(n,F),q(n,h),q(h,p),q(p,f),q(h,G),q(h,g),q(g,y),q(g,U),q(g,v),q(n,j),N&&N.m(n,null),q(n,w),H&&H.m(n,null),q(n,b),B&&B.m(n,null),q(n,L),q(n,_),q(_,x),q(x,T),i[33](n),Z(e,M,t),Z(e,k,t),q(k,S),A||(W=[ee(r,"click",i[22]),ee(y,"click",oe(i[21])),ee(x,"click",i[32])],A=!0)},p(e,t){e[19]&&O.p(e,t),262144&t[0]&&D!==(D=e[18]("back")+"")&&ne(m,D),514&t[0]&&I!==(I=(e[1]?e[9]:"")+"")&&ne(f,I),128&t[0]&&ie(v,"showpopup",e[7]),1&t[0]&&ie(v,"lang",e[0]),e[2]?N?N.p(e,t):((N=wr(e)).c(),N.m(n,w)):N&&(N.d(1),N=null),e[3]?H?H.p(e,t):((H=br(e)).c(),H.m(n,b)):H&&(H.d(1),H=null),e[8]?B?B.p(e,t):((B=xr(e)).c(),B.m(n,L)):B&&(B.d(1),B=null),262144&t[0]&&P!==(P=e[18]("save")+"")&&ne(T,P),32768&t[0]&&E!==(E="AccountEditLimitsSaveButton "+(e[15]?"":"AccountEditLimitsButtonDisabled"))&&te(x,"class",E),32768&t[0]&&C!==(C=!e[15])&&(x.disabled=C),4096&t[0]&&ie(S,"modaltext",e[12]),1&t[0]&&ie(S,"lang",e[0])},i:z,o:z,d(e){e&&X(n),O&&O.d(),N&&N.d(),H&&H.d(),B&&B.d(),i[33](null),e&&X(M),e&&X(k),A=!1,V(W)}}}function Nr(t,e,o){let i,{limitsdata:n=[]}=(re(t,Wn,e=>o(18,i=e)),e),{showsuccessnotification:r=!1}=e,{showdeletenotification:a=!1}=e,{playercurrency:s=""}=e,{lang:l="en"}=e,{separatelimits:u="true"}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{translationurl:m=""}=e,h,p,f=(Object.keys(or).forEach(e=>{rr(e,or[e])}),!1),g=!1,y="",v=!1,w=0,b=0,L="",H=window.navigator.userAgent,B="PC"!==zn(H),_=new Array(3).fill(0),x={},T=[],E=[],C=!1,M=[],k={amount:/^[0-9]{0,8}$/,time:/^[1-9]\d*$/},S=[{period:"Daily",amount:"No limit",value:0},{period:"Weekly",amount:"No limit",value:0},{period:"Monthly",amount:"No limit",value:0}],A=[{period:"Daily",values:["10000","20000","50000","No limit","Custom"]},{period:"Weekly",values:["10000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["50000","100000","200000","No limit","Custom"]}],D=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],R=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],$=[{period:"Daily",values:["500","1000","1430","No limit","Custom"]},{period:"Weekly",values:["5000","7000","10000","No limit","Custom"]},{period:"Monthly",values:["20000","30000","43000","No limit","Custom"]}],I=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),P=new Map([["Deposit Limit",A],["Time Limit",$],["Wagering Limit",D],["Loss Limit",R]]),Y=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},O=(i,e)=>{let n=JSON.parse(JSON.stringify(e));S.forEach(t=>{n.forEach(e=>{t.period==i.period&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0)),e.period===t.period&&(e.amount=t.value)})})},F=()=>{M.forEach(e=>{var t=e;E.forEach(e=>{t.period===e.period&&("Time Limit"===h&&(o(10,w=60),"Daily"===t.period?o(11,b=1440):"Weekly"==t.period?o(11,b=10080):o(11,b=43200)),-1<e.values.indexOf(t.amount))&&("No limit"===t.amount?t.amount=0:t.amount=JSON.parse(t.amount))})}),x.forEach(n=>{E.forEach(e=>{var t,i;n.period===e.period&&(e=e,t=n,i=S,e=e.values,t.amount&&"No limit"!==t.amount?e.includes(JSON.stringify(t.amount))?i.forEach(e=>{e.period===t.period&&(e.amount=JSON.stringify(t.amount),e.value=t.amount)}):i.forEach(e=>{e.period===t.period&&(e.amount="Custom",e.value=t.amount)}):i.forEach(e=>{e.period===t.period&&(e.amount=t.amount,e.value=0)}))})})},G=()=>{var e="Time Limit"===h?"time limit":"Deposit Limit"===h?"deposit limit":"Wagering Limit"===h?"wagering limit":"loss limit";o(12,L=i("changeLimitsText",{values:{limit:e}}))},N=()=>{var e=l;W.set(e),G(),o(16,M=JSON.parse(JSON.stringify(n))),o(14,x=JSON.parse(JSON.stringify(n))),E="Wagering Limit"===h?D:"Loss Limit"===h?R:"Deposit Limit"===h?A:"Time Limit"===h?$:[],F()},U=e=>{if(e.data)switch(e.data.type){case"LanguageChanged":o(0,l=e.data.lang),G();break;case"EditPlayerLimit":o(6,h=e.data.name),o(9,y=i(h.charAt(0).toLowerCase()+h.substring(1).replace(/\s/g,""))),N(),o(8,g=!0);break;case"ClosePlayerAccountGamingLimitsPopup":o(7,f=!1);break;case"GamingLimitsConfirmChanges":(v=!0)&&("Time Limit"===h?S.forEach(t=>{var e;"true"==u?0!=t.value&&(e={period:t.period,minutes:t.value},T.push(e)):x.forEach(e=>{e.period===t.period&&(e.minutes=t.value)})}):S.forEach(t=>{var e;"true"==u?0!=t.value&&(e={period:t.period,amount:t.value,currency:s},T.push(e)):x.forEach(e=>{e.period===t.period&&(e.amount=t.value,e.currency=s)})}),t={},t="true"==u?{[I.get(h)]:[...T]}:{[I.get(h)]:[...x]},T.length=0,window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:t,limitsCategory:I.get(h)},window.location.href),o(15,C=!1));break;case"CancelGamingLimitsChanges":o(8,g=!1),setTimeout(()=>{o(8,g=!0)},10),N(),o(15,C=!1),v=!1}var t};return se(()=>(window.addEventListener("message",U,!1),()=>{window.removeEventListener("message",U)})),t.$$set=e=>{"limitsdata"in e&&o(1,n=e.limitsdata),"showsuccessnotification"in e&&o(2,r=e.showsuccessnotification),"showdeletenotification"in e&&o(3,a=e.showdeletenotification),"playercurrency"in e&&o(4,s=e.playercurrency),"lang"in e&&o(0,l=e.lang),"separatelimits"in e&&o(25,u=e.separatelimits),"clientstyling"in e&&o(26,c=e.clientstyling),"clientstylingurl"in e&&o(27,d=e.clientstylingurl),"translationurl"in e&&o(28,m=e.translationurl)},t.$$.update=()=>{if(12&t.$$.dirty[0]&&r&&a&&N(),t.$$.dirty[0],67108896&t.$$.dirty[0]&&c&&p&&((e=document.createElement("style")).innerHTML=c,p.appendChild(e)),134217760&t.$$.dirty[0]&&d&&p){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{p.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{rr(e,t[e])})}).catch(e=>{console.log(e)})},[l,n,r,a,s,p,h,f,g,y,w,b,L,_,x,C,M,S,i,B,P,()=>{o(7,f=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},Y,(e,t,i,n)=>{var r;"Custom"===e.amount?"Time Limit"==h?(o(10,w=60),"Daily"===e.period?o(11,b=1440):"Weekly"==e.period?o(11,b=10080):o(11,b=43200),e.value&&k.time.test(e.value)&&e.value>w&&e.value<=b?(o(13,_[t]=0,_),r=n[t],e.period==r.period&&e.value==r.amount?(o(15,C=!1),O(e,n)):o(15,C=!0)):(o(13,_[t]=1,_),o(15,C=!1))):e.value&&k.amount.test(e.value)?(o(13,_[t]=0,_),e.period==n[t].period&&e.value==n[t].amount?(o(15,C=!!C),O(e,n)):o(15,C=!0),"true"!=u&&S.forEach(e=>{0==e.value&&o(15,C=!1)})):(o(13,_[t]=1,_),o(15,C=!1)):(e.period==n[t].period?(O(e,n),o(15,C=e.value!=n[t].amount)):o(15,C=!0),S.forEach(e=>{(0==e.value&&"true"!=u||"Custom"==e.amount&&!k.amount.test(e.value.toString()))&&o(15,C=!1)}))},u,c,d,m,function(e){S[e].amount=(e=>(e=e.querySelector(":checked"))&&e.__value)(this),o(17,S),o(20,P),o(6,h)},function(e){S[e].value=ae(this.value),o(17,S),o(20,P),o(6,h)},function(e){S[e].value=ae(this.value),o(17,S),o(20,P),o(6,h)},()=>Y(),function(e){j[e?"unshift":"push"](()=>{p=e,o(5,p)})}]}function Hr(e,t,i){e=e.slice();return e[41]=t[i],e[43]=i,e}function Br(e,t,i){e=e.slice();return e[41]=t[i],e[43]=i,e}function Rr(i){let n,r,o,a,s,l,u,c,d,m,h,p,f,g,y,v,w,b,L,_,x,T,E,C=(i[0]?i[15](i[1].charAt(0).toLowerCase()+i[1].substring(1).replace(/\s/g,"")):"")+"",M=i[15]("edit")+"";function k(e){return"Time Limit"===e[1]?Fr:Yr}let S=k(i),A=S(i),D=!i[9]&&!i[0].isModified&&i[14]&&io(i),I=i[11]&&no(i);return{c(){n=K("div"),r=K("div"),o=K("div"),a=K("h5"),s=J(C),l=Q(),u=K("div"),(c=K("span")).textContent="i",d=Q(),m=K("player-account-gaming-limits-popup"),p=Q(),f=K("div"),g=K("div"),y=K("div"),A.c(),v=Q(),w=K("div"),b=K("button"),L=J(M),_=Q(),D&&D.c(),x=Q(),I&&I.c(),te(c,"class","InfoCardIcon"),ie(m,"showpopup",h=i[8][0]),ie(m,"lang",i[3]),ie(m,"clientstyling",i[4]),ie(m,"clientstylingurl",i[5]),te(u,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":"")),te(o,"class","InfoCardHeader "+(i[16]?"InfoCardMobileHeader":"")),te(y,"class","InfoCardTableRow"),te(g,"class","InfoCardTableWrapper"),te(b,"class","InfoCardEditButton"),te(w,"class","InfoCardControlArea"),te(f,"class","InfoCard"),te(r,"class","InfoCardWrapper"),te(n,"class","InfoCardSection")},m(e,t){Z(e,n,t),q(n,r),q(r,o),q(o,a),q(a,s),q(o,l),q(o,u),q(u,c),q(u,d),q(u,m),q(r,p),q(r,f),q(f,g),q(g,y),A.m(y,null),q(f,v),q(f,w),q(w,b),q(b,L),q(w,_),D&&D.m(w,null),q(n,x),I&&I.m(n,null),T||(E=[ee(c,"click",oe(i[23])),ee(b,"click",i[26])],T=!0)},p(e,t){32771&t[0]&&C!==(C=(e[0]?e[15](e[1].charAt(0).toLowerCase()+e[1].substring(1).replace(/\s/g,"")):"")+"")&&ne(s,C),256&t[0]&&h!==(h=e[8][0])&&ie(m,"showpopup",h),8&t[0]&&ie(m,"lang",e[3]),16&t[0]&&ie(m,"clientstyling",e[4]),32&t[0]&&ie(m,"clientstylingurl",e[5]),S===(S=k(e))&&A?A.p(e,t):(A.d(1),(A=S(e))&&(A.c(),A.m(y,null))),32768&t[0]&&M!==(M=e[15]("edit")+"")&&ne(L,M),e[9]||e[0].isModified||!e[14]?D&&(D.d(1),D=null):D?D.p(e,t):((D=io(e)).c(),D.m(w,null)),e[11]?I?I.p(e,t):((I=no(e)).c(),I.m(n,null)):I&&(I.d(1),I=null)},d(e){e&&X(n),A.d(),D&&D.d(),I&&I.d(),T=!1,V(E)}}}function $r(e){let i;return{c(){te(i=K("div"),"class","ModalLoader")},m(e,t){Z(e,i,t)},p:z,d(e){e&&X(i)}}}function Yr(t){let r,o=t[0],a=[];for(let e=0;e<o.length;e+=1)a[e]=Vr(Hr(t,o,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=w()},m(t,i){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,i);Z(t,r,i)},p(t,i){if(3375423&i[0]){let e;for(o=t[0],e=0;e<o.length;e+=1){var n=Hr(t,o,e);a[e]?a[e].p(n,i):(a[e]=Vr(n),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){I(a,e),e&&X(r)}}}function Fr(t){let r,o=t[0],a=[];for(let e=0;e<o.length;e+=1)a[e]=to(Br(t,o,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=w()},m(t,i){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,i);Z(t,r,i)},p(t,i){if(3375419&i[0]){let e;for(o=t[0],e=0;e<o.length;e+=1){var n=Br(t,o,e);a[e]?a[e].p(n,i):(a[e]=to(n),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){I(a,e),e&&X(r)}}}function Gr(e){let i,n,r=(e[41]?e[41].currency:"")+"";return{c(){i=K("span"),n=J(r),te(i,"class","InfoCardCurrency")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){1&t[0]&&r!==(r=(e[41]?e[41].currency:"")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Ur(e){let i,n,r=e[15]("notAvailable")+"";return{c(){i=K("div"),n=J(r),te(i,"class","InfoCardRowValue")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){32768&t[0]&&r!==(r=e[15]("notAvailable")+"")&&ne(n,r)},d(e){e&&X(i)}}}function jr(e){let i,n,r=(e[41]?(S(e[41].expiryDate).year()>e[17].year()+30?e[17].clone().add(5,"years"):S(e[41].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=J(r),te(i,"class","InfoCardRowValue")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){1&t[0]&&r!==(r=(e[41]?(S(e[41].expiryDate).year()>e[17].year()+30?e[17].clone().add(5,"years"):S(e[41].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Wr(i){let n,r,o,a,s,l,u,c;function d(){return i[25](i[43])}return{c(){n=K("div"),(r=K("span")).textContent="i",o=Q(),a=K("player-account-gaming-limits-popup"),te(r,"class","InfoCardIcon"),ie(a,"showpopup",s=i[8][i[43]+1]),ie(a,"iteminfoamount",l=i[41].updateAmount),ie(a,"playercurrency",i[2]),ie(a,"lang",i[3]),ie(a,"clientstyling",i[4]),ie(a,"clientstylingurl",i[5]),te(n,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":""))},m(e,t){Z(e,n,t),q(n,r),q(n,o),q(n,a),u||(c=ee(r,"click",oe(d)),u=!0)},p(e,t){i=e,256&t[0]&&s!==(s=i[8][i[43]+1])&&ie(a,"showpopup",s),1&t[0]&&l!==(l=i[41].updateAmount)&&ie(a,"iteminfoamount",l),4&t[0]&&ie(a,"playercurrency",i[2]),8&t[0]&&ie(a,"lang",i[3]),16&t[0]&&ie(a,"clientstyling",i[4]),32&t[0]&&ie(a,"clientstylingurl",i[5])},d(e){e&&X(n),u=!1,c()}}}function zr(i){let n,r,o;return{c(){(n=K("div")).innerHTML="<span></span>",te(n,"class","InfoCardRemoveIcon")},m(e,t){Z(e,n,t),r||(o=ee(n,"click",function(){v(i[20](i[41],i[1]))&&i[20](i[41],i[1]).apply(this,arguments)}),r=!0)},p(e,t){i=e},d(e){e&&X(n),r=!1,o()}}}function Vr(e){let i,n,r,o,a,s,l,u,c,d,m,h,p,f,g,y,v,w=(e[41]?e[15](e[41].period.charAt(0).toLowerCase()+e[41].period.substring(1)):"")+"",b=(e[41]?"No limit"===e[41].amount?e[15]("noLimit"):e[41].amount:0)+"",L="No limit"!=e[41].amount&&e[41].amount!=e[15]("noLimit"),_=e[15]("expirationDate")+"",x=L&&Gr(e);function T(e){return e[41].expiryDate?jr:Ur}let E=T(e),C=E(e);function M(e,t){return(y=null==(y=32769&t[0]?null:y)?!(e[41].amount===e[15]("noLimit")||"No limit"===e[41].amount||e[41].isModified):y)?zr:"No limit"!=e[41].amount&&e[41].isModified?Wr:void 0}let k=M(e,[-1,-1]),S=k&&k(e);return{c(){i=K("div"),n=K("div"),r=K("div"),o=K("div"),a=J(w),s=Q(),l=K("div"),u=J(b),c=Q(),x&&x.c(),d=Q(),m=K("div"),h=K("div"),p=J(_),f=Q(),C.c(),g=Q(),S&&S.c(),v=Q(),te(o,"class","InfoCardRowTitle"),te(l,"class","InfoCardRowValue"),te(r,"class","InfoCardRow InfoMainRow"),te(h,"class","InfoCardRowTitle"),te(m,"class","InfoCardRow"),te(n,"class","InfoCardRowContainer"),te(i,"class","InfoCardBox InfoCardMultipleItems")},m(e,t){Z(e,i,t),q(i,n),q(n,r),q(r,o),q(o,a),q(r,s),q(r,l),q(l,u),q(l,c),x&&x.m(l,null),q(n,d),q(n,m),q(m,h),q(h,p),q(m,f),C.m(m,null),q(i,g),S&&S.m(i,null),q(i,v)},p(e,t){32769&t[0]&&w!==(w=(e[41]?e[15](e[41].period.charAt(0).toLowerCase()+e[41].period.substring(1)):"")+"")&&ne(a,w),32769&t[0]&&b!==(b=(e[41]?"No limit"===e[41].amount?e[15]("noLimit"):e[41].amount:0)+"")&&ne(u,b),(L=32769&t[0]?"No limit"!=e[41].amount&&e[41].amount!=e[15]("noLimit"):L)?x?x.p(e,t):((x=Gr(e)).c(),x.m(l,null)):x&&(x.d(1),x=null),32768&t[0]&&_!==(_=e[15]("expirationDate")+"")&&ne(p,_),E===(E=T(e))&&C?C.p(e,t):(C.d(1),(C=E(e))&&(C.c(),C.m(m,null))),k===(k=M(e,t))&&S?S.p(e,t):(S&&S.d(1),(S=k&&k(e))&&(S.c(),S.m(i,v)))},d(e){e&&X(i),x&&x.d(),C.d(),S&&S.d()}}}function qr(e){let i,n,r=e[15]("noLimit")+"";return{c(){i=K("span"),n=J(r),te(i,"class","InfoCardCurrency")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){32768&t[0]&&r!==(r=e[15]("noLimit")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Zr(e){let i,n,r,o=(e[41]?"No limit"===e[41].amount?e[15]("noLimit"):e[41].amount:0)+"",a="No limit"!==e[41].amount&&e[41].amount!==e[15]("noLimit"),s=a&&Xr(e);return{c(){i=J(o),n=Q(),s&&s.c(),r=w()},m(e,t){Z(e,i,t),Z(e,n,t),s&&s.m(e,t),Z(e,r,t)},p(e,t){32769&t[0]&&o!==(o=(e[41]?"No limit"===e[41].amount?e[15]("noLimit"):e[41].amount:0)+"")&&ne(i,o),(a=32769&t[0]?"No limit"!==e[41].amount&&e[41].amount!==e[15]("noLimit"):a)?s?s.p(e,t):((s=Xr(e)).c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){e&&X(i),e&&X(n),s&&s.d(e),e&&X(r)}}}function Xr(e){let i,n,r=e[15]("minutes")+"";return{c(){i=K("span"),n=J(r),te(i,"class","InfoCardCurrency")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){32768&t[0]&&r!==(r=e[15]("minutes")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Kr(e){let i,n,r=e[15]("notAvailable")+"";return{c(){i=K("div"),n=J(r),te(i,"class","InfoCardRowValue")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){32768&t[0]&&r!==(r=e[15]("notAvailable")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Jr(e){let i,n,r=(e[41]?(S(e[41].expiryDate).year()>e[17].year()+30?e[17].clone().add(5,"years"):S(e[41].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=J(r),te(i,"class","InfoCardRowValue")},m(e,t){Z(e,i,t),q(i,n)},p(e,t){1&t[0]&&r!==(r=(e[41]?(S(e[41].expiryDate).year()>e[17].year()+30?e[17].clone().add(5,"years"):S(e[41].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(n,r)},d(e){e&&X(i)}}}function Qr(i){let n,r,o,a,s,l,u,c,d;function m(){return i[24](i[43])}return{c(){n=K("div"),(r=K("span")).textContent="i",o=Q(),a=K("player-account-gaming-limits-popup"),te(r,"class","InfoCardIcon"),ie(a,"showpopup",s=i[8][i[43]+1]),ie(a,"iteminfoamount",l=i[41].updateMinutes),ie(a,"playercurrency",u=i[15]("minutes")),ie(a,"lang",i[3]),ie(a,"clientstyling",i[4]),ie(a,"clientstylingurl",i[5]),te(n,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":""))},m(e,t){Z(e,n,t),q(n,r),q(n,o),q(n,a),c||(d=ee(r,"click",oe(m)),c=!0)},p(e,t){i=e,256&t[0]&&s!==(s=i[8][i[43]+1])&&ie(a,"showpopup",s),1&t[0]&&l!==(l=i[41].updateMinutes)&&ie(a,"iteminfoamount",l),32768&t[0]&&u!==(u=i[15]("minutes"))&&ie(a,"playercurrency",u),8&t[0]&&ie(a,"lang",i[3]),16&t[0]&&ie(a,"clientstyling",i[4]),32&t[0]&&ie(a,"clientstylingurl",i[5])},d(e){e&&X(n),c=!1,d()}}}function eo(i){let n,r,o;return{c(){(n=K("div")).innerHTML="<span></span>",te(n,"class","InfoCardRemoveIcon")},m(e,t){Z(e,n,t),r||(o=ee(n,"click",function(){v(i[20](i[41],i[1]))&&i[20](i[41],i[1]).apply(this,arguments)}),r=!0)},p(e,t){i=e},d(e){e&&X(n),r=!1,o()}}}function to(e){let i,n,r,o,a,s,l,u,c,d,m,h,p,f,g,y=(e[41]?e[15](e[41].period.charAt(0).toLowerCase()+e[41].period.substring(1)):"")+"",v=e[15]("expirationDate")+"";function w(e){return 0!==e[41].amount?Zr:qr}let b=w(e),L=b(e);function _(e){return e[41].expiryDate?Jr:Kr}let x=_(e),T=x(e);function E(e,t){return(f=null==(f=32769&t[0]?null:f)?!(e[41].amount===e[15]("noLimit")||"No limit"===e[41].amount||e[41].isModified):f)?eo:"No limit"!=e[41].amount&&e[41].isModified?Qr:void 0}let C=E(e,[-1,-1]),M=C&&C(e);return{c(){i=K("div"),n=K("div"),r=K("div"),o=K("div"),a=J(y),s=Q(),l=K("div"),L.c(),u=Q(),c=K("div"),d=K("div"),m=J(v),h=Q(),T.c(),p=Q(),M&&M.c(),g=Q(),te(o,"class","InfoCardRowTitle"),te(l,"class","InfoCardRowValue"),te(r,"class","InfoCardRow InfoMainRow"),te(d,"class","InfoCardRowTitle"),te(c,"class","InfoCardRow"),te(n,"class","InfoCardRowContainer"),te(i,"class","InfoCardBox InfoCardMultipleItems")},m(e,t){Z(e,i,t),q(i,n),q(n,r),q(r,o),q(o,a),q(r,s),q(r,l),L.m(l,null),q(n,u),q(n,c),q(c,d),q(d,m),q(c,h),T.m(c,null),q(i,p),M&&M.m(i,null),q(i,g)},p(e,t){32769&t[0]&&y!==(y=(e[41]?e[15](e[41].period.charAt(0).toLowerCase()+e[41].period.substring(1)):"")+"")&&ne(a,y),b===(b=w(e))&&L?L.p(e,t):(L.d(1),(L=b(e))&&(L.c(),L.m(l,null))),32768&t[0]&&v!==(v=e[15]("expirationDate")+"")&&ne(m,v),x===(x=_(e))&&T?T.p(e,t):(T.d(1),(T=x(e))&&(T.c(),T.m(c,null))),C===(C=E(e,t))&&M?M.p(e,t):(M&&M.d(1),(M=C&&C(e))&&(M.c(),M.m(i,g)))},d(e){e&&X(i),L.d(),T.d(),M&&M.d()}}}function io(i){let n,r,o,a,s=i[15]("removeLimits")+"";return{c(){n=K("button"),r=J(s),te(n,"class","InfoCardRemoveButton")},m(e,t){Z(e,n,t),q(n,r),o||(a=ee(n,"click",i[27]),o=!0)},p(e,t){32768&t[0]&&s!==(s=e[15]("removeLimits")+"")&&ne(r,s)},d(e){e&&X(n),o=!1,a()}}}function no(e){let i,n,r;return{c(){i=K("player-account-modal"),ie(n=K("player-account-gaming-limits-confirmation-modal"),"modaltext",r=e[10]?e[12]:e[13]),ie(n,"modalsource","infoCard"),ie(n,"lang",e[3]),ie(n,"clientstyling",e[4]),ie(n,"clientstylingurl",e[5]),ie(i,"clientstyling",e[4]),ie(i,"clientstylingurl",e[5])},m(e,t){Z(e,i,t),q(i,n)},p(e,t){13312&t[0]&&r!==(r=e[10]?e[12]:e[13])&&ie(n,"modaltext",r),8&t[0]&&ie(n,"lang",e[3]),16&t[0]&&ie(n,"clientstyling",e[4]),32&t[0]&&ie(n,"clientstylingurl",e[5]),16&t[0]&&ie(i,"clientstyling",e[4]),32&t[0]&&ie(i,"clientstylingurl",e[5])},d(e){e&&X(i)}}}function ro(i){let n;function r(e){return e[7]?$r:Rr}let o=r(i),a=o(i);return{c(){n=K("div"),a.c(),this.c=z},m(e,t){Z(e,n,t),a.m(n,null),i[28](n)},p(e,t){o===(o=r(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(n,null)))},i:z,o:z,d(e){e&&X(n),a.d(),i[28](null)}}}function oo(t,e,n){let i,{limitsdata:r=[]}=(re(t,Wn,e=>n(15,i=e)),e),{limitname:o=""}=e,{playercurrency:a=""}=e,{lang:s="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:u=""}=e,{translationurl:c=""}=e;Object.keys(Xn).forEach(e=>{Zn(e,Xn[e])});let d,m=!0,h=new Array(5).fill(0),p=["Daily","Weekly","Monthly"],f=!0,g=!0,y=!1,v=window.navigator.userAgent,w="PC"!==zn(v),b="",L="",_=!0,x=S(),T=e=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:e,name:o},window.location.href)},E=e=>{n(11,y=!0),n(10,g=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:o},window.location.href)},C=e=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{n(8,h[e]=!0,h)},50)},M=(e,t)=>"Weekly"===e.period&&"Daily"===t.period||"Monthly"===e.period&&"Daily"===t.period||"Monthly"===e.period&&"Weekly"===t.period?1:"Daily"===e.period&&"Weekly"===t.period||"Daily"===e.period&&"Monthly"===t.period||"Weekly"===e.period&&"Monthly"===t.period?-1:0,k=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":n(8,h=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),n(11,y=!1),n(10,g=!1)}};return se(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),t.$$set=e=>{"limitsdata"in e&&n(0,r=e.limitsdata),"limitname"in e&&n(1,o=e.limitname),"playercurrency"in e&&n(2,a=e.playercurrency),"lang"in e&&n(3,s=e.lang),"clientstyling"in e&&n(4,l=e.clientstyling),"clientstylingurl"in e&&n(5,u=e.clientstylingurl),"translationurl"in e&&n(22,c=e.translationurl)},t.$$.update=()=>{if(11&t.$$.dirty[0]&&r&&o&&s&&(()=>{var e=s;W.set(e),e="Time Limit"===o?"time limit":"Deposit Limit"===o?"deposit limit":"Wagering Limit"===o?"wagering limit":"loss limit",n(12,b=i("removeLimitsText",{values:{limit:e}})),n(13,L=i("removeLimitText",{values:{limit:e}})),r.forEach(e=>{e.isModified&&n(14,_=!1)});{let i=[...e=r];p.forEach((t,e)=>{e=(i=i.find(e=>e.period===t)?i:((e,t,i)=>{i={period:i,amount:"No limit",currency:"",isModified:!1,expiryDate:""},e=[...e];return e.splice(t,0,i),e})(i,e,t)).find(e=>e.period===t);e&&"No limit"!==e.amount&&n(9,f=!1)}),e.splice(0,e.length,...i),n(7,m=!1)}r.sort(M)})(),80&t.$$.dirty[0]&&l&&d&&((e=document.createElement("style")).innerHTML=l,d.appendChild(e)),96&t.$$.dirty[0]&&u&&d){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{d.appendChild(t)},1)})}var e;4194304&t.$$.dirty[0]&&c&&fetch(c).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Zn(e,t[e])})}).catch(e=>{console.log(e)})},[r,o,a,s,l,u,d,m,h,f,g,y,b,L,_,i,w,x,T,E,(e,t)=>{n(11,y=!0),n(10,g=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:t},window.location.href)},C,c,()=>C(0),e=>C(e+1),e=>C(e+1),()=>T(r),()=>E(r),function(e){j[e?"unshift":"push"](()=>{d=e,n(6,d)})}]}function ao(e){let i;return{c(){ie(i=K("player-account-gaming-limits-group-edit"),"limitsdata",e[13]),ie(i,"limitname",e[14]),ie(i,"showsuccessnotification",e[7]),ie(i,"showdeletenotification",e[6]),ie(i,"playercurrency",e[5]),ie(i,"lang",e[0]),ie(i,"separatelimits",e[8]),ie(i,"clientstyling",e[9]),ie(i,"clientstylingurl",e[10])},m(e,t){Z(e,i,t)},p(e,t){8192&t&&ie(i,"limitsdata",e[13]),16384&t&&ie(i,"limitname",e[14]),128&t&&ie(i,"showsuccessnotification",e[7]),64&t&&ie(i,"showdeletenotification",e[6]),32&t&&ie(i,"playercurrency",e[5]),1&t&&ie(i,"lang",e[0]),256&t&&ie(i,"separatelimits",e[8]),512&t&&ie(i,"clientstyling",e[9]),1024&t&&ie(i,"clientstylingurl",e[10])},d(e){e&&X(i)}}}function so(e){let i,n,r,o,a,s,l,u,c,d,m,h,p,f=e[16]("gamingLimitsText")+"",g=e[17]&&(i=>{let n,r,o,a,s,l,u,c,d,m,h,p,f,g=i[16]("gamingLimitsText")+"";return{c(){n=K("div"),r=t("svg"),o=t("defs"),a=t("style"),s=J(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=t("g"),u=t("g"),c=t("path"),d=Q(),m=K("h2"),h=J(g),te(c,"class","aaa"),te(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),te(c,"transform","translate(15 15) rotate(180)"),te(u,"transform","translate(20 158)"),te(l,"transform","translate(-20 -158)"),te(r,"xmlns","http://www.w3.org/2000/svg"),te(r,"width","15"),te(r,"height","15"),te(r,"viewBox","0 0 15 15"),te(m,"class","PlayerGamingLimitsTitleMobile"),te(n,"class","MenuReturnButton")},m(e,t){Z(e,n,t),q(n,r),q(r,o),q(o,a),q(a,s),q(r,l),q(l,u),q(u,c),q(n,d),q(n,m),q(m,h),p||(f=ee(n,"click",i[21]),p=!0)},p(e,t){65536&t&&g!==(g=e[16]("gamingLimitsText")+"")&&ne(h,g)},d(e){e&&X(n),p=!1,f()}}})(e);return{c(){i=K("div"),g&&g.c(),n=Q(),r=K("h2"),o=J(f),a=Q(),s=K("div"),l=K("player-account-gaming-limits-info-card"),u=Q(),c=K("player-account-gaming-limits-info-card"),d=Q(),m=K("player-account-gaming-limits-info-card"),h=Q(),p=K("player-account-gaming-limits-info-card"),te(r,"class","PlayerGamingLimitsTitle "+(e[17]?"PlayerGamingLimitsTitleNone":"")),ie(l,"limitsdata",e[1]),ie(l,"limitname",co),ie(l,"playercurrency",e[5]),ie(l,"lang",e[0]),ie(l,"clientstyling",e[9]),ie(l,"clientstylingurl",e[10]),ie(c,"limitsdata",e[2]),ie(c,"limitname",mo),ie(c,"playercurrency",e[5]),ie(c,"lang",e[0]),ie(c,"clientstyling",e[9]),ie(c,"clientstylingurl",e[10]),ie(m,"limitsdata",e[3]),ie(m,"limitname",ho),ie(m,"playercurrency",e[5]),ie(m,"lang",e[0]),ie(m,"clientstyling",e[9]),ie(m,"clientstylingurl",e[10]),ie(p,"limitsdata",e[4]),ie(p,"limitname",po),ie(p,"playercurrency",e[5]),ie(p,"lang",e[0]),ie(p,"clientstyling",e[9]),ie(p,"clientstylingurl",e[10]),te(s,"class","PlayerAccountGamingLimitsContainer"),te(i,"class","PlayerAccountGamingLimitsWrapper "+(e[17]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(e[18].matches&&e[17]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(e,t){Z(e,i,t),g&&g.m(i,null),q(i,n),q(i,r),q(r,o),q(i,a),q(i,s),q(s,l),q(s,u),q(s,c),q(s,d),q(s,m),q(s,h),q(s,p)},p(e,t){e[17]&&g.p(e,t),65536&t&&f!==(f=e[16]("gamingLimitsText")+"")&&ne(o,f),2&t&&ie(l,"limitsdata",e[1]),32&t&&ie(l,"playercurrency",e[5]),1&t&&ie(l,"lang",e[0]),512&t&&ie(l,"clientstyling",e[9]),1024&t&&ie(l,"clientstylingurl",e[10]),4&t&&ie(c,"limitsdata",e[2]),32&t&&ie(c,"playercurrency",e[5]),1&t&&ie(c,"lang",e[0]),512&t&&ie(c,"clientstyling",e[9]),1024&t&&ie(c,"clientstylingurl",e[10]),8&t&&ie(m,"limitsdata",e[3]),32&t&&ie(m,"playercurrency",e[5]),1&t&&ie(m,"lang",e[0]),512&t&&ie(m,"clientstyling",e[9]),1024&t&&ie(m,"clientstylingurl",e[10]),16&t&&ie(p,"limitsdata",e[4]),32&t&&ie(p,"playercurrency",e[5]),1&t&&ie(p,"lang",e[0]),512&t&&ie(p,"clientstyling",e[9]),1024&t&&ie(p,"clientstylingurl",e[10])},d(e){e&&X(i),g&&g.d()}}}function lo(e){let i;return{c(){te(i=K("div"),"class","ModalLoader")},m(e,t){Z(e,i,t)},p:z,d(e){e&&X(i)}}}function uo(i){let n;function r(e){return e[12]?lo:e[15]?so:ao}let o=r(i),a=o(i);return{c(){n=K("div"),a.c(),this.c=z},m(e,t){Z(e,n,t),a.m(n,null),i[22](n)},p(e,[t]){o===(o=r(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(n,null)))},i:z,o:z,d(e){e&&X(n),a.d(),i[22](null)}}}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends Le{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emfe-w-button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}',this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},fr,pr,T,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["modaltext","modalsource","lang","clientstyling","clientstylingurl","translationurl"]}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),m()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),m()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}}),customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",class extends Le{constructor(e){super();var t=document.createElement("style");t.textContent=".MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emfe-w-color-gray-300, #58586B);background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emfe-w-color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}",this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Nr,Or,T,{limitsdata:1,showsuccessnotification:2,showdeletenotification:3,playercurrency:4,lang:0,separatelimits:25,clientstyling:26,clientstylingurl:27,translationurl:28},null,[-1,-1,-1]),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","playercurrency","lang","separatelimits","clientstyling","clientstylingurl","translationurl"]}get limitsdata(){return this.$$.ctx[1]}set limitsdata(e){this.$$set({limitsdata:e}),m()}get showsuccessnotification(){return this.$$.ctx[2]}set showsuccessnotification(e){this.$$set({showsuccessnotification:e}),m()}get showdeletenotification(){return this.$$.ctx[3]}set showdeletenotification(e){this.$$set({showdeletenotification:e}),m()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(e){this.$$set({playercurrency:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get separatelimits(){return this.$$.ctx[25]}set separatelimits(e){this.$$set({separatelimits:e}),m()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),m()}}),customElements.get("player-account-gaming-limits-info-card")||customElements.define("player-account-gaming-limits-info-card",class extends Le{constructor(e){super();var t=document.createElement("style");t.textContent='@charset "UTF-8";.InfoCard{padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 3px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emfe-w-color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border:1px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emfe-w-color-black, #000000)}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B)}',this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},oo,ro,T,{limitsdata:0,limitname:1,playercurrency:2,lang:3,clientstyling:4,clientstylingurl:5,translationurl:22},null,[-1,-1]),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["limitsdata","limitname","playercurrency","lang","clientstyling","clientstylingurl","translationurl"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$$set({limitsdata:e}),m()}get limitname(){return this.$$.ctx[1]}set limitname(e){this.$$set({limitname:e}),m()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(e){this.$$set({playercurrency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[22]}set translationurl(e){this.$$set({translationurl:e}),m()}});let co="Deposit Limit",mo="Wagering Limit",ho="Loss Limit",po="Time Limit";function fo(t,e,i){let n,r=(re(t,Wn,e=>i(16,n=e)),e).depositlimit,o=e.wageringlimit,a=e.losslimit,s=e.timelimit,{showdeletenotification:l=!1}=e,{showsuccessnotification:u=!1}=e,{lang:c="en"}=e,{playercurrency:d=""}=e,{separatelimits:m="true"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{translationurl:f=""}=e,g;Object.keys(qn).forEach(e=>{Vn(e,qn[e])});let y,v=!0,w=window.navigator.userAgent,b="PC"!==zn(w),L="",_=!0,x=window.matchMedia("(min-width: 768px)"),T=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:b},window.location.href)},E=e=>{if(e.data)switch(e.data.type){case"PlayerLimitsData":i(0,c=e.data.limits.lang),i(1,r=e.data.limits.depositlimit),i(2,o=e.data.limits.wageringlimit),i(3,a=e.data.limits.losslimit),i(4,s=e.data.limits.timelimit),i(12,v=!1);break;case"EditPlayerAccountGamingLimits":i(13,y=e.data.edit),i(14,L=e.data.name),i(15,_=!1),window.postMessage({type:"EditPlayerLimit",name:L},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":i(15,_=!0);break;case"ProfileDetailsData":var t=e.data.profileDetails;i(5,d=t.currency)}};return se(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)})),t.$$set=e=>{"depositlimit"in e&&i(1,r=e.depositlimit),"wageringlimit"in e&&i(2,o=e.wageringlimit),"losslimit"in e&&i(3,a=e.losslimit),"timelimit"in e&&i(4,s=e.timelimit),"showdeletenotification"in e&&i(6,l=e.showdeletenotification),"showsuccessnotification"in e&&i(7,u=e.showsuccessnotification),"lang"in e&&i(0,c=e.lang),"playercurrency"in e&&i(5,d=e.playercurrency),"separatelimits"in e&&i(8,m=e.separatelimits),"clientstyling"in e&&i(9,h=e.clientstyling),"clientstylingurl"in e&&i(10,p=e.clientstylingurl),"translationurl"in e&&i(20,f=e.translationurl)},t.$$.update=()=>{if(1&t.$$.dirty&&c&&(e=c,W.set(e)),2560&t.$$.dirty&&h&&g&&((e=document.createElement("style")).innerHTML=h,g.appendChild(e)),3072&t.$$.dirty&&p&&g){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{g.appendChild(t)},1)})}var e;1048576&t.$$.dirty&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Vn(e,t[e])})}).catch(e=>{console.log(e)})},[c,r,o,a,s,d,l,u,m,h,p,g,v,y,L,_,n,b,x,T,f,()=>T(),function(e){j[e?"unshift":"push"](()=>{g=e,i(11,g)})}]}class go extends Le{constructor(e){super();var t=document.createElement("style");t.textContent='.PlayerAccountGamingLimitsWrapper{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));padding:50px;max-width:760px}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emfe-w-color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),be(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},fo,uo,T,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,playercurrency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,translationurl:20},null),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["depositlimit","wageringlimit","losslimit","timelimit","showdeletenotification","showsuccessnotification","lang","playercurrency","separatelimits","clientstyling","clientstylingurl","translationurl"]}get depositlimit(){return this.$$.ctx[1]}set depositlimit(e){this.$$set({depositlimit:e}),m()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(e){this.$$set({wageringlimit:e}),m()}get losslimit(){return this.$$.ctx[3]}set losslimit(e){this.$$set({losslimit:e}),m()}get timelimit(){return this.$$.ctx[4]}set timelimit(e){this.$$set({timelimit:e}),m()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(e){this.$$set({showdeletenotification:e}),m()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(e){this.$$set({showsuccessnotification:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get playercurrency(){return this.$$.ctx[5]}set playercurrency(e){this.$$set({playercurrency:e}),m()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(e){this.$$set({separatelimits:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}}return customElements.get("player-account-gaming-limits")||customElements.define("player-account-gaming-limits",go),go});
4
4
  //# sourceMappingURL=player-account-gaming-limits.js.map