@everymatrix/player-account-gaming-limits-group-edit 1.43.3 → 1.44.0
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 V(){}let E=e=>e;function T(e){return e()}function x(){return Object.create(null)}function z(e){e.forEach(T)}function v(e){return"function"==typeof e}function L(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function M(e,...t){if(null==e)return V;let i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function re(e,t,i){e.$$.on_destroy.push(M(t,i))}var e="undefined"!=typeof window;let S=e?()=>window.performance.now():()=>Date.now(),C=e?e=>requestAnimationFrame(e):V,k=new Set;function A(t){k.forEach(e=>{e.c(t)||(k.delete(e),e.f())}),0!==k.size&&C(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 O(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 P(){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 H(e,t){e.value=null==t?"":t}function N(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 B(e){var t,i={};for(t of e)i[t.name]=t.value;return i}let I=new Map,R,Y=0;function U(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,h=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})(h)}_`+s,d=D(e),{stylesheet:m,rules:f}=I.get(d)||(d=d,c={stylesheet:(c=e,f=K("style"),c=D(c),m=f,q(c.head||c,m),m.sheet,f.sheet),rules:{}},I.set(d,c),c),d=(f[s]||(f[s]=!0,m.insertRule(`@keyframes ${s} `+h,m.cssRules.length)),e.style.animation||"");return e.style.animation=(d?d+", ":"")+s+` ${t}ms linear ${r}ms 1 both`,Y+=1,s}function F(e){R=e}function se(e){(()=>{if(R)return R;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e)}let G=[],j=[],$=[],le=[],ue=Promise.resolve(),ce=!1;function he(e){$.push(e)}let de=new Set,me,fe=0;function d(){if(0===fe){let e=R;do{try{for(;fe<G.length;){let e=G[fe];fe++,F(e),t=i=void 0;var t,i=e.$$;null!==i.fragment&&(i.update(),z(i.before_update),t=i.dirty,i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,t),i.after_update.forEach(he))}}catch(e){throw G.length=0,fe=0,e}for(F(null),G.length=0,fe=0;j.length;)j.pop()();for(let e=0;e<$.length;e+=1){var n=$[e];de.has(n)||(de.add(n),n())}}while($.length=0,G.length);for(;le.length;)le.pop()();ce=!1,de.clear(),F(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 ye=new Set,y;function ge(e,t){e&&e.i&&(ye.delete(e),e.i(t))}function ve(e,t,i,n){e&&e.o?ye.has(e)||(ye.add(e),y.c.push(()=>{ye.delete(e),n&&(i&&e.d(1),n())}),e.o(t)):n&&n()}let be={duration:0};function _e(l,e,t,i){let n={direction:"both"},u=e(l,t,n),c=i?0:1,h=null,d=null,m=null;function f(){var e,t,i,n;m&&(e=l,t=m,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(", "),Y-=i)||C(()=>{Y||(I.forEach(e=>{e=e.stylesheet.ownerNode;e&&X(e)}),I.clear())}))}function p(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=E,tick:r=V,css:o}=u||be,a={start:S()+t,b:e};if(e||((a.group=y).r+=1),h||d)d=a;else{o&&(f(),m=U(l,c,e,i,t,n,o)),e&&r(0,1),h=p(a,i),he(()=>pe(l,e,"start"));{var s=e=>(d&&e>d.start&&(h=p(d,i),d=null,pe(l,h.b,"start"),o)&&(f(),m=U(l,c,h.b,h.duration,0,n,u.css)),h&&(e>=h.end?(r(c=h.b,1-c),pe(l,h.b,"end"),d||(h.b?f():--h.group.r||z(h.group.c)),h=null):e>=h.start&&(e=e-h.start,c=h.a+h.d*n(e/h.duration),r(c,1-c))),!(!h&&!d));let t;0===k.size&&C(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(){f(),h=d=null}}}function we(n,t,e,i,r,o,a,s=[-1]){var l=R;F(n);let u=n.$$={fragment:null,ctx:[],props:o,update:V,not_equal:r,bound:x(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:x(),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]&&(G.push(e),ce||(ce=!0,ue.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[i/31|0]|=1<<i%31),t}):[],u.update(),c=!0,z(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 h=n,s=t.customElement,{fragment:a,after_update:e}=h.$$;a&&a.m(t.target,t.anchor),s||he(()=>{var e=h.$$.on_mount.map(T).filter(v);h.$$.on_destroy?h.$$.on_destroy.push(...e):z(e),h.$$.on_mount=[]}),e.forEach(he),d()}F(l)}let Ee;"function"==typeof HTMLElement&&(Ee=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(T).filter(v);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){z(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;let t=[],i=[];$.forEach(e=>(-1===n.indexOf(e)?t:i).push(e)),i.forEach(e=>e()),$=t}z(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=V}$on(e,t){if(!v(t))return V;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 Te,xe,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Le="URLSearchParams"in l,Me="Symbol"in l&&"iterator"in Symbol,Se="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),Ce="FormData"in l,ke="ArrayBuffer"in l;function Ae(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 De(e){return e="string"!=typeof e?String(e):e}function Oe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Me&&(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 Pe(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function He(i){return new Promise(function(e,t){i.onload=function(){e(i.result)},i.onerror=function(){t(i.error)}})}function Ne(e){var t=new FileReader,i=He(t);return t.readAsArrayBuffer(e),i}function Be(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Ie(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Se&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Ce&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Le&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ke&&Se&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Be(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ke&&(ArrayBuffer.prototype.isPrototypeOf(e)||xe(e))?this._bodyArrayBuffer=Be(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):Le&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Se&&(this.blob=function(){var e=Pe(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 Pe(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(Se)return this.blob().then(Ne);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,n=Pe(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=He(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)},Ce&&(this.formData=function(){return this.text().then(Ye)}),this.json=function(){return this.text().then(JSON.parse)},this}ke&&(Te=["[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<Te.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=Ae(e),t=De(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},u.prototype.delete=function(e){delete this.map[Ae(e)]},u.prototype.get=function(e){return e=Ae(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(Ae(e))},u.prototype.set=function(e,t){this.map[Ae(e)]=De(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)}),Oe(i)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Oe(t)},u.prototype.entries=function(){var i=[];return this.forEach(function(e,t){i.push([t,e])}),Oe(i)},Me&&(u.prototype[Symbol.iterator]=u.prototype.entries);var Re=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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.');var i,n=(t=t||{}).body;if(e instanceof c){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<Re.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 Ye(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 h(e,t){if(!(this instanceof h))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)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},Ie.call(c.prototype),Ie.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var Ue=[301,302,303,307,308],Fe=(h.redirect=function(e,t){if(-1===Ue.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},l.DOMException);try{new Fe}catch(V){(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 c(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 h(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&&(Se?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(Ae(e)),a.setRequestHeader(e,De(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 ki(){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=c,l.Response=h),self.fetch.bind(self);var $e=function(e,t){return($e=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}$e(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 Ve(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 ze(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 m(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(m(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=ze(ze([],Ve(r)),Ve(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&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function et(e){m(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,ze([e,t],Ve(i))):setTimeout.apply(void 0,ze([e,t],Ve(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 ft(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 ht(e,t){return ct.call(e,t)}yt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){gt(e)}},yt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){gt(e)}else gt(e)},yt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){gt(e)}};var dt,mt=yt,ft=(je(pt,dt=ut),pt);function pt(e,t,i){var n=dt.call(this)||this,i=m(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&&ht(e.next,t),error:e.error&&ht(e.error,t),complete:e.complete&&ht(e.complete,t)}):e;return n.destination=new mt(i),n}function yt(e){this.partialObserver=e}function gt(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&&m(n.next)&&m(n.error)&&m(n.complete)&&Qe(n)?e:new ft(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=_t(e))(function(e,t){var i=new ft({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=_t(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 bt=r;function r(e){e&&(this._subscribe=e)}function _t(e){return null!=(e=null!=e?e:tt)?e:Promise}var wt,Et,Tt,xt=qe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(je(o,Tt=bt),o.prototype.lift=function(e){var t=new Lt(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new xt},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(),Tt.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 bt;return e.source=this,e},o.create=function(e,t){return new Lt(e,t)},o),Lt=(je(kt,Et=e),kt.prototype.next=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.next)&&i.call(t,e)},kt.prototype.error=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.error)&&i.call(t,e)},kt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},kt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Je},kt),Mt={now:function(){return(Mt.delegate||Date).now()},delegate:void 0},St=(je(Ct,wt=e),Ct.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(),wt.prototype.next.call(this,e)},Ct.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},Ct.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)}},Ct);function Ct(e,t,i){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===i&&(i=Mt);var n=wt.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 kt(e,t){var i=Et.call(this)||this;return i.destination=e,i.source=t,i}function o(){var e=Tt.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={},Ot=[];function Pt(n,r=V){let o,a=new Set;function s(e){if(L(n,e)&&(n=e,o)){let e=!Ot.length;for(let e of a)e[1](),Ot.push(e,n);if(e){for(let e=0;e<Ot.length;e+=2)Ot[e][0](Ot[e+1]);Ot.length=0}}}return{set:s,update:function(e){s(e(n))},subscribe:function(e,t=V){let i=[e,t];return a.add(i),1===a.size&&(o=r(s)||V),e(n),()=>{a.delete(i),0===a.size&&o&&(o(),o=null)}}}}function Ht(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=V,a=()=>{var e;r||(o(),e=s(l?n[0]:n,t),c?t(e):o=v(e)?e:V)},e=u.map((e,t)=>M(e,e=>{n[t]=e,r&=~(1<<t),i&&a()},()=>{r|=1<<t}));return i=!0,a(),function(){z(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===Bt);var t}var Bt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function It(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 It(e,i)})}function Yt(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 Ut(e,t){try{return t in e}catch(e){return!1}}function Ft(n,r,o){var a={};return o.isMergeableObject(n)&&Yt(n).forEach(function(e){a[e]=It(n[e],o)}),Yt(r).forEach(function(e){var t,i;(!Ut(t=n,i=e)||Object.hasOwnProperty.call(t,i)&&Object.propertyIsEnumerable.call(t,i))&&(Ut(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]=It(r[e],o))}),a}function Gt(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Rt,i.isMergeableObject=i.isMergeableObject||Nt,i.cloneUnlessOtherwiseSpecified=It;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):Ft(e,t,i):It(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 $t=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 p,g,Vt,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 zt(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===g.literal}function Zt(e){return e.type===g.number}function Xt(e){return e.type===g.date}function Kt(e){return e.type===g.time}function Jt(e){return e.type===g.select}function Qt(e){return e.type===g.plural}function ei(e){return e.type===g.tag}function ti(e){return e&&"object"==typeof e&&e.type===Vt.number}function ii(e){return e&&"object"==typeof e&&e.type===Vt.dateTime}(e=p=p||{})[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=g=g||{})[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=Vt=Vt||{})[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 hi(e){return ci(e)||{}}function di(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),hi(t))},{}));continue;case"engineering":a=b(b(b({},a),{notation:"engineering"}),r.options.reduce(function(e,t){return b(b({},e),hi(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 mi={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 fi=new RegExp("^".concat(e.source,"*")),pi=new RegExp("".concat(e.source,"*$"));function _(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,yi=!!String.fromCodePoint,gi=!!Object.fromEntries,vi=!!String.prototype.codePointAt,bi=!!String.prototype.trimStart,_i=!!String.prototype.trimEnd,wi=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ei=!0;try{Ei="a"===(null==(ji=Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ji[0])}catch(V){Ei=!1}var Ti,xi,Li=e?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Mi=yi?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},Si=gi?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},Ci=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=bi?function(e){return e.trimStart()}:function(e){return e.replace(fi,"")},Di=_i?function(e){return e.trimEnd()}:function(e){return e.replace(pi,"")};function Oi(e,t){return new RegExp(e,t)}xi=Ei?(Ti=Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ti.lastIndex=t,null!=(t=Ti.exec(e)[1])?t:""}):function(e,t){for(var i,n=[];;){var r=Ci(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 Mi.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(p.UNMATCHED_CLOSING_TAG,_(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Hi(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:g.pound,location:_(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:g.literal,value:"<".concat(r,"/>"),location:_(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()||!Hi(this.char())?this.error(p.INVALID_TAG,_(e,this.clonePosition())):(i=this.clonePosition(),r!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,_(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:g.tag,value:r,children:t,location:_(n,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,_(e,this.clonePosition())))):this.error(p.UNCLOSED_TAG,_(n,this.clonePosition()))):this.error(p.INVALID_TAG,_(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=_(i,this.clonePosition());return{val:{type:g.literal,value:n,location:i},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Hi(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 Mi.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(),Mi(i))},a.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,_(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,_(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(p.MALFORMED_ARGUMENT,_(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,_(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:g.argument,value:n,location:_(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,_(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(p.MALFORMED_ARGUMENT,_(i,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=xi(this.message,t),t=t+i.length;return this.bumpTo(t),{value:i,location:_(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(p.EXPECT_ARGUMENT_TYPE,_(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=Di(h.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,_(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:_(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(n)).err?u:(m=_(n,this.clonePosition()),l&&Li(null==l?void 0:l.style,"::",0)?(f=Ai(l.style.slice(2)),"number"===a?(h=this.parseNumberSkeletonFromString(f,l.styleLocation)).err?h:{val:{type:g.number,value:i,location:m,style:h.val},err:null}:0===f.length?this.error(p.EXPECT_DATE_TIME_SKELETON,m):(c=f,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),(mi[t||""]||mi[i||""]||mi["".concat(i,"-001")]||mi["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})(f,this.locale)),d={type:Vt.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?g.date:g.time,value:i,location:m,style:d},err:null})):{val:{type:"number"===a?g.number:"date"===a?g.date:g.time,value:i,location:m,style:null!=(f=null==l?void 0:l.style)?f:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,_(c,b({},c)));this.bumpSpace();var h,d=this.parseIdentifierIfPossible(),m=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),d=this.parseIdentifierIfPossible(),m=h.val}var f,l=this.tryParsePluralOrSelectOptions(e,a,t,d);return l.err?l:(u=this.tryParseArgumentClose(n)).err?u:(f=_(n,this.clonePosition()),"select"===a?{val:{type:g.select,value:i,options:Si(l.val),location:f},err:null}:{val:{type:g.plural,value:i,options:Si(l.val),offset:m,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null});default:return this.error(p.INVALID_ARGUMENT_TYPE,_(o,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,_(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(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,_(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(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:Vt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?di(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(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=_(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,_(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,i);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;o.push([s,{value:u.val,location:_(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,_(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(p.MISSING_OTHER_CLAUSE,_(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=_(n,this.clonePosition());return r?wi(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=Ci(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(Li(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 Hi(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 Bi(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(p[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 Ii(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 Ui(e,this,1===e.length?Ri:Yi,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 Yi(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 Ui(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 $i,ji,Wi={create:function(){return new Gi}},Vi={variadic:function(e,t){return Ui(e,this,Yi,t.cache.create(),t.serializer)},monadic:function(e,t){return Ui(e,this,Ri,t.cache.create(),t.serializer)}};(ji=$i=$i||{}).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 w,zi,qi,Zi,Xi,Ki=on,Ji=(Wt(rn,Zi=Ki),rn),Qi=(Wt(nn,qi=Ki),nn),en=(Wt(tn,zi=Ki),tn);function tn(e,t){return zi.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),$i.MISSING_VALUE,t)||this}function nn(e,t,i){return qi.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),$i.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('", "'),'"'),$i.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:w.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:w.literal,value:c.value});else if(c.type===g.pound)"number"==typeof o&&s.push({type:w.literal,value:i.getNumberFormat(t).format(o)});else{var h=c.value;if(!(r&&h in r))throw new en(h,a);h=r[h];if(c.type===g.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?w.literal:w.object,value:h});else if(Xt(c)){var d="string"==typeof c.style?n.date[c.style]:ii(c.style)?c.style.parsedOptions:void 0;s.push({type:w.literal,value:i.getDateTimeFormat(t,d).format(h)})}else if(Kt(c))d="string"==typeof c.style?n.time[c.style]:ii(c.style)?c.style.parsedOptions:n.time.medium,s.push({type:w.literal,value:i.getDateTimeFormat(t,d).format(h)});else if(Zt(c))(d="string"==typeof c.style?n.number[c.style]:ti(c.style)?c.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),s.push({type:w.literal,value:i.getNumberFormat(t,d).format(h)});else{if(ei(c)){var m=c.children,f=c.value,p=r[f];if("function"!=typeof p)throw new Qi(f,"function",a);f=p(an(m,t,i,n,r,o).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(Jt(c)){if(!(y=c.options[h]||c.options.other))throw new Ji(c.value,h,Object.keys(c.options),a);s.push.apply(s,an(y.value,t,i,n,r))}else if(Qt(c)){if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Ki('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',$i.MISSING_INTL_API,a);var p=i.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),y=c.options[p]||c.options.other}if(!y)throw new Ji(c.value,h,Object.keys(c.options),a);s.push.apply(s,an(y.value,t,i,n,r,h-(c.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===w.literal&&t.type===w.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=w=w||{})[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=Bi,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===w.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:Ii(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,zt([void 0],t,!1)))},{cache:sn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Vi.variadic}),getDateTimeFormat:Ii(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,zt([void 0],t,!1)))},{cache:sn(t.dateTime),strategy:Vi.variadic}),getPluralRules:Ii(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,zt([void 0],t,!1)))},{cache:sn(t.pluralRules),strategy:Vi.variadic})}}let f={},un=(e,t,i)=>i&&(t in f||(f[t]={}),e in f[t]||(f[t][e]=i),i),cn=(t,i)=>{if(null!=i){if(i in f&&t in f[i])return f[i][t];var n=An(i);for(let e=0;e<n.length;e++){var r=((e,t)=>{if(!mn(e))return null;e=(e=>hn[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 un(t,i,r)}}},hn,dn=Pt({});function mn(e){return e in hn}function fn(t,...i){delete f[t],dn.update(e=>(e[t]=$t.all([e[t]||{},...i]),e))}Ht([dn],([e])=>Object.keys(e)),dn.subscribe(e=>hn=e);let pn={};function yn(e){return pn[e]}function gn(e){return null!=e&&An(e).some(e=>null==(e=yn(e))?void 0:e.size)}function vn(n,e){return Promise.all(e.map(e=>{return t=n,i=e,pn[t].delete(i),0===pn[t].size&&delete pn[t],e().then(e=>e.default||e);var t,i})).then(e=>fn(n,...e))}let bn={};let _n={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 wn=Pt(!1);var En=Object.defineProperty,yi=Object.defineProperties,gi=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Mn=(e,t,i)=>t in e?En(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let Sn,Cn=Pt(null);function kn(e){return e.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function An(e,t=_n.fallbackLocale){e=kn(e);return t?[...new Set([...e,...kn(t)])]:e}function Dn(){return null!=Sn?Sn:void 0}Cn.subscribe(e=>{Sn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let W=yi(((e,t)=>{for(var i in t=t||{})xn.call(t,i)&&Mn(e,i,t[i]);if(Tn)for(var i of Tn(t))Ln.call(t,i)&&Mn(e,i,t[i]);return e})({},Cn),gi({set:t=>{if(t&&(e=>{if(null!=e){var t=An(e);for(let e=0;e<t.length;e++){var i=t[e];if(mn(i))return i}}})(t)&&gn(t)){var i=_n.loadingDelay;let e;return"undefined"!=typeof window&&null!=Dn()&&i?e=window.setTimeout(()=>wn.set(!0),i):wn.set(!0),function e(t){var i;return gn(t)?(i=An(t).map(e=>{var t=yn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),bn[t]=Promise.all(i.map(([e,t])=>vn(e,t))).then(()=>{if(gn(t))return e(t);delete bn[t]}),bn[t]):t in bn?bn[t]:Promise.resolve()}(t).then(()=>{Cn.set(t)}).finally(()=>{clearTimeout(e),wn.set(!1)})}return Cn.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)}},On=Object.defineProperty,Pn=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,Bn=(e,t,i)=>t in e?On(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,In=(e,t)=>{for(var i in t=t||{})Hn.call(t,i)&&Bn(e,i,t[i]);if(Pn)for(var i of Pn(t))Nn.call(t,i)&&Bn(e,i,t[i]);return e},Rn=(e,t)=>{var i={};for(n in e)Hn.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&Pn)for(var n of Pn(e))t.indexOf(n)<0&&Nn.call(e,n)&&(i[n]=e[n]);return i};let Yn=(e,t)=>{var i=_n.formats;if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Un=vi(e=>{var{locale:t,format:i}=e,e=Rn(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)}),Fn=vi(e=>{var{locale:t,format:i}=e,e=Rn(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)}),Gn=vi(e=>{var{locale:t,format:i}=e,e=Rn(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)}),$n=vi((e,t=Dn())=>new ln(e,t,_n.formats,{ignoreTag:_n.ignoreTag})),jn=Ht([W,dn],()=>(e,t={})=>{let i,n,r,o,a=t;"object"==typeof e&&(e=(a=e).id);var{values:s,locale:l=Dn(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=cn(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=_n).handleMissingMessage)?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))?r:u)?o:e;if(!s)return c;let h=c;try{h=$n(c,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h}),Wn=(Ht([W],()=>(e,t)=>((e={})=>{var{locale:t=Dn()}=e,e=Rn(e,["locale"]);return Gn(In({locale:t},e))})(t).format(e)),Ht([W],()=>(e,t)=>((e={})=>{var{locale:t=Dn()}=e,e=Rn(e,["locale"]);return Fn(In({locale:t},e))})(t).format(e)),Ht([W],()=>(e,t)=>((e={})=>{var{locale:t=Dn()}=e,e=Rn(e,["locale"]);return Un(In({locale:t},e))})(t).format(e)),Ht([W,dn],()=>(e,t=Dn())=>cn(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==At.indexOf(e)&&(t=new St(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 zn={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"}};Zn=qn={path:void 0,exports:{},require:function(e,t){return ki(null==t&&qn.path)}},qn.exports,Zn.exports=(()=>{var B;function f(){return B.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function I(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(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(p(e,t))return;return 1}function s(e){return void 0===e}function Y(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function U(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)p(t,i)&&(e[i]=t[i]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,i,n){return Ot(e,t,i,n,!0).utc()}function y(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 $(e){var t,i,n=e._d&&!isNaN(e._d.getTime());return n&&(t=y(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(y(t),e):y(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},V=f.momentProperties=[],z=!1;function q(e,t){var i,n,r,o=V.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=y(t)),s(t._locale)||(e._locale=t._locale),0<o)for(i=0;i<o;i++)s(r=t[n=V[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===z&&(z=!0,f.updateOffset(this),z=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function X(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,a){var s=!0;return G(function(){if(null!=f.deprecationHandler&&f.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])p(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!=f.deprecationHandler&&f.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)p(t,i)&&(I(e[i])&&I(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)p(e,i)&&!p(t,i)&&I(e[i])&&(n[i]=G({},n[i]));return n}function ee(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var te=Object.keys||function(e){var t,i=[];for(t in e)p(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 h(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ue(e){var t,i,n={};for(i in e)p(e,i)&&(t=h(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},he=/\d/,t=/\d\d/,de=/\d{3}/,me=/\d{4}/,fe=/[+-]?\d{6}/,i=/\d\d?/,pe=/\d\d\d\d?/,ye=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,ve=/\d{1,4}/,be=/[+-]?\d{1,6}/,_e=/\d+/,we=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,Te=/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,d=/^[1-9]\d?/,m=/^([1-9]\d|\d)/;function g(e,i,n){Le[e]=c(i)?i:function(e,t){return e&&n?n:i}}function xe(e,t){return p(Le,e)?Le[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 b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?b(e):t}var Le={},Me={};function w(e,i){var t,n,r=i;for("string"==typeof e&&(e=[e]),Y(i)&&(r=function(e,t){t[i]=_(e)}),n=e.length,t=0;t<n;t++)Me[e[t]]=r}function Se(e,r){w(e,function(e,t,i,n){i._w=i._w||{},r(e,i._w,i,n)})}function Ce(e){return e%4==0&&e%100!=0||e%400==0}var E=0,T=1,x=2,L=3,M=4,S=5,ke=6,Ae=7,De=8;function Oe(e){return Ce(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"),g("Y",we),g("YY",i,t),g("YYYY",ve,me),g("YYYYY",be,fe),g("YYYYYY",be,fe),w(["YYYYY","YYYYYY"],E),w("YYYY",function(e,t){t[E]=2===e.length?f.parseTwoDigitYear(e):_(e)}),w("YY",function(e,t){t[E]=f.parseTwoDigitYear(e)}),w("Y",function(e,t){t[E]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return _(e)+(68<_(e)?1900:2e3)};var C,Pe=He("FullYear",!0);function He(t,i){return function(e){return null!=e?(Be(this,t,e),f.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 Be(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||Ce(t)?e:28,r?n.setUTCFullYear(t,o,e):n.setFullYear(t,o,e)}}function Ie(e,t){var i;return isNaN(e)||isNaN(t)?NaN:(i=(t%(i=12)+i)%i,e+=(t-i)/12,1==i?Ce(e)?29:28:31-i%7%2)}C=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)}),g("M",i,d),g("MM",i,t),g("MMM",function(e,t){return t.monthsShortRegex(e)}),g("MMMM",function(e,t){return t.monthsRegex(e)}),w(["M","MM"],function(e,t){t[T]=_(e)-1}),w(["MMM","MMMM"],function(e,t,i,n){n=i._locale.monthsParse(e,n,i._strict);null!=n?t[T]=n:y(i).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ye="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ue=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe=r,Ge=r;function $e(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=_(t);else if(!Y(t=e.localeData().monthsParse(t)))return;var i=(i=e.date())<29?i:Math.min(i,Ie(e.year(),t));e._isUTC?e._d.setUTCMonth(t,i):e._d.setMonth(t,i)}}function je(e){return null!=e?($e(this,e),f.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 Ve(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 ze(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+ze(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?Oe(o=e-1)+t:t>Oe(e)?(o=e+1,t-Oe(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+k(r=e.year()-1,t,i):o>k(e.year(),t,i)?(n=o-k(e.year(),t,i),r=e.year()+1):(r=e.year(),n=o),{week:n,year:r}}function k(e,t,i){var n=qe(e,t,i),t=qe(e+1,t,i);return(Oe(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"),g("w",i,d),g("ww",i,t),g("W",i,d),g("WW",i,t),Se(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=_(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"),g("d",i),g("e",i),g("E",i),g("dd",function(e,t){return t.weekdaysMinRegex(e)}),g("ddd",function(e,t){return t.weekdaysShortRegex(e)}),g("dddd",function(e,t){return t.weekdaysRegex(e)}),Se(["dd","ddd","dddd"],function(e,t,i,n){n=i._locale.weekdaysParse(e,n,i._strict);null!=n?t.d=n:y(i).invalidWeekday=e}),Se(["d","e","E"],function(e,t,i,n){t[n]=_(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),g("a",st),g("A",st),g("H",i,m),g("h",i,d),g("k",i,d),g("HH",i,t),g("hh",i,t),g("kk",i,t),g("hmm",pe),g("hmmss",ye),g("Hmm",pe),g("Hmmss",ye),w(["H","HH"],L),w(["k","kk"],function(e,t,i){e=_(e);t[L]=24===e?0:e}),w(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),w(["h","hh"],function(e,t,i){t[L]=_(e),y(i).bigHour=!0}),w("hmm",function(e,t,i){var n=e.length-2;t[L]=_(e.substr(0,n)),t[M]=_(e.substr(n)),y(i).bigHour=!0}),w("hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[L]=_(e.substr(0,n)),t[M]=_(e.substr(n,2)),t[S]=_(e.substr(r)),y(i).bigHour=!0}),w("Hmm",function(e,t,i){var n=e.length-2;t[L]=_(e.substr(0,n)),t[M]=_(e.substr(n))}),w("Hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[L]=_(e.substr(0,n)),t[M]=_(e.substr(n,2)),t[S]=_(e.substr(r))}),r=He("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:Ye,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:et,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},A={},ct={};function ht(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,i,n,r,o=0;o<e.length;){for(t=(r=ht(e[o]).split("-")).length,i=(i=ht(e[o+1]))?i.split("-"):null;0<t;){if(n=mt(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 mt(t){var e,i;if(void 0===A[t]&&Zn&&Zn.exports&&(i=t)&&i.match("^[^/\\\\]*$"))try{e=lt._abbr,ki(),ft(e)}catch(e){A[t]=null}return A[t]}function ft(e,t){return e&&((t=s(t)?D(e):pt(e,t))?lt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function pt(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=mt(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){pt(e.name,e.config)}),ft(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=mt(e))return t;e=[e]}return dt(e)}function yt(e){var t=e._a;return t&&-2===y(e).overflow&&(t=t[T]<0||11<t[T]?T:t[x]<1||t[x]>Ie(t[E],t[T])?x:t[L]<0||24<t[L]||24===t[L]&&(0!==t[M]||0!==t[S]||0!==t[ke])?L:t[M]<0||59<t[M]?M:t[S]<0||59<t[S]?S:t[ke]<0||999<t[ke]?ke:-1,y(e)._overflowDayOfYear&&(t<E||x<t)&&(t=x),y(e)._overflowWeeks&&-1===t&&(t=Ae),y(e)._overflowWeekday&&-1===t&&(t=De),y(e).overflow=t),e}var gt=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["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]],wt=[["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/]],Et=/^\/?Date\((-?\d+)/i,Tt=/^(?:(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}))$/,xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Lt(e){var t,i,n,r,o,a,s=e._i,l=gt.exec(s)||vt.exec(s),s=_t.length,u=wt.length;if(l){for(y(e).iso=!0,t=0,i=s;t<i;t++)if(_t[t][1].exec(l[1])){r=_t[t][0],n=!1!==_t[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,i=u;t<i;t++)if(wt[t][1].exec(l[3])){o=(l[2]||" ")+wt[t][0];break}if(null==o)return e._isValid=!1}if(!n&&null!=o)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=r+(o||"")+(a||""),At(e)}else e._isValid=!1}function Mt(e,t,i,n,r,o){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),Ye.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return o&&e.push(parseInt(o,10)),e}function St(e){var t,i,n,r,o=Tt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Mt(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()?(y(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(i=o[8],n=o[9],r=o[10],i?xt[i]:n?0:((i=parseInt(r,10))-(n=i%100))/100*60+n),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0)):e._isValid=!1}function Ct(e,t,i){return null!=e?e:null!=t?t:i}function kt(e){var t,i,n,r,o,a,s,l,u,c,h,d=[];if(!e._d){for(c=e,h=new Date(f.now()),i=c._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[x]&&null==e._a[T]&&(null!=(h=(c=e)._w).GG||null!=h.W||null!=h.E?(a=1,s=4,n=Ct(h.GG,c._a[E],Xe(O(),1,4).year),r=Ct(h.W,1),((o=Ct(h.E,1))<1||7<o)&&(l=!0)):(a=c._locale._week.dow,s=c._locale._week.doy,u=Xe(O(),a,s),n=Ct(h.gg,c._a[E],u.year),r=Ct(h.w,u.week),null!=h.d?((o=h.d)<0||6<o)&&(l=!0):null!=h.e?(o=h.e+a,(h.e<0||6<h.e)&&(l=!0)):o=a),r<1||r>k(n,a,s)?y(c)._overflowWeeks=!0:null!=l?y(c)._overflowWeekday=!0:(u=Ze(n,r,o,a,s),c._a[E]=u.year,c._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(h=Ct(e._a[E],i[E]),(e._dayOfYear>Oe(h)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),l=ze(h,0,e._dayOfYear),e._a[T]=l.getUTCMonth(),e._a[x]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=i[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[L]&&0===e._a[M]&&0===e._a[S]&&0===e._a[ke]&&(e._nextDay=!0,e._a[L]=0),e._d=(e._useUTC?ze:Ve).apply(null,d),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[L]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(y(e).weekdayMismatch=!0)}}function At(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],y(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(xe(n,e))||[])[0])&&(0<(h=r.substr(0,r.indexOf(t))).length&&y(e).unusedInput.push(h),r=r.slice(r.indexOf(t)+t.length),a+=t.length),oe[n]?(t?y(e).empty=!1:y(e).unusedTokens.push(n),h=n,m=e,null!=(d=t)&&p(Me,h)&&Me[h](d,m._a,m,h)):e._strict&&!t&&y(e).unusedTokens.push(n);y(e).charsLeftOver=o-a,0<r.length&&y(e).unusedInput.push(r),e._a[L]<=12&&!0===y(e).bigHour&&0<e._a[L]&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[L]=(o=e._locale,u=e._a[L],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=y(e).era)&&(e._a[E]=e._locale.erasConvertYear(c,e._a[E])),kt(e),yt(e)}else St(e);else Lt(e);var u,c,h,d,m}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(yt(i)):(U(i)?e._d=i:a(n)?(e=>{var t,i,n,r,o,a,s=!1,l=e._f.length;if(0===l)return y(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),$(t)&&(a=!0),o=(o+=y(t).charsLeftOver)+10*y(t).unusedTokens.length,y(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(f.now()):U(n)?i._d=new Date(n.valueOf()):"string"==typeof n?(r=i,null===(o=Et.exec(r._i))?(Lt(r),!1===r._isValid&&(delete r._isValid,St(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:f.createFromInputFallback(r))):r._d=new Date(+o[1])):a(n)?(i._a=F(n.slice(0),function(e){return parseInt(e,10)}),kt(i)):I(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)}),kt(r)):Y(n)?i._d=new Date(n):f.createFromInputFallback(i),$(e)||(e._d=null),e))}}function Ot(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),(I(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(yt(Dt(r=o))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function O(e,t,i,n){return Ot(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 O();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}f.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":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){},pe=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=O.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ye=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=O.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});var Ht=["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=Ht.length;for(t in e)if(p(e,t)&&(-1===C.call(Ht,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<r;++i)if(e[Ht[i]]){if(n)return!1;parseFloat(e[Ht[i]])!==_(e[Ht[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 Bt(e){return e instanceof Nt}function It(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",""),g("Z",Te),g("ZZ",Te),w(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Ut(Te,e)});var Yt=/([\+\-]|\d\d)/gi;function Ut(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Yt)||["-",0,0])[1]+_(e[2]))?0:"+"===e[0]?t:-t}function Ft(e,t){var i;return t._isUTC?(t=t.clone(),i=(l(e)||U(e)?e:O(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),f.updateOffset(t,!1),t):O(e).local()}function Gt(e){return-Math.round(e._d.getTimezoneOffset())}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.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 Bt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Y(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=jt.exec(e))?(i="-"===t[1]?-1:1,r={y:0,d:_(t[x])*i,h:_(t[L])*i,m:_(t[M])*i,s:_(t[S])*i,ms:_(It(1e3*t[ke]))*i}):(t=Wt.exec(e))?(i="-"===t[1]?-1:1,r={y:Vt(t[2],i),M:Vt(t[3],i),w:Vt(t[4],i),d:Vt(t[5],i),h:Vt(t[6],i),m:Vt(t[7],i),s:Vt(t[8],i)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=O(r.from),i=O(r.to),t=t.isValid()&&i.isValid()?(i=Ft(i,t),t.isBefore(i)?n=zt(t,i):((n=zt(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),Bt(e)&&p(e,"_locale")&&(n._locale=e._locale),Bt(e)&&p(e,"_isValid")&&(n._isValid=e._isValid),n}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(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=It(t._days),t=It(t._months);e.isValid()&&(n=null==n||n,t&&$e(e,Ne(e,"Month")+t*i),o&&Be(e,"Date",Ne(e,"Date")+o*i),r&&e._d.setTime(e._d.valueOf()+r*i),n)&&f.updateOffset(e,o||t)}function Xt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||U(e)||Xt(e)||Y(e)||(i=a(t=e),n=!1,i&&(n=0===t.filter(function(e){return!Y(e)&&Xt(t)}).length),i&&n)||(e=>{var t,i,n=I(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||p(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"),f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.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=k(e,n,r))&&(t=o),function(e,t,i,n,r){e=Ze(e,t,i,n,r),t=ze(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"),g("N",oi),g("NN",oi),g("NNN",oi),g("NNNN",function(e,t){return t.erasNameRegex(e)}),g("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),w(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){n=i._locale.erasParse(e,n,i._strict);n?y(i).era=n:y(i).invalidEra=e}),g("y",_e),g("yy",_e),g("yyy",_e),g("yyyy",_e),g("yo",function(e,t){return t._eraYearOrdinalRegex||_e}),w(["y","yy","yyy","yyyy"],E),w(["yo"],function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[E]=i._locale.eraYearOrdinalParse(e,r):t[E]=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"),g("G",we),g("g",we),g("GG",i,t),g("gg",i,t),g("GGGG",ve,me),g("gggg",ve,me),g("GGGGG",be,fe),g("ggggg",be,fe),Se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=_(e)}),Se(["gg","GG"],function(e,t,i,n){t[n]=f.parseTwoDigitYear(e)}),n("Q",0,"Qo","quarter"),g("Q",he),w("Q",function(e,t){t[T]=3*(_(e)-1)}),n("D",["DD",2],"Do","date"),g("D",i,d),g("DD",i,t),g("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),w(["D","DD"],x),w("Do",function(e,t){t[x]=_(e.match(i)[0])}),ve=He("Date",!0),n("DDD",["DDDD",3],"DDDo","dayOfYear"),g("DDD",ge),g("DDDD",de),w(["DDD","DDDD"],function(e,t,i){i._dayOfYear=_(e)}),n("m",["mm",2],0,"minute"),g("m",i,m),g("mm",i,t),w(["m","mm"],M),me=He("Minutes",!1),n("s",["ss",2],0,"second"),g("s",i,m),g("ss",i,t),w(["s","ss"],S);var ui,be=He("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()}),g("S",ge,he),g("SS",ge,t),g("SSS",ge,de),ui="SSSS";ui.length<=9;ui+="S")g(ui,_e);function ci(e,t){t[ke]=_(1e3*("0."+e))}for(ui="S";ui.length<=9;ui+="S")w(ui,ci);function hi(e){return e}function di(e,t,i,n){var r=D(),n=u().set(n,t);return r[i](n,e)}function mi(e,t,i){if(Y(e)&&(t=e,e=void 0),e=e||"",null!=t)return di(e,t,i,"month");for(var n=[],r=0;r<12;r++)n[r]=di(e,r,i,"month");return n}function fi(e,t,i,n){t=("boolean"==typeof e||(i=t=e,e=!1),Y(t)&&(i=t,t=void 0),t||"");var r,o=D(),a=e?o._week.dow:0,s=[];if(null!=i)return di(t,(i+a)%7,n,"day");for(r=0;r<7;r++)s[r]=di(t,(r+a)%7,n,"day");return s}fe=He("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName"),(d=Z.prototype).add=Re,d.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):(e=>{for(var t=I(e)&&!R(e),i=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<n.length;r+=1)i=i||p(e,n[r]);return t&&i})(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||O(),i=Ft(e,this).startOf("day"),i=f.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,O(e)))},d.clone=function(){return new Z(this)},d.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=h(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:b(o)},d.endOf=function(e){var t,i;if(void 0!==(e=h(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),f.updateOffset(this,!0)}return this},d.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},d.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||O(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},d.fromNow=function(e){return this.from(O(),e)},d.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||O(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},d.toNow=function(e){return this.to(O(),e)},d.get=function(e){return c(this[e=h(e)])?this[e]():this},d.invalidAt=function(){return y(this).overflow},d.isAfter=function(e,t){return e=l(e)?e:O(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},d.isBefore=function(e,t){return e=l(e)?e:O(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},d.isBetween=function(e,t,i,n){return e=l(e)?e:O(e),t=l(t)?t:O(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))},d.isSame=function(e,t){var e=l(e)?e:O(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},d.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},d.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},d.isValid=function(){return $(this)},d.lang=et,d.locale=Qt,d.localeData=ei,d.max=ye,d.min=pe,d.parsingFlags=function(){return G({},y(this))},d.set=function(e,t){if("object"==typeof e)for(var i=(e=>{var t,i=[];for(t in e)p(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=h(e)]))return this[e](t);return this},d.startOf=function(e){var t,i;if(void 0!==(e=h(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),f.updateOffset(this,!0)}return this},d.subtract=Je,d.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},d.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()}},d.toDate=function(){return new Date(this.valueOf())},d.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},d.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&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},d.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},d.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""},d.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""},d.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""},d.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()-f(i[n].since).year())*e+i[n].offset;return this.year()},d.year=Pe,d.isLeapYear=function(){return Ce(this.year())},d.weekYear=function(e){return li.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},d.isoWeekYear=function(e){return li.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},d.quarter=d.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},d.month=je,d.daysInMonth=function(){return Ie(this.year(),this.month())},d.week=d.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},d.isoWeek=d.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},d.weeksInYear=function(){var e=this.localeData()._week;return k(this.year(),e.dow,e.doy)},d.weeksInWeekYear=function(){var e=this.localeData()._week;return k(this.weekYear(),e.dow,e.doy)},d.isoWeeksInYear=function(){return k(this.year(),1,4)},d.isoWeeksInISOWeekYear=function(){return k(this.isoWeekYear(),1,4)},d.date=ve,d.day=d.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},d.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},d.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},d.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")},d.hour=d.hours=r,d.minute=d.minutes=me,d.second=d.seconds=be,d.millisecond=d.milliseconds=fe,d.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=Ut(Te,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,f.updateOffset(this,!0),this._changeInProgress=null)),this},d.utc=function(e){return this.utcOffset(0,e)},d.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Gt(this),"m"),this},d.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ut(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},d.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?O(e).utcOffset():0,(this.utcOffset()-e)%60==0)},d.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},d.isLocal=function(){return!!this.isValid()&&!this._isUTC},d.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},d.isUtc=$t,d.isUTC=$t,d.zoneAbbr=function(){return this._isUTC?"UTC":""},d.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},d.dates=e("dates accessor is deprecated. Use date instead.",ve),d.months=e("months accessor is deprecated. Use month instead",je),d.years=e("years accessor is deprecated. Use year instead",Pe),d.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()}),d.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:O)(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&&_(e[a])!==_(t[a]))&&o++;return o+r})(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(m=ee.prototype).calendar=function(e,t,i){return c(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,i):e},m.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])},m.invalidDate=function(){return this._invalidDate},m.ordinal=function(e){return this._ordinal.replace("%d",e)},m.preparse=hi,m.postformat=hi,m.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return c(r)?r(e,t,i,n):r.replace(/%d/i,e)},m.pastFuture=function(e,t){return c(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},m.set=function(e){var t,i;for(i in e)p(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)},m.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=f(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=f(n[r].until).startOf("day").valueOf(),n[r].until=i.valueOf()}return n},m.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]},m.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*i},m.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||ai.call(this),e?this._erasAbbrRegex:this._erasRegex},m.erasNameRegex=function(e){return p(this,"_erasNameRegex")||ai.call(this),e?this._erasNameRegex:this._erasRegex},m.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||ai.call(this),e?this._erasNarrowRegex:this._erasRegex},m.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Ue).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},m.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Ue.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},m.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=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.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}},m.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},m.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},m.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},m.firstDayOfYear=function(){return this._week.doy},m.firstDayOfWeek=function(){return this._week.dow},m.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},m.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},m.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},m.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=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.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}},m.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},m.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=it),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},m.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},m.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},m.meridiem=function(e,t,i){return 11<e?i?"pm":"PM":i?"am":"AM"},ft("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===_(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),f.langData=e("moment.langData is deprecated. Use moment.localeData instead.",D);var H=Math.abs;function pi(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 yi(e){return e<0?Math.floor(e):Math.ceil(e)}function gi(e){return 4800*e/146097}function vi(e){return 146097*e/4800}function bi(e){return function(){return this.as(e)}}function _i(e){return function(){return this.isValid()?this._data[e]:NaN}}he=bi("ms"),t=bi("s"),ge=bi("m"),de=bi("h"),Re=bi("d"),ye=bi("w"),pe=bi("M"),Je=bi("Q"),r=bi("y"),me=he;var be=_i("milliseconds"),fe=_i("seconds"),ve=_i("minutes"),Pe=_i("hours"),m=_i("days"),wi=_i("months"),Ei=_i("years"),Ti=Math.round,xi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Li(e,t,i,n){var r=P(e).abs(),o=Ti(r.as("s")),a=Ti(r.as("m")),s=Ti(r.as("h")),l=Ti(r.as("d")),u=Ti(r.as("M")),c=Ti(r.as("w")),r=Ti(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 Mi=Math.abs;function Si(e){return(0<e)-(e<0)||+e}function Ci(){var e,t,i,n,r,o,a,s,l,u,c;return this.isValid()?(s=Mi(this._milliseconds)/1e3,l=Mi(this._days),u=Mi(this._months),(c=this.asSeconds())?(e=b(s/60),t=b(e/60),s%=60,e%=60,i=b(u/12),u%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Si(this._months)!==Si(c)?"-":"",o=Si(this._days)!==Si(c)?"-":"",a=Si(this._milliseconds)!==Si(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=H(this._milliseconds),this._days=H(this._days),this._months=H(this._months),e.milliseconds=H(e.milliseconds),e.seconds=H(e.seconds),e.minutes=H(e.minutes),e.hours=H(e.hours),e.months=H(e.months),e.years=H(e.years),this},N.add=function(e,t){return pi(this,e,t,1)},N.subtract=function(e,t){return pi(this,e,t,-1)},N.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=h(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+gi(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=he,N.asSeconds=t,N.asMinutes=ge,N.asHours=de,N.asDays=Re,N.asWeeks=ye,N.asMonths=pe,N.asQuarters=Je,N.asYears=r,N.valueOf=me,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*yi(vi(i)+t),i=t=0),n.milliseconds=e%1e3,e=b(e/1e3),n.seconds=e%60,e=b(e/60),n.minutes=e%60,e=b(e/60),n.hours=e%24,t+=b(e/24),i+=e=b(gi(t)),t-=yi(vi(e)),e=b(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=h(e),this.isValid()?this[e+"s"]():NaN},N.milliseconds=be,N.seconds=fe,N.minutes=ve,N.hours=Pe,N.days=m,N.weeks=function(){return b(this.days()/7)},N.months=wi,N.years=Ei,N.humanize=function(e,t){var i,n;return this.isValid()?(i=!1,n=xi,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(n=Object.assign({},xi,t),null!=t.s)&&null==t.ss&&(n.ss=t.s-1),t=Li(this,!i,n,e=this.localeData()),i&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},N.toISOString=Ci,N.toString=Ci,N.toJSON=Ci,N.locale=Qt,N.localeData=ei,N.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ci),N.lang=et,n("X",0,0,"unix"),n("x",0,0,"valueOf"),g("x",we),g("X",/[+-]?\d+(\.\d{1,3})?/),w("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),w("x",function(e,t,i){i._d=new Date(_(e))}),f.version="2.30.1",B=O,f.fn=d,f.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},f.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=u,f.unix=function(e){return O(1e3*e)},f.months=function(e,t){return mi(e,t,"months")},f.isDate=U,f.locale=ft,f.invalid=j,f.duration=P,f.isMoment=l,f.weekdays=function(e,t,i){return fi(e,t,i,"weekdays")},f.parseZone=function(){return O.apply(null,arguments).parseZone()},f.localeData=D,f.isDuration=Bt,f.monthsShort=function(e,t){return mi(e,t,"monthsShort")},f.weekdaysMin=function(e,t,i){return fi(e,t,i,"weekdaysMin")},f.defineLocale=pt,f.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=mt(e))?i._config:n,t),null==i&&(t.abbr=e),(n=new ee(t)).parentLocale=A[e],A[e]=n),ft(e)):null!=A[e]&&(null!=A[e].parentLocale?(A[e]=A[e].parentLocale,e===ft()&&ft(e)):null!=A[e]&&delete A[e]),A[e]},f.locales=function(){return te(A)},f.weekdaysShort=function(e,t,i){return fi(e,t,i,"weekdaysShort")},f.normalizeUnits=h,f.relativeTimeRounding=function(e){return void 0===e?Ti:"function"==typeof e&&(Ti=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==xi[e]&&(void 0===t?xi[e]:(xi[e]=t,"s"===e&&(xi.ss=t-1),!0))},f.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"},f.prototype=d,f.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"},f})();var qn,Zn,Xn=qn.exports;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,h,d,m,f,p,y,g=i[4]("name")+"";function v(e){return e[0]?tr:er}let b=v(i),_=b(i);return{c(){n=K("section"),r=K("div"),o=K("div"),(a=K("div")).textContent="i",s=Q(),l=K("div"),u=J(g),c=Q(),(h=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>',d=Q(),m=K("div"),_.c(),te(a,"class","InfoCardPopupIcon"),te(l,"class","InfoCardPopupTitle"),te(h,"class","InfoCardPopupCloseButton"),te(o,"class","InfoCardPopupHeader"),te(m,"class","InfoCardPopupContentArea"),te(r,"class",f="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,h),q(r,d),q(r,m),_.m(m,null),i[12](n),p||(y=ee(h,"click",oe(i[6])),p=!0)},p(e,t){16&t&&g!==(g=e[4]("name")+"")&&ne(u,g),b===(b=v(e))&&_?_.p(e,t):(_.d(1),(_=b(e))&&(_.c(),_.m(m,null))),1&t&&f!==(f="InfoCardPopupWrapper "+(e[5]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&te(r,"class",f)},d(e){e&&X(n),_.d(),i[12](null),p=!1,y()}}}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=P(),this.c=V},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:V,o:V,d(e){n&&n.d(e),e&&X(i)}}}function nr(t,e,i){let n,{showpopup:r=""}=(re(t,jn,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 h,d=!1,m=window.navigator.userAgent,f="PC"!==Wn(m),p=e=>{e.data&&"ClosePlayerAccountGamingLimitsPopup"==e.data.type&&i(3,d=!1)};return se(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)})),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,d=r)),1028&t.$$.dirty&&u&&h){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{h.appendChild(t)},1)})}var e;516&t.$$.dirty&&l&&h&&((e=document.createElement("style")).innerHTML=l,h.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,h,d,n,f,()=>{i(3,d=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,a,l,u,c,function(e){j[e?"unshift":"push"](()=>{h=e,i(2,h)})}]}function rr(e,{delay:t=0,duration:i=400,easing:n=E}={}){let r=+getComputedStyle(e).opacity;return{delay:t,duration:i,easing:n,css:e=>"opacity: "+e*r}}function or(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||(he(()=>{o&&(t=t||_e(r,rr,{transitionDuration:i[1]},!0)).run(1)}),o=!0)},o(e){(t=t||_e(r,rr,{transitionDuration:i[1]},!1)).run(0),o=!1},d(e){e&&X(n),i[6](null),e&&t&&t.end(),i[7](null)}}}function ar(e){let i,n,r=e[0]&&or(e);return{c(){r&&r.c(),i=P(),this.c=V},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=or(e)).c(),ge(r,1),r.m(i.parentNode,i)):r&&(y={r:0,c:[],p:y},ve(r,1,1,()=>{r=null}),y.r||z(y.c),y=y.p)},i(e){n||(ge(r),n=!0)},o(e){ve(r),n=!1},d(e){r&&r.d(e),e&&X(i)}}}function sr(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 lr(e,t){fn(e,t)}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends Ee{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),we(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},nr,ir,L,{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),d())}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency","clientstyling","clientstylingurl","translationurl"]}get showpopup(){return this.$$.ctx[7]}set showpopup(e){this.$$set({showpopup:e}),d()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(e){this.$$set({iteminfoamount:e}),d()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),d()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(e){this.$$set({playercurrency:e}),d()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),d()}}),customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends Ee{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),we(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},sr,ar,L,{show:0,duration:1,clientstyling:4,clientstylingurl:5},null),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["show","duration","clientstyling","clientstylingurl"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),d()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),d()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}});let ur={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 cr(i){let n,r,o,a,s,l,u,c,h,d,m,f,p,y,g,v=i[2]("cancel")+"",b=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"),h=K("button"),d=J(v),m=Q(),f=K("button"),p=J(b),this.c=V,te(o,"class","ModalCloseBtn"),te(o,"role","button"),te(s,"class","GamingLimitsConfirmationContent"),te(h,"class","GamingLimitsCancelButton"),te(f,"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,h),q(h,d),q(c,m),q(c,f),q(f,p),i[12](n),y||(g=[ee(o,"click",i[4]),ee(h,"click",i[6]),ee(f,"click",i[5])],y=!0)},p(e,[t]){1&t&&ne(l,e[0]),4&t&&v!==(v=e[2]("cancel")+"")&&ne(d,v),4&t&&b!==(b=e[2]("confirm")+"")&&ne(p,b)},i:V,o:V,d(e){e&&X(n),i[12](null),y=!1,z(g)}}}function hr(t,e,i){let n,{modaltext:r="Are you sure that you want to perform this action?"}=(re(t,jn,e=>i(2,n=e)),e),{modalsource:o=""}=e,{lang:a="en"}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{translationurl:u=""}=e,c,h=(Object.keys(ur).forEach(e=>{lr(e,ur[e])}),window.navigator.userAgent),d="PC"!==Wn(h),m={},f="",p=e=>{e.data&&"DeleteLimitsItem"===e.data.type&&(m=e.data.removeData,e=e.data.removeName,f="Time Limit"===e?"cumulativeSessionLimits":"Deposit Limit"===e?"depositLimits":"Wagering Limit"===e?"wageringLimit":"lossLimit")};return se(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)})),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=>{lr(e,t[e])})}).catch(e=>{console.log(e)})},[r,c,n,d,()=>{window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:m,name:f},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 dr(e,t,i){e=e.slice();return e[56]=t[i],e[57]=t,e[58]=i,e}function mr(e,t,i){e=e.slice();return e[59]=t[i],e}function fr(e,t,i){e=e.slice();return e[56]=t[i],e[58]=i,e}function pr(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 yr(t){let r,o=t[14],a=[];for(let e=0;e<o.length;e+=1)a[e]=vr(fr(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=fr(t,o,e);a[e]?a[e].p(n,i):(a[e]=vr(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),O(a,e)}}}function gr(e){let i,n,r,o,a=e[18]("remove")+"",s=(e[56].expiryDate?Xn(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?Xn(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(o,s)},d(e){e&&X(i)}}}function vr(e){let i,n=e[56].period==e[17][e[58]].period&&gr(e);return{c(){n&&n.c(),i=P()},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=gr(e)).c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&X(i)}}}function br(t){let i,r,o=t[14],a=[];for(let e=0;e<o.length;e+=1)a[e]=kr(dr(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=dr(t,o,e);a[e]?a[e].p(n,i):(a[e]=kr(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),O(a,e)}}}function _r(n){let r,i,o,t,a,s,l,u,c,h,d=n[18]("noLimit")+"",m=n[20].get(n[6])[n[58]].values,f=[];for(let e=0;e<m.length;e+=1)f[e]=Er(mr(n,m,e));function p(){n[29].call(r,n[58])}let y="Custom"===n[17][n[58]].amount&&Tr(n),g=!0===n[56].isModified&&Cr(n);return{c(){r=K("select"),i=K("option"),o=J(d);for(let e=0;e<f.length;e+=1)f[e].c();a=Q(),s=K("div"),y&&y.c(),l=Q(),g&&g.c(),u=P(),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&&he(p),te(s,"class","AccountEditLimitsInputContainer")},m(e,t){Z(e,r,t),q(r,i),q(i,o);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(r,null);N(r,n[17][n[58]].amount,!0),Z(e,a,t),Z(e,s,t),y&&y.m(s,null),Z(e,l,t),g&&g.m(e,t),Z(e,u,t),c||(h=[ee(r,"change",p),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]&&d!==(d=n[18]("noLimit")+"")&&ne(o,d),1048656&i[0]){let t;for(m=n[20].get(n[6])[n[58]].values,t=0;t<m.length;t+=1){let e=mr(n,m,t);f[t]?f[t].p(e,i):(f[t]=Er(e),f[t].c(),f[t].m(r,null))}for(;t<f.length;t+=1)f[t].d(1);f.length=m.length}16384&i[0]&&t!==(t=!0===n[56].isModified)&&(r.disabled=t),1179712&i[0]&&N(r,n[17][n[58]].amount),"Custom"===n[17][n[58]].amount?y?y.p(n,i):((y=Tr(n)).c(),y.m(s,null)):y&&(y.d(1),y=null),!0===n[56].isModified?g?g.p(n,i):((g=Cr(n)).c(),g.m(u.parentNode,u)):g&&(g.d(1),g=null)},d(e){e&&X(r),O(f,e),e&&X(a),e&&X(s),y&&y.d(),e&&X(l),g&&g.d(e),e&&X(u),c=!1,z(h)}}}function wr(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 Er(e){let i,n,r,o,a,s=e[59]+"",l="No limit"!==e[59]&&"Custom"!==e[59]&&wr(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=wr(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 Tr(e){let i;function n(e){return"Time Limit"!==e[6]?Lr:xr}let r=n(e),o=r(e);return{c(){o.c(),i=P()},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 xr(i){let n,r,o,a,s,l;function u(){i[31].call(n,i[58])}let c=1==i[13][i[58]]&&Mr(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),H(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&&H(n,i[17][i[58]].value),1==i[13][i[58]]?c?c.p(i,t):((c=Mr(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,z(l)}}}function Lr(i){let n,r,o,a,s,l;function u(){i[30].call(n,i[58])}let c=1==i[13][i[58]]&&Sr(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),H(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&&H(n,i[17][i[58]].value),1==i[13][i[58]]?c?c.p(i,t):((c=Sr(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,z(l)}}}function Mr(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 Sr(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 Cr(e){let i,n,r,o,a,s,l,u,c,h,d,m,f,p,y,g,v,b=e[18]("expirationDate")+"",_=(e[56].expiryDate?Xn(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",w=e[18]("changedLimitTextBefore")+"",E=(0<e[56].updateAmount?e[56].updateAmount:0)+"",T=(void 0!==e[56].minutes?" minutes":e[4])+"",x=e[18]("changedLimitTextAfter")+"";return{c(){i=K("p"),n=J(b),r=Q(),o=K("span"),a=J(_),s=Q(),l=K("div"),u=K("p"),(c=K("span")).textContent="i",h=K("span"),d=J(w),m=Q(),f=J(E),p=Q(),y=J(T),g=J(". "),v=J(x),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,h),q(h,d),q(h,m),q(h,f),q(h,p),q(h,y),q(h,g),q(h,v)},p(e,t){262144&t[0]&&b!==(b=e[18]("expirationDate")+"")&&ne(n,b),16384&t[0]&&_!==(_=(e[56].expiryDate?Xn(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(a,_),262144&t[0]&&w!==(w=e[18]("changedLimitTextBefore")+"")&&ne(d,w),16384&t[0]&&E!==(E=(0<e[56].updateAmount?e[56].updateAmount:0)+"")&&ne(f,E),16400&t[0]&&T!==(T=(void 0!==e[56].minutes?" minutes":e[4])+"")&&ne(y,T),262144&t[0]&&x!==(x=e[18]("changedLimitTextAfter")+"")&&ne(v,x)},d(e){e&&X(i),e&&X(s),e&&X(l)}}}function kr(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&&_r(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=_r(e)).c(),l.m(i,a)):l&&(l.d(1),l=null)},d(e){e&&X(i),l&&l.d()}}}function Ar(i){let n,R,r,o,a,s,Y,l,u,c,U,h,d,F,m,f,p,G,y,g,$,v,j,b,_,w,E,T,x,L,M,S,C,k,A,W,D=i[18]("back")+"",O=(i[1]?i[9]:"")+"",P=i[18]("save")+"",H=i[19]&&(i=>{let n,r,o,a,s,l,u,c,h,d,m,f,p,y=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"),h=Q(),d=K("h2"),m=J(y),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(d,"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,h),q(n,d),q(d,m),f||(p=ee(n,"click",i[22]),f=!0)},p(e,t){262144&t[0]&&y!==(y=e[18]("back")+"")&&ne(m,y)},d(e){e&&X(n),f=!1,p()}}})(i),N=i[2]&&pr(i),B=i[3]&&yr(i),I=i[8]&&br(i);return{c(){n=K("div"),H&&H.c(),R=Q(),r=K("div"),o=t("svg"),a=t("defs"),s=t("style"),Y=J(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=t("g"),u=t("g"),c=t("path"),U=Q(),h=K("h2"),d=J(D),F=Q(),m=K("div"),f=K("h6"),p=J(O),G=Q(),y=K("div"),(g=K("span")).textContent="i",$=Q(),v=K("player-account-gaming-limits-popup"),j=Q(),N&&N.c(),b=Q(),B&&B.c(),_=Q(),I&&I.c(),w=Q(),E=K("div"),T=K("button"),x=J(P),S=Q(),C=K("player-account-modal"),k=K("player-account-gaming-limits-confirmation-modal"),this.c=V,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(h,"class","MyAccountCategoryTitle "+(i[19]?"MyAccountCategoryTitleNone":"")),te(r,"class","MenuReturnButton "+(i[19]?"MyAccountCategoryTitleNone":"")),te(g,"class","AccountEditLimitsIcon"),ie(v,"showpopup",i[7]),ie(v,"lang",i[0]),te(y,"class","AccountEditLimitsIconWrapper"),te(m,"class","AccountEditLimitsHeader"),te(T,"class",L="AccountEditLimitsSaveButton "+(i[15]?"":"AccountEditLimitsButtonDisabled")),T.disabled=M=!i[15],te(E,"class","AccountEditLimitsControlArea"),te(n,"class","AccountEditLimitsWrapper "+(i[19]?"AccountEditLimitsMobileWrapper":"")),ie(k,"modaltext",i[12]),ie(k,"modalsource","groupEdit"),ie(k,"lang",i[0])},m(e,t){Z(e,n,t),H&&H.m(n,null),q(n,R),q(n,r),q(r,o),q(o,a),q(a,s),q(s,Y),q(o,l),q(l,u),q(u,c),q(r,U),q(r,h),q(h,d),q(n,F),q(n,m),q(m,f),q(f,p),q(m,G),q(m,y),q(y,g),q(y,$),q(y,v),q(n,j),N&&N.m(n,null),q(n,b),B&&B.m(n,null),q(n,_),I&&I.m(n,null),q(n,w),q(n,E),q(E,T),q(T,x),i[33](n),Z(e,S,t),Z(e,C,t),q(C,k),A||(W=[ee(r,"click",i[22]),ee(g,"click",oe(i[21])),ee(T,"click",i[32])],A=!0)},p(e,t){e[19]&&H.p(e,t),262144&t[0]&&D!==(D=e[18]("back")+"")&&ne(d,D),514&t[0]&&O!==(O=(e[1]?e[9]:"")+"")&&ne(p,O),128&t[0]&&ie(v,"showpopup",e[7]),1&t[0]&&ie(v,"lang",e[0]),e[2]?N?N.p(e,t):((N=pr(e)).c(),N.m(n,b)):N&&(N.d(1),N=null),e[3]?B?B.p(e,t):((B=yr(e)).c(),B.m(n,_)):B&&(B.d(1),B=null),e[8]?I?I.p(e,t):((I=br(e)).c(),I.m(n,w)):I&&(I.d(1),I=null),262144&t[0]&&P!==(P=e[18]("save")+"")&&ne(x,P),32768&t[0]&&L!==(L="AccountEditLimitsSaveButton "+(e[15]?"":"AccountEditLimitsButtonDisabled"))&&te(T,"class",L),32768&t[0]&&M!==(M=!e[15])&&(T.disabled=M),4096&t[0]&&ie(k,"modaltext",e[12]),1&t[0]&&ie(k,"lang",e[0])},i:V,o:V,d(e){e&&X(n),H&&H.d(),N&&N.d(),B&&B.d(),I&&I.d(),i[33](null),e&&X(S),e&&X(C),A=!1,z(W)}}}function Dr(t,e,o){let i,{limitsdata:n=[]}=(re(t,jn,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:h=""}=e,{translationurl:d=""}=e,m,f,p=(Object.keys(zn).forEach(e=>{Vn(e,zn[e])}),!1),y=!1,g="",v=!1,b=0,_=0,w="",B=window.navigator.userAgent,I="PC"!==Wn(B),E=new Array(3).fill(0),T={},x=[],L=[],M=!1,S=[],C={amount:/^[0-9]{0,8}$/,time:/^[1-9]\d*$/},k=[{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"]}],Y=[{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"]}],O=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),P=new Map([["Deposit Limit",A],["Time Limit",Y],["Wagering Limit",D],["Loss Limit",R]]),U=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},H=(i,e)=>{let n=JSON.parse(JSON.stringify(e));k.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=()=>{S.forEach(e=>{var t=e;L.forEach(e=>{t.period===e.period&&("Time Limit"===m&&(o(10,b=60),"Daily"===t.period?o(11,_=1440):"Weekly"==t.period?o(11,_=10080):o(11,_=43200)),-1<e.values.indexOf(t.amount))&&("No limit"===t.amount?t.amount=0:t.amount=JSON.parse(t.amount))})}),T.forEach(n=>{L.forEach(e=>{var t,i;n.period===e.period&&(e=e,t=n,i=k,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"===m?"time limit":"Deposit Limit"===m?"deposit limit":"Wagering Limit"===m?"wagering limit":"loss limit";o(12,w=i("changeLimitsText",{values:{limit:e}}))},N=()=>{var e=l;W.set(e),G(),o(16,S=JSON.parse(JSON.stringify(n))),o(14,T=JSON.parse(JSON.stringify(n))),L="Wagering Limit"===m?D:"Loss Limit"===m?R:"Deposit Limit"===m?A:"Time Limit"===m?Y:[],F()},$=e=>{if(e.data)switch(e.data.type){case"LanguageChanged":o(0,l=e.data.lang),G();break;case"EditPlayerLimit":o(6,m=e.data.name),o(9,g=i(m.charAt(0).toLowerCase()+m.substring(1).replace(/\s/g,""))),N(),o(8,y=!0);break;case"ClosePlayerAccountGamingLimitsPopup":o(7,p=!1);break;case"GamingLimitsConfirmChanges":(v=!0)&&("Time Limit"===m?k.forEach(t=>{var e;"true"==u?0!=t.value&&(e={period:t.period,minutes:t.value},x.push(e)):T.forEach(e=>{e.period===t.period&&(e.minutes=t.value)})}):k.forEach(t=>{var e;"true"==u?0!=t.value&&(e={period:t.period,amount:t.value,currency:s},x.push(e)):T.forEach(e=>{e.period===t.period&&(e.amount=t.value,e.currency=s)})}),t={},t="true"==u?{[O.get(m)]:[...x]}:{[O.get(m)]:[...T]},x.length=0,window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:t,limitsCategory:O.get(m)},window.location.href),o(15,M=!1));break;case"CancelGamingLimitsChanges":o(8,y=!1),setTimeout(()=>{o(8,y=!0)},10),N(),o(15,M=!1),v=!1}var t};return se(()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})),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,h=e.clientstylingurl),"translationurl"in e&&o(28,d=e.translationurl)},t.$$.update=()=>{if(12&t.$$.dirty[0]&&r&&a&&N(),t.$$.dirty[0],67108896&t.$$.dirty[0]&&c&&f&&((e=document.createElement("style")).innerHTML=c,f.appendChild(e)),134217760&t.$$.dirty[0]&&h&&f){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{f.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Vn(e,t[e])})}).catch(e=>{console.log(e)})},[l,n,r,a,s,f,m,p,y,g,b,_,w,E,T,M,S,k,i,I,P,()=>{o(7,p=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},U,(e,t,i,n)=>{var r;"Custom"===e.amount?"Time Limit"==m?(o(10,b=60),"Daily"===e.period?o(11,_=1440):"Weekly"==e.period?o(11,_=10080):o(11,_=43200),e.value&&C.time.test(e.value)&&e.value>b&&e.value<=_?(o(13,E[t]=0,E),r=n[t],e.period==r.period&&e.value==r.amount?(o(15,M=!1),H(e,n)):o(15,M=!0)):(o(13,E[t]=1,E),o(15,M=!1))):e.value&&C.amount.test(e.value)?(o(13,E[t]=0,E),e.period==n[t].period&&e.value==n[t].amount?(o(15,M=!!M),H(e,n)):o(15,M=!0),"true"!=u&&k.forEach(e=>{0==e.value&&o(15,M=!1)})):(o(13,E[t]=1,E),o(15,M=!1)):(e.period==n[t].period?(H(e,n),o(15,M=e.value!=n[t].amount)):o(15,M=!0),k.forEach(e=>{(0==e.value&&"true"!=u||"Custom"==e.amount&&!C.amount.test(e.value.toString()))&&o(15,M=!1)}))},u,c,h,d,function(e){k[e].amount=(e=>(e=e.querySelector(":checked"))&&e.__value)(this),o(17,k),o(20,P),o(6,m)},function(e){k[e].value=ae(this.value),o(17,k),o(20,P),o(6,m)},function(e){k[e].value=ae(this.value),o(17,k),o(20,P),o(6,m)},()=>U(),function(e){j[e?"unshift":"push"](()=>{f=e,o(5,f)})}]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends Ee{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),we(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},hr,cr,L,{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),d())}static get observedAttributes(){return["modaltext","modalsource","lang","clientstyling","clientstylingurl","translationurl"]}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),d()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),d()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),d()}});class Or extends Ee{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),we(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},Dr,Ar,L,{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),d())}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}),d()}get showsuccessnotification(){return this.$$.ctx[2]}set showsuccessnotification(e){this.$$set({showsuccessnotification:e}),d()}get showdeletenotification(){return this.$$.ctx[3]}set showdeletenotification(e){this.$$set({showdeletenotification:e}),d()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(e){this.$$set({playercurrency:e}),d()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),d()}get separatelimits(){return this.$$.ctx[25]}set separatelimits(e){this.$$set({separatelimits:e}),d()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),d()}}return customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",Or),Or});
|
|
3
|
+
}`,s=`__svelte_${(e=>{let t=5381,i=e.length;for(;i--;)t=(t<<5)-t^e.charCodeAt(i);return t>>>0})(h)}_`+s,d=D(e),{stylesheet:m,rules:f}=I.get(d)||(d=d,c={stylesheet:(c=e,f=K("style"),c=D(c),m=f,q(c.head||c,m),m.sheet,f.sheet),rules:{}},I.set(d,c),c),d=(f[s]||(f[s]=!0,m.insertRule(`@keyframes ${s} `+h,m.cssRules.length)),e.style.animation||"");return e.style.animation=(d?d+", ":"")+s+` ${t}ms linear ${r}ms 1 both`,Y+=1,s}function F(e){R=e}function se(e){(()=>{if(R)return R;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e)}let G=[],j=[],$=[],le=[],ue=Promise.resolve(),ce=!1;function he(e){$.push(e)}let de=new Set,me,fe=0;function d(){if(0===fe){let e=R;do{try{for(;fe<G.length;){let e=G[fe];fe++,F(e),t=i=void 0;var t,i=e.$$;null!==i.fragment&&(i.update(),z(i.before_update),t=i.dirty,i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,t),i.after_update.forEach(he))}}catch(e){throw G.length=0,fe=0,e}for(F(null),G.length=0,fe=0;j.length;)j.pop()();for(let e=0;e<$.length;e+=1){var n=$[e];de.has(n)||(de.add(n),n())}}while($.length=0,G.length);for(;le.length;)le.pop()();ce=!1,de.clear(),F(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 ye=new Set,y;function ge(e,t){e&&e.i&&(ye.delete(e),e.i(t))}function ve(e,t,i,n){e&&e.o?ye.has(e)||(ye.add(e),y.c.push(()=>{ye.delete(e),n&&(i&&e.d(1),n())}),e.o(t)):n&&n()}let be={duration:0};function _e(l,e,t,i){let n={direction:"both"},u=e(l,t,n),c=i?0:1,h=null,d=null,m=null;function f(){var e,t,i,n;m&&(e=l,t=m,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(", "),Y-=i)||C(()=>{Y||(I.forEach(e=>{e=e.stylesheet.ownerNode;e&&X(e)}),I.clear())}))}function p(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=E,tick:r=V,css:o}=u||be,a={start:S()+t,b:e};if(e||((a.group=y).r+=1),h||d)d=a;else{o&&(f(),m=U(l,c,e,i,t,n,o)),e&&r(0,1),h=p(a,i),he(()=>pe(l,e,"start"));{var s=e=>(d&&e>d.start&&(h=p(d,i),d=null,pe(l,h.b,"start"),o)&&(f(),m=U(l,c,h.b,h.duration,0,n,u.css)),h&&(e>=h.end?(r(c=h.b,1-c),pe(l,h.b,"end"),d||(h.b?f():--h.group.r||z(h.group.c)),h=null):e>=h.start&&(e=e-h.start,c=h.a+h.d*n(e/h.duration),r(c,1-c))),!(!h&&!d));let t;0===k.size&&C(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(){f(),h=d=null}}}function we(n,t,e,i,r,o,a,s=[-1]){var l=R;F(n);let u=n.$$={fragment:null,ctx:[],props:o,update:V,not_equal:r,bound:x(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:x(),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]&&(G.push(e),ce||(ce=!0,ue.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[i/31|0]|=1<<i%31),t}):[],u.update(),c=!0,z(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 h=n,s=t.customElement,{fragment:a,after_update:e}=h.$$;a&&a.m(t.target,t.anchor),s||he(()=>{var e=h.$$.on_mount.map(T).filter(v);h.$$.on_destroy?h.$$.on_destroy.push(...e):z(e),h.$$.on_mount=[]}),e.forEach(he),d()}F(l)}let Ee;"function"==typeof HTMLElement&&(Ee=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(T).filter(v);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){z(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;let t=[],i=[];$.forEach(e=>(-1===n.indexOf(e)?t:i).push(e)),i.forEach(e=>e()),$=t}z(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=V}$on(e,t){if(!v(t))return V;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 Te,xe,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Le="URLSearchParams"in l,Me="Symbol"in l&&"iterator"in Symbol,Se="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),Ce="FormData"in l,ke="ArrayBuffer"in l;function Ae(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 De(e){return e="string"!=typeof e?String(e):e}function Oe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Me&&(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 Pe(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function He(i){return new Promise(function(e,t){i.onload=function(){e(i.result)},i.onerror=function(){t(i.error)}})}function Ne(e){var t=new FileReader,i=He(t);return t.readAsArrayBuffer(e),i}function Be(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Ie(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Se&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Ce&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Le&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ke&&Se&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Be(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ke&&(ArrayBuffer.prototype.isPrototypeOf(e)||xe(e))?this._bodyArrayBuffer=Be(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):Le&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Se&&(this.blob=function(){var e=Pe(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 Pe(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(Se)return this.blob().then(Ne);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,n=Pe(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=He(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)},Ce&&(this.formData=function(){return this.text().then(Ye)}),this.json=function(){return this.text().then(JSON.parse)},this}ke&&(Te=["[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<Te.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,t){e=Ae(e),t=De(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},u.prototype.delete=function(e){delete this.map[Ae(e)]},u.prototype.get=function(e){return e=Ae(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(Ae(e))},u.prototype.set=function(e,t){this.map[Ae(e)]=De(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)}),Oe(i)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Oe(t)},u.prototype.entries=function(){var i=[];return this.forEach(function(e,t){i.push([t,e])}),Oe(i)},Me&&(u.prototype[Symbol.iterator]=u.prototype.entries);var Re=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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.');var i,n=(t=t||{}).body;if(e instanceof c){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<Re.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 Ye(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 h(e,t){if(!(this instanceof h))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)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},Ie.call(c.prototype),Ie.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var Ue=[301,302,303,307,308],Fe=(h.redirect=function(e,t){if(-1===Ue.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},l.DOMException);try{new Fe}catch(V){(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 c(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 h(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&&(Se?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(Ae(e)),a.setRequestHeader(e,De(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 ki(){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=c,l.Response=h),self.fetch.bind(self);var $e=function(e,t){return($e=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}$e(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 Ve(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 ze(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 m(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(m(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=ze(ze([],Ve(r)),Ve(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&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function et(e){m(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,ze([e,t],Ve(i))):setTimeout.apply(void 0,ze([e,t],Ve(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 ft(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 ht(e,t){return ct.call(e,t)}yt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){gt(e)}},yt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){gt(e)}else gt(e)},yt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){gt(e)}};var dt,mt=yt,ft=(je(pt,dt=ut),pt);function pt(e,t,i){var n=dt.call(this)||this,i=m(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&&ht(e.next,t),error:e.error&&ht(e.error,t),complete:e.complete&&ht(e.complete,t)}):e;return n.destination=new mt(i),n}function yt(e){this.partialObserver=e}function gt(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&&m(n.next)&&m(n.error)&&m(n.complete)&&Qe(n)?e:new ft(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=_t(e))(function(e,t){var i=new ft({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=_t(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 bt=r;function r(e){e&&(this._subscribe=e)}function _t(e){return null!=(e=null!=e?e:tt)?e:Promise}var wt,Et,Tt,xt=qe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(je(o,Tt=bt),o.prototype.lift=function(e){var t=new Lt(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new xt},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(),Tt.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 bt;return e.source=this,e},o.create=function(e,t){return new Lt(e,t)},o),Lt=(je(kt,Et=e),kt.prototype.next=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.next)&&i.call(t,e)},kt.prototype.error=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.error)&&i.call(t,e)},kt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},kt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Je},kt),Mt={now:function(){return(Mt.delegate||Date).now()},delegate:void 0},St=(je(Ct,wt=e),Ct.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(),wt.prototype.next.call(this,e)},Ct.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},Ct.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)}},Ct);function Ct(e,t,i){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===i&&(i=Mt);var n=wt.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 kt(e,t){var i=Et.call(this)||this;return i.destination=e,i.source=t,i}function o(){var e=Tt.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={},Ot=[];function Pt(n,r=V){let o,a=new Set;function s(e){if(L(n,e)&&(n=e,o)){let e=!Ot.length;for(let e of a)e[1](),Ot.push(e,n);if(e){for(let e=0;e<Ot.length;e+=2)Ot[e][0](Ot[e+1]);Ot.length=0}}}return{set:s,update:function(e){s(e(n))},subscribe:function(e,t=V){let i=[e,t];return a.add(i),1===a.size&&(o=r(s)||V),e(n),()=>{a.delete(i),0===a.size&&o&&(o(),o=null)}}}}function Ht(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=V,a=()=>{var e;r||(o(),e=s(l?n[0]:n,t),c?t(e):o=v(e)?e:V)},e=u.map((e,t)=>M(e,e=>{n[t]=e,r&=~(1<<t),i&&a()},()=>{r|=1<<t}));return i=!0,a(),function(){z(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===Bt);var t}var Bt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function It(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 It(e,i)})}function Yt(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 Ut(e,t){try{return t in e}catch(e){return!1}}function Ft(n,r,o){var a={};return o.isMergeableObject(n)&&Yt(n).forEach(function(e){a[e]=It(n[e],o)}),Yt(r).forEach(function(e){var t,i;(!Ut(t=n,i=e)||Object.hasOwnProperty.call(t,i)&&Object.propertyIsEnumerable.call(t,i))&&(Ut(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]=It(r[e],o))}),a}function Gt(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Rt,i.isMergeableObject=i.isMergeableObject||Nt,i.cloneUnlessOtherwiseSpecified=It;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):Ft(e,t,i):It(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 $t=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 p,g,Vt,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 zt(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===g.literal}function Zt(e){return e.type===g.number}function Xt(e){return e.type===g.date}function Kt(e){return e.type===g.time}function Jt(e){return e.type===g.select}function Qt(e){return e.type===g.plural}function ei(e){return e.type===g.tag}function ti(e){return e&&"object"==typeof e&&e.type===Vt.number}function ii(e){return e&&"object"==typeof e&&e.type===Vt.dateTime}(e=p=p||{})[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=g=g||{})[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=Vt=Vt||{})[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 hi(e){return ci(e)||{}}function di(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),hi(t))},{}));continue;case"engineering":a=b(b(b({},a),{notation:"engineering"}),r.options.reduce(function(e,t){return b(b({},e),hi(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 mi={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 fi=new RegExp("^".concat(e.source,"*")),pi=new RegExp("".concat(e.source,"*$"));function _(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,yi=!!String.fromCodePoint,gi=!!Object.fromEntries,vi=!!String.prototype.codePointAt,bi=!!String.prototype.trimStart,_i=!!String.prototype.trimEnd,wi=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ei=!0;try{Ei="a"===(null==(ji=Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ji[0])}catch(V){Ei=!1}var Ti,xi,Li=e?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Mi=yi?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},Si=gi?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},Ci=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=bi?function(e){return e.trimStart()}:function(e){return e.replace(fi,"")},Di=_i?function(e){return e.trimEnd()}:function(e){return e.replace(pi,"")};function Oi(e,t){return new RegExp(e,t)}xi=Ei?(Ti=Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ti.lastIndex=t,null!=(t=Ti.exec(e)[1])?t:""}):function(e,t){for(var i,n=[];;){var r=Ci(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 Mi.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(p.UNMATCHED_CLOSING_TAG,_(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Hi(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:g.pound,location:_(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:g.literal,value:"<".concat(r,"/>"),location:_(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()||!Hi(this.char())?this.error(p.INVALID_TAG,_(e,this.clonePosition())):(i=this.clonePosition(),r!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,_(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:g.tag,value:r,children:t,location:_(n,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,_(e,this.clonePosition())))):this.error(p.UNCLOSED_TAG,_(n,this.clonePosition()))):this.error(p.INVALID_TAG,_(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=_(i,this.clonePosition());return{val:{type:g.literal,value:n,location:i},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Hi(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 Mi.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(),Mi(i))},a.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,_(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,_(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(p.MALFORMED_ARGUMENT,_(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,_(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:g.argument,value:n,location:_(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,_(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(p.MALFORMED_ARGUMENT,_(i,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=xi(this.message,t),t=t+i.length;return this.bumpTo(t),{value:i,location:_(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(p.EXPECT_ARGUMENT_TYPE,_(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=Di(h.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,_(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:_(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(n)).err?u:(m=_(n,this.clonePosition()),l&&Li(null==l?void 0:l.style,"::",0)?(f=Ai(l.style.slice(2)),"number"===a?(h=this.parseNumberSkeletonFromString(f,l.styleLocation)).err?h:{val:{type:g.number,value:i,location:m,style:h.val},err:null}:0===f.length?this.error(p.EXPECT_DATE_TIME_SKELETON,m):(c=f,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),(mi[t||""]||mi[i||""]||mi["".concat(i,"-001")]||mi["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})(f,this.locale)),d={type:Vt.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?g.date:g.time,value:i,location:m,style:d},err:null})):{val:{type:"number"===a?g.number:"date"===a?g.date:g.time,value:i,location:m,style:null!=(f=null==l?void 0:l.style)?f:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,_(c,b({},c)));this.bumpSpace();var h,d=this.parseIdentifierIfPossible(),m=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),d=this.parseIdentifierIfPossible(),m=h.val}var f,l=this.tryParsePluralOrSelectOptions(e,a,t,d);return l.err?l:(u=this.tryParseArgumentClose(n)).err?u:(f=_(n,this.clonePosition()),"select"===a?{val:{type:g.select,value:i,options:Si(l.val),location:f},err:null}:{val:{type:g.plural,value:i,options:Si(l.val),offset:m,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null});default:return this.error(p.INVALID_ARGUMENT_TYPE,_(o,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,_(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(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,_(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(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:Vt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?di(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(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=_(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,_(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,i);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;o.push([s,{value:u.val,location:_(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,_(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(p.MISSING_OTHER_CLAUSE,_(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=_(n,this.clonePosition());return r?wi(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=Ci(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(Li(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 Hi(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 Bi(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(p[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 Ii(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 Ui(e,this,1===e.length?Ri:Yi,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 Yi(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 Ui(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 $i,ji,Wi={create:function(){return new Gi}},Vi={variadic:function(e,t){return Ui(e,this,Yi,t.cache.create(),t.serializer)},monadic:function(e,t){return Ui(e,this,Ri,t.cache.create(),t.serializer)}};(ji=$i=$i||{}).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 w,zi,qi,Zi,Xi,Ki=on,Ji=(Wt(rn,Zi=Ki),rn),Qi=(Wt(nn,qi=Ki),nn),en=(Wt(tn,zi=Ki),tn);function tn(e,t){return zi.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),$i.MISSING_VALUE,t)||this}function nn(e,t,i){return qi.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),$i.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('", "'),'"'),$i.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:w.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:w.literal,value:c.value});else if(c.type===g.pound)"number"==typeof o&&s.push({type:w.literal,value:i.getNumberFormat(t).format(o)});else{var h=c.value;if(!(r&&h in r))throw new en(h,a);h=r[h];if(c.type===g.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?w.literal:w.object,value:h});else if(Xt(c)){var d="string"==typeof c.style?n.date[c.style]:ii(c.style)?c.style.parsedOptions:void 0;s.push({type:w.literal,value:i.getDateTimeFormat(t,d).format(h)})}else if(Kt(c))d="string"==typeof c.style?n.time[c.style]:ii(c.style)?c.style.parsedOptions:n.time.medium,s.push({type:w.literal,value:i.getDateTimeFormat(t,d).format(h)});else if(Zt(c))(d="string"==typeof c.style?n.number[c.style]:ti(c.style)?c.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),s.push({type:w.literal,value:i.getNumberFormat(t,d).format(h)});else{if(ei(c)){var m=c.children,f=c.value,p=r[f];if("function"!=typeof p)throw new Qi(f,"function",a);f=p(an(m,t,i,n,r,o).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(Jt(c)){if(!(y=c.options[h]||c.options.other))throw new Ji(c.value,h,Object.keys(c.options),a);s.push.apply(s,an(y.value,t,i,n,r))}else if(Qt(c)){if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Ki('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',$i.MISSING_INTL_API,a);var p=i.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),y=c.options[p]||c.options.other}if(!y)throw new Ji(c.value,h,Object.keys(c.options),a);s.push.apply(s,an(y.value,t,i,n,r,h-(c.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===w.literal&&t.type===w.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=w=w||{})[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=Bi,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===w.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:Ii(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,zt([void 0],t,!1)))},{cache:sn((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Vi.variadic}),getDateTimeFormat:Ii(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,zt([void 0],t,!1)))},{cache:sn(t.dateTime),strategy:Vi.variadic}),getPluralRules:Ii(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,zt([void 0],t,!1)))},{cache:sn(t.pluralRules),strategy:Vi.variadic})}}let f={},un=(e,t,i)=>i&&(t in f||(f[t]={}),e in f[t]||(f[t][e]=i),i),cn=(t,i)=>{if(null!=i){if(i in f&&t in f[i])return f[i][t];var n=An(i);for(let e=0;e<n.length;e++){var r=((e,t)=>{if(!mn(e))return null;e=(e=>hn[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 un(t,i,r)}}},hn,dn=Pt({});function mn(e){return e in hn}function fn(t,...i){delete f[t],dn.update(e=>(e[t]=$t.all([e[t]||{},...i]),e))}Ht([dn],([e])=>Object.keys(e)),dn.subscribe(e=>hn=e);let pn={};function yn(e){return pn[e]}function gn(e){return null!=e&&An(e).some(e=>null==(e=yn(e))?void 0:e.size)}function vn(n,e){return Promise.all(e.map(e=>{return t=n,i=e,pn[t].delete(i),0===pn[t].size&&delete pn[t],e().then(e=>e.default||e);var t,i})).then(e=>fn(n,...e))}let bn={};let _n={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 wn=Pt(!1);var En=Object.defineProperty,yi=Object.defineProperties,gi=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Mn=(e,t,i)=>t in e?En(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let Sn,Cn=Pt(null);function kn(e){return e.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function An(e,t=_n.fallbackLocale){e=kn(e);return t?[...new Set([...e,...kn(t)])]:e}function Dn(){return null!=Sn?Sn:void 0}Cn.subscribe(e=>{Sn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let W=yi(((e,t)=>{for(var i in t=t||{})xn.call(t,i)&&Mn(e,i,t[i]);if(Tn)for(var i of Tn(t))Ln.call(t,i)&&Mn(e,i,t[i]);return e})({},Cn),gi({set:t=>{if(t&&(e=>{if(null!=e){var t=An(e);for(let e=0;e<t.length;e++){var i=t[e];if(mn(i))return i}}})(t)&&gn(t)){var i=_n.loadingDelay;let e;return"undefined"!=typeof window&&null!=Dn()&&i?e=window.setTimeout(()=>wn.set(!0),i):wn.set(!0),function e(t){var i;return gn(t)?(i=An(t).map(e=>{var t=yn(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),bn[t]=Promise.all(i.map(([e,t])=>vn(e,t))).then(()=>{if(gn(t))return e(t);delete bn[t]}),bn[t]):t in bn?bn[t]:Promise.resolve()}(t).then(()=>{Cn.set(t)}).finally(()=>{clearTimeout(e),wn.set(!1)})}return Cn.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)}},On=Object.defineProperty,Pn=Object.getOwnPropertySymbols,Hn=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,Bn=(e,t,i)=>t in e?On(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,In=(e,t)=>{for(var i in t=t||{})Hn.call(t,i)&&Bn(e,i,t[i]);if(Pn)for(var i of Pn(t))Nn.call(t,i)&&Bn(e,i,t[i]);return e},Rn=(e,t)=>{var i={};for(n in e)Hn.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&Pn)for(var n of Pn(e))t.indexOf(n)<0&&Nn.call(e,n)&&(i[n]=e[n]);return i};let Yn=(e,t)=>{var i=_n.formats;if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Un=vi(e=>{var{locale:t,format:i}=e,e=Rn(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)}),Fn=vi(e=>{var{locale:t,format:i}=e,e=Rn(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)}),Gn=vi(e=>{var{locale:t,format:i}=e,e=Rn(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)}),$n=vi((e,t=Dn())=>new ln(e,t,_n.formats,{ignoreTag:_n.ignoreTag})),jn=Ht([W,dn],()=>(e,t={})=>{let i,n,r,o,a=t;"object"==typeof e&&(e=(a=e).id);var{values:s,locale:l=Dn(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=cn(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=_n).handleMissingMessage)?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))?r:u)?o:e;if(!s)return c;let h=c;try{h=$n(c,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h}),Wn=(Ht([W],()=>(e,t)=>((e={})=>{var{locale:t=Dn()}=e,e=Rn(e,["locale"]);return Gn(In({locale:t},e))})(t).format(e)),Ht([W],()=>(e,t)=>((e={})=>{var{locale:t=Dn()}=e,e=Rn(e,["locale"]);return Fn(In({locale:t},e))})(t).format(e)),Ht([W],()=>(e,t)=>((e={})=>{var{locale:t=Dn()}=e,e=Rn(e,["locale"]);return Un(In({locale:t},e))})(t).format(e)),Ht([W,dn],()=>(e,t=Dn())=>cn(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==At.indexOf(e)&&(t=new St(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 zn={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"}};Zn=qn={path:void 0,exports:{},require:function(e,t){return ki(null==t&&qn.path)}},qn.exports,Zn.exports=(()=>{var B;function f(){return B.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function I(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(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(p(e,t))return;return 1}function s(e){return void 0===e}function Y(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function U(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)p(t,i)&&(e[i]=t[i]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,i,n){return Ot(e,t,i,n,!0).utc()}function y(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 $(e){var t,i,n=e._d&&!isNaN(e._d.getTime());return n&&(t=y(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(y(t),e):y(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},V=f.momentProperties=[],z=!1;function q(e,t){var i,n,r,o=V.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=y(t)),s(t._locale)||(e._locale=t._locale),0<o)for(i=0;i<o;i++)s(r=t[n=V[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===z&&(z=!0,f.updateOffset(this),z=!1)}function l(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function X(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,a){var s=!0;return G(function(){if(null!=f.deprecationHandler&&f.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])p(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!=f.deprecationHandler&&f.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)p(t,i)&&(I(e[i])&&I(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)p(e,i)&&!p(t,i)&&I(e[i])&&(n[i]=G({},n[i]));return n}function ee(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var te=Object.keys||function(e){var t,i=[];for(t in e)p(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 h(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ue(e){var t,i,n={};for(i in e)p(e,i)&&(t=h(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},he=/\d/,t=/\d\d/,de=/\d{3}/,me=/\d{4}/,fe=/[+-]?\d{6}/,i=/\d\d?/,pe=/\d\d\d\d?/,ye=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,ve=/\d{1,4}/,be=/[+-]?\d{1,6}/,_e=/\d+/,we=/[+-]?\d+/,Ee=/Z|[+-]\d\d:?\d\d/gi,Te=/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,d=/^[1-9]\d?/,m=/^([1-9]\d|\d)/;function g(e,i,n){Le[e]=c(i)?i:function(e,t){return e&&n?n:i}}function xe(e,t){return p(Le,e)?Le[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 b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?b(e):t}var Le={},Me={};function w(e,i){var t,n,r=i;for("string"==typeof e&&(e=[e]),Y(i)&&(r=function(e,t){t[i]=_(e)}),n=e.length,t=0;t<n;t++)Me[e[t]]=r}function Se(e,r){w(e,function(e,t,i,n){i._w=i._w||{},r(e,i._w,i,n)})}function Ce(e){return e%4==0&&e%100!=0||e%400==0}var E=0,T=1,x=2,L=3,M=4,S=5,ke=6,Ae=7,De=8;function Oe(e){return Ce(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"),g("Y",we),g("YY",i,t),g("YYYY",ve,me),g("YYYYY",be,fe),g("YYYYYY",be,fe),w(["YYYYY","YYYYYY"],E),w("YYYY",function(e,t){t[E]=2===e.length?f.parseTwoDigitYear(e):_(e)}),w("YY",function(e,t){t[E]=f.parseTwoDigitYear(e)}),w("Y",function(e,t){t[E]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return _(e)+(68<_(e)?1900:2e3)};var C,Pe=He("FullYear",!0);function He(t,i){return function(e){return null!=e?(Be(this,t,e),f.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 Be(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||Ce(t)?e:28,r?n.setUTCFullYear(t,o,e):n.setFullYear(t,o,e)}}function Ie(e,t){var i;return isNaN(e)||isNaN(t)?NaN:(i=(t%(i=12)+i)%i,e+=(t-i)/12,1==i?Ce(e)?29:28:31-i%7%2)}C=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)}),g("M",i,d),g("MM",i,t),g("MMM",function(e,t){return t.monthsShortRegex(e)}),g("MMMM",function(e,t){return t.monthsRegex(e)}),w(["M","MM"],function(e,t){t[T]=_(e)-1}),w(["MMM","MMMM"],function(e,t,i,n){n=i._locale.monthsParse(e,n,i._strict);null!=n?t[T]=n:y(i).invalidMonth=e});var Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ye="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ue=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe=r,Ge=r;function $e(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=_(t);else if(!Y(t=e.localeData().monthsParse(t)))return;var i=(i=e.date())<29?i:Math.min(i,Ie(e.year(),t));e._isUTC?e._d.setUTCMonth(t,i):e._d.setMonth(t,i)}}function je(e){return null!=e?($e(this,e),f.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 Ve(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 ze(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+ze(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?Oe(o=e-1)+t:t>Oe(e)?(o=e+1,t-Oe(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+k(r=e.year()-1,t,i):o>k(e.year(),t,i)?(n=o-k(e.year(),t,i),r=e.year()+1):(r=e.year(),n=o),{week:n,year:r}}function k(e,t,i){var n=qe(e,t,i),t=qe(e+1,t,i);return(Oe(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"),g("w",i,d),g("ww",i,t),g("W",i,d),g("WW",i,t),Se(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=_(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"),g("d",i),g("e",i),g("E",i),g("dd",function(e,t){return t.weekdaysMinRegex(e)}),g("ddd",function(e,t){return t.weekdaysShortRegex(e)}),g("dddd",function(e,t){return t.weekdaysRegex(e)}),Se(["dd","ddd","dddd"],function(e,t,i,n){n=i._locale.weekdaysParse(e,n,i._strict);null!=n?t.d=n:y(i).invalidWeekday=e}),Se(["d","e","E"],function(e,t,i,n){t[n]=_(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),g("a",st),g("A",st),g("H",i,m),g("h",i,d),g("k",i,d),g("HH",i,t),g("hh",i,t),g("kk",i,t),g("hmm",pe),g("hmmss",ye),g("Hmm",pe),g("Hmmss",ye),w(["H","HH"],L),w(["k","kk"],function(e,t,i){e=_(e);t[L]=24===e?0:e}),w(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),w(["h","hh"],function(e,t,i){t[L]=_(e),y(i).bigHour=!0}),w("hmm",function(e,t,i){var n=e.length-2;t[L]=_(e.substr(0,n)),t[M]=_(e.substr(n)),y(i).bigHour=!0}),w("hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[L]=_(e.substr(0,n)),t[M]=_(e.substr(n,2)),t[S]=_(e.substr(r)),y(i).bigHour=!0}),w("Hmm",function(e,t,i){var n=e.length-2;t[L]=_(e.substr(0,n)),t[M]=_(e.substr(n))}),w("Hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[L]=_(e.substr(0,n)),t[M]=_(e.substr(n,2)),t[S]=_(e.substr(r))}),r=He("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:Ye,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:et,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},A={},ct={};function ht(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,i,n,r,o=0;o<e.length;){for(t=(r=ht(e[o]).split("-")).length,i=(i=ht(e[o+1]))?i.split("-"):null;0<t;){if(n=mt(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 mt(t){var e,i;if(void 0===A[t]&&Zn&&Zn.exports&&(i=t)&&i.match("^[^/\\\\]*$"))try{e=lt._abbr,ki(),ft(e)}catch(e){A[t]=null}return A[t]}function ft(e,t){return e&&((t=s(t)?D(e):pt(e,t))?lt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function pt(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=mt(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){pt(e.name,e.config)}),ft(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=mt(e))return t;e=[e]}return dt(e)}function yt(e){var t=e._a;return t&&-2===y(e).overflow&&(t=t[T]<0||11<t[T]?T:t[x]<1||t[x]>Ie(t[E],t[T])?x:t[L]<0||24<t[L]||24===t[L]&&(0!==t[M]||0!==t[S]||0!==t[ke])?L:t[M]<0||59<t[M]?M:t[S]<0||59<t[S]?S:t[ke]<0||999<t[ke]?ke:-1,y(e)._overflowDayOfYear&&(t<E||x<t)&&(t=x),y(e)._overflowWeeks&&-1===t&&(t=Ae),y(e)._overflowWeekday&&-1===t&&(t=De),y(e).overflow=t),e}var gt=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["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]],wt=[["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/]],Et=/^\/?Date\((-?\d+)/i,Tt=/^(?:(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}))$/,xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Lt(e){var t,i,n,r,o,a,s=e._i,l=gt.exec(s)||vt.exec(s),s=_t.length,u=wt.length;if(l){for(y(e).iso=!0,t=0,i=s;t<i;t++)if(_t[t][1].exec(l[1])){r=_t[t][0],n=!1!==_t[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,i=u;t<i;t++)if(wt[t][1].exec(l[3])){o=(l[2]||" ")+wt[t][0];break}if(null==o)return e._isValid=!1}if(!n&&null!=o)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=r+(o||"")+(a||""),At(e)}else e._isValid=!1}function Mt(e,t,i,n,r,o){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),Ye.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return o&&e.push(parseInt(o,10)),e}function St(e){var t,i,n,r,o=Tt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Mt(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()?(y(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(i=o[8],n=o[9],r=o[10],i?xt[i]:n?0:((i=parseInt(r,10))-(n=i%100))/100*60+n),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0)):e._isValid=!1}function Ct(e,t,i){return null!=e?e:null!=t?t:i}function kt(e){var t,i,n,r,o,a,s,l,u,c,h,d=[];if(!e._d){for(c=e,h=new Date(f.now()),i=c._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[x]&&null==e._a[T]&&(null!=(h=(c=e)._w).GG||null!=h.W||null!=h.E?(a=1,s=4,n=Ct(h.GG,c._a[E],Xe(O(),1,4).year),r=Ct(h.W,1),((o=Ct(h.E,1))<1||7<o)&&(l=!0)):(a=c._locale._week.dow,s=c._locale._week.doy,u=Xe(O(),a,s),n=Ct(h.gg,c._a[E],u.year),r=Ct(h.w,u.week),null!=h.d?((o=h.d)<0||6<o)&&(l=!0):null!=h.e?(o=h.e+a,(h.e<0||6<h.e)&&(l=!0)):o=a),r<1||r>k(n,a,s)?y(c)._overflowWeeks=!0:null!=l?y(c)._overflowWeekday=!0:(u=Ze(n,r,o,a,s),c._a[E]=u.year,c._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(h=Ct(e._a[E],i[E]),(e._dayOfYear>Oe(h)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),l=ze(h,0,e._dayOfYear),e._a[T]=l.getUTCMonth(),e._a[x]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=i[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[L]&&0===e._a[M]&&0===e._a[S]&&0===e._a[ke]&&(e._nextDay=!0,e._a[L]=0),e._d=(e._useUTC?ze:Ve).apply(null,d),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[L]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(y(e).weekdayMismatch=!0)}}function At(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],y(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(xe(n,e))||[])[0])&&(0<(h=r.substr(0,r.indexOf(t))).length&&y(e).unusedInput.push(h),r=r.slice(r.indexOf(t)+t.length),a+=t.length),oe[n]?(t?y(e).empty=!1:y(e).unusedTokens.push(n),h=n,m=e,null!=(d=t)&&p(Me,h)&&Me[h](d,m._a,m,h)):e._strict&&!t&&y(e).unusedTokens.push(n);y(e).charsLeftOver=o-a,0<r.length&&y(e).unusedInput.push(r),e._a[L]<=12&&!0===y(e).bigHour&&0<e._a[L]&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[L]=(o=e._locale,u=e._a[L],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=y(e).era)&&(e._a[E]=e._locale.erasConvertYear(c,e._a[E])),kt(e),yt(e)}else St(e);else Lt(e);var u,c,h,d,m}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(yt(i)):(U(i)?e._d=i:a(n)?(e=>{var t,i,n,r,o,a,s=!1,l=e._f.length;if(0===l)return y(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),$(t)&&(a=!0),o=(o+=y(t).charsLeftOver)+10*y(t).unusedTokens.length,y(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(f.now()):U(n)?i._d=new Date(n.valueOf()):"string"==typeof n?(r=i,null===(o=Et.exec(r._i))?(Lt(r),!1===r._isValid&&(delete r._isValid,St(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:f.createFromInputFallback(r))):r._d=new Date(+o[1])):a(n)?(i._a=F(n.slice(0),function(e){return parseInt(e,10)}),kt(i)):I(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)}),kt(r)):Y(n)?i._d=new Date(n):f.createFromInputFallback(i),$(e)||(e._d=null),e))}}function Ot(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),(I(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(yt(Dt(r=o))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function O(e,t,i,n){return Ot(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 O();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}f.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":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){},pe=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=O.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),ye=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=O.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});var Ht=["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=Ht.length;for(t in e)if(p(e,t)&&(-1===C.call(Ht,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<r;++i)if(e[Ht[i]]){if(n)return!1;parseFloat(e[Ht[i]])!==_(e[Ht[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 Bt(e){return e instanceof Nt}function It(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",""),g("Z",Te),g("ZZ",Te),w(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Ut(Te,e)});var Yt=/([\+\-]|\d\d)/gi;function Ut(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Yt)||["-",0,0])[1]+_(e[2]))?0:"+"===e[0]?t:-t}function Ft(e,t){var i;return t._isUTC?(t=t.clone(),i=(l(e)||U(e)?e:O(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),f.updateOffset(t,!1),t):O(e).local()}function Gt(e){return-Math.round(e._d.getTimezoneOffset())}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.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 Bt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Y(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=jt.exec(e))?(i="-"===t[1]?-1:1,r={y:0,d:_(t[x])*i,h:_(t[L])*i,m:_(t[M])*i,s:_(t[S])*i,ms:_(It(1e3*t[ke]))*i}):(t=Wt.exec(e))?(i="-"===t[1]?-1:1,r={y:Vt(t[2],i),M:Vt(t[3],i),w:Vt(t[4],i),d:Vt(t[5],i),h:Vt(t[6],i),m:Vt(t[7],i),s:Vt(t[8],i)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=O(r.from),i=O(r.to),t=t.isValid()&&i.isValid()?(i=Ft(i,t),t.isBefore(i)?n=zt(t,i):((n=zt(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),Bt(e)&&p(e,"_locale")&&(n._locale=e._locale),Bt(e)&&p(e,"_isValid")&&(n._isValid=e._isValid),n}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(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=It(t._days),t=It(t._months);e.isValid()&&(n=null==n||n,t&&$e(e,Ne(e,"Month")+t*i),o&&Be(e,"Date",Ne(e,"Date")+o*i),r&&e._d.setTime(e._d.valueOf()+r*i),n)&&f.updateOffset(e,o||t)}function Xt(e){return"string"==typeof e||e instanceof String}function Kt(e){return l(e)||U(e)||Xt(e)||Y(e)||(i=a(t=e),n=!1,i&&(n=0===t.filter(function(e){return!Y(e)&&Xt(t)}).length),i&&n)||(e=>{var t,i,n=I(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||p(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"),f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.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=k(e,n,r))&&(t=o),function(e,t,i,n,r){e=Ze(e,t,i,n,r),t=ze(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"),g("N",oi),g("NN",oi),g("NNN",oi),g("NNNN",function(e,t){return t.erasNameRegex(e)}),g("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),w(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){n=i._locale.erasParse(e,n,i._strict);n?y(i).era=n:y(i).invalidEra=e}),g("y",_e),g("yy",_e),g("yyy",_e),g("yyyy",_e),g("yo",function(e,t){return t._eraYearOrdinalRegex||_e}),w(["y","yy","yyy","yyyy"],E),w(["yo"],function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[E]=i._locale.eraYearOrdinalParse(e,r):t[E]=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"),g("G",we),g("g",we),g("GG",i,t),g("gg",i,t),g("GGGG",ve,me),g("gggg",ve,me),g("GGGGG",be,fe),g("ggggg",be,fe),Se(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=_(e)}),Se(["gg","GG"],function(e,t,i,n){t[n]=f.parseTwoDigitYear(e)}),n("Q",0,"Qo","quarter"),g("Q",he),w("Q",function(e,t){t[T]=3*(_(e)-1)}),n("D",["DD",2],"Do","date"),g("D",i,d),g("DD",i,t),g("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),w(["D","DD"],x),w("Do",function(e,t){t[x]=_(e.match(i)[0])}),ve=He("Date",!0),n("DDD",["DDDD",3],"DDDo","dayOfYear"),g("DDD",ge),g("DDDD",de),w(["DDD","DDDD"],function(e,t,i){i._dayOfYear=_(e)}),n("m",["mm",2],0,"minute"),g("m",i,m),g("mm",i,t),w(["m","mm"],M),me=He("Minutes",!1),n("s",["ss",2],0,"second"),g("s",i,m),g("ss",i,t),w(["s","ss"],S);var ui,be=He("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()}),g("S",ge,he),g("SS",ge,t),g("SSS",ge,de),ui="SSSS";ui.length<=9;ui+="S")g(ui,_e);function ci(e,t){t[ke]=_(1e3*("0."+e))}for(ui="S";ui.length<=9;ui+="S")w(ui,ci);function hi(e){return e}function di(e,t,i,n){var r=D(),n=u().set(n,t);return r[i](n,e)}function mi(e,t,i){if(Y(e)&&(t=e,e=void 0),e=e||"",null!=t)return di(e,t,i,"month");for(var n=[],r=0;r<12;r++)n[r]=di(e,r,i,"month");return n}function fi(e,t,i,n){t=("boolean"==typeof e||(i=t=e,e=!1),Y(t)&&(i=t,t=void 0),t||"");var r,o=D(),a=e?o._week.dow:0,s=[];if(null!=i)return di(t,(i+a)%7,n,"day");for(r=0;r<7;r++)s[r]=di(t,(r+a)%7,n,"day");return s}fe=He("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName"),(d=Z.prototype).add=Re,d.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):(e=>{for(var t=I(e)&&!R(e),i=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<n.length;r+=1)i=i||p(e,n[r]);return t&&i})(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||O(),i=Ft(e,this).startOf("day"),i=f.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,O(e)))},d.clone=function(){return new Z(this)},d.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=h(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:b(o)},d.endOf=function(e){var t,i;if(void 0!==(e=h(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),f.updateOffset(this,!0)}return this},d.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},d.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||O(e).isValid())?P({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},d.fromNow=function(e){return this.from(O(),e)},d.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||O(e).isValid())?P({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},d.toNow=function(e){return this.to(O(),e)},d.get=function(e){return c(this[e=h(e)])?this[e]():this},d.invalidAt=function(){return y(this).overflow},d.isAfter=function(e,t){return e=l(e)?e:O(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},d.isBefore=function(e,t){return e=l(e)?e:O(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},d.isBetween=function(e,t,i,n){return e=l(e)?e:O(e),t=l(t)?t:O(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))},d.isSame=function(e,t){var e=l(e)?e:O(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=h(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},d.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},d.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},d.isValid=function(){return $(this)},d.lang=et,d.locale=Qt,d.localeData=ei,d.max=ye,d.min=pe,d.parsingFlags=function(){return G({},y(this))},d.set=function(e,t){if("object"==typeof e)for(var i=(e=>{var t,i=[];for(t in e)p(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=h(e)]))return this[e](t);return this},d.startOf=function(e){var t,i;if(void 0!==(e=h(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),f.updateOffset(this,!0)}return this},d.subtract=Je,d.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},d.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()}},d.toDate=function(){return new Date(this.valueOf())},d.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},d.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&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},d.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},d.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""},d.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""},d.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""},d.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()-f(i[n].since).year())*e+i[n].offset;return this.year()},d.year=Pe,d.isLeapYear=function(){return Ce(this.year())},d.weekYear=function(e){return li.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},d.isoWeekYear=function(e){return li.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},d.quarter=d.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},d.month=je,d.daysInMonth=function(){return Ie(this.year(),this.month())},d.week=d.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},d.isoWeek=d.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},d.weeksInYear=function(){var e=this.localeData()._week;return k(this.year(),e.dow,e.doy)},d.weeksInWeekYear=function(){var e=this.localeData()._week;return k(this.weekYear(),e.dow,e.doy)},d.isoWeeksInYear=function(){return k(this.year(),1,4)},d.isoWeeksInISOWeekYear=function(){return k(this.isoWeekYear(),1,4)},d.date=ve,d.day=d.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},d.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},d.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},d.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")},d.hour=d.hours=r,d.minute=d.minutes=me,d.second=d.seconds=be,d.millisecond=d.milliseconds=fe,d.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=Ut(Te,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,f.updateOffset(this,!0),this._changeInProgress=null)),this},d.utc=function(e){return this.utcOffset(0,e)},d.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Gt(this),"m"),this},d.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ut(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},d.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?O(e).utcOffset():0,(this.utcOffset()-e)%60==0)},d.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},d.isLocal=function(){return!!this.isValid()&&!this._isUTC},d.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},d.isUtc=$t,d.isUTC=$t,d.zoneAbbr=function(){return this._isUTC?"UTC":""},d.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},d.dates=e("dates accessor is deprecated. Use date instead.",ve),d.months=e("months accessor is deprecated. Use month instead",je),d.years=e("years accessor is deprecated. Use year instead",Pe),d.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()}),d.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:O)(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&&_(e[a])!==_(t[a]))&&o++;return o+r})(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(m=ee.prototype).calendar=function(e,t,i){return c(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,i):e},m.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])},m.invalidDate=function(){return this._invalidDate},m.ordinal=function(e){return this._ordinal.replace("%d",e)},m.preparse=hi,m.postformat=hi,m.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return c(r)?r(e,t,i,n):r.replace(/%d/i,e)},m.pastFuture=function(e,t){return c(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},m.set=function(e){var t,i;for(i in e)p(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)},m.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=f(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=f(n[r].until).startOf("day").valueOf(),n[r].until=i.valueOf()}return n},m.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]},m.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*i},m.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||ai.call(this),e?this._erasAbbrRegex:this._erasRegex},m.erasNameRegex=function(e){return p(this,"_erasNameRegex")||ai.call(this),e?this._erasNameRegex:this._erasRegex},m.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||ai.call(this),e?this._erasNarrowRegex:this._erasRegex},m.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Ue).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},m.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Ue.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},m.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=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.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}},m.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},m.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},m.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},m.firstDayOfYear=function(){return this._week.doy},m.firstDayOfWeek=function(){return this._week.dow},m.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},m.weekdaysMin=function(e){return!0===e?Ke(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},m.weekdaysShort=function(e){return!0===e?Ke(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},m.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=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.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}},m.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},m.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=it),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},m.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},m.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},m.meridiem=function(e,t,i){return 11<e?i?"pm":"PM":i?"am":"AM"},ft("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===_(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),f.langData=e("moment.langData is deprecated. Use moment.localeData instead.",D);var H=Math.abs;function pi(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 yi(e){return e<0?Math.floor(e):Math.ceil(e)}function gi(e){return 4800*e/146097}function vi(e){return 146097*e/4800}function bi(e){return function(){return this.as(e)}}function _i(e){return function(){return this.isValid()?this._data[e]:NaN}}he=bi("ms"),t=bi("s"),ge=bi("m"),de=bi("h"),Re=bi("d"),ye=bi("w"),pe=bi("M"),Je=bi("Q"),r=bi("y"),me=he;var be=_i("milliseconds"),fe=_i("seconds"),ve=_i("minutes"),Pe=_i("hours"),m=_i("days"),wi=_i("months"),Ei=_i("years"),Ti=Math.round,xi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Li(e,t,i,n){var r=P(e).abs(),o=Ti(r.as("s")),a=Ti(r.as("m")),s=Ti(r.as("h")),l=Ti(r.as("d")),u=Ti(r.as("M")),c=Ti(r.as("w")),r=Ti(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 Mi=Math.abs;function Si(e){return(0<e)-(e<0)||+e}function Ci(){var e,t,i,n,r,o,a,s,l,u,c;return this.isValid()?(s=Mi(this._milliseconds)/1e3,l=Mi(this._days),u=Mi(this._months),(c=this.asSeconds())?(e=b(s/60),t=b(e/60),s%=60,e%=60,i=b(u/12),u%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Si(this._months)!==Si(c)?"-":"",o=Si(this._days)!==Si(c)?"-":"",a=Si(this._milliseconds)!==Si(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=H(this._milliseconds),this._days=H(this._days),this._months=H(this._months),e.milliseconds=H(e.milliseconds),e.seconds=H(e.seconds),e.minutes=H(e.minutes),e.hours=H(e.hours),e.months=H(e.months),e.years=H(e.years),this},N.add=function(e,t){return pi(this,e,t,1)},N.subtract=function(e,t){return pi(this,e,t,-1)},N.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=h(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+gi(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=he,N.asSeconds=t,N.asMinutes=ge,N.asHours=de,N.asDays=Re,N.asWeeks=ye,N.asMonths=pe,N.asQuarters=Je,N.asYears=r,N.valueOf=me,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*yi(vi(i)+t),i=t=0),n.milliseconds=e%1e3,e=b(e/1e3),n.seconds=e%60,e=b(e/60),n.minutes=e%60,e=b(e/60),n.hours=e%24,t+=b(e/24),i+=e=b(gi(t)),t-=yi(vi(e)),e=b(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=h(e),this.isValid()?this[e+"s"]():NaN},N.milliseconds=be,N.seconds=fe,N.minutes=ve,N.hours=Pe,N.days=m,N.weeks=function(){return b(this.days()/7)},N.months=wi,N.years=Ei,N.humanize=function(e,t){var i,n;return this.isValid()?(i=!1,n=xi,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(n=Object.assign({},xi,t),null!=t.s)&&null==t.ss&&(n.ss=t.s-1),t=Li(this,!i,n,e=this.localeData()),i&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},N.toISOString=Ci,N.toString=Ci,N.toJSON=Ci,N.locale=Qt,N.localeData=ei,N.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ci),N.lang=et,n("X",0,0,"unix"),n("x",0,0,"valueOf"),g("x",we),g("X",/[+-]?\d+(\.\d{1,3})?/),w("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),w("x",function(e,t,i){i._d=new Date(_(e))}),f.version="2.30.1",B=O,f.fn=d,f.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},f.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=u,f.unix=function(e){return O(1e3*e)},f.months=function(e,t){return mi(e,t,"months")},f.isDate=U,f.locale=ft,f.invalid=j,f.duration=P,f.isMoment=l,f.weekdays=function(e,t,i){return fi(e,t,i,"weekdays")},f.parseZone=function(){return O.apply(null,arguments).parseZone()},f.localeData=D,f.isDuration=Bt,f.monthsShort=function(e,t){return mi(e,t,"monthsShort")},f.weekdaysMin=function(e,t,i){return fi(e,t,i,"weekdaysMin")},f.defineLocale=pt,f.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=mt(e))?i._config:n,t),null==i&&(t.abbr=e),(n=new ee(t)).parentLocale=A[e],A[e]=n),ft(e)):null!=A[e]&&(null!=A[e].parentLocale?(A[e]=A[e].parentLocale,e===ft()&&ft(e)):null!=A[e]&&delete A[e]),A[e]},f.locales=function(){return te(A)},f.weekdaysShort=function(e,t,i){return fi(e,t,i,"weekdaysShort")},f.normalizeUnits=h,f.relativeTimeRounding=function(e){return void 0===e?Ti:"function"==typeof e&&(Ti=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==xi[e]&&(void 0===t?xi[e]:(xi[e]=t,"s"===e&&(xi.ss=t-1),!0))},f.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"},f.prototype=d,f.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"},f})();var qn,Zn,Xn=qn.exports;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,h,d,m,f,p,y,g=i[4]("name")+"";function v(e){return e[0]?tr:er}let b=v(i),_=b(i);return{c(){n=K("section"),r=K("div"),o=K("div"),(a=K("div")).textContent="i",s=Q(),l=K("div"),u=J(g),c=Q(),(h=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>',d=Q(),m=K("div"),_.c(),te(a,"class","InfoCardPopupIcon"),te(l,"class","InfoCardPopupTitle"),te(h,"class","InfoCardPopupCloseButton"),te(o,"class","InfoCardPopupHeader"),te(m,"class","InfoCardPopupContentArea"),te(r,"class",f="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,h),q(r,d),q(r,m),_.m(m,null),i[12](n),p||(y=ee(h,"click",oe(i[6])),p=!0)},p(e,t){16&t&&g!==(g=e[4]("name")+"")&&ne(u,g),b===(b=v(e))&&_?_.p(e,t):(_.d(1),(_=b(e))&&(_.c(),_.m(m,null))),1&t&&f!==(f="InfoCardPopupWrapper "+(e[5]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&te(r,"class",f)},d(e){e&&X(n),_.d(),i[12](null),p=!1,y()}}}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=P(),this.c=V},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:V,o:V,d(e){n&&n.d(e),e&&X(i)}}}function nr(t,e,i){let n,{showpopup:r=""}=(re(t,jn,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 h,d=!1,m=window.navigator.userAgent,f="PC"!==Wn(m),p=e=>{e.data&&"ClosePlayerAccountGamingLimitsPopup"==e.data.type&&i(3,d=!1)};return se(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)})),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,d=r)),1028&t.$$.dirty&&u&&h){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{h.appendChild(t)},1)})}var e;516&t.$$.dirty&&l&&h&&((e=document.createElement("style")).innerHTML=l,h.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,h,d,n,f,()=>{i(3,d=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,a,l,u,c,function(e){j[e?"unshift":"push"](()=>{h=e,i(2,h)})}]}function rr(e,{delay:t=0,duration:i=400,easing:n=E}={}){let r=+getComputedStyle(e).opacity;return{delay:t,duration:i,easing:n,css:e=>"opacity: "+e*r}}function or(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||(he(()=>{o&&(t=t||_e(r,rr,{transitionDuration:i[1]},!0)).run(1)}),o=!0)},o(e){(t=t||_e(r,rr,{transitionDuration:i[1]},!1)).run(0),o=!1},d(e){e&&X(n),i[6](null),e&&t&&t.end(),i[7](null)}}}function ar(e){let i,n,r=e[0]&&or(e);return{c(){r&&r.c(),i=P(),this.c=V},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=or(e)).c(),ge(r,1),r.m(i.parentNode,i)):r&&(y={r:0,c:[],p:y},ve(r,1,1,()=>{r=null}),y.r||z(y.c),y=y.p)},i(e){n||(ge(r),n=!0)},o(e){ve(r),n=!1},d(e){r&&r.d(e),e&&X(i)}}}function sr(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 lr(e,t){fn(e,t)}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends Ee{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),we(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},nr,ir,L,{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),d())}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency","clientstyling","clientstylingurl","translationurl"]}get showpopup(){return this.$$.ctx[7]}set showpopup(e){this.$$set({showpopup:e}),d()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(e){this.$$set({iteminfoamount:e}),d()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),d()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(e){this.$$set({playercurrency:e}),d()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),d()}}),customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends Ee{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),we(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},sr,ar,L,{show:0,duration:1,clientstyling:4,clientstylingurl:5},null),e&&(e.target&&Z(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["show","duration","clientstyling","clientstylingurl"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),d()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),d()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}});let ur={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 cr(i){let n,r,o,a,s,l,u,c,h,d,m,f,p,y,g,v=i[2]("cancel")+"",b=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"),h=K("button"),d=J(v),m=Q(),f=K("button"),p=J(b),this.c=V,te(o,"class","ModalCloseBtn"),te(o,"role","button"),te(s,"class","GamingLimitsConfirmationContent"),te(h,"class","GamingLimitsCancelButton"),te(f,"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,h),q(h,d),q(c,m),q(c,f),q(f,p),i[12](n),y||(g=[ee(o,"click",i[4]),ee(h,"click",i[6]),ee(f,"click",i[5])],y=!0)},p(e,[t]){1&t&&ne(l,e[0]),4&t&&v!==(v=e[2]("cancel")+"")&&ne(d,v),4&t&&b!==(b=e[2]("confirm")+"")&&ne(p,b)},i:V,o:V,d(e){e&&X(n),i[12](null),y=!1,z(g)}}}function hr(t,e,i){let n,{modaltext:r="Are you sure that you want to perform this action?"}=(re(t,jn,e=>i(2,n=e)),e),{modalsource:o=""}=e,{lang:a="en"}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{translationurl:u=""}=e,c,h=(Object.keys(ur).forEach(e=>{lr(e,ur[e])}),window.navigator.userAgent),d="PC"!==Wn(h),m={},f="",p=e=>{e.data&&"DeleteLimitsItem"===e.data.type&&(m=e.data.removeData,e=e.data.removeName,f="Time Limit"===e?"cumulativeSessionLimits":"Deposit Limit"===e?"depositLimits":"Wagering Limit"===e?"wageringLimit":"lossLimit")};return se(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)})),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=>{lr(e,t[e])})}).catch(e=>{console.log(e)})},[r,c,n,d,()=>{window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:m,name:f},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 dr(e,t,i){e=e.slice();return e[56]=t[i],e[57]=t,e[58]=i,e}function mr(e,t,i){e=e.slice();return e[59]=t[i],e}function fr(e,t,i){e=e.slice();return e[56]=t[i],e[58]=i,e}function pr(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 yr(t){let r,o=t[14],a=[];for(let e=0;e<o.length;e+=1)a[e]=vr(fr(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=fr(t,o,e);a[e]?a[e].p(n,i):(a[e]=vr(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),O(a,e)}}}function gr(e){let i,n,r,o,a=e[18]("remove")+"",s=(e[56].expiryDate?Xn(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?Xn(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(o,s)},d(e){e&&X(i)}}}function vr(e){let i,n=e[56].period==e[17][e[58]].period&&gr(e);return{c(){n&&n.c(),i=P()},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=gr(e)).c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&X(i)}}}function br(t){let i,r,o=t[14],a=[];for(let e=0;e<o.length;e+=1)a[e]=kr(dr(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=dr(t,o,e);a[e]?a[e].p(n,i):(a[e]=kr(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),O(a,e)}}}function _r(n){let r,i,o,t,a,s,l,u,c,h,d=n[18]("noLimit")+"",m=n[20].get(n[6])[n[58]].values,f=[];for(let e=0;e<m.length;e+=1)f[e]=Er(mr(n,m,e));function p(){n[29].call(r,n[58])}let y="Custom"===n[17][n[58]].amount&&Tr(n),g=!0===n[56].isModified&&Cr(n);return{c(){r=K("select"),i=K("option"),o=J(d);for(let e=0;e<f.length;e+=1)f[e].c();a=Q(),s=K("div"),y&&y.c(),l=Q(),g&&g.c(),u=P(),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&&he(p),te(s,"class","AccountEditLimitsInputContainer")},m(e,t){Z(e,r,t),q(r,i),q(i,o);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(r,null);N(r,n[17][n[58]].amount,!0),Z(e,a,t),Z(e,s,t),y&&y.m(s,null),Z(e,l,t),g&&g.m(e,t),Z(e,u,t),c||(h=[ee(r,"change",p),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]&&d!==(d=n[18]("noLimit")+"")&&ne(o,d),1048656&i[0]){let t;for(m=n[20].get(n[6])[n[58]].values,t=0;t<m.length;t+=1){let e=mr(n,m,t);f[t]?f[t].p(e,i):(f[t]=Er(e),f[t].c(),f[t].m(r,null))}for(;t<f.length;t+=1)f[t].d(1);f.length=m.length}16384&i[0]&&t!==(t=!0===n[56].isModified)&&(r.disabled=t),1179712&i[0]&&N(r,n[17][n[58]].amount),"Custom"===n[17][n[58]].amount?y?y.p(n,i):((y=Tr(n)).c(),y.m(s,null)):y&&(y.d(1),y=null),!0===n[56].isModified?g?g.p(n,i):((g=Cr(n)).c(),g.m(u.parentNode,u)):g&&(g.d(1),g=null)},d(e){e&&X(r),O(f,e),e&&X(a),e&&X(s),y&&y.d(),e&&X(l),g&&g.d(e),e&&X(u),c=!1,z(h)}}}function wr(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 Er(e){let i,n,r,o,a,s=e[59]+"",l="No limit"!==e[59]&&"Custom"!==e[59]&&wr(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=wr(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 Tr(e){let i;function n(e){return"Time Limit"!==e[6]?Lr:xr}let r=n(e),o=r(e);return{c(){o.c(),i=P()},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 xr(i){let n,r,o,a,s,l;function u(){i[31].call(n,i[58])}let c=1==i[13][i[58]]&&Mr(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),H(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&&H(n,i[17][i[58]].value),1==i[13][i[58]]?c?c.p(i,t):((c=Mr(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,z(l)}}}function Lr(i){let n,r,o,a,s,l;function u(){i[30].call(n,i[58])}let c=1==i[13][i[58]]&&Sr(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),H(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&&H(n,i[17][i[58]].value),1==i[13][i[58]]?c?c.p(i,t):((c=Sr(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,z(l)}}}function Mr(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 Sr(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 Cr(e){let i,n,r,o,a,s,l,u,c,h,d,m,f,p,y,g,v,b=e[18]("expirationDate")+"",_=(e[56].expiryDate?Xn(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",w=e[18]("changedLimitTextBefore")+"",E=(0<e[56].updateAmount?e[56].updateAmount:0)+"",T=(void 0!==e[56].minutes?" minutes":e[4])+"",x=e[18]("changedLimitTextAfter")+"";return{c(){i=K("p"),n=J(b),r=Q(),o=K("span"),a=J(_),s=Q(),l=K("div"),u=K("p"),(c=K("span")).textContent="i",h=K("span"),d=J(w),m=Q(),f=J(E),p=Q(),y=J(T),g=J(". "),v=J(x),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,h),q(h,d),q(h,m),q(h,f),q(h,p),q(h,y),q(h,g),q(h,v)},p(e,t){262144&t[0]&&b!==(b=e[18]("expirationDate")+"")&&ne(n,b),16384&t[0]&&_!==(_=(e[56].expiryDate?Xn(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ne(a,_),262144&t[0]&&w!==(w=e[18]("changedLimitTextBefore")+"")&&ne(d,w),16384&t[0]&&E!==(E=(0<e[56].updateAmount?e[56].updateAmount:0)+"")&&ne(f,E),16400&t[0]&&T!==(T=(void 0!==e[56].minutes?" minutes":e[4])+"")&&ne(y,T),262144&t[0]&&x!==(x=e[18]("changedLimitTextAfter")+"")&&ne(v,x)},d(e){e&&X(i),e&&X(s),e&&X(l)}}}function kr(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&&_r(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=_r(e)).c(),l.m(i,a)):l&&(l.d(1),l=null)},d(e){e&&X(i),l&&l.d()}}}function Ar(i){let n,R,r,o,a,s,Y,l,u,c,U,h,d,F,m,f,p,G,y,g,$,v,j,b,_,w,E,T,x,L,M,S,C,k,A,W,D=i[18]("back")+"",O=(i[1]?i[9]:"")+"",P=i[18]("save")+"",H=i[19]&&(i=>{let n,r,o,a,s,l,u,c,h,d,m,f,p,y=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"),h=Q(),d=K("h2"),m=J(y),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(d,"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,h),q(n,d),q(d,m),f||(p=ee(n,"click",i[22]),f=!0)},p(e,t){262144&t[0]&&y!==(y=e[18]("back")+"")&&ne(m,y)},d(e){e&&X(n),f=!1,p()}}})(i),N=i[2]&&pr(i),B=i[3]&&yr(i),I=i[8]&&br(i);return{c(){n=K("div"),H&&H.c(),R=Q(),r=K("div"),o=t("svg"),a=t("defs"),s=t("style"),Y=J(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=t("g"),u=t("g"),c=t("path"),U=Q(),h=K("h2"),d=J(D),F=Q(),m=K("div"),f=K("h6"),p=J(O),G=Q(),y=K("div"),(g=K("span")).textContent="i",$=Q(),v=K("player-account-gaming-limits-popup"),j=Q(),N&&N.c(),b=Q(),B&&B.c(),_=Q(),I&&I.c(),w=Q(),E=K("div"),T=K("button"),x=J(P),S=Q(),C=K("player-account-modal"),k=K("player-account-gaming-limits-confirmation-modal"),this.c=V,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(h,"class","MyAccountCategoryTitle "+(i[19]?"MyAccountCategoryTitleNone":"")),te(r,"class","MenuReturnButton "+(i[19]?"MyAccountCategoryTitleNone":"")),te(g,"class","AccountEditLimitsIcon"),ie(v,"showpopup",i[7]),ie(v,"lang",i[0]),te(y,"class","AccountEditLimitsIconWrapper"),te(m,"class","AccountEditLimitsHeader"),te(T,"class",L="AccountEditLimitsSaveButton "+(i[15]?"":"AccountEditLimitsButtonDisabled")),T.disabled=M=!i[15],te(E,"class","AccountEditLimitsControlArea"),te(n,"class","AccountEditLimitsWrapper "+(i[19]?"AccountEditLimitsMobileWrapper":"")),ie(k,"modaltext",i[12]),ie(k,"modalsource","groupEdit"),ie(k,"lang",i[0])},m(e,t){Z(e,n,t),H&&H.m(n,null),q(n,R),q(n,r),q(r,o),q(o,a),q(a,s),q(s,Y),q(o,l),q(l,u),q(u,c),q(r,U),q(r,h),q(h,d),q(n,F),q(n,m),q(m,f),q(f,p),q(m,G),q(m,y),q(y,g),q(y,$),q(y,v),q(n,j),N&&N.m(n,null),q(n,b),B&&B.m(n,null),q(n,_),I&&I.m(n,null),q(n,w),q(n,E),q(E,T),q(T,x),i[33](n),Z(e,S,t),Z(e,C,t),q(C,k),A||(W=[ee(r,"click",i[22]),ee(g,"click",oe(i[21])),ee(T,"click",i[32])],A=!0)},p(e,t){e[19]&&H.p(e,t),262144&t[0]&&D!==(D=e[18]("back")+"")&&ne(d,D),514&t[0]&&O!==(O=(e[1]?e[9]:"")+"")&&ne(p,O),128&t[0]&&ie(v,"showpopup",e[7]),1&t[0]&&ie(v,"lang",e[0]),e[2]?N?N.p(e,t):((N=pr(e)).c(),N.m(n,b)):N&&(N.d(1),N=null),e[3]?B?B.p(e,t):((B=yr(e)).c(),B.m(n,_)):B&&(B.d(1),B=null),e[8]?I?I.p(e,t):((I=br(e)).c(),I.m(n,w)):I&&(I.d(1),I=null),262144&t[0]&&P!==(P=e[18]("save")+"")&&ne(x,P),32768&t[0]&&L!==(L="AccountEditLimitsSaveButton "+(e[15]?"":"AccountEditLimitsButtonDisabled"))&&te(T,"class",L),32768&t[0]&&M!==(M=!e[15])&&(T.disabled=M),4096&t[0]&&ie(k,"modaltext",e[12]),1&t[0]&&ie(k,"lang",e[0])},i:V,o:V,d(e){e&&X(n),H&&H.d(),N&&N.d(),B&&B.d(),I&&I.d(),i[33](null),e&&X(S),e&&X(C),A=!1,z(W)}}}function Dr(t,e,o){let i,{limitsdata:n=[]}=(re(t,jn,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:h=""}=e,{translationurl:d=""}=e,m,f,p=(Object.keys(zn).forEach(e=>{Vn(e,zn[e])}),!1),y=!1,g="",v=!1,b=0,_=0,w="",B=window.navigator.userAgent,I="PC"!==Wn(B),E=new Array(3).fill(0),T={},x=[],L=[],M=!1,S=[],C={amount:/^[0-9]{0,8}$/,time:/^[1-9]\d*$/},k=[{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"]}],Y=[{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"]}],O=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),P=new Map([["Deposit Limit",A],["Time Limit",Y],["Wagering Limit",D],["Loss Limit",R]]),U=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},H=(i,e)=>{let n=JSON.parse(JSON.stringify(e));k.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=()=>{S.forEach(e=>{var t=e;L.forEach(e=>{t.period===e.period&&("Time Limit"===m&&(o(10,b=60),"Daily"===t.period?o(11,_=1440):"Weekly"==t.period?o(11,_=10080):o(11,_=43200)),-1<e.values.indexOf(t.amount))&&("No limit"===t.amount?t.amount=0:t.amount=JSON.parse(t.amount))})}),T.forEach(n=>{L.forEach(e=>{var t,i;n.period===e.period&&(e=e,t=n,i=k,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"===m?"time limit":"Deposit Limit"===m?"deposit limit":"Wagering Limit"===m?"wagering limit":"loss limit";o(12,w=i("changeLimitsText",{values:{limit:e}}))},N=()=>{var e=l;W.set(e),G(),o(16,S=JSON.parse(JSON.stringify(n))),o(14,T=JSON.parse(JSON.stringify(n))),L="Wagering Limit"===m?D:"Loss Limit"===m?R:"Deposit Limit"===m?A:"Time Limit"===m?Y:[],F()},$=e=>{if(e.data)switch(e.data.type){case"LanguageChanged":o(0,l=e.data.lang),G();break;case"EditPlayerLimit":o(6,m=e.data.name),o(9,g=i(m.charAt(0).toLowerCase()+m.substring(1).replace(/\s/g,""))),N(),o(8,y=!0);break;case"ClosePlayerAccountGamingLimitsPopup":o(7,p=!1);break;case"GamingLimitsConfirmChanges":(v=!0)&&("Time Limit"===m?k.forEach(t=>{var e;"true"==u?0!=t.value&&(e={period:t.period,minutes:t.value},x.push(e)):T.forEach(e=>{e.period===t.period&&(e.minutes=t.value)})}):k.forEach(t=>{var e;"true"==u?0!=t.value&&(e={period:t.period,amount:t.value,currency:s},x.push(e)):T.forEach(e=>{e.period===t.period&&(e.amount=t.value,e.currency=s)})}),t={},t="true"==u?{[O.get(m)]:[...x]}:{[O.get(m)]:[...T]},x.length=0,window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:t,limitsCategory:O.get(m)},window.location.href),o(15,M=!1));break;case"CancelGamingLimitsChanges":o(8,y=!1),setTimeout(()=>{o(8,y=!0)},10),N(),o(15,M=!1),v=!1}var t};return se(()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)})),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,h=e.clientstylingurl),"translationurl"in e&&o(28,d=e.translationurl)},t.$$.update=()=>{if(12&t.$$.dirty[0]&&r&&a&&N(),t.$$.dirty[0],67108896&t.$$.dirty[0]&&c&&f&&((e=document.createElement("style")).innerHTML=c,f.appendChild(e)),134217760&t.$$.dirty[0]&&h&&f){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{f.appendChild(t)},1)})}var e;268435456&t.$$.dirty[0]&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Vn(e,t[e])})}).catch(e=>{console.log(e)})},[l,n,r,a,s,f,m,p,y,g,b,_,w,E,T,M,S,k,i,I,P,()=>{o(7,p=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},U,(e,t,i,n)=>{var r;"Custom"===e.amount?"Time Limit"==m?(o(10,b=60),"Daily"===e.period?o(11,_=1440):"Weekly"==e.period?o(11,_=10080):o(11,_=43200),e.value&&C.time.test(e.value)&&e.value>b&&e.value<=_?(o(13,E[t]=0,E),r=n[t],e.period==r.period&&e.value==r.amount?(o(15,M=!1),H(e,n)):o(15,M=!0)):(o(13,E[t]=1,E),o(15,M=!1))):e.value&&C.amount.test(e.value)?(o(13,E[t]=0,E),e.period==n[t].period&&e.value==n[t].amount?(o(15,M=!!M),H(e,n)):o(15,M=!0),"true"!=u&&k.forEach(e=>{0==e.value&&o(15,M=!1)})):(o(13,E[t]=1,E),o(15,M=!1)):(e.period==n[t].period?(H(e,n),o(15,M=e.value!=n[t].amount)):o(15,M=!0),k.forEach(e=>{(0==e.value&&"true"!=u||"Custom"==e.amount&&!C.amount.test(e.value.toString()))&&o(15,M=!1)}))},u,c,h,d,function(e){k[e].amount=(e=>(e=e.querySelector(":checked"))&&e.__value)(this),o(17,k),o(20,P),o(6,m)},function(e){k[e].value=ae(this.value),o(17,k),o(20,P),o(6,m)},function(e){k[e].value=ae(this.value),o(17,k),o(20,P),o(6,m)},()=>U(),function(e){j[e?"unshift":"push"](()=>{f=e,o(5,f)})}]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends Ee{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),we(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},hr,cr,L,{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),d())}static get observedAttributes(){return["modaltext","modalsource","lang","clientstyling","clientstylingurl","translationurl"]}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),d()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),d()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),d()}});class Or extends Ee{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),we(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},Dr,Ar,L,{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),d())}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}),d()}get showsuccessnotification(){return this.$$.ctx[2]}set showsuccessnotification(e){this.$$set({showsuccessnotification:e}),d()}get showdeletenotification(){return this.$$.ctx[3]}set showdeletenotification(e){this.$$set({showdeletenotification:e}),d()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(e){this.$$set({playercurrency:e}),d()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),d()}get separatelimits(){return this.$$.ctx[25]}set separatelimits(e){this.$$set({separatelimits:e}),d()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),d()}}return customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",Or),Or});
|
|
4
4
|
//# sourceMappingURL=player-account-gaming-limits-group-edit.js.map
|