@everymatrix/player-account-controller-nd 1.43.0 → 1.43.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
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 ae(){}let w=e=>e;function m(e){return e()}function h(){return Object.create(null)}function oi(e){e.forEach(m)}function ue(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s;function x(e,t){return(s=s||document.createElement("a")).href=t,e===s.href}function d(e,...t){if(null==e)return ae;let i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Le(e,t,i){e.$$.on_destroy.push(d(t,i))}function l(e){return e&&ue(e.destroy)?e.destroy:ae}var c="undefined"!=typeof window;let _=c?()=>window.performance.now():()=>Date.now(),C=c?e=>requestAnimationFrame(e):ae,P=new Set;function L(t){P.forEach(e=>{e.c(t)||(P.delete(e),e.f())}),0!==P.size&&C(L)}c="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function si(e,t){e.appendChild(t)}function E(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function li(e,t,i){e.insertBefore(t,i||null)}function ci(e){e.parentNode&&e.parentNode.removeChild(e)}function ui(t,i){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(i)}function di(e){return document.createElement(e)}function pi(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function mi(e){return document.createTextNode(e)}function hi(){return mi(" ")}function N(){return mi("")}function fi(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function G(t){return function(e){return e.preventDefault(),t.call(this,e)}}function gi(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function oe(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:gi(e,t,i)}function we(e){return""===e?null:+e}function yi(e,t){e.data!==(t=""+t)&&(e.data=t)}function vi(e,t){e.value=null==t?"":t}function k(e,t,i,r){null==i?e.style.removeProperty(t):e.style.setProperty(t,i,r?"important":"")}function bi(t,i,e){for(let e=0;e<t.options.length;e+=1){var r=t.options[e];if(r.__value===i)return r.selected=!0}e&&void 0===i||(t.selectedIndex=-1)}function xe(e){e=e.querySelector(":checked");return e&&e.__value}function T(e,t,i){e.classList[i?"add":"remove"](t)}function r(e){var t,i={};for(t of e)i[t.name]=t.value;return i}let A=new Map,S,M=0;function D(e,i,r,t,n,a,o,s=0){var l=16.666/t;let c="{\n";for(let t=0;t<=1;t+=l){let e=i+(r-i)*a(t);c+=100*t+`%{${o(e,1-e)}}
2
2
  `}var u,d=c+`100% {${o(r,1-r)}}
3
- }`,s=`__svelte_${(e=>{let t=5381,i=e.length;for(;i--;)t=(t<<5)-t^e.charCodeAt(i);return t>>>0})(d)}_`+s,p=E(e),{stylesheet:m,rules:h}=A.get(p)||(p=p,u={stylesheet:(u=e,h=di("style"),u=E(u),m=h,si(u.head||u,m),m.sheet,h.sheet),rules:{}},A.set(p,u),u),p=(h[s]||(h[s]=!0,m.insertRule(`@keyframes ${s} `+d,m.cssRules.length)),e.style.animation||"");return e.style.animation=(p?p+", ":"")+s+` ${t}ms linear ${n}ms 1 both`,M+=1,s}function $(e){S=e}function Ee(e){(()=>{if(S)return S;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e)}let B=[],Te=[],u=[],F=[],O=Promise.resolve(),z=!1;function Me(){z||(z=!0,O.then(p))}function wi(e){u.push(e)}let R=new Set,H,W=0;function p(){if(0===W){let e=S;do{try{for(;W<B.length;){let e=B[W];W++,$(e),t=i=void 0;var t,i=e.$$;null!==i.fragment&&(i.update(),oi(i.before_update),t=i.dirty,i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,t),i.after_update.forEach(wi))}}catch(e){throw B.length=0,W=0,e}for($(null),B.length=0,W=0;Te.length;)Te.pop()();for(let e=0;e<u.length;e+=1){var r=u[e];R.has(r)||(R.add(r),r())}}while(u.length=0,B.length);for(;F.length;)F.pop()();z=!1,R.clear(),$(e)}}function U(e,t,i){var r;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:i=!1}={}]=[(t?"intro":"outro")+i],(r=document.createEvent("CustomEvent")).initCustomEvent(e,t,i,void 0),r))}let Y=new Set,V;function q(e,t){e&&e.i&&(Y.delete(e),e.i(t))}function K(e,t,i,r){e&&e.o?Y.has(e)||(Y.add(e),V.c.push(()=>{Y.delete(e),r&&(i&&e.d(1),r())}),e.o(t)):r&&r()}let Z={duration:0};function X(l,e,t,i){let r={direction:"both"},c=e(l,t,r),u=i?0:1,d=null,p=null,m=null;function h(){var e,t,i,r;m&&(e=l,t=m,i=(e.style.animation||"").split(", "),r=i.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(i=i.length-r.length)||(e.style.animation=r.join(", "),M-=i)||C(()=>{M||(A.forEach(e=>{e=e.stylesheet.ownerNode;e&&ci(e)}),A.clear())}))}function f(e,t){var i=e.b-u;return t*=Math.abs(i),{a:u,b:e.b,d:i,duration:t,start:e.start,end:e.start+t,group:e.group}}function n(e){let{delay:t=0,duration:i=300,easing:r=w,tick:n=ae,css:a}=c||Z,o={start:_()+t,b:e};if(e||((o.group=V).r+=1),d||p)p=o;else{a&&(h(),m=D(l,u,e,i,t,r,a)),e&&n(0,1),d=f(o,i),wi(()=>U(l,e,"start"));{var s=e=>(p&&e>p.start&&(d=f(p,i),p=null,U(l,d.b,"start"),a)&&(h(),m=D(l,u,d.b,d.duration,0,r,c.css)),d&&(e>=d.end?(n(u=d.b,1-u),U(l,d.b,"end"),p||(d.b?h():--d.group.r||oi(d.group.c)),d=null):e>=d.start&&(e=e-d.start,u=d.a+d.d*r(e/d.duration),n(u,1-u))),!(!d&&!p));let t;0===P.size&&C(L),new Promise(e=>{P.add(t={c:s,f:e})})}}}return{run(e){ue(c)?(H||(H=Promise.resolve()).then(()=>{H=null}),H.then(()=>{c=c(r),n(e)})):n(e)},end(){h(),d=p=null}}}function n(r,t,e,i,n,a,o,s=[-1]){var l=S;$(r);let c=r.$$={fragment:null,ctx:[],props:a,update:ae,not_equal:n,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:t.target||l.$$.root},u=(o&&o(c.root),!1);if(c.ctx=e?e(r,t.props||{},(e,t,...i)=>{var i=i.length?i[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=i)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](i),u)&&(i=e,-1===(e=r).$$.dirty[0]&&(B.push(e),Me(),e.$$.dirty.fill(0)),e.$$.dirty[i/31|0]|=1<<i%31),t}):[],c.update(),u=!0,oi(c.before_update),c.fragment=!!i&&i(c.ctx),t.target){if(t.hydrate){a=t.target;let e=Array.from(a.childNodes);c.fragment&&c.fragment.l(e),e.forEach(ci)}else c.fragment&&c.fragment.c();t.intro&&q(r.$$.fragment);var d=r,s=t.customElement,{fragment:o,after_update:e}=d.$$;o&&o.m(t.target,t.anchor),s||wi(()=>{var e=d.$$.on_mount.map(m).filter(ue);d.$$.on_destroy?d.$$.on_destroy.push(...e):oi(e),d.$$.on_mount=[]}),e.forEach(wi),p()}$(l)}let e;"function"==typeof HTMLElement&&(e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(m).filter(ue);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){oi(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;let t=[],i=[];u.forEach(e=>(-1===r.indexOf(e)?t:i).push(e)),i.forEach(e=>e()),u=t}oi(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=ae}$on(e,t){if(!ue(t))return ae;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 Q,J,ee="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},te="URLSearchParams"in ee,ie="Symbol"in ee&&"iterator"in Symbol,re="FileReader"in ee&&"Blob"in ee&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),ne="FormData"in ee,se="ArrayBuffer"in ee;function le(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 ce(e){return e="string"!=typeof e?String(e):e}function de(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ie&&(e[Symbol.iterator]=function(){return e}),e}function pe(t){this.map={},t instanceof pe?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 me(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 fe(e){var t=new FileReader,i=he(t);return t.readAsArrayBuffer(e),i}function ge(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function ye(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:re&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ne&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:te&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():se&&re&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ge(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):se&&(ArrayBuffer.prototype.isPrototypeOf(e)||J(e))?this._bodyArrayBuffer=ge(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):te&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},re&&(this.blob=function(){var e=me(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 me(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(re)return this.blob().then(fe);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,r=me(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=he(e),i=(i=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?i[1]:"utf-8",e.readAsText(r,i),t;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var t=new Uint8Array(e),i=new Array(t.length),r=0;r<t.length;r++)i[r]=String.fromCharCode(t[r]);return i.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ne&&(this.formData=function(){return this.text().then(Ce)}),this.json=function(){return this.text().then(JSON.parse)},this}se&&(Q=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],J=ArrayBuffer.isView||function(e){return e&&-1<Q.indexOf(Object.prototype.toString.call(e))}),pe.prototype.append=function(e,t){e=le(e),t=ce(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},pe.prototype.delete=function(e){delete this.map[le(e)]},pe.prototype.get=function(e){return e=le(e),this.has(e)?this.map[e]:null},pe.prototype.has=function(e){return this.map.hasOwnProperty(le(e))},pe.prototype.set=function(e,t){this.map[le(e)]=ce(t)},pe.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},pe.prototype.keys=function(){var i=[];return this.forEach(function(e,t){i.push(t)}),de(i)},pe.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),de(t)},pe.prototype.entries=function(){var i=[];return this.forEach(function(e,t){i.push([t,e])}),de(i)},ie&&(pe.prototype[Symbol.iterator]=pe.prototype.entries);var ve=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function _e(e,t){if(!(this instanceof _e))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,r=(t=t||{}).body;if(e instanceof _e){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new pe(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new pe(t.headers)),this.method=(i=(e=t.method||this.method||"GET").toUpperCase(),-1<ve.indexOf(i)?i:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(()=>{if("AbortController"in ee)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"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 Ce(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 Pe(e,t){if(!(this instanceof Pe))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 pe(t.headers),this.url=t.url||"",this._initBody(e)}_e.prototype.clone=function(){return new _e(this,{body:this._bodyInit})},ye.call(_e.prototype),ye.call(Pe.prototype),Pe.prototype.clone=function(){return new Pe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new pe(this.headers),url:this.url})},Pe.error=function(){var e=new Pe(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var De=[301,302,303,307,308],$e=(Pe.redirect=function(e,t){if(-1===De.indexOf(t))throw new RangeError("Invalid status code");return new Pe(null,{status:t,headers:{location:e}})},ee.DOMException);try{new $e}catch(ae){($e=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),$e.prototype.constructor=$e}function Be(r,s){return new Promise(function(n,e){var a=new _e(r,s);if(a.signal&&a.signal.aborted)return e(new $e("Aborted","AbortError"));var i,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,r,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",r=new pe,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{r.append(i,t)}catch(e){console.warn("Response "+e.message)}}}),r)},i=(0===a.url.indexOf("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){n(new Pe(i,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new $e("Aborted","AbortError"))},0)},o.open(a.method,(t=>{try{return""===t&&ee.location.href?ee.location.href:t}catch(e){return t}})(a.url),!0),"include"===a.credentials?o.withCredentials=!0:"omit"===a.credentials&&(o.withCredentials=!1),"responseType"in o&&(re?o.responseType="blob":se&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof pe||ee.Headers&&s.headers instanceof ee.Headers)?(i=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){i.push(le(e)),o.setRequestHeader(e,ce(s.headers[e]))}),a.headers.forEach(function(e,t){-1===i.indexOf(t)&&o.setRequestHeader(t,e)})):a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),a.signal&&(a.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&a.signal.removeEventListener("abort",t)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})}function Ai(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Be.polyfill=!0,ee.fetch||(ee.fetch=Be,ee.Headers=pe,ee.Request=_e,ee.Response=Pe),self.fetch.bind(self);var Ie=function(e,t){return(Ie=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}))(e,t)};function Ne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Ie(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function Fe(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Oe(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,a=i.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function ze(e,t,i){if(i||2===arguments.length)for(var r,n=0,a=t.length;n<a;n++)!r&&n in t||((r=r||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function Re(e){return"function"==typeof e}function He(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 je=He(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 We(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}Ge.prototype.unsubscribe=function(){var e,t,i,r,n;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Fe(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Re(a))try{a()}catch(e){n=e instanceof je?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Fe(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{qe(u)}catch(e){n=null!=n?n:[],e instanceof je?n=ze(ze([],Oe(n)),Oe(e.errors)):n.push(e)}}}catch(e){i={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}}if(n)throw new je(n)}},Ge.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)qe(e);else{if(e instanceof Ge){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},Ge.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Ge.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Ge.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&We(t,e)},Ge.prototype.remove=function(e){var t=this._finalizers;t&&We(t,e),e instanceof Ge&&e._removeParent(this)},Ge.EMPTY=((t=new Ge).closed=!0,t);var Ue=Ge,Ye=Ue.EMPTY;function Ge(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ve(e){return e instanceof Ue||e&&"closed"in e&&Re(e.remove)&&Re(e.add)&&Re(e.unsubscribe)}function qe(e){Re(e)?e():e.unsubscribe()}var Ke=void 0,Ze=!1,Xe=!1,Qe={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var n=Qe.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,ze([e,t],Oe(i))):setTimeout.apply(void 0,ze([e,t],Oe(i)))},clearTimeout:function(e){var t=Qe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Je(){}var et=null;function tt(e){if(Ze){var t=!et;if(t&&(et={errorThrown:!1,error:null}),e(),t){var t=et,i=t.errorThrown;if(et=null,i)throw t.error}}else e()}Ne(at,it=Ue),at.create=function(e,t,i){return new ct(e,t,i)},at.prototype.next=function(e){this.isStopped||this._next(e)},at.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},at.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},at.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,it.prototype.unsubscribe.call(this),this.destination=null)},at.prototype._next=function(e){this.destination.next(e)},at.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},at.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var it,rt=at,nt=Function.prototype.bind;function at(e){var t=it.call(this)||this;return t.isStopped=!1,e?Ve(t.destination=e)&&e.add(t):t.destination=mt,t}function ot(e,t){return nt.call(e,t)}dt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){pt(e)}},dt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){pt(e)}else pt(e)},dt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){pt(e)}};var st,lt=dt,ct=(Ne(ut,st=rt),ut);function ut(e,t,i){var r=st.call(this)||this,i=Re(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=i?i:void 0}:r&&Xe?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&ot(e.next,t),error:e.error&&ot(e.error,t),complete:e.complete&&ot(e.complete,t)}):e;return r.destination=new lt(i),r}function dt(e){this.partialObserver=e}function pt(e){var t=e;Qe.setTimeout(function(){throw t})}var mt={closed:!0,next:Je,error:function(e){throw e},complete:Je},t="function"==typeof Symbol&&Symbol.observable||"@@observable";ft.prototype.lift=function(e){var t=new ft;return t.source=this,t.operator=e,t},ft.prototype.subscribe=function(e,t,i){var r,n=this,a=(r=e)&&r instanceof rt||r&&Re(r.next)&&Re(r.error)&&Re(r.complete)&&Ve(r)?e:new ct(e,t,i);return tt(function(){var e=n.operator,t=n.source;a.add(e?e.call(a,t):t?n._subscribe(a):n._trySubscribe(a))}),a},ft.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ft.prototype.forEach=function(r,e){var n=this;return new(e=gt(e))(function(e,t){var i=new ct({next:function(e){try{r(e)}catch(e){t(e),i.unsubscribe()}},error:t,complete:e});n.subscribe(i)})},ft.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},ft.prototype[t]=function(){return this},ft.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)},ft.prototype.toPromise=function(e){var r=this;return new(e=gt(e))(function(e,t){var i;r.subscribe(function(e){return i=e},function(e){return t(e)},function(){return e(i)})})},ft.create=function(e){return new ft(e)};var ht=ft;function ft(e){e&&(this._subscribe=e)}function gt(e){return null!=(e=null!=e?e:Ke)?e:Promise}var yt,vt,bt,wt=He(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),t=(Ne(Et,bt=ht),Et.prototype.lift=function(e){var t=new xt(this,this);return t.operator=e,t},Et.prototype._throwIfClosed=function(){if(this.closed)throw new wt},Et.prototype.next=function(n){var a=this;tt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var i=Fe(a.currentObservers),r=i.next();!r.done;r=i.next())r.value.next(n)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},Et.prototype.error=function(t){var i=this;tt(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)}})},Et.prototype.complete=function(){var t=this;tt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Et.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Et.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Et.prototype._trySubscribe=function(e){return this._throwIfClosed(),bt.prototype._trySubscribe.call(this,e)},Et.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Et.prototype._innerSubscribe=function(e){var t=this,i=this.hasError,r=this.isStopped,n=this.observers;return i||r?Ye:(this.currentObservers=null,n.push(e),new Ue(function(){t.currentObservers=null,We(n,e)}))},Et.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,i=this.thrownError,r=this.isStopped;t?e.error(i):r&&e.complete()},Et.prototype.asObservable=function(){var e=new ht;return e.source=this,e},Et.create=function(e,t){return new xt(e,t)},Et),xt=(Ne(Lt,vt=t),Lt.prototype.next=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.next)&&i.call(t,e)},Lt.prototype.error=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.error)&&i.call(t,e)},Lt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Lt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ye},Lt),_t={now:function(){return(_t.delegate||Date).now()},delegate:void 0},Ct=(Ne(Pt,yt=t),Pt.prototype.next=function(e){var t=this,i=t.isStopped,r=t._buffer,n=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;i||(r.push(e),n)||r.push(a.now()+t),this._trimBuffer(),yt.prototype.next.call(this,e)},Pt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,r=this._buffer.slice(),n=0;n<r.length&&!e.closed;n+=i?1:2)e.next(r[n]);return this._checkFinalizedStatuses(e),t},Pt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,i=this._buffer,r=this._infiniteTimeWindow,n=(r?1:2)*e;if(e<1/0&&n<i.length&&i.splice(0,i.length-n),!r){for(var a=t.now(),o=0,s=1;s<i.length&&i[s]<=a;s+=2)o=s;o&&i.splice(0,o+1)}},Pt);function Pt(e,t,i){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===i&&(i=_t);var r=yt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=i,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Lt(e,t){var i=vt.call(this)||this;return i.destination=e,i.source=t,i}function Et(){var e=bt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Tt=[],kt={},At=[];function St(r,n=ae){let a,o=new Set;function s(e){if(i(r,e)&&(r=e,a)){let e=!At.length;for(let e of o)e[1](),At.push(e,r);if(e){for(let e=0;e<At.length;e+=2)At[e][0](At[e+1]);At.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=ae){let i=[e,t];return o.add(i),1===o.size&&(a=n(s)||ae),e(r),()=>{o.delete(i),0===o.size&&a&&(a(),a=null)}}}}function Mt(e,s,t){let l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:St(t,t=>{let i=!1,r=[],n=0,a=ae,o=()=>{var e;n||(a(),e=s(l?r[0]:r,t),u?t(e):a=ue(e)?e:ae)},e=c.map((e,t)=>d(e,e=>{r[t]=e,n&=~(1<<t),i&&o()},()=>{n|=1<<t}));return i=!0,o(),function(){oi(e),a(),i=!1}}).subscribe}}function Dt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===$t);var t}var $t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Bt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?zt(Array.isArray(e)?[]:{},e,t):e}function It(e,t,i){return e.concat(t).map(function(e){return Bt(e,i)})}function Nt(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 Ft(e,t){try{return t in e}catch(e){return!1}}function Ot(r,n,a){var o={};return a.isMergeableObject(r)&&Nt(r).forEach(function(e){o[e]=Bt(r[e],a)}),Nt(n).forEach(function(e){var t,i;(!Ft(t=r,i=e)||Object.hasOwnProperty.call(t,i)&&Object.propertyIsEnumerable.call(t,i))&&(Ft(r,e)&&a.isMergeableObject(n[e])?o[e]=((t=a).customMerge&&"function"==typeof(t=t.customMerge(e))?t:zt)(r[e],n[e],a):o[e]=Bt(n[e],a))}),o}function zt(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||It,i.isMergeableObject=i.isMergeableObject||Dt,i.cloneUnlessOtherwiseSpecified=Bt;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):Ot(e,t,i):Bt(t,i)}zt.all=function(e,i){if(Array.isArray(e))return e.reduce(function(e,t){return zt(e,t,i)},{});throw new Error("first argument should be an array")};var Rt=zt,Ht=function(e,t){return(Ht=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 jt(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}Ht(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var f,y,Wt,g=function(){return(g=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Ut(e,t,i){if(i||2===arguments.length)for(var r,n=0,a=t.length;n<a;n++)!r&&n in t||((r=r||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function Yt(e){return e.type===y.literal}function Gt(e){return e.type===y.number}function Vt(e){return e.type===y.date}function qt(e){return e.type===y.time}function Kt(e){return e.type===y.select}function Zt(e){return e.type===y.plural}function Xt(e){return e.type===y.tag}function Qt(e){return e&&"object"==typeof e&&e.type===Wt.number}function Jt(e){return e&&"object"==typeof e&&e.type===Wt.dateTime}(t=f=f||{})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(t=y=y||{})[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",(t=Wt=Wt||{})[t.number=0]="number",t[t.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ei=/(?:[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 ti=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,ii=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ri=/^(@+)?(\+|#+)?[rs]?$/g,ni=/(\*)(0+)|(#+)(0+)|(0+)/g,ai=/^(0+)$/;function xi(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(ri,function(e,t,i){return"string"!=typeof i?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===i?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof i?i.length:0)),""}),r}function _i(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 Ci(e){return _i(e)||{}}function Pi(e){for(var o={},t=0,i=e;t<i.length;t++){var r,n=i[t];switch(n.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=n.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=g(g(g({},o),{notation:"scientific"}),n.options.reduce(function(e,t){return g(g({},e),Ci(t))},{}));continue;case"engineering":o=g(g(g({},o),{notation:"engineering"}),n.options.reduce(function(e,t){return g(g({},e),Ci(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(ni,function(e,t,i,r,n,a){if(t)o.minimumIntegerDigits=i.length;else{if(r&&n)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ai.test(n.stem))o.minimumIntegerDigits=n.stem.length;else if(ii.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(ii,function(e,t,i,r,n,a){return"*"===i?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:n&&a?(o.minimumFractionDigits=n.length,o.maximumFractionDigits=n.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=n.options[0];"w"===a?o=g(g({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=g(g({},o),xi(a)))}else ri.test(n.stem)?o=g(g({},o),xi(n.stem)):((a=_i(n.stem))&&(o=g(g({},o),a)),(r=(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)),!ai.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(n.stem))&&(o=g(g({},o),r)))}return o}var Li={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 Ei=new RegExp("^".concat(t.source,"*")),Ti=new RegExp("".concat(t.source,"*$"));function v(e,t){return{start:e,end:t}}var t=!!String.prototype.startsWith,ki=!!String.fromCodePoint,Si=!!Object.fromEntries,Mi=!!String.prototype.codePointAt,Di=!!String.prototype.trimStart,$i=!!String.prototype.trimEnd,Bi=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ii=!0;try{Ii="a"===(null==(ir=Ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ir[0])}catch(fa){Ii=!1}var Ni,Fi,Oi=t?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},zi=ki?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",n=e.length,a=0;a<n;){if(1114111<(i=e[a++]))throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},Ri=Si?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];t[n[0]]=n[1]}return t},Hi=Mi?function(e,t){return e.codePointAt(t)}:function(e,t){var i,r=e.length;if(!(t<0||r<=t))return(i=e.charCodeAt(t))<55296||56319<i||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536},ji=Di?function(e){return e.trimStart()}:function(e){return e.replace(Ei,"")},Wi=$i?function(e){return e.trimEnd()}:function(e){return e.replace(Ti,"")};function Ui(e,t){return new RegExp(e,t)}Fi=Ii?(Ni=Ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ni.lastIndex=t,null!=(t=Ni.exec(e)[1])?t:""}):function(e,t){for(var i,r=[];;){var n=Hi(e,t);if(void 0===n||Vi(n)||33<=(i=n)&&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;r.push(n),t+=65536<=n?2:1}return zi.apply(void 0,r)};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 r=[];!this.isEOF();){var n,a=this.char();if(123===a){if((n=this.parseArgument(e,i)).err)return n;r.push(n.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(f.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Gi(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;r.push(n.val)}else{a=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var i,r=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:v(r,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()||!Gi(this.char())?this.error(f.INVALID_TAG,v(e,this.clonePosition())):(i=this.clonePosition(),n!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:v(r,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,v(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,v(r,this.clonePosition()))):this.error(f.INVALID_TAG,v(r,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(),r="";;){var n=this.tryParseQuote(t);if(n)r+=n;else{n=this.tryParseUnquoted(e,t);if(n)r+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;r+=n}}}i=v(i,this.clonePosition());return{val:{type:y.literal,value:r,location:i},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Gi(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 zi.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(),zi(i))},a.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,v(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(f.MALFORMED_ARGUMENT,v(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(f.MALFORMED_ARGUMENT,v(i,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Fi(this.message,t),t=t+i.length;return this.bumpTo(t),{value:i,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,i,r){var n,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=Wi(d.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(m=v(r,this.clonePosition()),l&&Oi(null==l?void 0:l.style,"::",0)?(h=ji(l.style.slice(2)),"number"===o?(d=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?d:{val:{type:y.number,value:i,location:m,style:d.val},err:null}:0===h.length?this.error(f.EXPECT_DATE_TIME_SKELETON,m):(u=h,this.locale&&(u=((e,t)=>{for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if("j"===n){for(var a=0;r+1<e.length&&e.charAt(r+1)===n;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>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),(Li[t||""]||Li[i||""]||Li["".concat(i,"-001")]||Li["001"])[0]})(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)i+="a";for(;0<o--;)i=l+i}else i+="J"===n?"H":n}return i})(h,this.locale)),p={type:Wt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(ei,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.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":n.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":n.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":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.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":n.minute=["numeric","2-digit"][t-1];break;case"s":n.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":n.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""}),n):{}},{val:{type:"date"===o?y.date:y.time,value:i,location:m,style:p},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:i,location:m,style:null!=(h=null==l?void 0:l.style)?h:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,g({},u)));this.bumpSpace();var d,p=this.parseIdentifierIfPossible(),m=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),p=this.parseIdentifierIfPossible(),m=d.val}var h,l=this.tryParsePluralOrSelectOptions(e,o,t,p);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(h=v(r,this.clonePosition()),"select"===o?{val:{type:y.select,value:i,options:Ri(l.val),location:h},err:null}:{val:{type:y.plural,value:i,options:Ri(l.val),offset:m,pluralType:"plural"===o?"cardinal":"ordinal",location:h},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,v(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(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,r=e.split(ti).filter(function(e){return 0<e.length});i<r.length;i++){var n=r[i].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var a=n[0],n=n.slice(1),o=0,s=n;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:n})}return t})(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:Wt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Pi(i):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var n=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,i);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;a.push([s,{value:c.val,location:v(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(f.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var n=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;n=!0,a=10*a+(o-48),this.bump()}r=v(r,this.clonePosition());return n?Bi(a*=i)?{val:a,err:null}:this.error(t,r):this.error(e,r)},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=Hi(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(Oi(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()&&Vi(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 Yi=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 Gi(e){return 97<=e&&e<=122||65<=e&&e<=90}function Vi(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function qi(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var i,e=new Yi(e,t).parse();if(e.err)throw(i=SyntaxError(f[e.err.kind])).location=e.err.location,i.originalMessage=e.err.message,i;return null!=t&&t.captureLocation||function i(e){e.forEach(function(e){if(delete e.location,Kt(e)||Zt(e))for(var t in e.options)delete e.options[t].location,i(e.options[t].value);else Gt(e)&&Qt(e.style)||(Vt(e)||qt(e))&&Jt(e.style)?delete e.style.location:Xt(e)&&i(e.children)})}(e.val),e.val}function Ki(e,t){var i=t&&t.cache?t.cache:rr,r=t&&t.serializer?t.serializer:Ji;return(t&&t.strategy?t.strategy:function(e,t){return Qi(e,this,1===e.length?Zi:Xi,t.cache.create(),t.serializer)})(e,{cache:i,serializer:r})}function Zi(e,t,i,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:i(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function Xi(e,t,i){var r=Array.prototype.slice.call(arguments,3),i=i(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function Qi(e,t,i,r,n){return i.bind(t,e,r,n)}var Ji=function(){return JSON.stringify(arguments)};function er(){this.cache=Object.create(null)}er.prototype.get=function(e){return this.cache[e]},er.prototype.set=function(e,t){this.cache[e]=t};var tr,ir,rr={create:function(){return new er}},nr={variadic:function(e,t){return Qi(e,this,Xi,t.cache.create(),t.serializer)},monadic:function(e,t){return Qi(e,this,Zi,t.cache.create(),t.serializer)}};(ir=tr=tr||{}).MISSING_VALUE="MISSING_VALUE",ir.INVALID_VALUE="INVALID_VALUE",ir.MISSING_INTL_API="MISSING_INTL_API";jt(yr,cr=Error),yr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ar,or,sr,lr,cr,ur=yr,dr=(jt(gr,lr=ur),gr),pr=(jt(fr,sr=ur),fr),mr=(jt(hr,or=ur),hr);function hr(e,t){return or.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),tr.MISSING_VALUE,t)||this}function fr(e,t,i){return sr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),tr.INVALID_VALUE,i)||this}function gr(e,t,i,r){return lr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(i).join('", "'),'"'),tr.INVALID_VALUE,r)||this}function yr(e,t,i){e=cr.call(this,e)||this;return e.code=t,e.originalMessage=i,e}function vr(e,t,i,r,n,a,o){if(1===e.length&&Yt(e[0]))return[{type:ar.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Yt(u))s.push({type:ar.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:ar.literal,value:i.getNumberFormat(t).format(a)});else{var d=u.value;if(!(n&&d in n))throw new mr(d,o);d=n[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?ar.literal:ar.object,value:d});else if(Vt(u)){var p="string"==typeof u.style?r.date[u.style]:Jt(u.style)?u.style.parsedOptions:void 0;s.push({type:ar.literal,value:i.getDateTimeFormat(t,p).format(d)})}else if(qt(u))p="string"==typeof u.style?r.time[u.style]:Jt(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:ar.literal,value:i.getDateTimeFormat(t,p).format(d)});else if(Gt(u))(p="string"==typeof u.style?r.number[u.style]:Qt(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(d*=p.scale||1),s.push({type:ar.literal,value:i.getNumberFormat(t,p).format(d)});else{if(Xt(u)){var m=u.children,h=u.value,f=n[h];if("function"!=typeof f)throw new pr(h,"function",o);h=f(vr(m,t,i,r,n,a).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?ar.literal:ar.object,value:e}}))}if(Kt(u)){if(!(g=u.options[d]||u.options.other))throw new dr(u.value,d,Object.keys(u.options),o);s.push.apply(s,vr(g.value,t,i,r,n))}else if(Zt(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new ur('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',tr.MISSING_INTL_API,o);var f=i.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new dr(u.value,d,Object.keys(u.options),o);s.push.apply(s,vr(g.value,t,i,r,n,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===ar.literal&&t.type===ar.literal?i.value+=t.value:e.push(t),e},[])}function br(i){return{create:function(){return{get:function(e){return i[e]},set:function(e,t){i[e]=t}}}}}(t=ar=ar||{})[t.literal=0]="literal",t[t.object=1]="object";Object.defineProperty(xr,"defaultLocale",{get:function(){return xr.memoizedDefaultLocale||(xr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),xr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),xr.memoizedDefaultLocale=null,xr.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])},xr.__parse=qi,xr.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 wr=xr;function xr(e,t,i,r){var n,a,o=this;if(void 0===t&&(t=xr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===ar.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 vr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=xr.resolveLocale(t),"string"==typeof e){if(this.message=e,!xr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=xr.__parse(e,{ignoreTag:null==r?void 0:r.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=(n=xr.formats,(a=i)?Object.keys(n).reduce(function(e,t){var i,r;return e[t]=(i=n[t],(r=a[t])?g(g(g({},i||{}),r||{}),Object.keys(i).reduce(function(e,t){return e[t]=g(g({},i[t]),r[t]||{}),e},{})):i),e},g({},n)):n),this.formatters=r&&r.formatters||{getNumberFormat:Ki(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Ut([void 0],t,!1)))},{cache:br((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:nr.variadic}),getDateTimeFormat:Ki(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Ut([void 0],t,!1)))},{cache:br(t.dateTime),strategy:nr.variadic}),getPluralRules:Ki(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Ut([void 0],t,!1)))},{cache:br(t.pluralRules),strategy:nr.variadic})}}let _r={},Cr=(e,t,i)=>i&&(t in _r||(_r[t]={}),e in _r[t]||(_r[t][e]=i),i),Pr=(t,i)=>{if(null!=i){if(i in _r&&t in _r[i])return _r[i][t];var r=Yr(i);for(let e=0;e<r.length;e++){var n=((e,t)=>Tr(e)?e=((e,t)=>{if(null!=t){if(t in e)return e[t];var r=t.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}})(e=(e=>Lr[e]||null)(e),t):null)(r[e],t);if(n)return Cr(t,i,n)}}},Lr,Er=St({});function Tr(e){return e in Lr}function I(t,...i){delete _r[t],Er.update(e=>(e[t]=Rt.all([e[t]||{},...i]),e))}Mt([Er],([e])=>Object.keys(e)),Er.subscribe(e=>Lr=e);let kr={};function Ar(e){return kr[e]}function Sr(e){return null!=e&&Yr(e).some(e=>null==(e=Ar(e))?void 0:e.size)}function Mr(r,e){return Promise.all(e.map(e=>{return t=r,i=e,kr[t].delete(i),0===kr[t].size&&delete kr[t],e().then(e=>e.default||e);var t,i})).then(e=>I(r,...e))}let Dr={};function $r(e){var t;return Sr(e)?(t=Yr(e).map(e=>{var t=Ar(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Dr[e]=Promise.all(t.map(([e,t])=>Mr(e,t))).then(()=>{if(Sr(e))return $r(e);delete Dr[e]}),Dr[e]):e in Dr?Dr[e]:Promise.resolve()}let Br={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Ir(){return Br}let Nr=St(!1);var Fr=Object.defineProperty,ki=Object.defineProperties,Si=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Hr=(e,t,i)=>t in e?Fr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let jr,Wr=St(null);function Ur(e){return e.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function Yr(e,t=Br.fallbackLocale){e=Ur(e);return t?[...new Set([...e,...Ur(t)])]:e}function Gr(){return null!=jr?jr:void 0}Wr.subscribe(e=>{jr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});Mi=((e,t)=>{for(var i in t=t||{})zr.call(t,i)&&Hr(e,i,t[i]);if(Or)for(var i of Or(t))Rr.call(t,i)&&Hr(e,i,t[i]);return e})({},Wr);let ke=ki(Mi,Si({set:t=>{if(t&&function(e){if(null==e)return;const t=Yr(e);for(let e=0;e<t.length;e++){const i=t[e];if(Tr(i))return i}}(t)&&Sr(t)){const{loadingDelay:i}=Ir();let e;return"undefined"!=typeof window&&null!=Gr()&&i?e=window.setTimeout(()=>Nr.set(!0),i):Nr.set(!0),$r(t).then(()=>{Wr.set(t)}).finally(()=>{clearTimeout(e),Nr.set(!1)})}return Wr.set(t)}})),Vr=i=>{let r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=i(e)}};var qr=Object.defineProperty,Kr=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,Qr=(e,t,i)=>t in e?qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Jr=(e,t)=>{for(var i in t=t||{})Zr.call(t,i)&&Qr(e,i,t[i]);if(Kr)for(var i of Kr(t))Xr.call(t,i)&&Qr(e,i,t[i]);return e},en=(e,t)=>{var i={};for(r in e)Zr.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&Kr)for(var r of Kr(e))t.indexOf(r)<0&&Xr.call(e,r)&&(i[r]=e[r]);return i};let tn=(e,t)=>{var i=Br.formats;if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},rn=Vr(e=>{var{locale:t,format:i}=e,e=en(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(e=tn("number",i)),new Intl.NumberFormat(t,e)}),nn=Vr(e=>{var{locale:t,format:i}=e,e=en(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?e=tn("date",i):0===Object.keys(e).length&&(e=tn("date","short")),new Intl.DateTimeFormat(t,e)}),an=Vr(e=>{var{locale:t,format:i}=e,e=en(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?e=tn("time",i):0===Object.keys(e).length&&(e=tn("time","short")),new Intl.DateTimeFormat(t,e)}),on=Vr((e,t=Gr())=>new wr(e,t,Br.formats,{ignoreTag:Br.ignoreTag})),Ae=Mt([ke,Er],()=>(e,t={})=>{let i,r,n,a,o=t;"object"==typeof e&&(e=(o=e).id);var{values:s,locale:l=Gr(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Pr(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(a=null!=(n=null==(r=(i=Br).handleMissingMessage)?void 0:r.call(i,{locale:l,id:e,defaultValue:c}))?n:c)?a:e;if(!s)return u;let d=u;try{d=on(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d}),sn=(Mt([ke],()=>(e,t)=>((e={})=>{var{locale:t=Gr()}=e,e=en(e,["locale"]);return an(Jr({locale:t},e))})(t).format(e)),Mt([ke],()=>(e,t)=>((e={})=>{var{locale:t=Gr()}=e,e=en(e,["locale"]);return nn(Jr({locale:t},e))})(t).format(e)),Mt([ke],()=>(e,t)=>((e={})=>{var{locale:t=Gr()}=e,e=en(e,["locale"]);return rn(Jr({locale:t},e))})(t).format(e)),Mt([ke,Er],()=>(e,t=Gr())=>Pr(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==Tt.indexOf(e)&&(t=new Ct(t),kt[e]=t,Tt.push(e)),kt[e])},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),Se=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function ln(e,t){I(e,t)}let cn={en:{profileUpdateSuccess:"Profile updated!",timeoutSuccess:"Timeout active",selfExclusionSuccess:"Self exclusion active",accountClosureSuccess:"Account closed",limitsUpdateSuccess:"Limits updated",limitsDeleteSuccess:"Limits deleted",passwordChangedSuccess:"Password changed successfully",realityCheckSuccess:"Reality check options saved"},"zh-hk":{profileUpdateSuccess:"資料更新!",timeoutSuccess:"超時有效",selfExclusionSuccess:"自我排斥活躍",accountClosureSuccess:"賬戶關閉",limitsUpdateSuccess:"限制已更新",limitsDeleteSuccess:"已刪除限制",passwordChangedSuccess:"密碼修改成功",realityCheckSuccess:"現實檢查選項已保存"},fr:{profileUpdateSuccess:"Mise à jour du profil!",timeoutSuccess:"Délai d'attente actif",selfExclusionSuccess:"Auto exclusion active",accountClosureSuccess:"Compte fermé",limitsUpdateSuccess:"Limites des mises à jour",limitsDeleteSuccess:"Limites supprimées",passwordChangedSuccess:"Le mot de passe a été modifié avec succés",realityCheckSuccess:"Options de contrôle de la réalité sauvegardées"},ro:{profileUpdateSuccess:"Profil updatat!",timeoutSuccess:"Timeout activ",selfExclusionSuccess:"Auto-excludere activa",accountClosureSuccess:"Cont inchis",limitsUpdateSuccess:"Limite updatate",limitsDeleteSuccess:"Limite sterse",passwordChangedSuccess:"Parola schimbata cu success",realityCheckSuccess:"Optiunile de verificare de timp salvate"},es:{profileUpdateSuccess:"Perfil actualizado!",timeoutSuccess:"Pausa activa",selfExclusionSuccess:"Auto Exclusión activa.",accountClosureSuccess:"Cuenta cerrada",limitsUpdateSuccess:"Limites actualizados",limitsDeleteSuccess:"Limites delegados",passwordChangedSuccess:"Cambio de Contraseña satisfactorio",realityCheckSuccess:"Opciones de verificación de realidad guardadas"},pt:{profileUpdateSuccess:"Perfil atualizado!",timeoutSuccess:"Tempo Limite ativo",selfExclusionSuccess:"Autoexclusão ativa",accountClosureSuccess:"Conta encerrada",limitsUpdateSuccess:"Limites atualizados",limitsDeleteSuccess:"Limites excluídos",passwordChangedSuccess:"Senha alterada com sucesso",realityCheckSuccess:"Opções de verificação de realidade salvas"},hr:{profileUpdateSuccess:"Profil ažuriran!",timeoutSuccess:"Pauza je aktivna",selfExclusionSuccess:"Aktivno samoisključivanje",accountClosureSuccess:"Račun zatvoren",limitsUpdateSuccess:"Ograničenja ažurirana",limitsDeleteSuccess:"Ograničenja izbrisana",passwordChangedSuccess:"Lozinka je uspješno promijenjena",realityCheckSuccess:"Opcije provjere stvarnosti spremljene"},"pt-br":{profileUpdateSuccess:"Perfil aceito!",timeoutSuccess:"Pausa ativa",selfExclusionSuccess:"Autoexclusão ativa",accountClosureSuccess:"Conta encerrada",limitsUpdateSuccess:"Limites atualizados",limitsDeleteSuccess:"Limites apagados",PasswordChangedSuccess:"Senha alterada com sucesso",realityCheckSuccess:"Opções de verificação da realidade salvas"},"es-mx":{profileUpdateSuccess:"Perfil aceptado!",timeoutSuccess:"Pausa activa",selfExclusionSuccess:"Auto-exclusión activa",accountClosureSuccess:"Cuenta cerrada",limitsUpdateSuccess:"Límites actualizados",limitsDeleteSuccess:"Límites borrados",PasswordChangedSuccess:"Password cambiada con éxito",realityCheckSuccess:"Opciones de control de realidad guardadas"},tr:{profileUpdateSuccess:"Profil güncellendi!",timeoutSuccess:"Zaman aşımı etkin",selfExclusionSuccess:"Kendini dışlama etkin",accountClosureSuccess:"Hesap kapatıldı",limitsUpdateSuccess:"Sınırlar güncellendi",limitsDeleteSuccess:"Sınırlar silindi",passwordChangedSuccess:"parola başarıyla değiştirildi",realityCheckSuccess:"Gerçeklik kontrolü seçenekleri kaydedildi"}};function un(e,t){I(e,t)}let dn={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"}};function pn(e,t){I(e,t)}let mn={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"},hr:{logoutButton:"Odjava"},"pt-br":{logoutButton:"Fechar Sessão"},"es-mx":{logoutButton:"Cerrar sesión"}};function hn(i){let r,n,a,o,s,l,c=i[2]("logoutButton")+"";return{c(){r=di("div"),n=di("button"),a=di("span"),o=mi(c),gi(r,"class","GeneralLogout")},m(e,t){li(e,r,t),si(r,n),si(n,a),si(a,o),s||(l=fi(n,"click",i[13]),s=!0)},p(e,t){4&t&&c!==(c=e[2]("logoutButton")+"")&&yi(o,c)},d(e){e&&ci(r),s=!1,l()}}}function fn(a){let i,r,n,o,s,l,c,u,d,p,m,h=!a[3]&&(()=>{let i,r,n=a[2]("logoutButton")+"";return{c(){i=di("span"),r=mi(n),gi(i,"class","PlayerLogoutText")},m(e,t){li(e,i,t),si(i,r)},p(e,t){4&t&&n!==(n=e[2]("logoutButton")+"")&&yi(r,n)},d(e){e&&ci(i)}}})();return{c(){i=di("p"),r=di("span"),n=pi("svg"),o=pi("defs"),s=pi("style"),l=mi(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"),c=pi("path"),u=pi("path"),d=hi(),h&&h.c(),gi(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),gi(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),gi(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),gi(u,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),gi(n,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),gi(n,"data-name","Layer 1"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"viewBox","0 0 150 150"),k(r,"width",a[3]?a[4].matches?"50px":"24px":"20px"),gi(i,"class","PlayerAccountMenuItemBox "+(a[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(a[4].matches&&a[3]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){li(e,i,t),si(i,r),si(r,n),si(n,o),si(o,s),si(s,l),si(n,c),si(n,u),si(i,d),h&&h.m(i,null),p||(m=fi(i,"click",a[12]),p=!0)},p(e,t){e[3]||h.p(e,t)},d(e){e&&ci(i),h&&h.d(),p=!1,m()}}}function gn(i){let r;function n(e){return"PlayerAccountMenu"===e[0]?fn:hn}let a=n(i),o=a(i);return{c(){r=di("div"),o.c(),this.c=ae},m(e,t){li(e,r,t),o.m(r,null),i[14](r)},p(e,[t]){a===(a=n(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:ae,o:ae,d(e){e&&ci(r),o.d(),i[14](null)}}}function yn(t,e,i){let r;Le(t,Ae,e=>i(2,r=e));let n,{endpoint:a=""}=e,{session:o=""}=e,{buttonlocation:s=""}=e,{lang:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{translationurl:d=""}=e,p="",m=!1,h=window.navigator.userAgent,f="PC"!==Se(h);e=window.matchMedia("(min-width: 768px)");Object.keys(mn).forEach(e=>{pn(e,mn[e])});let g=()=>{var e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",o),fetch(a+"/v1/player/session/player",{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"},window.location.href)})};return t.$$set=e=>{"endpoint"in e&&i(6,a=e.endpoint),"session"in e&&i(7,o=e.session),"buttonlocation"in e&&i(0,s=e.buttonlocation),"lang"in e&&i(8,l=e.lang),"clientstyling"in e&&i(9,c=e.clientstyling),"clientstylingurl"in e&&i(10,u=e.clientstylingurl),"translationurl"in e&&i(11,d=e.translationurl)},t.$$.update=()=>{if(193&t.$$.dirty&&a&&o&&s&&(a||(p="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",m=!0,console.error(p)),o||(p="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",m=!0,console.error(p))),256&t.$$.dirty&&l&&(e=l,ke.set(e)),514&t.$$.dirty&&c&&n&&((e=document.createElement("style")).innerHTML=c,n.appendChild(e)),1026&t.$$.dirty&&u&&n){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e;2048&t.$$.dirty&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{pn(e,t[e])})}).catch(e=>{console.log(e)})},[s,n,r,f,e,g,a,o,l,c,u,d,()=>g(),()=>g(),function(e){Te[e?"unshift":"push"](()=>{n=e,i(1,n)})}]}function vn(e,t,i){e=e.slice();return e[37]=t[i],e}function bn(t){let i,r,n,a,o,s,l,c,u,d,p,m,h=t[10]&&(i=>{let r,n,a,o,s,l,c,u,d,p,m,h,f,g=i[9]("title")+"";return{c(){r=di("div"),n=pi("svg"),a=pi("defs"),o=pi("style"),s=mi(".aaa{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=pi("g"),c=pi("g"),u=pi("path"),d=hi(),p=di("h3"),m=mi(g),gi(u,"class","aaa"),gi(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),gi(u,"transform","translate(15 15) rotate(180)"),gi(c,"transform","translate(20 158)"),gi(l,"transform","translate(-20 -158)"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"width","15"),gi(n,"height","15"),gi(n,"viewBox","0 0 15 15"),gi(p,"class","PlayerAccountMenuCategoryTitle"),gi(r,"class","PlayerAccountMenuCategoryWrapper")},m(e,t){li(e,r,t),si(r,n),si(n,a),si(a,o),si(o,s),si(n,l),si(l,c),si(c,u),si(r,d),si(r,p),si(p,m),h||(f=[fi(n,"click",i[13]),fi(p,"click",i[13])],h=!0)},p(e,t){512&t[0]&&g!==(g=e[9]("title")+"")&&yi(m,g)},d(e){e&&ci(r),h=!1,oi(f)}}})(t),f=t[10]&&(e=>{let i,r;return{c(){i=di("div"),oe(r=di("general-logout"),"endpoint",e[1]),oe(r,"session",e[0]),oe(r,"buttonlocation","PlayerAccountMenu"),oe(r,"clientstyling",e[2]),oe(r,"clientstylingurl",e[3]),gi(i,"class","PlayerAccountLogOutArea")},m(e,t){li(e,i,t),si(i,r)},p(e,t){2&t[0]&&oe(r,"endpoint",e[1]),1&t[0]&&oe(r,"session",e[0]),4&t[0]&&oe(r,"clientstyling",e[2]),8&t[0]&&oe(r,"clientstylingurl",e[3])},d(e){e&&ci(i)}}})(t),g=t[5],y=[];for(let e=0;e<g.length;e+=1)y[e]=wn(vn(t,g,e));let v=!t[10]&&(e=>{let i,r;return{c(){i=di("div"),oe(r=di("general-logout"),"endpoint",e[1]),oe(r,"session",e[0]),oe(r,"buttonlocation","PlayerAccountMenu"),oe(r,"clientstyling",e[2]),oe(r,"clientstylingurl",e[3]),gi(i,"class","PlayerAccountLogOutArea")},m(e,t){li(e,i,t),si(i,r)},p(e,t){2&t[0]&&oe(r,"endpoint",e[1]),1&t[0]&&oe(r,"session",e[0]),4&t[0]&&oe(r,"clientstyling",e[2]),8&t[0]&&oe(r,"clientstylingurl",e[3])},d(e){e&&ci(i)}}})(t);return{c(){i=di("div"),r=di("div"),h&&h.c(),n=hi(),a=di("p"),o=mi(t[7]),s=hi(),l=di("p"),c=mi(t[8]),u=hi(),f&&f.c(),d=hi(),p=di("div");for(let e=0;e<y.length;e+=1)y[e].c();m=hi(),v&&v.c(),gi(a,"class","PlayerAccountMenuUser"),gi(l,"class","PlayerAccountMenuEmail"),gi(r,"class","PlayerAccountMenuHeader "+(t[10]?"PlayerAccountMenuHeaderMobile":"")),gi(p,"class","PlayerAccountMenuList"),gi(i,"class","PlayerAccountMenuContainer "+(t[10]?"PlayerAccountMobileContainer":"")+" "+(t[11].matches&&t[10]?"PlayerAccountTabletContainer":""))},m(e,t){li(e,i,t),si(i,r),h&&h.m(r,null),si(r,n),si(r,a),si(a,o),si(r,s),si(r,l),si(l,c),si(r,u),f&&f.m(r,null),si(i,d),si(i,p);for(let e=0;e<y.length;e+=1)y[e]&&y[e].m(p,null);si(i,m),v&&v.m(i,null)},p(t,i){if(t[10]&&h.p(t,i),128&i[0]&&yi(o,t[7]),256&i[0]&&yi(c,t[8]),t[10]&&f.p(t,i),5216&i[0]){let e;for(g=t[5],e=0;e<g.length;e+=1){var r=vn(t,g,e);y[e]?y[e].p(r,i):(y[e]=wn(r),y[e].c(),y[e].m(p,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[10]||v.p(t,i)},d(e){e&&ci(i),h&&h.d(),f&&f.d(),ui(y,e),v&&v.d()}}}function wn(i){let r,n,a,o,s,l,c,u,d,p,m,h=i[37].label+"";function f(){return i[22](i[37])}return{c(){r=di("div"),n=di("p"),a=di("img"),s=hi(),l=di("span"),c=mi(h),u=hi(),gi(a,"class","PlayerAccountMenuItemIcon "+(i[10]?"PlayerAccountMenuItemIconMobile":"")),x(a.src,o=i[37].img)||gi(a,"src",o),gi(l,"class","PlayerAccountMenuItemTitle"),gi(n,"class","PlayerAccountMenuItemWrapper"),gi(r,"class",d="PlayerAccountMenuItemBox "+(i[6]!==i[37].id||i[10]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){li(e,r,t),si(r,n),si(n,a),si(n,s),si(n,l),si(l,c),si(r,u),p||(m=fi(r,"click",f),p=!0)},p(e,t){i=e,32&t[0]&&!x(a.src,o=i[37].img)&&gi(a,"src",o),32&t[0]&&h!==(h=i[37].label+"")&&yi(c,h),96&t[0]&&d!==(d="PlayerAccountMenuItemBox "+(i[6]!==i[37].id||i[10]?"":"PlayerAccountMenuActiveItemBox"))&&gi(r,"class",d)},d(e){e&&ci(r),p=!1,m()}}}function xn(i){let r,n=bn(i);return{c(){r=di("div"),n.c(),this.c=ae},m(e,t){li(e,r,t),n.m(r,null),i[23](r)},p(e,t){n.p(e,t)},i:ae,o:ae,d(e){e&&ci(r),n.d(),i[23](null)}}}function _n(r,e,n){let t;Le(r,Ae,e=>n(9,t=e));let a,i,{endpoint:o=""}=e,{cmsendpoint:s=""}=e,{env:l=""}=e,{session:c=""}=e,{playerid:u=""}=e,{lang:d="en"}=e,{selecteditem:p=""}=e,{userroles:m=""}=e,{clientstyling:h=""}=e,{clientstylingurl:f=""}=e,{translationurl:g=""}=e,{activemenuitem:y=""}=e,v=[],b=window.navigator.userAgent,w="PC"!==Se(b),x="",_="";e=window.matchMedia("(min-width: 768px)");Object.keys(dn).forEach(e=>{un(e,dn[e])});let C=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":availableMenuItemsArray=e.data.accountMenuInfo;break;case"UserSessionID":n(0,c=e.data.session)}},P=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),n(6,i=e.id)},L=()=>{var e;n(6,i=null==(e=v.find(e=>e.path.includes(y)))?void 0:e.id)};return Ee(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)})),r.$$set=e=>{"endpoint"in e&&n(1,o=e.endpoint),"cmsendpoint"in e&&n(14,s=e.cmsendpoint),"env"in e&&n(15,l=e.env),"session"in e&&n(0,c=e.session),"playerid"in e&&n(16,u=e.playerid),"lang"in e&&n(17,d=e.lang),"selecteditem"in e&&n(18,p=e.selecteditem),"userroles"in e&&n(19,m=e.userroles),"clientstyling"in e&&n(2,h=e.clientstyling),"clientstylingurl"in e&&n(3,f=e.clientstylingurl),"translationurl"in e&&n(20,g=e.translationurl),"activemenuitem"in e&&n(21,y=e.activemenuitem)},r.$$.update=()=>{if(131072&r.$$.dirty[0]&&d&&(i=d,ke.set(i)),196611&r.$$.dirty[0]&&o&&c&&u&&d&&((i=new URL(`${o}/v1/player/${u}/profile`)).searchParams.append("userRoles",m),t={method:"GET",headers:{"X-SessionID":c}},fetch(i.href,t).then(e=>e.json()).then(e=>{n(7,x=e.username),n(8,_=e.email)},e=>{console.error(e)})),180224&r.$$.dirty[0]&&s&&d&&l&&((t=new URL(`${s}/${d}/profile-menu?env=`+l)).searchParams.append("device",(()=>{var e=Se(b);if(e)return"PC"===e?"dk":"mtWeb"})()),fetch(t.href).then(e=>e.json()).then(e=>{n(5,v=e),L()}).catch(e=>{console.error("Error getting menu items",e)})),2097152&r.$$.dirty[0]&&y&&L(),24&r.$$.dirty[0]&&f&&a){let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e,t,i;20&r.$$.dirty[0]&&h&&a&&((e=document.createElement("style")).innerHTML=h,a.appendChild(e)),1048576&r.$$.dirty[0]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{un(e,t[e])})}).catch(e=>{console.error(e)})},[c,o,h,f,a,v,i,x,_,t,w,e,P,()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},s,l,u,d,p,m,g,y,e=>P(e),function(e){Te[e?"unshift":"push"](()=>{a=e,n(4,a)})}]}function Cn(e,t,i){e=e.slice();return e[14]=t[i],e}function Pn(t){let n,a=t[1],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ln(Cn(t,a,e));return{c(){n=di("div");for(let e=0;e<o.length;e+=1)o[e].c();gi(n,"class","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":"")),gi(n,"part","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){li(e,n,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(n,null)},p(t,i){if(2&i){let e;for(a=t[1],e=0;e<a.length;e+=1){var r=Cn(t,a,e);o[e]?o[e].p(r,i):(o[e]=Ln(r),o[e].c(),o[e].m(n,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&ci(n),ui(o,e)}}}function Ln(e){let i,r,n,a,o,s,l,c,u,d,p,m=e[14].title+"",h=e[14].description+"";return{c(){i=di("div"),r=di("div"),n=di("img"),s=hi(),l=di("p"),c=mi(m),u=hi(),d=di("p"),p=hi(),gi(n,"class","PlayerAccountNotificationIcon"),x(n.src,a=e[14].icon)||gi(n,"src",a),gi(n,"alt",o=e[14].title),gi(l,"class","PlayerAccountNotificationTitle"),gi(r,"class","PlayerAccountNotificationBoxHeader"),gi(d,"class","PlayerAccountNotificationText"),gi(i,"class","PlayerAccountNotificationBox"),k(i,"background",e[14].backgroundColor)},m(e,t){li(e,i,t),si(i,r),si(r,n),si(r,s),si(r,l),si(l,c),si(i,u),si(i,d),d.innerHTML=h,si(i,p)},p(e,t){2&t&&!x(n.src,a=e[14].icon)&&gi(n,"src",a),2&t&&o!==(o=e[14].title)&&gi(n,"alt",o),2&t&&m!==(m=e[14].title+"")&&yi(c,m),2&t&&h!==(h=e[14].description+"")&&(d.innerHTML=h),2&t&&k(i,"background",e[14].backgroundColor)},d(e){e&&ci(i)}}}function En(i){let r;function n(e){if(e[1].length)return Pn}let a=n(i),o=a&&a(i);return{c(){r=di("div"),o&&o.c(),this.c=ae},m(e,t){li(e,r,t),o&&o.m(r,null),i[7](r)},p(e,[t]){a===(a=n(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(r,null)))},i:ae,o:ae,d(e){e&&ci(r),o&&o.d(),i[7](null)}}}function Tn(t,e,i){let r,{customnotif:n=""}=e,{clientstyling:a=""}=e,{clientstylingurl:o=""}=e,s=window.navigator.userAgent,l="PC"!==Se(s),c=[],u=[],d=window.matchMedia("(min-width: 768px)"),p=e=>{e.data&&"NotificationsDetails"===e.data.type&&(i(1,c=e.data.notificationsInfo),c.forEach(e=>{u.length&&(e.backgroundColor=u[0],u.shift())}))},m=()=>{n.replace(" ",""),u=n.split(",")};return Ee(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)})),t.$$set=e=>{"customnotif"in e&&i(4,n=e.customnotif),"clientstyling"in e&&i(5,a=e.clientstyling),"clientstylingurl"in e&&i(6,o=e.clientstylingurl)},t.$$.update=()=>{if(16&t.$$.dirty&&n&&m(),2&t.$$.dirty&&c&&m(),65&t.$$.dirty&&o&&r){let e=new URL(o),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;33&t.$$.dirty&&a&&r&&((e=document.createElement("style")).innerHTML=a,r.appendChild(e))},[r,c,l,d,n,a,o,function(e){Te[e?"unshift":"push"](()=>{r=e,i(0,r)})}]}function kn(e,t){I(e,t)}customElements.get("general-logout")||customElements.define("general-logout",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},yn,gn,i,{endpoint:6,session:7,buttonlocation:0,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","buttonlocation","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),p()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),p()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),p()}}),customElements.get("player-account-menu-nd")||customElements.define("player-account-menu-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.PlayerAccountMenuContainer{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px;color:var(--emfe-w-pam-color-secondary, var(--emfe-w-color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emfe-w-color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E));border:2px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E));border:2px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emfe-w-color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:16px;line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emfe-w-pam-color-secondary, var(--emfe-w-color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}',this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},_n,xn,i,{endpoint:1,cmsendpoint:14,env:15,session:0,playerid:16,lang:17,selecteditem:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21},null,[-1,-1]),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","cmsendpoint","env","session","playerid","lang","selecteditem","userroles","clientstyling","clientstylingurl","translationurl","activemenuitem"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),p()}get cmsendpoint(){return this.$$.ctx[14]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),p()}get env(){return this.$$.ctx[15]}set env(e){this.$$set({env:e}),p()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),p()}get playerid(){return this.$$.ctx[16]}set playerid(e){this.$$set({playerid:e}),p()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),p()}get selecteditem(){return this.$$.ctx[18]}set selecteditem(e){this.$$set({selecteditem:e}),p()}get userroles(){return this.$$.ctx[19]}set userroles(e){this.$$set({userroles:e}),p()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),p()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(e){this.$$set({activemenuitem:e}),p()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}',this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Tn,En,i,{customnotif:4,clientstyling:5,clientstylingurl:6},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["customnotif","clientstyling","clientstylingurl"]}get customnotif(){return this.$$.ctx[4]}set customnotif(e){this.$$set({customnotif:e}),p()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}});let An={en:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",cooloff24Text:"24 hours",cooloff7Text:"7 days",cooloff30Text:"30 days",cooloff3Text:"3 months"},"zh-hk":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",cooloff24Text:"24小時",cooloff7Text:"7天",cooloff30Text:"30天",cooloff3Text:"3個月"},fr:{titleTimeout:"Délai d'attente",timeoutTextFirst:"{operatorname} vous offre un moyen facile de faire une pause dans les jeux.vous pouvez demander le blocage automatique de votre compte pendant 24 heures . Pendant le blocage temporaire ,vous ne pourrez pas accéder à votre compte.",timeoutTextSecondary:'Veuillez noter que l\'"installation du temps mort" ne remplace en aucun cas "l\'auto exclusion". Si vous pensez avoir un problème de dépendance au jeu,veuillez cliquer sur le lien "jeux responsable" et utiliser le "service d\'auto exclusion" ou nous contacter dès que possible.',save:"Savez",cooloff24Text:"24 heures",cooloff7Text:"7 jours",cooloff30Text:"30 jours",cooloff3Text:"3 mois"},ro:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} îți asigură o cale ușoară de a lua o pauză de la jocuri. Poți solicita o blocare automată a contului tău pentru 24 de ore. În timpul restricției temporare, nu vei putea accesa contul.",timeoutTextSecondary:"Te rugăm să reții că „Facilitatea de time-out” nu înlocuiește în niciun caz „Auto-excluderea”. Dacă crezi că te confrunți cu o problemă de dependență de jocuri de noroc, te rugăm să accesezi secțiunea de „Joc responsabil” și să utilizezi „Serviciul de auto-excludere” sau să ne contactezi cât mai curând posibil.",save:"Salvează",cooloff24Text:"24 ore",cooloff7Text:"7 zile",cooloff30Text:"30 zile",cooloff3Text:"3 luni"},es:{titleTimeout:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",cooloff24Text:"24 horas",cooloff7Text:"7 días",cooloff30Text:"30 días",cooloff3Text:"3 meses"},pt:{titleTimeout:"Tempo esgotado",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de fazer uma pausa nos jogos. Você pode solicitar o bloqueio automático de sua conta por 24 horas. Durante a restrição temporária, você não poderá acessar sua conta.",timeoutTextSecondary:'Observe que a “Facilidade de tempo limite” não substitui em nenhum caso a “Autoexclusão”. Se você acha que está enfrentando um problema de vício em jogos de azar, entre no link em "Jogo Responsável" e use o "Serviço de autoexclusão" ou entre em contato conosco o mais rápido possível.',save:"Guardar",cooloff24Text:"24 horas",cooloff7Text:"7 dias",cooloff30Text:"30 dias30 dias",cooloff3Text:"3 meses"},hr:{titleTimeout:"Samoisključenje",timeoutTextFirst:'Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Potvrdi".',timeoutTextSecondary:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja E-mail: {supportemail}",save:"Spremi",cooloff24Text:"24 sata",cooloff7Text:"7 dana",cooloff30Text:"30 dana",cooloff3Text:"3 mjeseca"},"pt-br":{titleTimeout:"Tempo fora",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de pausar o jogo. Você pode solicitar o bloqueio automático da conta por 24 horas. Durante a restrição temporária,no tendrá acceso a su cuenta",timeoutTextSecondary:"Observe que o tempo limite não substitui a autoexclusão. Se você acha que tem um problema de dependência de jogo, por favor acesse o link em “Jogo Responsável” e utilize o “Serviço de Autoexclusão” ou entre em contate-nos inmediatamente",save:"Manter",cooloff24Text:"24 horas",cooloff7Text:"7 dias",cooloff30Text:"30 dias",cooloff3Text:"3 meses"},"es-mx":{titleTimeout:"Tiempo Fuera",timeoutTextFirst:"{operatorname} le ofrece una forma fácil de tomar pausa del juego. Puede solicitar bloqueo automático de la cuenta por 24 hrs. Durante la restriccion temporal,no tendrá acceso a su cuenta",timeoutTextSecondary:'Por favor tenga en cuenta que el tiemo-fuera no reemplaza la auto-exclusión. Si usted cree que tiene un problema de adicción al juego," por favor acceda a la liga bajo ""Juego Responsable"" y utilice el ""servicio de Auto-exclusión"" o contáctenos en cuanto antes. "',save:"Guardar",cooloff24Text:"24 horas",cooloff7Text:"7 días",cooloff30Text:"30 días",cooloff3Text:"3 meses"},tr:{titleTimeout:"Zaman aşımı",timeoutTextFirst:"{operatorname} size oyunlara ara vermeniz için kolay bir yol sağlar. Hesabınızın 24 saat süreyle otomatik olarak engellenmesini talep edebilirsiniz. Geçici kısıtlama sırasında Hesabınıza erişemeyeceksiniz.",timeoutTextSecondary:"Lütfen 'Mola olanağının' hiçbir durumda 'Kendini ihraç etmenin' yerine geçmediğini unutmayın. Kumar bağımlılığı sorunu yaşadığınızı düşünüyorsanız lütfen Sorumlu Oyun altındaki bağlantıya girin ve 'Kendini men etme hizmetini' kullanın veya en kısa sürede bizimle iletişime geçin.",save:"Kaydetmek",cooloff24Text:"24 saat",cooloff7Text:"7 gün",cooloff30Text:"30 gün",cooloff3Text:"3 ay"}};function Sn(e,t,i){e=e.slice();return e[22]=t[i].value,e[23]=t[i].text,e}function Mn(e){let i,r,t=e[23]+"";return{c(){i=di("option"),r=mi(t),i.__value=e[22],i.value=i.__value},m(e,t){li(e,i,t),si(i,r)},p:ae,d(e){e&&ci(i)}}}function Dn(i){let r,n,a,o,s,l,c,u,d,p,m,h,f,g,y,v,b,w,x,_,C,e=i[4]("titleTimeout")+"",P=i[4]("timeoutTextFirst",{values:{operatorname:i[0]}})+"",L=i[4]("timeoutTextSecondary",{values:{supportemail:i[1]}})+"",E=i[4]("save")+"",T=i[5]&&(i=>{let r,n,a,o,s,l,c,u,d,p,m,h,f,g=i[4]("titleTimeout")+"";return{c(){r=di("div"),n=pi("svg"),a=pi("defs"),o=pi("style"),s=mi(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=pi("g"),c=pi("g"),u=pi("path"),d=hi(),p=di("h2"),m=mi(g),gi(u,"class","aaa"),gi(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),gi(u,"transform","translate(15 15) rotate(180)"),gi(c,"transform","translate(20 158)"),gi(l,"transform","translate(-20 -158)"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"width","15"),gi(n,"height","15"),gi(n,"viewBox","0 0 15 15"),gi(p,"class","TimeoutTitleMobile"),gi(p,"part","TimeoutTitleMobile"),gi(r,"class","MenuReturnButton"),gi(r,"part","MenuReturnButton")},m(e,t){li(e,r,t),si(r,n),si(n,a),si(a,o),si(o,s),si(n,l),si(l,c),si(c,u),si(r,d),si(r,p),si(p,m),h||(f=fi(r,"click",i[13]),h=!0)},p(e,t){16&t&&g!==(g=e[4]("titleTimeout")+"")&&yi(m,g)},d(e){e&&ci(r),h=!1,f()}}})(i),k=i[6],A=[];for(let e=0;e<k.length;e+=1)A[e]=Mn(Sn(i,k,e));return{c(){r=di("div"),n=di("form"),T&&T.c(),a=hi(),o=di("h2"),s=mi(e),l=hi(),c=di("div"),u=di("p"),d=mi(P),p=hi(),m=di("p"),h=mi(L),f=hi(),g=di("div"),y=di("select");for(let e=0;e<A.length;e+=1)A[e].c();v=hi(),b=di("div"),w=di("button"),x=mi(E),this.c=ae,gi(o,"class","TimeoutTitle "+(i[5]?"TimeoutTitleNone":"")),gi(c,"class","TimeoutDescription "+(i[5]?"TimeoutDescriptionMobile":"")),gi(y,"class","TimeoutSelect "+(i[5]?"TimeoutSelectMobile":"")),void 0===i[3]&&wi(()=>i[14].call(y)),gi(g,"class","TimeoutSelectWrapper"),gi(w,"class","TimeoutSave"),gi(b,"class","TimeoutActionButtons "+(i[5]?"TimeoutActionButtonsMobile":"")),gi(n,"class","TimeoutWrapper "+(i[5]?"TimeoutWrapperMobile":""))},m(e,t){li(e,r,t),si(r,n),T&&T.m(n,null),si(n,a),si(n,o),si(o,s),si(n,l),si(n,c),si(c,u),si(u,d),si(c,p),si(c,m),si(m,h),si(n,f),si(n,g),si(g,y);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(y,null);bi(y,i[3],!0),si(n,v),si(n,b),si(b,w),si(w,x),i[16](r),_||(C=[fi(y,"change",i[14]),fi(w,"click",i[15])],_=!0)},p(t,[i]){if(t[5]&&T.p(t,i),16&i&&e!==(e=t[4]("titleTimeout")+"")&&yi(s,e),17&i&&P!==(P=t[4]("timeoutTextFirst",{values:{operatorname:t[0]}})+"")&&yi(d,P),18&i&&L!==(L=t[4]("timeoutTextSecondary",{values:{supportemail:t[1]}})+"")&&yi(h,L),64&i){let e;for(k=t[6],e=0;e<k.length;e+=1){var r=Sn(t,k,e);A[e]?A[e].p(r,i):(A[e]=Mn(r),A[e].c(),A[e].m(y,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=k.length}72&i&&bi(y,t[3]),16&i&&E!==(E=t[4]("save")+"")&&yi(x,E)},i:ae,o:ae,d(e){e&&ci(r),T&&T.d(),ui(A,e),i[16](null),_=!1,oi(C)}}}function $n(t,e,i){let r;Le(t,Ae,e=>i(4,r=e));let n,{operator:a="Everymatrix"}=e,{lang:o="en"}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{translationurl:c=""}=e,{supportemail:u=""}=e,d=window.navigator.userAgent,p="PC"!==Se(d),m=(Object.keys(An).forEach(e=>{kn(e,An[e])}),[{value:"CoolOffFor24Hours",text:r("cooloff24Text")},{value:"CoolOffFor7Days",text:r("cooloff7Text")},{value:"CoolOffFor30Days",text:r("cooloff30Text")},{value:"CoolOffFor3Months",text:r("cooloff3Text")}]),h=m[0].value,f=e=>{e.preventDefault(),window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:h},window.location.href)},g=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:p},window.location.href)};return t.$$set=e=>{"operator"in e&&i(0,a=e.operator),"lang"in e&&i(9,o=e.lang),"clientstyling"in e&&i(10,s=e.clientstyling),"clientstylingurl"in e&&i(11,l=e.clientstylingurl),"translationurl"in e&&i(12,c=e.translationurl),"supportemail"in e&&i(1,u=e.supportemail)},t.$$.update=()=>{if(512&t.$$.dirty&&o&&(e=o,ke.set(e)),2052&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;1028&t.$$.dirty&&s&&n&&((e=document.createElement("style")).innerHTML=s,n.appendChild(e)),4096&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)})},[a,u,n,h,r,p,m,f,g,o,s,l,c,()=>g(),function(){h=xe(this),i(3,h),i(6,m)},e=>f(e),function(e){Te[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".TimeoutWrapper{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.TimeoutTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emfe-w-color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :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))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{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));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}",this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},$n,Dn,i,{operator:0,lang:9,clientstyling:10,clientstylingurl:11,translationurl:12,supportemail:1},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["operator","lang","clientstyling","clientstylingurl","translationurl","supportemail"]}get operator(){return this.$$.ctx[0]}set operator(e){this.$$set({operator:e}),p()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),p()}get supportemail(){return this.$$.ctx[1]}set supportemail(e){this.$$set({supportemail:e}),p()}});In=Bn={path:void 0,exports:{},require:function(e,t){return Ai(null==t&&Bn.path)}},Bn.exports,In.exports=(()=>{var N;function h(){return N.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function O(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function z(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function R(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var i=[],r=e.length,n=0;n<r;++n)i.push(t(e[n],n));return i}function j(e,t){for(var i in t)f(t,i)&&(e[i]=t[i]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,i,r){return Dt(e,t,i,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function W(e){var t,i,r=e._d&&!isNaN(e._d.getTime());return r&&(t=g(e),i=Y.call(t.parsedDateParts,function(e){return null!=e}),r=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)&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function U(e){var t=c(NaN);return null!=e?j(g(t),e):g(t).userInvalidated=!0,t}var Y=Array.prototype.some||function(e){for(var t=Object(this),i=t.length>>>0,r=0;r<i;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},G=h.momentProperties=[],V=!1;function q(e,t){var i,r,n,a=G.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=g(t)),s(t._locale)||(e._locale=t._locale),0<a)for(i=0;i<a;i++)s(n=t[r=G[i]])||(e[r]=n);return e}function K(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,h.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function Z(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,a),s){for(var e,t,i=[],r=arguments.length,n=0;n<r;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];i.push(e)}Z(a+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var X={};function Q(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),X[e]||(Z(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function J(e,t){var i,r=j({},e);for(i in t)f(t,i)&&(F(e[i])&&F(t[i])?(r[i]={},j(r[i],e[i]),j(r[i],t[i])):null!=t[i]?r[i]=t[i]:delete r[i]);for(i in e)f(e,i)&&!f(t,i)&&F(e[i])&&(r[i]=j({},r[i]));return r}function ee(e){null!=e&&this.set(e)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var te=Object.keys||function(e){var t,i=[];for(t in e)f(e,t)&&i.push(t);return i};function a(e,t,i){var r=""+Math.abs(e);return(0<=e?i?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},ae={};function r(e,t,i,r){var n="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=n),t&&(ae[t[0]]=function(){return a(n.apply(this,arguments),t[1],t[2])}),i&&(ae[i]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ne[t]=ne[t]||(r=>{for(var e,n=r.match(ie),t=0,a=n.length;t<a;t++)ae[n[t]]?n[t]=ae[n[t]]:n[t]=(e=n[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",i=0;i<a;i++)t+=u(n[i])?n[i].call(e,r):n[i];return t}})(t),ne[t](e)):e.localeData().invalidDate()}function se(e,t){var i=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=i&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--i;return e}var le={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,i,r={};for(i in e)f(e,i)&&(t=d(i))&&(r[t]=e[i]);return r}var ue={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},de=/\d/,t=/\d\d/,pe=/\d{3}/,me=/\d{4}/,he=/[+-]?\d{6}/,i=/\d\d?/,fe=/\d\d\d\d?/,ge=/\d\d\d\d\d\d?/,ye=/\d{1,3}/,ve=/\d{1,4}/,be=/[+-]?\d{1,6}/,we=/\d+/,xe=/[+-]?\d+/,_e=/Z|[+-]\d\d:?\d\d/gi,Ce=/Z|[+-]\d\d(?::?\d\d)?/gi,n=/[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,p=/^[1-9]\d?/,m=/^([1-9]\d|\d)/;function y(e,i,r){Le[e]=u(i)?i:function(e,t){return e&&r?r:i}}function Pe(e,t){return f(Le,e)?Le[e](t._strict,t._locale):new RegExp(v(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,r,n){return t||i||r||n})))}function v(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?b(e):t}var Le={},Ee={};function x(e,i){var t,r,n=i;for("string"==typeof e&&(e=[e]),z(i)&&(n=function(e,t){t[i]=w(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=n}function Te(e,n){x(e,function(e,t,i,r){i._w=i._w||{},n(e,i._w,i,r)})}function ke(e){return e%4==0&&e%100!=0||e%400==0}var _=0,C=1,P=2,L=3,E=4,T=5,Ae=6,Se=7,Me=8;function De(e){return ke(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),y("Y",xe),y("YY",i,t),y("YYYY",ve,me),y("YYYYY",be,he),y("YYYYYY",be,he),x(["YYYYY","YYYYYY"],_),x("YYYY",function(e,t){t[_]=2===e.length?h.parseTwoDigitYear(e):w(e)}),x("YY",function(e,t){t[_]=h.parseTwoDigitYear(e)}),x("Y",function(e,t){t[_]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return w(e)+(68<w(e)?1900:2e3)};var k,$e=Be("FullYear",!0);function Be(t,i){return function(e){return null!=e?(Ne(this,t,e),h.updateOffset(this,i),this):Ie(this,t)}}function Ie(e,t){if(!e.isValid())return NaN;var i=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return r?i.getUTCSeconds():i.getSeconds();case"Minutes":return r?i.getUTCMinutes():i.getMinutes();case"Hours":return r?i.getUTCHours():i.getHours();case"Date":return r?i.getUTCDate():i.getDate();case"Day":return r?i.getUTCDay():i.getDay();case"Month":return r?i.getUTCMonth():i.getMonth();case"FullYear":return r?i.getUTCFullYear():i.getFullYear();default:return NaN}}function Ne(e,t,i){var r,n,a;if(e.isValid()&&!isNaN(i)){switch(r=e._d,n=e._isUTC,t){case"Milliseconds":return n?r.setUTCMilliseconds(i):r.setMilliseconds(i);case"Seconds":return n?r.setUTCSeconds(i):r.setSeconds(i);case"Minutes":return n?r.setUTCMinutes(i):r.setMinutes(i);case"Hours":return n?r.setUTCHours(i):r.setHours(i);case"Date":return n?r.setUTCDate(i):r.setDate(i);case"FullYear":break;default:return}t=i,a=e.month(),e=29!==(e=e.date())||1!==a||ke(t)?e:28,n?r.setUTCFullYear(t,a,e):r.setFullYear(t,a,e)}}function Fe(e,t){var i;return isNaN(e)||isNaN(t)?NaN:(i=(t%(i=12)+i)%i,e+=(t-i)/12,1==i?ke(e)?29:28:31-i%7%2)}k=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),y("M",i,p),y("MM",i,t),y("MMM",function(e,t){return t.monthsShortRegex(e)}),y("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[C]=w(e)-1}),x(["MMM","MMMM"],function(e,t,i,r){r=i._locale.monthsParse(e,r,i._strict);null!=r?t[C]=r:g(i).invalidMonth=e});var Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ze="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,He=n,je=n;function We(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!z(t=e.localeData().monthsParse(t)))return;var i=(i=e.date())<29?i:Math.min(i,Fe(e.year(),t));e._isUTC?e._d.setUTCMonth(t,i):e._d.setMonth(t,i)}}function Ue(e){return null!=e?(We(this,e),h.updateOffset(this,!0),this):Ie(this,"Month")}function Ye(){function e(e,t){return t.length-e.length}for(var t,i,r=[],n=[],a=[],o=0;o<12;o++)i=c([2e3,o]),t=v(this.monthsShort(i,"")),i=v(this.months(i,"")),r.push(t),n.push(i),a.push(i),a.push(t);r.sort(e),n.sort(e),a.sort(e),this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ge(e,t,i,r,n,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,i,r,n,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,i,r,n,a,o),s}function Ve(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function qe(e,t,i){i=7+t-i;return-(7+Ve(e,0,i).getUTCDay()-t)%7+i-1}function Ke(e,t,i,r,n){var a,t=1+7*(t-1)+(7+i-r)%7+qe(e,r,n),i=t<=0?De(a=e-1)+t:t>De(e)?(a=e+1,t-De(e)):(a=e,t);return{year:a,dayOfYear:i}}function Ze(e,t,i){var r,n,a=qe(e.year(),t,i),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+A(n=e.year()-1,t,i):a>A(e.year(),t,i)?(r=a-A(e.year(),t,i),n=e.year()+1):(n=e.year(),r=a),{week:r,year:n}}function A(e,t,i){var r=qe(e,t,i),t=qe(e+1,t,i);return(De(e)-r+t)/7}function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),y("w",i,p),y("ww",i,t),y("W",i,p),y("WW",i,t),Te(["w","ww","W","WW"],function(e,t,i,r){t[r.substr(0,1)]=w(e)}),r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),y("d",i),y("e",i),y("E",i),y("dd",function(e,t){return t.weekdaysMinRegex(e)}),y("ddd",function(e,t){return t.weekdaysShortRegex(e)}),y("dddd",function(e,t){return t.weekdaysRegex(e)}),Te(["dd","ddd","dddd"],function(e,t,i,r){r=i._locale.weekdaysParse(e,r,i._strict);null!=r?t.d=r:g(i).invalidWeekday=e}),Te(["d","e","E"],function(e,t,i,r){t[r]=w(e)});var Qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tt=n,it=n,rt=n;function nt(){function e(e,t){return t.length-e.length}for(var t,i,r,n=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=v(this.weekdaysMin(r,"")),i=v(this.weekdaysShort(r,"")),r=v(this.weekdays(r,"")),n.push(t),a.push(i),o.push(r),s.push(t),s.push(i),s.push(r);n.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function at(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,at),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+at.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+at.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),ot("a",!0),ot("A",!1),y("a",st),y("A",st),y("H",i,m),y("h",i,p),y("k",i,p),y("HH",i,t),y("hh",i,t),y("kk",i,t),y("hmm",fe),y("hmmss",ge),y("Hmm",fe),y("Hmmss",ge),x(["H","HH"],L),x(["k","kk"],function(e,t,i){e=w(e);t[L]=24===e?0:e}),x(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),x(["h","hh"],function(e,t,i){t[L]=w(e),g(i).bigHour=!0}),x("hmm",function(e,t,i){var r=e.length-2;t[L]=w(e.substr(0,r)),t[E]=w(e.substr(r)),g(i).bigHour=!0}),x("hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[L]=w(e.substr(0,r)),t[E]=w(e.substr(r,2)),t[T]=w(e.substr(n)),g(i).bigHour=!0}),x("Hmm",function(e,t,i){var r=e.length-2;t[L]=w(e.substr(0,r)),t[E]=w(e.substr(r))}),x("Hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[L]=w(e.substr(0,r)),t[E]=w(e.substr(r,2)),t[T]=w(e.substr(n))}),n=Be("Hours",!0);var lt,ct={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:Oe,monthsShort:ze,week:{dow:0,doy:6},weekdays:Qe,weekdaysMin:et,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},S={},ut={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function pt(e){for(var t,i,r,n,a=0;a<e.length;){for(t=(n=dt(e[a]).split("-")).length,i=(i=dt(e[a+1]))?i.split("-"):null;0<t;){if(r=mt(n.slice(0,t).join("-")))return r;if(i&&i.length>=t&&((e,t)=>{for(var i=Math.min(e.length,t.length),r=0;r<i;r+=1)if(e[r]!==t[r])return r;return i})(n,i)>=t-1)break;t--}a++}return lt}function mt(t){var e,i;if(void 0===S[t]&&In&&In.exports&&(i=t)&&i.match("^[^/\\\\]*$"))try{e=lt._abbr,Ai(),ht(e)}catch(e){S[t]=null}return S[t]}function ht(e,t){return e&&((t=s(t)?M(e):ft(e,t))?lt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function ft(e,t){if(null===t)return delete S[e],null;var i,r=ct;if(t.abbr=e,null!=S[e])Q("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."),r=S[e]._config;else if(null!=t.parentLocale)if(null!=S[t.parentLocale])r=S[t.parentLocale]._config;else{if(null==(i=mt(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;r=i._config}return S[e]=new ee(J(r,t)),ut[e]&&ut[e].forEach(function(e){ft(e.name,e.config)}),ht(e),S[e]}function M(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return lt;if(!o(e)){if(t=mt(e))return t;e=[e]}return pt(e)}function gt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[C]<0||11<t[C]?C:t[P]<1||t[P]>Fe(t[_],t[C])?P:t[L]<0||24<t[L]||24===t[L]&&(0!==t[E]||0!==t[T]||0!==t[Ae])?L:t[E]<0||59<t[E]?E:t[T]<0||59<t[T]?T:t[Ae]<0||999<t[Ae]?Ae:-1,g(e)._overflowDayOfYear&&(t<_||P<t)&&(t=P),g(e)._overflowWeeks&&-1===t&&(t=Se),g(e)._overflowWeekday&&-1===t&&(t=Me),g(e).overflow=t),e}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["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]],xt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((-?\d+)/i,Ct=/^(?:(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}))$/,Pt={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,r,n,a,o,s=e._i,l=yt.exec(s)||vt.exec(s),s=wt.length,c=xt.length;if(l){for(g(e).iso=!0,t=0,i=s;t<i;t++)if(wt[t][1].exec(l[1])){n=wt[t][0],r=!1!==wt[t][2];break}if(null==n)return e._isValid=!1;if(l[3]){for(t=0,i=c;t<i;t++)if(xt[t][1].exec(l[3])){a=(l[2]||" ")+xt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=n+(a||"")+(o||""),St(e)}else e._isValid=!1}function Et(e,t,i,r,n,a){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),ze.indexOf(t),parseInt(i,10),parseInt(r,10),parseInt(n,10)];return a&&e.push(parseInt(a,10)),e}function Tt(e){var t,i,r,n,a=Ct.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Et(a[4],a[3],a[2],a[5],a[6],a[7]),i=a[1],r=t,n=e,i&&Je.indexOf(i)!==new Date(r[0],r[1],r[2]).getDay()?(g(n).weekdayMismatch=!0,n._isValid=!1):(e._a=t,e._tzm=(i=a[8],r=a[9],n=a[10],i?Pt[i]:r?0:((i=parseInt(n,10))-(r=i%100))/100*60+r),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,i){return null!=e?e:null!=t?t:i}function At(e){var t,i,r,n,a,o,s,l,c,u,d,p=[];if(!e._d){for(u=e,d=new Date(h.now()),i=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[P]&&null==e._a[C]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=kt(d.GG,u._a[_],Ze(D(),1,4).year),n=kt(d.W,1),((a=kt(d.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Ze(D(),o,s),r=kt(d.gg,u._a[_],c.year),n=kt(d.w,c.week),null!=d.d?((a=d.d)<0||6<a)&&(l=!0):null!=d.e?(a=d.e+o,(d.e<0||6<d.e)&&(l=!0)):a=o),n<1||n>A(r,o,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=Ke(r,n,a,o,s),u._a[_]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[_],i[_]),(e._dayOfYear>De(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(d,0,e._dayOfYear),e._a[C]=l.getUTCMonth(),e._a[P]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=i[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[L]&&0===e._a[E]&&0===e._a[T]&&0===e._a[Ae]&&(e._nextDay=!0,e._a[L]=0),e._d=(e._useUTC?Ve:Ge).apply(null,p),r=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!==r&&(g(e).weekdayMismatch=!0)}}function St(e){if(e._f!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],g(e).empty=!0;for(var t,i,r,n=""+e._i,a=n.length,o=0,s=(i=se(e._f,e._locale).match(ie)||[]).length,l=0;l<s;l++)r=i[l],(t=(n.match(Pe(r,e))||[])[0])&&(0<(d=n.substr(0,n.indexOf(t))).length&&g(e).unusedInput.push(d),n=n.slice(n.indexOf(t)+t.length),o+=t.length),ae[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),d=r,m=e,null!=(p=t)&&f(Ee,d)&&Ee[d](p,m._a,m,d)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=a-o,0<n.length&&g(e).unusedInput.push(n),e._a[L]<=12&&!0===g(e).bigHour&&0<e._a[L]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[L]=(a=e._locale,c=e._a[L],null==(u=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):null!=a.isPM?((a=a.isPM(u))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[_]=e._locale.erasConvertYear(u,e._a[_])),At(e),gt(e)}else Tt(e);else Lt(e);var c,u,d,p,m}function Mt(e){var t,i=e._i,r=e._f;{var n,a;return(e._locale=e._locale||M(e._l),null===i||void 0===r&&""===i)?U({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),l(i)?new K(gt(i)):(R(i)?e._d=i:o(r)?(e=>{var t,i,r,n,a,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<l;n++)a=0,o=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],St(t),W(t)&&(o=!0),a=(a+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,i=t):(null==r||a<r||o)&&(r=a,i=t,o)&&(s=!0);j(e,i||t)})(e):r?St(e):s(r=(i=e)._i)?i._d=new Date(h.now()):R(r)?i._d=new Date(r.valueOf()):"string"==typeof r?(n=i,null===(a=_t.exec(n._i))?(Lt(n),!1===n._isValid&&(delete n._isValid,Tt(n),!1===n._isValid)&&(delete n._isValid,n._strict?n._isValid=!1:h.createFromInputFallback(n))):n._d=new Date(+a[1])):o(r)?(i._a=H(r.slice(0),function(e){return parseInt(e,10)}),At(i)):F(r)?(n=i)._d||(t=void 0===(a=ce(n._i)).day?a.date:a.day,n._a=H([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),At(n)):z(r)?i._d=new Date(r):h.createFromInputFallback(i),W(e)||(e._d=null),e))}}function Dt(e,t,i,r,n){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==i&&!1!==i||(r=i,i=void 0),(F(e)&&O(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=i,a._i=e,a._f=t,a._strict=r,(n=new K(gt(Mt(n=a))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function D(e,t,i,r){return Dt(e,t,i,r,!1)}function $t(e,t){var i,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return D();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}h.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":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){},fe=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),ge=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});var Bt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var e=ce(e),t=e.year||0,i=e.quarter||0,r=e.month||0,n=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=(e=>{var t,i,r=!1,n=Bt.length;for(t in e)if(f(e,t)&&(-1===k.call(Bt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<n;++i)if(e[Bt[i]]){if(r)return!1;parseFloat(e[Bt[i]])!==w(e[Bt[i]])&&(r=!0)}return!0})(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*n,this._months=+r+3*i+12*t,this._data={},this._locale=M(),this._bubble()}function Nt(e){return e instanceof It}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ot(e,i){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+i+a(~~e%60,2)})}Ot("Z",":"),Ot("ZZ",""),y("Z",Ce),y("ZZ",Ce),x(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Rt(Ce,e)});var zt=/([\+\-]|\d\d)/gi;function Rt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(zt)||["-",0,0])[1]+w(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var i;return t._isUTC?(t=t.clone(),i=(l(e)||R(e)?e:D(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),h.updateOffset(t,!1),t):D(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Wt(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Yt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $(e,t){var i,r,n=e;return Nt(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:z(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(t=Ut.exec(e))?(i="-"===t[1]?-1:1,n={y:0,d:w(t[P])*i,h:w(t[L])*i,m:w(t[E])*i,s:w(t[T])*i,ms:w(Ft(1e3*t[Ae]))*i}):(t=Yt.exec(e))?(i="-"===t[1]?-1:1,n={y:Gt(t[2],i),M:Gt(t[3],i),w:Gt(t[4],i),d:Gt(t[5],i),h:Gt(t[6],i),m:Gt(t[7],i),s:Gt(t[8],i)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=D(n.from),i=D(n.to),t=t.isValid()&&i.isValid()?(i=Ht(i,t),t.isBefore(i)?r=Vt(t,i):((r=Vt(i,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(n={}).ms=t.milliseconds,n.M=t.months),r=new It(n),Nt(e)&&f(e,"_locale")&&(r._locale=e._locale),Nt(e)&&f(e,"_isValid")&&(r._isValid=e._isValid),r}function Gt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function qt(r,n){return function(e,t){var i;return null===t||isNaN(+t)||(Q(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=t,t=i),Kt(this,$(e,t),r),this}}function Kt(e,t,i,r){var n=t._milliseconds,a=Ft(t._days),t=Ft(t._months);e.isValid()&&(r=null==r||r,t&&We(e,Ie(e,"Month")+t*i),a&&Ne(e,"Date",Ie(e,"Date")+a*i),n&&e._d.setTime(e._d.valueOf()+n*i),r)&&h.updateOffset(e,a||t)}function Zt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||R(e)||Zt(e)||z(e)||(i=o(t=e),r=!1,i&&(r=0===t.filter(function(e){return!z(e)&&Zt(t)}).length),i&&r)||(e=>{var t,i,r=F(e)&&!O(e),n=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)i=a[t],n=n||f(e,i);return r&&n})(e)||null==e;var t,i,r}function Qt(e,t){var i,r;return e.date()<t.date()?-Qt(t,e):-((i=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(i,"months"))<0?(t-r)/(r-e.clone().add(i-1,"months")):(t-r)/(e.clone().add(1+i,"months")-r)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=M(e))&&(this._locale=e),this)}function ei(){return this._locale}$.fn=It.prototype,$.invalid=function(){return $(NaN)},Oe=qt(1,"add"),Qe=qt(-1,"subtract"),h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.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 ri(e,t,i){return e<100&&0<=e?new Date(e+400,t,i)-ti:new Date(e,t,i).valueOf()}function ni(e,t,i){return e<100&&0<=e?Date.UTC(e+400,t,i)-ti:Date.UTC(e,t,i)}function ai(e,t){return t.erasAbbrRegex(e)}function oi(){for(var e,t,i,r=[],n=[],a=[],o=[],s=this.eras(),l=0,c=s.length;l<c;++l)e=v(s[l].name),t=v(s[l].abbr),i=v(s[l].narrow),n.push(e),r.push(t),a.push(i),o.push(e),o.push(t),o.push(i);this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function si(e,t){r(0,[e,e.length],0,t)}function li(e,t,i,r,n){var a;return null==e?Ze(this,r,n).year:(t>(a=A(e,r,n))&&(t=a),function(e,t,i,r,n){e=Ke(e,t,i,r,n),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,i,r,n))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),y("N",ai),y("NN",ai),y("NNN",ai),y("NNNN",function(e,t){return t.erasNameRegex(e)}),y("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,r){r=i._locale.erasParse(e,r,i._strict);r?g(i).era=r:g(i).invalidEra=e}),y("y",we),y("yy",we),y("yyy",we),y("yyyy",we),y("yo",function(e,t){return t._eraYearOrdinalRegex||we}),x(["y","yy","yyy","yyyy"],_),x(["yo"],function(e,t,i,r){var n;i._locale._eraYearOrdinalRegex&&(n=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[_]=i._locale.eraYearOrdinalParse(e,n):t[_]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),si("gggg","weekYear"),si("ggggg","weekYear"),si("GGGG","isoWeekYear"),si("GGGGG","isoWeekYear"),y("G",xe),y("g",xe),y("GG",i,t),y("gg",i,t),y("GGGG",ve,me),y("gggg",ve,me),y("GGGGG",be,he),y("ggggg",be,he),Te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,r){t[r.substr(0,2)]=w(e)}),Te(["gg","GG"],function(e,t,i,r){t[r]=h.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),y("Q",de),x("Q",function(e,t){t[C]=3*(w(e)-1)}),r("D",["DD",2],"Do","date"),y("D",i,p),y("DD",i,t),y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],P),x("Do",function(e,t){t[P]=w(e.match(i)[0])}),ve=Be("Date",!0),r("DDD",["DDDD",3],"DDDo","dayOfYear"),y("DDD",ye),y("DDDD",pe),x(["DDD","DDDD"],function(e,t,i){i._dayOfYear=w(e)}),r("m",["mm",2],0,"minute"),y("m",i,m),y("mm",i,t),x(["m","mm"],E),me=Be("Minutes",!1),r("s",["ss",2],0,"second"),y("s",i,m),y("ss",i,t),x(["s","ss"],T);var ci,be=Be("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),y("S",ye,de),y("SS",ye,t),y("SSS",ye,pe),ci="SSSS";ci.length<=9;ci+="S")y(ci,we);function ui(e,t){t[Ae]=w(1e3*("0."+e))}for(ci="S";ci.length<=9;ci+="S")x(ci,ui);function di(e){return e}function pi(e,t,i,r){var n=M(),r=c().set(r,t);return n[i](r,e)}function mi(e,t,i){if(z(e)&&(t=e,e=void 0),e=e||"",null!=t)return pi(e,t,i,"month");for(var r=[],n=0;n<12;n++)r[n]=pi(e,n,i,"month");return r}function hi(e,t,i,r){t=("boolean"==typeof e||(i=t=e,e=!1),z(t)&&(i=t,t=void 0),t||"");var n,a=M(),o=e?a._week.dow:0,s=[];if(null!=i)return pi(t,(i+o)%7,r,"day");for(n=0;n<7;n++)s[n]=pi(t,(n+o)%7,r,"day");return s}he=Be("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName"),(p=K.prototype).add=Oe,p.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):(e=>{for(var t=F(e)&&!O(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<r.length;n+=1)i=i||f(e,r[n]);return t&&i})(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||D(),i=Ht(e,this).startOf("day"),i=h.calendarFormat(this,i)||"sameElse",t=t&&(u(t[i])?t[i].call(this,e):t[i]);return this.format(t||this.localeData().calendar(i,this,D(e)))},p.clone=function(){return new K(this)},p.diff=function(e,t,i){var r,n,a;if(!this.isValid())return NaN;if(!(r=Ht(e,this)).isValid())return NaN;switch(n=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":a=Qt(this,r)/12;break;case"month":a=Qt(this,r);break;case"quarter":a=Qt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return i?a:b(a)},p.endOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ni:ri,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),h.updateOffset(this,!0)}return this},p.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},p.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||D(e).isValid())?$({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},p.fromNow=function(e){return this.from(D(),e)},p.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||D(e).isValid())?$({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},p.toNow=function(e){return this.to(D(),e)},p.get=function(e){return u(this[e=d(e)])?this[e]():this},p.invalidAt=function(){return g(this).overflow},p.isAfter=function(e,t){return e=l(e)?e:D(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},p.isBefore=function(e,t){return e=l(e)?e:D(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},p.isBetween=function(e,t,i,r){return e=l(e)?e:D(e),t=l(t)?t:D(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&(")"===r[1]?this.isBefore(t,i):!this.isAfter(t,i))},p.isSame=function(e,t){var e=l(e)?e:D(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},p.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},p.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},p.isValid=function(){return W(this)},p.lang=et,p.locale=Jt,p.localeData=ei,p.max=ge,p.min=fe,p.parsingFlags=function(){return j({},g(this))},p.set=function(e,t){if("object"==typeof e)for(var i=(e=>{var t,i=[];for(t in e)f(e,t)&&i.push({unit:t,priority:ue[t]});return i.sort(function(e,t){return e.priority-t.priority}),i})(e=ce(e)),r=i.length,n=0;n<r;n++)this[i[n].unit](e[i[n].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},p.startOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ni:ri,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),h.updateOffset(this,!0)}return this},p.subtract=Qe,p.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},p.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},p.toDate=function(){return new Date(this.valueOf())},p.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},p.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&&(p[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},p.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},p.eraName=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++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""},p.eraNarrow=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++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""},p.eraAbbr=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++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""},p.eraYear=function(){for(var e,t,i=this.localeData().eras(),r=0,n=i.length;r<n;++r)if(e=i[r].since<=i[r].until?1:-1,t=this.clone().startOf("day").valueOf(),i[r].since<=t&&t<=i[r].until||i[r].until<=t&&t<=i[r].since)return(this.year()-h(i[r].since).year())*e+i[r].offset;return this.year()},p.year=$e,p.isLeapYear=function(){return ke(this.year())},p.weekYear=function(e){return li.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},p.isoWeekYear=function(e){return li.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},p.quarter=p.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},p.month=Ue,p.daysInMonth=function(){return Fe(this.year(),this.month())},p.week=p.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},p.isoWeek=p.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},p.weeksInYear=function(){var e=this.localeData()._week;return A(this.year(),e.dow,e.doy)},p.weeksInWeekYear=function(){var e=this.localeData()._week;return A(this.weekYear(),e.dow,e.doy)},p.isoWeeksInYear=function(){return A(this.year(),1,4)},p.isoWeeksInISOWeekYear=function(){return A(this.isoWeekYear(),1,4)},p.date=ve,p.day=p.days=function(e){var t,i,r;return this.isValid()?(t=Ie(this,"Day"),null!=e?(i=e,r=this.localeData(),e="string"!=typeof i?i:isNaN(i)?"number"==typeof(i=r.weekdaysParse(i))?i:null:parseInt(i,10),this.add(e-t,"d")):t):null!=e?this:NaN},p.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},p.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},p.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")},p.hour=p.hours=n,p.minute=p.minutes=me,p.second=p.seconds=be,p.millisecond=p.milliseconds=he,p.utcOffset=function(e,t,i){var r,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:jt(this);if("string"==typeof e){if(null===(e=Rt(Ce,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==e&&(!t||this._changeInProgress?Kt(this,$(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},p.utc=function(e){return this.utcOffset(0,e)},p.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(jt(this),"m"),this},p.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(_e,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},p.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?D(e).utcOffset():0,(this.utcOffset()-e)%60==0)},p.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},p.isLocal=function(){return!!this.isValid()&&!this._isUTC},p.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},p.isUtc=Wt,p.isUTC=Wt,p.zoneAbbr=function(){return this._isUTC?"UTC":""},p.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},p.dates=e("dates accessor is deprecated. Use date instead.",ve),p.months=e("months accessor is deprecated. Use month instead",Ue),p.years=e("years accessor is deprecated. Use year instead",$e),p.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()}),p.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=Mt(t))._a?(e=(t._isUTC?c:D)(t._a),this._isDSTShifted=this.isValid()&&0<((e,t,i)=>{for(var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(i&&e[o]!==t[o]||!i&&w(e[o])!==w(t[o]))&&a++;return a+n})(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(m=ee.prototype).calendar=function(e,t,i){return u(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=di,m.postformat=di,m.relativeTime=function(e,t,i,r){var n=this._relativeTime[i];return u(n)?n(e,t,i,r):n.replace(/%d/i,e)},m.pastFuture=function(e,t){return u(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)f(e,i)&&(u(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,r=this._eras||M("en")._eras,n=0,a=r.length;n<a;++n)switch("string"==typeof r[n].since&&(i=h(r[n].since).startOf("day"),r[n].since=i.valueOf()),typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":i=h(r[n].until).startOf("day").valueOf(),r[n].until=i.valueOf()}return r},m.erasParse=function(e,t,i){var r,n,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,n=l.length;r<n;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},m.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?h(e.since).year():h(e.since).year()+(t-e.offset)*i},m.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||oi.call(this),e?this._erasAbbrRegex:this._erasRegex},m.erasNameRegex=function(e){return f(this,"_erasNameRegex")||oi.call(this),e?this._erasNameRegex:this._erasRegex},m.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||oi.call(this),e?this._erasNarrowRegex:this._erasRegex},m.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Re).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},m.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Re.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},m.monthsParse=function(e,t,i){var r,n;if(this._monthsParseExact)return function(e,t,i){var r,n,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(n=k.call(this._shortMonthsParse,e))?n:null:-1!==(n=k.call(this._longMonthsParse,e))?n:null:"MMM"===t?-1!==(n=k.call(this._shortMonthsParse,e))||-1!==(n=k.call(this._longMonthsParse,e))?n:null:-1!==(n=k.call(this._longMonthsParse,e))||-1!==(n=k.call(this._shortMonthsParse,e))?n:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=c([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),i||this._monthsParse[r]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(i&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!i&&this._monthsParse[r].test(e))return r}},m.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},m.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=He),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},m.week=function(e){return Ze(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=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},m.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},m.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},m.weekdaysParse=function(e,t,i){var r,n;if(this._weekdaysParseExact)return function(e,t,i){var r,n,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(n=k.call(this._weekdaysParse,e))?n:null:"ddd"===t?-1!==(n=k.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=k.call(this._minWeekdaysParse,e))?n:null:"dddd"===t?-1!==(n=k.call(this._weekdaysParse,e))||-1!==(n=k.call(this._shortWeekdaysParse,e))||-1!==(n=k.call(this._minWeekdaysParse,e))?n:null:"ddd"===t?-1!==(n=k.call(this._shortWeekdaysParse,e))||-1!==(n=k.call(this._weekdaysParse,e))||-1!==(n=k.call(this._minWeekdaysParse,e))?n:null:-1!==(n=k.call(this._minWeekdaysParse,e))||-1!==(n=k.call(this._weekdaysParse,e))||-1!==(n=k.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=c([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(i&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(i&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!i&&this._weekdaysParse[r].test(e))return r}},m.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},m.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=it),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},m.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),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"},ht("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===w(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),h.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",M);var B=Math.abs;function fi(e,t,i,r){t=$(t,i);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function gi(e){return e<0?Math.floor(e):Math.ceil(e)}function yi(e){return 4800*e/146097}function vi(e){return 146097*e/4800}function bi(e){return function(){return this.as(e)}}function wi(e){return function(){return this.isValid()?this._data[e]:NaN}}de=bi("ms"),t=bi("s"),ye=bi("m"),pe=bi("h"),Oe=bi("d"),ge=bi("w"),fe=bi("M"),Qe=bi("Q"),n=bi("y"),me=de;var be=wi("milliseconds"),he=wi("seconds"),ve=wi("minutes"),$e=wi("hours"),m=wi("days"),xi=wi("months"),_i=wi("years"),Ci=Math.round,Pi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Li(e,t,i,r){var n=$(e).abs(),a=Ci(n.as("s")),o=Ci(n.as("m")),s=Ci(n.as("h")),l=Ci(n.as("d")),c=Ci(n.as("M")),u=Ci(n.as("w")),n=Ci(n.as("y")),a=(a<=i.ss?["s",a]:a<i.s&&["ss",a])||(o<=1?["m"]:o<i.m&&["mm",o])||(s<=1?["h"]:s<i.h&&["hh",s])||(l<=1?["d"]:l<i.d&&["dd",l]);return(a=(a=null!=i.w?a||(u<=1?["w"]:u<i.w&&["ww",u]):a)||(c<=1?["M"]:c<i.M&&["MM",c])||(n<=1?["y"]:["yy",n]))[2]=t,a[3]=0<+e,a[4]=r,function(e,t,i,r,n){return n.relativeTime(t||1,!!i,e,r)}.apply(null,a)}var Ei=Math.abs;function Ti(e){return(0<e)-(e<0)||+e}function ki(){var e,t,i,r,n,a,o,s,l,c,u;return this.isValid()?(s=Ei(this._milliseconds)/1e3,l=Ei(this._days),c=Ei(this._months),(u=this.asSeconds())?(e=b(s/60),t=b(e/60),s%=60,e%=60,i=b(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",n=Ti(this._months)!==Ti(u)?"-":"",a=Ti(this._days)!==Ti(u)?"-":"",o=Ti(this._milliseconds)!==Ti(u)?"-":"",(u<0?"-":"")+"P"+(i?n+i+"Y":"")+(c?n+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"):this.localeData().invalidDate()}var I=It.prototype;return I.isValid=function(){return this._isValid},I.abs=function(){var e=this._data;return this._milliseconds=B(this._milliseconds),this._days=B(this._days),this._months=B(this._months),e.milliseconds=B(e.milliseconds),e.seconds=B(e.seconds),e.minutes=B(e.minutes),e.hours=B(e.hours),e.months=B(e.months),e.years=B(e.years),this},I.add=function(e,t){return fi(this,e,t,1)},I.subtract=function(e,t){return fi(this,e,t,-1)},I.as=function(e){if(!this.isValid())return NaN;var t,i,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,i=this._months+yi(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(vi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},I.asMilliseconds=de,I.asSeconds=t,I.asMinutes=ye,I.asHours=pe,I.asDays=Oe,I.asWeeks=ge,I.asMonths=fe,I.asQuarters=Qe,I.asYears=n,I.valueOf=me,I._bubble=function(){var e=this._milliseconds,t=this._days,i=this._months,r=this._data;return 0<=e&&0<=t&&0<=i||e<=0&&t<=0&&i<=0||(e+=864e5*gi(vi(i)+t),i=t=0),r.milliseconds=e%1e3,e=b(e/1e3),r.seconds=e%60,e=b(e/60),r.minutes=e%60,e=b(e/60),r.hours=e%24,t+=b(e/24),i+=e=b(yi(t)),t-=gi(vi(e)),e=b(i/12),i%=12,r.days=t,r.months=i,r.years=e,this},I.clone=function(){return $(this)},I.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},I.milliseconds=be,I.seconds=he,I.minutes=ve,I.hours=$e,I.days=m,I.weeks=function(){return b(this.days()/7)},I.months=xi,I.years=_i,I.humanize=function(e,t){var i,r;return this.isValid()?(i=!1,r=Pi,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Pi,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=Li(this,!i,r,e=this.localeData()),i&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},I.toISOString=ki,I.toString=ki,I.toJSON=ki,I.locale=Jt,I.localeData=ei,I.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ki),I.lang=et,r("X",0,0,"unix"),r("x",0,0,"valueOf"),y("x",xe),y("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,i){i._d=new Date(w(e))}),h.version="2.30.1",N=D,h.fn=p,h.min=function(){return $t("isBefore",[].slice.call(arguments,0))},h.max=function(){return $t("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return D(1e3*e)},h.months=function(e,t){return mi(e,t,"months")},h.isDate=R,h.locale=ht,h.invalid=U,h.duration=$,h.isMoment=l,h.weekdays=function(e,t,i){return hi(e,t,i,"weekdays")},h.parseZone=function(){return D.apply(null,arguments).parseZone()},h.localeData=M,h.isDuration=Nt,h.monthsShort=function(e,t){return mi(e,t,"monthsShort")},h.weekdaysMin=function(e,t,i){return hi(e,t,i,"weekdaysMin")},h.defineLocale=ft,h.updateLocale=function(e,t){var i,r;return null!=t?(r=ct,null!=S[e]&&null!=S[e].parentLocale?S[e].set(J(S[e]._config,t)):(t=J(r=null!=(i=mt(e))?i._config:r,t),null==i&&(t.abbr=e),(r=new ee(t)).parentLocale=S[e],S[e]=r),ht(e)):null!=S[e]&&(null!=S[e].parentLocale?(S[e]=S[e].parentLocale,e===ht()&&ht(e)):null!=S[e]&&delete S[e]),S[e]},h.locales=function(){return te(S)},h.weekdaysShort=function(e,t,i){return hi(e,t,i,"weekdaysShort")},h.normalizeUnits=d,h.relativeTimeRounding=function(e){return void 0===e?Ci:"function"==typeof e&&(Ci=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==Pi[e]&&(void 0===t?Pi[e]:(Pi[e]=t,"s"===e&&(Pi.ss=t-1),!0))},h.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"},h.prototype=p,h.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"},h})();var Bn,In,j=Bn.exports;function Nn(e,t){I(e,t)}let Fn={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText1:"We recognize that gambling can be harmful so to prevent problems associated with gambling, we offer our users the ability to exclude from all forms of betting on our site for a certain indefinite period of time.",selfExclusionText2:'Self-exclusion takes effect from the time it is set for your chosen period. Select a timeframe below then click "Save".',selfExclusionText3:"During self-exclusion, you will be able to access your account and withdraw funds but you will not be able to deposit or place any bets. In the case of permanent self-exclusion, it is only possible to revoke Self-exclusion upon written request and only 6 months after its initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows:",selfExclusionText4:"E-mail:",duration:"Duration:",forever:"Forever",save:"Save",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent."},"zh-hk":{titleSelfExclusion:"自我排斥",selfExclusionText1:"我們認識到賭博會導致成癮,為了防止這些問題,我們為用戶提供了在一段時間內排除我們網站上所有形式的投注的能力。",selfExclusionText2:"自我排除從您選擇的時間段設置的時間開始生效。 在下方選擇一個時間範圍,然後單擊“確認”。",selfExclusionText3:"在自我排除期間,您將無法訪問您的 帳戶。 在永久自我排除的情況下,只有在書面請求後才能撤銷自我排除,並且只有在首次申請後 6 個月內。 請注意,請求自我排除的另一種方法是聯繫客戶服務,如下所示:",selfExclusionText4:"電子郵件:",duration:"期間:",forever:"永遠",save:"節省",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。"},fr:{titleSelfExclusion:"Auto exclusion",selfExclusionText1:"reconnait que le jeu peut conduire à l'addition et dans notre effort pour prévenir ces problèmes, nous offrons à nos utilisateurs la possibilité d'exclure toutes les formes de paris sur notre site pour une certaine période de temps indéfinie.",selfExclusionText2:'L\'auto exclusion prend effet à partir du moment où elle est fixée pour la période que vous choisissez. Sélectionnez une periode ci-dessous puis cliquez sur "Sauvez".',selfExclusionText3:"Pendant l'auto exclusion ,vous ne pourrez pas accéder à votre compte .dans le cas d'une auto exclusion permanente ,il est seulement possible de révoquer l'auto exclusion sur demande écrit et seulement 6 mois après sa demande initiale. veuillez noter qu'une manière alternative de demander l'auto exclusion est de contacter le service client comme suit:",selfExclusionText4:"E-mail:",duration:"Durée:",forever:"Tout le temps",save:"Sauvez",temporarySelfExclusion:"Votre période d'auto exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto exclusion sera permanente."},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText1:"La {operatorname} știm că jocurile de noroc pot provoca dependență și, printre eforturile noastre de a preveni aceste probleme, oferim utilizatorilor posibilitatea de a se exclude de la orice formă de pariere pe o perioadă anume sau chiar nelimitată.",selfExclusionText2:'Auto-excluderea intră în vigoare de la momentul setării, pentru perioada setată. Selectează mai jos o perioadă și apoi apasă pe "Salvează".',selfExclusionText3:"Pe perioada auto-excluderii nu vei putea accesa contul tău {operatorname}. În cazul unei auto-excluderi permanente, aceasta poate fi revocată doar în urma unei solicitări scrise și doar după 6 luni de la aplicarea inițială a acesteia. De asemenea, o altă posibilitate de a solicita auto-excluderea este contactarea Serviciului Clienți după cum urmează:",selfExclusionText4:"E-mail:",duration:"Durată:",forever:"Permanent",save:"Salvează",temporarySelfExclusion:"Perioada de auto-excludere va dura pană la {date} 23:59.",permanentSelfExclusion:"Auto-excluderea este permanentă."},es:{titleSelfExclusion:"Autoexclusición",selfExclusionText1:"Reconocemos que el juego puedo conducir a la adicción y en nuestro esfuerzo por prevenir estos problemas",selfExclusionText2:'La autoexclusición surte efecto desde el momento en que se establece para el periodo que elijas. Seleccione un período de tiempo a continuación y luego haga clic en "Guardar".',selfExclusionText3:"Durante la autoexclusión, no podrá acceder a su cuenta de {operator}. En el caso de autoexclusión permanente, solo es posible revocar la autoexclusión previa solicitud por escrito y solo 6 meses después de su solicitud inicial. Ten en cuenta que una forma alternativa de solicitar la autoexclusión es ponerse en contacto con el Servicio de Atención al Cliente de la siguiente manera: Correo electrónico:",selfExclusionText4:"Email",duration:"Duración:",forever:"Para siempre",save:"Guardar",temporarySelfExclusion:"Tu periodo de autoexclusión durará hasta el {date} 23:59. .",permanentSelfExclusion:"Tu periodo de autoexclusión será permanente."},pt:{titleSelfExclusion:"Auto-exclusão",selfExclusionText1:"reconhece que o jogo pode levar ao vício e em nosso esforço para evitar esses problemas, oferecemos aos nossos usuários a capacidade de excluir todas as formas de apostas em nosso site por um período de tempo indefinido.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é definida para o período que você escolher. Selecione um período de tempo abaixo e clique em "Guardar".',selfExclusionText3:"Durante a autoexclusão, você não poderá acessar sua conta . No caso de autoexclusão permanente, só é possível revogar a Autoexclusão mediante pedido escrito e apenas 6 meses após a sua aplicação inicial. Observe que uma forma alternativa de solicitar a autoexclusão é entrar em contato com o Atendimento ao Cliente da seguinte forma:",selfExclusionText4:"E-mail:",duration:"Duração:",forever:"Para sempre",save:"Guardar",temporarySelfExclusion:"Seu período de autoexclusão durará até {data} 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente."},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText1:"Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme",selfExclusionText2:'Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Spremi".',selfExclusionText3:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja",selfExclusionText4:"E-mail:",duration:"Trajanje:",forever:"Trajno",save:"Spremi",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno."},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText1:"Reconhecemos que o jogo pode ser prejudicial para evitar problemas associados ao jogo,Oferecemos aos nossos usuários a opção de excluir todas as formas de apostas em nosso site por um período indefinido.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é selecionada para o período escolhido. Escolha o período de tempo e selecione "Manter".',selfExclusionText3:'Durante a autoexclusão,"Você terá acesso à sua conta e poderá fazer saques, mas não poderá depositar ou fazer apostas. No caso de autoexclusão permanente",Só é possível revogar a autoexclusão mediante solicitação por escrito e apenas 6 meses após a sua inscrição inicial. Observe que uma forma alternativa de solicitar a autoexclusão é entrar em contato com nossa equipe de Atendimento ao Cliente da seguinte forma:',selfExclusionText4:"Correio eletrônico:",duration:"Período de tempo:",forever:"Para sempre",save:"Manter",temporarySelfExclusion:"Seu período de autoexclusão durará até {data} 23h59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente"},"es-mx":{titleSelfExclusion:"Auto-exclusión",selfExclusionText1:"Reconocemos que las apuestas pueden ser dañinas así que para prevenir problemas asociados con el juego,ofrecemos a nuestros usuarios la opción de excluir todas las formas de apuestas en nuestra página por un period indeterminado de tiempo.",selfExclusionText3:"Durante la auto-exclusión ,usted tendrá acceso a su cuenta y podrá hacer retiros pero no podrá depositar o hacer apuestas. En el caso de la auto-exclusión permanente,Sólo es posible revocar la auto-exclusión bajo una solicitud escrita y solamente 6 meses después de su aplicación inicial .Por favor tome en cuenta que una forma alternativa de solicitar la auto-exclusión es contactar a nuestro equipo de Servicio al Cliente de la siguiente forma:",selfExclusionText4:"Correo electrónico:",duration:"Periodo de Tiempo:",forever:"Para siempre",save:"Guardar",temporarySelfExclusion:"Su periodo de auto-exclusión durará hasta el {date} 23:59.",permanentSelfExclusion:"Su periodo de auto-exclusión será permanente"},tr:{titleSelfExclusion:"Kendini dışlama",selfExclusionText1:"Kumarın zararlı olabileceğini biliyoruz ve bu nedenle kumarla ilgili sorunları önlemek için kullanıcılarımıza, sitemizdeki tüm bahis türlerinden süresiz olarak hariç tutma olanağı sunuyoruz.",selfExclusionText2:"Kendini hariç tutma, seçtiğiniz dönem için ayarlandığı andan itibaren geçerli olur. Aşağıdan bir zaman aralığı seçin ve ardından Onayla'yı tıklayın.",selfExclusionText3:"Kendini ihraç etme sırasında, hesabınıza erişebilecek ve para çekebileceksiniz ancak herhangi bir para yatıramayacak veya bahis koyamayacaksınız. Kalıcı olarak kendini ihraç etme durumunda, Kendini ihraç etmeyi yalnızca yazılı talep üzerine ve ilk başvurudan yalnızca 6 ay sonra iptal etmek mümkündür. Kendini ihraç etme talebinde bulunmanın alternatif bir yolunun Müşteri Hizmetleriyle aşağıdaki şekilde iletişime geçmek olduğunu lütfen unutmayın:",selfExclusionText4:"E-posta:",duration:"Süre:",forever:"Sonsuza kadar",save:"Kaydetmek",temporarySelfExclusion:"Kendini ihraç etme süreniz {date} 23:59'a kadar sürecek.",permanentSelfExclusion:"Kendini ihraç etme süreniz kalıcı olacaktır."}};function On(e){var t,i=customElements.get(e.is);i?(t=i.version)&&e.version&&t===e.version?console.warn(`The component ${e.is} has been loaded twice`):console.error(`Tried to define ${e.is} version ${e.version} when version ${i.version} is already in use. Something will probably break.`):customElements.define(e.is,e)}class zn extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.9"}}On(zn);let Rn=window,Hn=Rn.ShadowRoot&&(void 0===Rn.ShadyCSS||Rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jn=Symbol(),Wn=new WeakMap;class Un{constructor(e,t,i){if(this._$cssResult$=!0,i!==jn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;var t,i=this.t;return Hn&&void 0===e&&(t=void 0!==i&&1===i.length,void 0===(e=t?Wn.get(i):e))&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t)&&Wn.set(i,e),e}toString(){return this.cssText}}let o=(r,...e)=>{e=1===r.length?r[0]:e.reduce((e,t,i)=>e+(()=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})()+r[i+1],r[0]);return new Un(e,r,jn)},Yn=Hn?e=>e:t=>{if(!(t instanceof CSSStyleSheet))return t;{let e="";for(var i of t.cssRules)e+=i.cssText;return t=e,new Un("string"==typeof t?t:t+"",void 0,jn)}},Gn,Vn=window,qn=Vn.trustedTypes,Kn=qn?qn.emptyScript:"",Zn=Vn.reactiveElementPolyfillSupport,Xn={toAttribute(e,t){switch(t){case Boolean:e=e?Kn:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},Qn=(e,t)=>t!==e&&(t==t||e==e),Jn={attribute:!0,type:String,converter:Xn,reflect:!1,hasChanged:Qn},ea="finalized";class ta extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var t;this.finalize(),(null!=(t=this.h)?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();let i=[];return this.elementProperties.forEach((e,t)=>{e=this._$Ep(t,e);void 0!==e&&(this._$Ev.set(e,t),i.push(e))}),i}static createProperty(e,t=Jn){var i;t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e)||(i="symbol"==typeof e?Symbol():"__"+e,void 0!==(i=this.getPropertyDescriptor(e,i,t))&&Object.defineProperty(this.prototype,e,i))}static getPropertyDescriptor(i,r,n){return{get(){return this[r]},set(e){var t=this[i];this[r]=e,this.requestUpdate(i,t,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||Jn}static finalize(){if(this.hasOwnProperty(ea))return!1;this[ea]=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(var i of t)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){var t=[];if(Array.isArray(e)){var i=new Set(e.flat(1/0).reverse());for(let e of i)t.unshift(Yn(e))}else void 0!==e&&t.push(Yn(e));return t}static _$Ep(e,t){t=t.attribute;return!1===t?void 0:"string"==typeof t?t:"string"==typeof e?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null!=(e=this.constructor.h)&&e.forEach(e=>e(this))}addController(e){var t;(null!=(t=this._$ES)?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&null!=(t=e.hostConnected)&&t.call(e)}removeController(e){var t;null!=(t=this._$ES)&&t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var r,e,t=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return r=t,e=this.constructor.elementStyles,Hn?r.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):e.forEach(e=>{var t=document.createElement("style"),i=Rn.litNonce;void 0!==i&&t.setAttribute("nonce",i),t.textContent=e.cssText,r.appendChild(t)}),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null!=(e=this._$ES)&&e.forEach(e=>{var t;return null==(t=e.hostConnected)?void 0:t.call(e)})}enableUpdating(e){}disconnectedCallback(){var e;null!=(e=this._$ES)&&e.forEach(e=>{var t;return null==(t=e.hostDisconnected)?void 0:t.call(e)})}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t,i=Jn){var r,n=this.constructor._$Ep(e,i);void 0!==n&&!0===i.reflect&&(r=(void 0!==(null==(r=i.converter)?void 0:r.toAttribute)?i.converter:Xn).toAttribute(t,i.type),this._$El=e,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null)}_$AK(e,i){var r=this.constructor,n=r._$Ev.get(e);if(void 0!==n&&this._$El!==n){let e=r.getPropertyOptions(n),t="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null==(r=e.converter)?void 0:r.fromAttribute)?e.converter:Xn;this._$El=n,this[n]=t.fromAttribute(i,e.type),this._$El=null}}requestUpdate(e,t,i){let r=!0;void 0!==e&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||Qn)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,i))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}var e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(this.isUpdatePending){this.hasUpdated,this._$Ei&&(this._$Ei.forEach((e,t)=>this[t]=e),this._$Ei=void 0);let e=!1;var i=this._$AL;try{(e=this.shouldUpdate(i))?(this.willUpdate(i),null!=(t=this._$ES)&&t.forEach(e=>{var t;return null==(t=e.hostUpdate)?void 0:t.call(e)}),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}}willUpdate(e){}_$AE(e){var t;null!=(t=this._$ES)&&t.forEach(e=>{var t;return null==(t=e.hostUpdated)?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach((e,t)=>this._$EO(t,this[t],e)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}ta[ea]=!0,ta.elementProperties=new Map,ta.elementStyles=[],ta.shadowRootOptions={mode:"open"},null!=Zn&&Zn({ReactiveElement:ta}),(null!=(Gn=Vn.reactiveElementVersions)?Gn:Vn.reactiveElementVersions=[]).push("1.6.3");let ia=window,ra=ia.trustedTypes,na=ra?ra.createPolicy("lit-html",{createHTML:e=>e}):void 0,aa="$lit$",oa=`lit$${(Math.random()+"").slice(9)}$`,sa="?"+oa,la=`<${sa}>`,ca=document,ua=()=>ca.createComment(""),da=e=>null===e||"object"!=typeof e&&"function"!=typeof e,pa=Array.isArray,ma="[ \t\n\f\r]",ha=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fa=/-->/g,ga=/>/g,ya=RegExp(`>|${ma}(?:([^\\s"'>=/]+)(${ma}*=${ma}*(?:[^
3
+ }`,s=`__svelte_${(e=>{let t=5381,i=e.length;for(;i--;)t=(t<<5)-t^e.charCodeAt(i);return t>>>0})(d)}_`+s,p=E(e),{stylesheet:m,rules:h}=A.get(p)||(p=p,u={stylesheet:(u=e,h=di("style"),u=E(u),m=h,si(u.head||u,m),m.sheet,h.sheet),rules:{}},A.set(p,u),u),p=(h[s]||(h[s]=!0,m.insertRule(`@keyframes ${s} `+d,m.cssRules.length)),e.style.animation||"");return e.style.animation=(p?p+", ":"")+s+` ${t}ms linear ${n}ms 1 both`,M+=1,s}function $(e){S=e}function Ee(e){(()=>{if(S)return S;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e)}let B=[],Te=[],u=[],F=[],O=Promise.resolve(),z=!1;function Me(){z||(z=!0,O.then(p))}function wi(e){u.push(e)}let R=new Set,H,W=0;function p(){if(0===W){let e=S;do{try{for(;W<B.length;){let e=B[W];W++,$(e),t=i=void 0;var t,i=e.$$;null!==i.fragment&&(i.update(),oi(i.before_update),t=i.dirty,i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,t),i.after_update.forEach(wi))}}catch(e){throw B.length=0,W=0,e}for($(null),B.length=0,W=0;Te.length;)Te.pop()();for(let e=0;e<u.length;e+=1){var r=u[e];R.has(r)||(R.add(r),r())}}while(u.length=0,B.length);for(;F.length;)F.pop()();z=!1,R.clear(),$(e)}}function U(e,t,i){var r;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:i=!1}={}]=[(t?"intro":"outro")+i],(r=document.createEvent("CustomEvent")).initCustomEvent(e,t,i,void 0),r))}let Y=new Set,V;function q(e,t){e&&e.i&&(Y.delete(e),e.i(t))}function K(e,t,i,r){e&&e.o?Y.has(e)||(Y.add(e),V.c.push(()=>{Y.delete(e),r&&(i&&e.d(1),r())}),e.o(t)):r&&r()}let Z={duration:0};function X(l,e,t,i){let r={direction:"both"},c=e(l,t,r),u=i?0:1,d=null,p=null,m=null;function h(){var e,t,i,r;m&&(e=l,t=m,i=(e.style.animation||"").split(", "),r=i.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(i=i.length-r.length)||(e.style.animation=r.join(", "),M-=i)||C(()=>{M||(A.forEach(e=>{e=e.stylesheet.ownerNode;e&&ci(e)}),A.clear())}))}function f(e,t){var i=e.b-u;return t*=Math.abs(i),{a:u,b:e.b,d:i,duration:t,start:e.start,end:e.start+t,group:e.group}}function n(e){let{delay:t=0,duration:i=300,easing:r=w,tick:n=ae,css:a}=c||Z,o={start:_()+t,b:e};if(e||((o.group=V).r+=1),d||p)p=o;else{a&&(h(),m=D(l,u,e,i,t,r,a)),e&&n(0,1),d=f(o,i),wi(()=>U(l,e,"start"));{var s=e=>(p&&e>p.start&&(d=f(p,i),p=null,U(l,d.b,"start"),a)&&(h(),m=D(l,u,d.b,d.duration,0,r,c.css)),d&&(e>=d.end?(n(u=d.b,1-u),U(l,d.b,"end"),p||(d.b?h():--d.group.r||oi(d.group.c)),d=null):e>=d.start&&(e=e-d.start,u=d.a+d.d*r(e/d.duration),n(u,1-u))),!(!d&&!p));let t;0===P.size&&C(L),new Promise(e=>{P.add(t={c:s,f:e})})}}}return{run(e){ue(c)?(H||(H=Promise.resolve()).then(()=>{H=null}),H.then(()=>{c=c(r),n(e)})):n(e)},end(){h(),d=p=null}}}function n(r,t,e,i,n,a,o,s=[-1]){var l=S;$(r);let c=r.$$={fragment:null,ctx:[],props:a,update:ae,not_equal:n,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:t.target||l.$$.root},u=(o&&o(c.root),!1);if(c.ctx=e?e(r,t.props||{},(e,t,...i)=>{var i=i.length?i[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=i)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](i),u)&&(i=e,-1===(e=r).$$.dirty[0]&&(B.push(e),Me(),e.$$.dirty.fill(0)),e.$$.dirty[i/31|0]|=1<<i%31),t}):[],c.update(),u=!0,oi(c.before_update),c.fragment=!!i&&i(c.ctx),t.target){if(t.hydrate){a=t.target;let e=Array.from(a.childNodes);c.fragment&&c.fragment.l(e),e.forEach(ci)}else c.fragment&&c.fragment.c();t.intro&&q(r.$$.fragment);var d=r,s=t.customElement,{fragment:o,after_update:e}=d.$$;o&&o.m(t.target,t.anchor),s||wi(()=>{var e=d.$$.on_mount.map(m).filter(ue);d.$$.on_destroy?d.$$.on_destroy.push(...e):oi(e),d.$$.on_mount=[]}),e.forEach(wi),p()}$(l)}let e;"function"==typeof HTMLElement&&(e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(m).filter(ue);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){oi(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;let t=[],i=[];u.forEach(e=>(-1===r.indexOf(e)?t:i).push(e)),i.forEach(e=>e()),u=t}oi(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=ae}$on(e,t){if(!ue(t))return ae;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 Q,J,ee="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},te="URLSearchParams"in ee,ie="Symbol"in ee&&"iterator"in Symbol,re="FileReader"in ee&&"Blob"in ee&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),ne="FormData"in ee,se="ArrayBuffer"in ee;function le(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 ce(e){return e="string"!=typeof e?String(e):e}function de(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ie&&(e[Symbol.iterator]=function(){return e}),e}function pe(t){this.map={},t instanceof pe?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 me(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 fe(e){var t=new FileReader,i=he(t);return t.readAsArrayBuffer(e),i}function ge(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function ye(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:re&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ne&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:te&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():se&&re&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ge(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):se&&(ArrayBuffer.prototype.isPrototypeOf(e)||J(e))?this._bodyArrayBuffer=ge(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):te&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},re&&(this.blob=function(){var e=me(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 me(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(re)return this.blob().then(fe);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,r=me(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=he(e),i=(i=/charset=([A-Za-z0-9_-]+)/.exec(r.type))?i[1]:"utf-8",e.readAsText(r,i),t;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var t=new Uint8Array(e),i=new Array(t.length),r=0;r<t.length;r++)i[r]=String.fromCharCode(t[r]);return i.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ne&&(this.formData=function(){return this.text().then(Ce)}),this.json=function(){return this.text().then(JSON.parse)},this}se&&(Q=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],J=ArrayBuffer.isView||function(e){return e&&-1<Q.indexOf(Object.prototype.toString.call(e))}),pe.prototype.append=function(e,t){e=le(e),t=ce(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},pe.prototype.delete=function(e){delete this.map[le(e)]},pe.prototype.get=function(e){return e=le(e),this.has(e)?this.map[e]:null},pe.prototype.has=function(e){return this.map.hasOwnProperty(le(e))},pe.prototype.set=function(e,t){this.map[le(e)]=ce(t)},pe.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},pe.prototype.keys=function(){var i=[];return this.forEach(function(e,t){i.push(t)}),de(i)},pe.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),de(t)},pe.prototype.entries=function(){var i=[];return this.forEach(function(e,t){i.push([t,e])}),de(i)},ie&&(pe.prototype[Symbol.iterator]=pe.prototype.entries);var ve=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function _e(e,t){if(!(this instanceof _e))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,r=(t=t||{}).body;if(e instanceof _e){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new pe(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new pe(t.headers)),this.method=(i=(e=t.method||this.method||"GET").toUpperCase(),-1<ve.indexOf(i)?i:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||(()=>{if("AbortController"in ee)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"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 Ce(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 Pe(e,t){if(!(this instanceof Pe))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 pe(t.headers),this.url=t.url||"",this._initBody(e)}_e.prototype.clone=function(){return new _e(this,{body:this._bodyInit})},ye.call(_e.prototype),ye.call(Pe.prototype),Pe.prototype.clone=function(){return new Pe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new pe(this.headers),url:this.url})},Pe.error=function(){var e=new Pe(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var De=[301,302,303,307,308],$e=(Pe.redirect=function(e,t){if(-1===De.indexOf(t))throw new RangeError("Invalid status code");return new Pe(null,{status:t,headers:{location:e}})},ee.DOMException);try{new $e}catch(ae){($e=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),$e.prototype.constructor=$e}function Be(r,s){return new Promise(function(n,e){var a=new _e(r,s);if(a.signal&&a.signal.aborted)return e(new $e("Aborted","AbortError"));var i,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,r,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",r=new pe,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{r.append(i,t)}catch(e){console.warn("Response "+e.message)}}}),r)},i=(0===a.url.indexOf("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){n(new Pe(i,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new $e("Aborted","AbortError"))},0)},o.open(a.method,(t=>{try{return""===t&&ee.location.href?ee.location.href:t}catch(e){return t}})(a.url),!0),"include"===a.credentials?o.withCredentials=!0:"omit"===a.credentials&&(o.withCredentials=!1),"responseType"in o&&(re?o.responseType="blob":se&&(o.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof pe||ee.Headers&&s.headers instanceof ee.Headers)?(i=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){i.push(le(e)),o.setRequestHeader(e,ce(s.headers[e]))}),a.headers.forEach(function(e,t){-1===i.indexOf(t)&&o.setRequestHeader(t,e)})):a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),a.signal&&(a.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&a.signal.removeEventListener("abort",t)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})}function Ai(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Be.polyfill=!0,ee.fetch||(ee.fetch=Be,ee.Headers=pe,ee.Request=_e,ee.Response=Pe),self.fetch.bind(self);var Ie=function(e,t){return(Ie=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}))(e,t)};function Ne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Ie(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function Fe(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Oe(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,a=i.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(r=a.next()).done;)o.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function ze(e,t,i){if(i||2===arguments.length)for(var r,n=0,a=t.length;n<a;n++)!r&&n in t||((r=r||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function Re(e){return"function"==typeof e}function He(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 je=He(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 We(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}Ge.prototype.unsubscribe=function(){var e,t,i,r,n;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Fe(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);a=this.initialTeardown;if(Re(a))try{a()}catch(e){n=e instanceof je?e.errors:[e]}a=this._finalizers;if(a){this._finalizers=null;try{for(var l=Fe(a),c=l.next();!c.done;c=l.next()){var u=c.value;try{qe(u)}catch(e){n=null!=n?n:[],e instanceof je?n=ze(ze([],Oe(n)),Oe(e.errors)):n.push(e)}}}catch(e){i={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}}if(n)throw new je(n)}},Ge.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)qe(e);else{if(e instanceof Ge){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},Ge.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Ge.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Ge.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&We(t,e)},Ge.prototype.remove=function(e){var t=this._finalizers;t&&We(t,e),e instanceof Ge&&e._removeParent(this)},Ge.EMPTY=((t=new Ge).closed=!0,t);var Ue=Ge,Ye=Ue.EMPTY;function Ge(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ve(e){return e instanceof Ue||e&&"closed"in e&&Re(e.remove)&&Re(e.add)&&Re(e.unsubscribe)}function qe(e){Re(e)?e():e.unsubscribe()}var Ke=void 0,Ze=!1,Xe=!1,Qe={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var n=Qe.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,ze([e,t],Oe(i))):setTimeout.apply(void 0,ze([e,t],Oe(i)))},clearTimeout:function(e){var t=Qe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Je(){}var et=null;function tt(e){if(Ze){var t=!et;if(t&&(et={errorThrown:!1,error:null}),e(),t){var t=et,i=t.errorThrown;if(et=null,i)throw t.error}}else e()}Ne(at,it=Ue),at.create=function(e,t,i){return new ct(e,t,i)},at.prototype.next=function(e){this.isStopped||this._next(e)},at.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},at.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},at.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,it.prototype.unsubscribe.call(this),this.destination=null)},at.prototype._next=function(e){this.destination.next(e)},at.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},at.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var it,rt=at,nt=Function.prototype.bind;function at(e){var t=it.call(this)||this;return t.isStopped=!1,e?Ve(t.destination=e)&&e.add(t):t.destination=mt,t}function ot(e,t){return nt.call(e,t)}dt.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){pt(e)}},dt.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){pt(e)}else pt(e)},dt.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){pt(e)}};var st,lt=dt,ct=(Ne(ut,st=rt),ut);function ut(e,t,i){var r=st.call(this)||this,i=Re(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=i?i:void 0}:r&&Xe?((t=Object.create(e)).unsubscribe=function(){return r.unsubscribe()},{next:e.next&&ot(e.next,t),error:e.error&&ot(e.error,t),complete:e.complete&&ot(e.complete,t)}):e;return r.destination=new lt(i),r}function dt(e){this.partialObserver=e}function pt(e){var t=e;Qe.setTimeout(function(){throw t})}var mt={closed:!0,next:Je,error:function(e){throw e},complete:Je},t="function"==typeof Symbol&&Symbol.observable||"@@observable";ft.prototype.lift=function(e){var t=new ft;return t.source=this,t.operator=e,t},ft.prototype.subscribe=function(e,t,i){var r,n=this,a=(r=e)&&r instanceof rt||r&&Re(r.next)&&Re(r.error)&&Re(r.complete)&&Ve(r)?e:new ct(e,t,i);return tt(function(){var e=n.operator,t=n.source;a.add(e?e.call(a,t):t?n._subscribe(a):n._trySubscribe(a))}),a},ft.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ft.prototype.forEach=function(r,e){var n=this;return new(e=gt(e))(function(e,t){var i=new ct({next:function(e){try{r(e)}catch(e){t(e),i.unsubscribe()}},error:t,complete:e});n.subscribe(i)})},ft.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},ft.prototype[t]=function(){return this},ft.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)},ft.prototype.toPromise=function(e){var r=this;return new(e=gt(e))(function(e,t){var i;r.subscribe(function(e){return i=e},function(e){return t(e)},function(){return e(i)})})},ft.create=function(e){return new ft(e)};var ht=ft;function ft(e){e&&(this._subscribe=e)}function gt(e){return null!=(e=null!=e?e:Ke)?e:Promise}var yt,vt,bt,wt=He(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),t=(Ne(Et,bt=ht),Et.prototype.lift=function(e){var t=new xt(this,this);return t.operator=e,t},Et.prototype._throwIfClosed=function(){if(this.closed)throw new wt},Et.prototype.next=function(n){var a=this;tt(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){a.currentObservers||(a.currentObservers=Array.from(a.observers));try{for(var i=Fe(a.currentObservers),r=i.next();!r.done;r=i.next())r.value.next(n)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},Et.prototype.error=function(t){var i=this;tt(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)}})},Et.prototype.complete=function(){var t=this;tt(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Et.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Et.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Et.prototype._trySubscribe=function(e){return this._throwIfClosed(),bt.prototype._trySubscribe.call(this,e)},Et.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Et.prototype._innerSubscribe=function(e){var t=this,i=this.hasError,r=this.isStopped,n=this.observers;return i||r?Ye:(this.currentObservers=null,n.push(e),new Ue(function(){t.currentObservers=null,We(n,e)}))},Et.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,i=this.thrownError,r=this.isStopped;t?e.error(i):r&&e.complete()},Et.prototype.asObservable=function(){var e=new ht;return e.source=this,e},Et.create=function(e,t){return new xt(e,t)},Et),xt=(Ne(Lt,vt=t),Lt.prototype.next=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.next)&&i.call(t,e)},Lt.prototype.error=function(e){var t,i;null!=(i=null==(t=this.destination)?void 0:t.error)&&i.call(t,e)},Lt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Lt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ye},Lt),_t={now:function(){return(_t.delegate||Date).now()},delegate:void 0},Ct=(Ne(Pt,yt=t),Pt.prototype.next=function(e){var t=this,i=t.isStopped,r=t._buffer,n=t._infiniteTimeWindow,a=t._timestampProvider,t=t._windowTime;i||(r.push(e),n)||r.push(a.now()+t),this._trimBuffer(),yt.prototype.next.call(this,e)},Pt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,r=this._buffer.slice(),n=0;n<r.length&&!e.closed;n+=i?1:2)e.next(r[n]);return this._checkFinalizedStatuses(e),t},Pt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,i=this._buffer,r=this._infiniteTimeWindow,n=(r?1:2)*e;if(e<1/0&&n<i.length&&i.splice(0,i.length-n),!r){for(var a=t.now(),o=0,s=1;s<i.length&&i[s]<=a;s+=2)o=s;o&&i.splice(0,o+1)}},Pt);function Pt(e,t,i){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===i&&(i=_t);var r=yt.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=i,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function Lt(e,t){var i=vt.call(this)||this;return i.destination=e,i.source=t,i}function Et(){var e=bt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Tt=[],kt={},At=[];function St(r,n=ae){let a,o=new Set;function s(e){if(i(r,e)&&(r=e,a)){let e=!At.length;for(let e of o)e[1](),At.push(e,r);if(e){for(let e=0;e<At.length;e+=2)At[e][0](At[e+1]);At.length=0}}}return{set:s,update:function(e){s(e(r))},subscribe:function(e,t=ae){let i=[e,t];return o.add(i),1===o.size&&(a=n(s)||ae),e(r),()=>{o.delete(i),0===o.size&&a&&(a(),a=null)}}}}function Mt(e,s,t){let l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:St(t,t=>{let i=!1,r=[],n=0,a=ae,o=()=>{var e;n||(a(),e=s(l?r[0]:r,t),u?t(e):a=ue(e)?e:ae)},e=c.map((e,t)=>d(e,e=>{r[t]=e,n&=~(1<<t),i&&o()},()=>{n|=1<<t}));return i=!0,o(),function(){oi(e),a(),i=!1}}).subscribe}}function Dt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===$t);var t}var $t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Bt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?zt(Array.isArray(e)?[]:{},e,t):e}function It(e,t,i){return e.concat(t).map(function(e){return Bt(e,i)})}function Nt(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 Ft(e,t){try{return t in e}catch(e){return!1}}function Ot(r,n,a){var o={};return a.isMergeableObject(r)&&Nt(r).forEach(function(e){o[e]=Bt(r[e],a)}),Nt(n).forEach(function(e){var t,i;(!Ft(t=r,i=e)||Object.hasOwnProperty.call(t,i)&&Object.propertyIsEnumerable.call(t,i))&&(Ft(r,e)&&a.isMergeableObject(n[e])?o[e]=((t=a).customMerge&&"function"==typeof(t=t.customMerge(e))?t:zt)(r[e],n[e],a):o[e]=Bt(n[e],a))}),o}function zt(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||It,i.isMergeableObject=i.isMergeableObject||Dt,i.cloneUnlessOtherwiseSpecified=Bt;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):Ot(e,t,i):Bt(t,i)}zt.all=function(e,i){if(Array.isArray(e))return e.reduce(function(e,t){return zt(e,t,i)},{});throw new Error("first argument should be an array")};var Rt=zt,Ht=function(e,t){return(Ht=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 jt(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}Ht(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var f,y,Wt,g=function(){return(g=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Ut(e,t,i){if(i||2===arguments.length)for(var r,n=0,a=t.length;n<a;n++)!r&&n in t||((r=r||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function Yt(e){return e.type===y.literal}function Gt(e){return e.type===y.number}function Vt(e){return e.type===y.date}function qt(e){return e.type===y.time}function Kt(e){return e.type===y.select}function Zt(e){return e.type===y.plural}function Xt(e){return e.type===y.tag}function Qt(e){return e&&"object"==typeof e&&e.type===Wt.number}function Jt(e){return e&&"object"==typeof e&&e.type===Wt.dateTime}(t=f=f||{})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",(t=y=y||{})[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",(t=Wt=Wt||{})[t.number=0]="number",t[t.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ei=/(?:[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 ti=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,ii=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ri=/^(@+)?(\+|#+)?[rs]?$/g,ni=/(\*)(0+)|(#+)(0+)|(0+)/g,ai=/^(0+)$/;function xi(e){var r={};return"r"===e[e.length-1]?r.roundingPriority="morePrecision":"s"===e[e.length-1]&&(r.roundingPriority="lessPrecision"),e.replace(ri,function(e,t,i){return"string"!=typeof i?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===i?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof i?i.length:0)),""}),r}function _i(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 Ci(e){return _i(e)||{}}function Pi(e){for(var o={},t=0,i=e;t<i.length;t++){var r,n=i[t];switch(n.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=n.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=g(g(g({},o),{notation:"scientific"}),n.options.reduce(function(e,t){return g(g({},e),Ci(t))},{}));continue;case"engineering":o=g(g(g({},o),{notation:"engineering"}),n.options.reduce(function(e,t){return g(g({},e),Ci(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(ni,function(e,t,i,r,n,a){if(t)o.minimumIntegerDigits=i.length;else{if(r&&n)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ai.test(n.stem))o.minimumIntegerDigits=n.stem.length;else if(ii.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(ii,function(e,t,i,r,n,a){return"*"===i?o.minimumFractionDigits=t.length:r&&"#"===r[0]?o.maximumFractionDigits=r.length:n&&a?(o.minimumFractionDigits=n.length,o.maximumFractionDigits=n.length+a.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var a=n.options[0];"w"===a?o=g(g({},o),{trailingZeroDisplay:"stripIfInteger"}):a&&(o=g(g({},o),xi(a)))}else ri.test(n.stem)?o=g(g({},o),xi(n.stem)):((a=_i(n.stem))&&(o=g(g({},o),a)),(r=(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)),!ai.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(n.stem))&&(o=g(g({},o),r)))}return o}var Li={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 Ei=new RegExp("^".concat(t.source,"*")),Ti=new RegExp("".concat(t.source,"*$"));function v(e,t){return{start:e,end:t}}var t=!!String.prototype.startsWith,ki=!!String.fromCodePoint,Si=!!Object.fromEntries,Mi=!!String.prototype.codePointAt,Di=!!String.prototype.trimStart,$i=!!String.prototype.trimEnd,Bi=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ii=!0;try{Ii="a"===(null==(ir=Ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ir[0])}catch(fa){Ii=!1}var Ni,Fi,Oi=t?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},zi=ki?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",n=e.length,a=0;a<n;){if(1114111<(i=e[a++]))throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},Ri=Si?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];t[n[0]]=n[1]}return t},Hi=Mi?function(e,t){return e.codePointAt(t)}:function(e,t){var i,r=e.length;if(!(t<0||r<=t))return(i=e.charCodeAt(t))<55296||56319<i||t+1===r||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536},ji=Di?function(e){return e.trimStart()}:function(e){return e.replace(Ei,"")},Wi=$i?function(e){return e.trimEnd()}:function(e){return e.replace(Ti,"")};function Ui(e,t){return new RegExp(e,t)}Fi=Ii?(Ni=Ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ni.lastIndex=t,null!=(t=Ni.exec(e)[1])?t:""}):function(e,t){for(var i,r=[];;){var n=Hi(e,t);if(void 0===n||Vi(n)||33<=(i=n)&&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;r.push(n),t+=65536<=n?2:1}return zi.apply(void 0,r)};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 r=[];!this.isEOF();){var n,a=this.char();if(123===a){if((n=this.parseArgument(e,i)).err)return n;r.push(n.val)}else{if(125===a&&0<e)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(f.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Gi(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;r.push(n.val)}else{a=this.clonePosition();this.bump(),r.push({type:y.pound,location:v(a,this.clonePosition())})}}}return{val:r,err:null}},a.prototype.parseTag=function(e,t){var i,r=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:v(r,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()||!Gi(this.char())?this.error(f.INVALID_TAG,v(e,this.clonePosition())):(i=this.clonePosition(),n!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:v(r,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,v(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,v(r,this.clonePosition()))):this.error(f.INVALID_TAG,v(r,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(),r="";;){var n=this.tryParseQuote(t);if(n)r+=n;else{n=this.tryParseUnquoted(e,t);if(n)r+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;r+=n}}}i=v(i,this.clonePosition());return{val:{type:y.literal,value:r,location:i},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Gi(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 zi.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(),zi(i))},a.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,v(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(f.MALFORMED_ARGUMENT,v(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:r,location:v(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(f.MALFORMED_ARGUMENT,v(i,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Fi(this.message,t),t=t+i.length;return this.bumpTo(t),{value:i,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,i,r){var n,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,v(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=Wi(d.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(r)).err?c:(m=v(r,this.clonePosition()),l&&Oi(null==l?void 0:l.style,"::",0)?(h=ji(l.style.slice(2)),"number"===o?(d=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?d:{val:{type:y.number,value:i,location:m,style:d.val},err:null}:0===h.length?this.error(f.EXPECT_DATE_TIME_SKELETON,m):(u=h,this.locale&&(u=((e,t)=>{for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if("j"===n){for(var a=0;r+1<e.length&&e.charAt(r+1)===n;)a++,r++;var o=1+(1&a),s=a<2?1:3+(a>>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),(Li[t||""]||Li[i||""]||Li["".concat(i,"-001")]||Li["001"])[0]})(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)i+="a";for(;0<o--;)i=l+i}else i+="J"===n?"H":n}return i})(h,this.locale)),p={type:Wt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(ei,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.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":n.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":n.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":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.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":n.minute=["numeric","2-digit"][t-1];break;case"s":n.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":n.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""}),n):{}},{val:{type:"date"===o?y.date:y.time,value:i,location:m,style:p},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:i,location:m,style:null!=(h=null==l?void 0:l.style)?h:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,g({},u)));this.bumpSpace();var d,p=this.parseIdentifierIfPossible(),m=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),p=this.parseIdentifierIfPossible(),m=d.val}var h,l=this.tryParsePluralOrSelectOptions(e,o,t,p);return l.err?l:(c=this.tryParseArgumentClose(r)).err?c:(h=v(r,this.clonePosition()),"select"===o?{val:{type:y.select,value:i,options:Ri(l.val),location:h},err:null}:{val:{type:y.plural,value:i,options:Ri(l.val),offset:m,pluralType:"plural"===o?"cardinal":"ordinal",location:h},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,v(a,s))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(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,r=e.split(ti).filter(function(e){return 0<e.length});i<r.length;i++){var n=r[i].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var a=n[0],n=n.slice(1),o=0,s=n;o<s.length;o++)if(0===s[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:n})}return t})(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:Wt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Pi(i):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var n=!1,a=[],o=new Set,s=r.value,l=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(o.has(s))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,i);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;a.push([s,{value:c.val,location:v(u,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===a.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(f.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:a,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var n=!1,a=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;n=!0,a=10*a+(o-48),this.bump()}r=v(r,this.clonePosition());return n?Bi(a*=i)?{val:a,err:null}:this.error(t,r):this.error(e,r)},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=Hi(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(Oi(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()&&Vi(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 Yi=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 Gi(e){return 97<=e&&e<=122||65<=e&&e<=90}function Vi(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function qi(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var i,e=new Yi(e,t).parse();if(e.err)throw(i=SyntaxError(f[e.err.kind])).location=e.err.location,i.originalMessage=e.err.message,i;return null!=t&&t.captureLocation||function i(e){e.forEach(function(e){if(delete e.location,Kt(e)||Zt(e))for(var t in e.options)delete e.options[t].location,i(e.options[t].value);else Gt(e)&&Qt(e.style)||(Vt(e)||qt(e))&&Jt(e.style)?delete e.style.location:Xt(e)&&i(e.children)})}(e.val),e.val}function Ki(e,t){var i=t&&t.cache?t.cache:rr,r=t&&t.serializer?t.serializer:Ji;return(t&&t.strategy?t.strategy:function(e,t){return Qi(e,this,1===e.length?Zi:Xi,t.cache.create(),t.serializer)})(e,{cache:i,serializer:r})}function Zi(e,t,i,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:i(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function Xi(e,t,i){var r=Array.prototype.slice.call(arguments,3),i=i(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function Qi(e,t,i,r,n){return i.bind(t,e,r,n)}var Ji=function(){return JSON.stringify(arguments)};function er(){this.cache=Object.create(null)}er.prototype.get=function(e){return this.cache[e]},er.prototype.set=function(e,t){this.cache[e]=t};var tr,ir,rr={create:function(){return new er}},nr={variadic:function(e,t){return Qi(e,this,Xi,t.cache.create(),t.serializer)},monadic:function(e,t){return Qi(e,this,Zi,t.cache.create(),t.serializer)}};(ir=tr=tr||{}).MISSING_VALUE="MISSING_VALUE",ir.INVALID_VALUE="INVALID_VALUE",ir.MISSING_INTL_API="MISSING_INTL_API";jt(yr,cr=Error),yr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ar,or,sr,lr,cr,ur=yr,dr=(jt(gr,lr=ur),gr),pr=(jt(fr,sr=ur),fr),mr=(jt(hr,or=ur),hr);function hr(e,t){return or.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),tr.MISSING_VALUE,t)||this}function fr(e,t,i){return sr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),tr.INVALID_VALUE,i)||this}function gr(e,t,i,r){return lr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(i).join('", "'),'"'),tr.INVALID_VALUE,r)||this}function yr(e,t,i){e=cr.call(this,e)||this;return e.code=t,e.originalMessage=i,e}function vr(e,t,i,r,n,a,o){if(1===e.length&&Yt(e[0]))return[{type:ar.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Yt(u))s.push({type:ar.literal,value:u.value});else if(u.type===y.pound)"number"==typeof a&&s.push({type:ar.literal,value:i.getNumberFormat(t).format(a)});else{var d=u.value;if(!(n&&d in n))throw new mr(d,o);d=n[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?ar.literal:ar.object,value:d});else if(Vt(u)){var p="string"==typeof u.style?r.date[u.style]:Jt(u.style)?u.style.parsedOptions:void 0;s.push({type:ar.literal,value:i.getDateTimeFormat(t,p).format(d)})}else if(qt(u))p="string"==typeof u.style?r.time[u.style]:Jt(u.style)?u.style.parsedOptions:r.time.medium,s.push({type:ar.literal,value:i.getDateTimeFormat(t,p).format(d)});else if(Gt(u))(p="string"==typeof u.style?r.number[u.style]:Qt(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(d*=p.scale||1),s.push({type:ar.literal,value:i.getNumberFormat(t,p).format(d)});else{if(Xt(u)){var m=u.children,h=u.value,f=n[h];if("function"!=typeof f)throw new pr(h,"function",o);h=f(vr(m,t,i,r,n,a).map(function(e){return e.value}));Array.isArray(h)||(h=[h]),s.push.apply(s,h.map(function(e){return{type:"string"==typeof e?ar.literal:ar.object,value:e}}))}if(Kt(u)){if(!(g=u.options[d]||u.options.other))throw new dr(u.value,d,Object.keys(u.options),o);s.push.apply(s,vr(g.value,t,i,r,n))}else if(Zt(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new ur('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',tr.MISSING_INTL_API,o);var f=i.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new dr(u.value,d,Object.keys(u.options),o);s.push.apply(s,vr(g.value,t,i,r,n,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===ar.literal&&t.type===ar.literal?i.value+=t.value:e.push(t),e},[])}function br(i){return{create:function(){return{get:function(e){return i[e]},set:function(e,t){i[e]=t}}}}}(t=ar=ar||{})[t.literal=0]="literal",t[t.object=1]="object";Object.defineProperty(xr,"defaultLocale",{get:function(){return xr.memoizedDefaultLocale||(xr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),xr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),xr.memoizedDefaultLocale=null,xr.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])},xr.__parse=qi,xr.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 wr=xr;function xr(e,t,i,r){var n,a,o=this;if(void 0===t&&(t=xr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===ar.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 vr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=xr.resolveLocale(t),"string"==typeof e){if(this.message=e,!xr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=xr.__parse(e,{ignoreTag:null==r?void 0:r.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=(n=xr.formats,(a=i)?Object.keys(n).reduce(function(e,t){var i,r;return e[t]=(i=n[t],(r=a[t])?g(g(g({},i||{}),r||{}),Object.keys(i).reduce(function(e,t){return e[t]=g(g({},i[t]),r[t]||{}),e},{})):i),e},g({},n)):n),this.formatters=r&&r.formatters||{getNumberFormat:Ki(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Ut([void 0],t,!1)))},{cache:br((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:nr.variadic}),getDateTimeFormat:Ki(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Ut([void 0],t,!1)))},{cache:br(t.dateTime),strategy:nr.variadic}),getPluralRules:Ki(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Ut([void 0],t,!1)))},{cache:br(t.pluralRules),strategy:nr.variadic})}}let _r={},Cr=(e,t,i)=>i&&(t in _r||(_r[t]={}),e in _r[t]||(_r[t][e]=i),i),Pr=(t,i)=>{if(null!=i){if(i in _r&&t in _r[i])return _r[i][t];var r=Yr(i);for(let e=0;e<r.length;e++){var n=((e,t)=>Tr(e)?e=((e,t)=>{if(null!=t){if(t in e)return e[t];var r=t.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}})(e=(e=>Lr[e]||null)(e),t):null)(r[e],t);if(n)return Cr(t,i,n)}}},Lr,Er=St({});function Tr(e){return e in Lr}function I(t,...i){delete _r[t],Er.update(e=>(e[t]=Rt.all([e[t]||{},...i]),e))}Mt([Er],([e])=>Object.keys(e)),Er.subscribe(e=>Lr=e);let kr={};function Ar(e){return kr[e]}function Sr(e){return null!=e&&Yr(e).some(e=>null==(e=Ar(e))?void 0:e.size)}function Mr(r,e){return Promise.all(e.map(e=>{return t=r,i=e,kr[t].delete(i),0===kr[t].size&&delete kr[t],e().then(e=>e.default||e);var t,i})).then(e=>I(r,...e))}let Dr={};function $r(e){var t;return Sr(e)?(t=Yr(e).map(e=>{var t=Ar(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Dr[e]=Promise.all(t.map(([e,t])=>Mr(e,t))).then(()=>{if(Sr(e))return $r(e);delete Dr[e]}),Dr[e]):e in Dr?Dr[e]:Promise.resolve()}let Br={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Ir(){return Br}let Nr=St(!1);var Fr=Object.defineProperty,ki=Object.defineProperties,Si=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Hr=(e,t,i)=>t in e?Fr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let jr,Wr=St(null);function Ur(e){return e.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function Yr(e,t=Br.fallbackLocale){e=Ur(e);return t?[...new Set([...e,...Ur(t)])]:e}function Gr(){return null!=jr?jr:void 0}Wr.subscribe(e=>{jr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});Mi=((e,t)=>{for(var i in t=t||{})zr.call(t,i)&&Hr(e,i,t[i]);if(Or)for(var i of Or(t))Rr.call(t,i)&&Hr(e,i,t[i]);return e})({},Wr);let ke=ki(Mi,Si({set:t=>{if(t&&function(e){if(null==e)return;const t=Yr(e);for(let e=0;e<t.length;e++){const i=t[e];if(Tr(i))return i}}(t)&&Sr(t)){const{loadingDelay:i}=Ir();let e;return"undefined"!=typeof window&&null!=Gr()&&i?e=window.setTimeout(()=>Nr.set(!0),i):Nr.set(!0),$r(t).then(()=>{Wr.set(t)}).finally(()=>{clearTimeout(e),Nr.set(!1)})}return Wr.set(t)}})),Vr=i=>{let r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=i(e)}};var qr=Object.defineProperty,Kr=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,Qr=(e,t,i)=>t in e?qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Jr=(e,t)=>{for(var i in t=t||{})Zr.call(t,i)&&Qr(e,i,t[i]);if(Kr)for(var i of Kr(t))Xr.call(t,i)&&Qr(e,i,t[i]);return e},en=(e,t)=>{var i={};for(r in e)Zr.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&Kr)for(var r of Kr(e))t.indexOf(r)<0&&Xr.call(e,r)&&(i[r]=e[r]);return i};let tn=(e,t)=>{var i=Br.formats;if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},rn=Vr(e=>{var{locale:t,format:i}=e,e=en(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(e=tn("number",i)),new Intl.NumberFormat(t,e)}),nn=Vr(e=>{var{locale:t,format:i}=e,e=en(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?e=tn("date",i):0===Object.keys(e).length&&(e=tn("date","short")),new Intl.DateTimeFormat(t,e)}),an=Vr(e=>{var{locale:t,format:i}=e,e=en(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?e=tn("time",i):0===Object.keys(e).length&&(e=tn("time","short")),new Intl.DateTimeFormat(t,e)}),on=Vr((e,t=Gr())=>new wr(e,t,Br.formats,{ignoreTag:Br.ignoreTag})),Ae=Mt([ke,Er],()=>(e,t={})=>{let i,r,n,a,o=t;"object"==typeof e&&(e=(o=e).id);var{values:s,locale:l=Gr(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Pr(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(a=null!=(n=null==(r=(i=Br).handleMissingMessage)?void 0:r.call(i,{locale:l,id:e,defaultValue:c}))?n:c)?a:e;if(!s)return u;let d=u;try{d=on(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d}),sn=(Mt([ke],()=>(e,t)=>((e={})=>{var{locale:t=Gr()}=e,e=en(e,["locale"]);return an(Jr({locale:t},e))})(t).format(e)),Mt([ke],()=>(e,t)=>((e={})=>{var{locale:t=Gr()}=e,e=en(e,["locale"]);return nn(Jr({locale:t},e))})(t).format(e)),Mt([ke],()=>(e,t)=>((e={})=>{var{locale:t=Gr()}=e,e=en(e,["locale"]);return rn(Jr({locale:t},e))})(t).format(e)),Mt([ke,Er],()=>(e,t=Gr())=>Pr(e,t)),window.emWidgets={topic:(e,t=0)=>(-1==Tt.indexOf(e)&&(t=new Ct(t),kt[e]=t,Tt.push(e)),kt[e])},e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))),Se=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function ln(e,t){I(e,t)}let cn={en:{profileUpdateSuccess:"Profile updated!",timeoutSuccess:"Timeout active",selfExclusionSuccess:"Self exclusion active",accountClosureSuccess:"Account closed",limitsUpdateSuccess:"Limits updated",limitsDeleteSuccess:"Limits deleted",passwordChangedSuccess:"Password changed successfully",realityCheckSuccess:"Reality check options saved"},"zh-hk":{profileUpdateSuccess:"資料更新!",timeoutSuccess:"超時有效",selfExclusionSuccess:"自我排斥活躍",accountClosureSuccess:"賬戶關閉",limitsUpdateSuccess:"限制已更新",limitsDeleteSuccess:"已刪除限制",passwordChangedSuccess:"密碼修改成功",realityCheckSuccess:"現實檢查選項已保存"},fr:{profileUpdateSuccess:"Mise à jour du profil!",timeoutSuccess:"Délai d'attente actif",selfExclusionSuccess:"Auto exclusion active",accountClosureSuccess:"Compte fermé",limitsUpdateSuccess:"Limites des mises à jour",limitsDeleteSuccess:"Limites supprimées",passwordChangedSuccess:"Le mot de passe a été modifié avec succés",realityCheckSuccess:"Options de contrôle de la réalité sauvegardées"},ro:{profileUpdateSuccess:"Profil updatat!",timeoutSuccess:"Timeout activ",selfExclusionSuccess:"Auto-excludere activa",accountClosureSuccess:"Cont inchis",limitsUpdateSuccess:"Limite updatate",limitsDeleteSuccess:"Limite sterse",passwordChangedSuccess:"Parola schimbata cu success",realityCheckSuccess:"Optiunile de verificare de timp salvate"},es:{profileUpdateSuccess:"Perfil actualizado!",timeoutSuccess:"Pausa activa",selfExclusionSuccess:"Auto Exclusión activa.",accountClosureSuccess:"Cuenta cerrada",limitsUpdateSuccess:"Limites actualizados",limitsDeleteSuccess:"Limites delegados",passwordChangedSuccess:"Cambio de Contraseña satisfactorio",realityCheckSuccess:"Opciones de verificación de realidad guardadas"},pt:{profileUpdateSuccess:"Perfil atualizado!",timeoutSuccess:"Tempo Limite ativo",selfExclusionSuccess:"Autoexclusão ativa",accountClosureSuccess:"Conta encerrada",limitsUpdateSuccess:"Limites atualizados",limitsDeleteSuccess:"Limites excluídos",passwordChangedSuccess:"Senha alterada com sucesso",realityCheckSuccess:"Opções de verificação de realidade salvas"},hr:{profileUpdateSuccess:"Profil ažuriran!",timeoutSuccess:"Pauza je aktivna",selfExclusionSuccess:"Aktivno samoisključivanje",accountClosureSuccess:"Račun zatvoren",limitsUpdateSuccess:"Ograničenja ažurirana",limitsDeleteSuccess:"Ograničenja izbrisana",passwordChangedSuccess:"Lozinka je uspješno promijenjena",realityCheckSuccess:"Opcije provjere stvarnosti spremljene"},"pt-br":{profileUpdateSuccess:"Perfil aceito!",timeoutSuccess:"Pausa ativa",selfExclusionSuccess:"Autoexclusão ativa",accountClosureSuccess:"Conta encerrada",limitsUpdateSuccess:"Limites atualizados",limitsDeleteSuccess:"Limites apagados",PasswordChangedSuccess:"Senha alterada com sucesso",realityCheckSuccess:"Opções de verificação da realidade salvas"},"es-mx":{profileUpdateSuccess:"Perfil aceptado!",timeoutSuccess:"Pausa activa",selfExclusionSuccess:"Auto-exclusión activa",accountClosureSuccess:"Cuenta cerrada",limitsUpdateSuccess:"Límites actualizados",limitsDeleteSuccess:"Límites borrados",PasswordChangedSuccess:"Password cambiada con éxito",realityCheckSuccess:"Opciones de control de realidad guardadas"},tr:{profileUpdateSuccess:"Profil güncellendi!",timeoutSuccess:"Zaman aşımı etkin",selfExclusionSuccess:"Kendini dışlama etkin",accountClosureSuccess:"Hesap kapatıldı",limitsUpdateSuccess:"Sınırlar güncellendi",limitsDeleteSuccess:"Sınırlar silindi",passwordChangedSuccess:"parola başarıyla değiştirildi",realityCheckSuccess:"Gerçeklik kontrolü seçenekleri kaydedildi"}};function un(e,t){I(e,t)}let dn={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"}};function pn(e,t){I(e,t)}let mn={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"},hr:{logoutButton:"Odjava"},"pt-br":{logoutButton:"Fechar Sessão"},"es-mx":{logoutButton:"Cerrar sesión"}};function hn(i){let r,n,a,o,s,l,c=i[2]("logoutButton")+"";return{c(){r=di("div"),n=di("button"),a=di("span"),o=mi(c),gi(r,"class","GeneralLogout")},m(e,t){li(e,r,t),si(r,n),si(n,a),si(a,o),s||(l=fi(n,"click",i[13]),s=!0)},p(e,t){4&t&&c!==(c=e[2]("logoutButton")+"")&&yi(o,c)},d(e){e&&ci(r),s=!1,l()}}}function fn(a){let i,r,n,o,s,l,c,u,d,p,m,h=!a[3]&&(()=>{let i,r,n=a[2]("logoutButton")+"";return{c(){i=di("span"),r=mi(n),gi(i,"class","PlayerLogoutText")},m(e,t){li(e,i,t),si(i,r)},p(e,t){4&t&&n!==(n=e[2]("logoutButton")+"")&&yi(r,n)},d(e){e&&ci(i)}}})();return{c(){i=di("p"),r=di("span"),n=pi("svg"),o=pi("defs"),s=pi("style"),l=mi(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"),c=pi("path"),u=pi("path"),d=hi(),h&&h.c(),gi(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),gi(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),gi(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),gi(u,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),gi(n,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),gi(n,"data-name","Layer 1"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"viewBox","0 0 150 150"),k(r,"width",a[3]?a[4].matches?"50px":"24px":"20px"),gi(i,"class","PlayerAccountMenuItemBox "+(a[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(a[4].matches&&a[3]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){li(e,i,t),si(i,r),si(r,n),si(n,o),si(o,s),si(s,l),si(n,c),si(n,u),si(i,d),h&&h.m(i,null),p||(m=fi(i,"click",a[12]),p=!0)},p(e,t){e[3]||h.p(e,t)},d(e){e&&ci(i),h&&h.d(),p=!1,m()}}}function gn(i){let r;function n(e){return"PlayerAccountMenu"===e[0]?fn:hn}let a=n(i),o=a(i);return{c(){r=di("div"),o.c(),this.c=ae},m(e,t){li(e,r,t),o.m(r,null),i[14](r)},p(e,[t]){a===(a=n(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:ae,o:ae,d(e){e&&ci(r),o.d(),i[14](null)}}}function yn(t,e,i){let r;Le(t,Ae,e=>i(2,r=e));let n,{endpoint:a=""}=e,{session:o=""}=e,{buttonlocation:s=""}=e,{lang:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{translationurl:d=""}=e,p="",m=!1,h=window.navigator.userAgent,f="PC"!==Se(h);e=window.matchMedia("(min-width: 768px)");Object.keys(mn).forEach(e=>{pn(e,mn[e])});let g=()=>{var e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",o),fetch(a+"/v1/player/session/player",{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"},window.location.href)})};return t.$$set=e=>{"endpoint"in e&&i(6,a=e.endpoint),"session"in e&&i(7,o=e.session),"buttonlocation"in e&&i(0,s=e.buttonlocation),"lang"in e&&i(8,l=e.lang),"clientstyling"in e&&i(9,c=e.clientstyling),"clientstylingurl"in e&&i(10,u=e.clientstylingurl),"translationurl"in e&&i(11,d=e.translationurl)},t.$$.update=()=>{if(193&t.$$.dirty&&a&&o&&s&&(a||(p="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",m=!0,console.error(p)),o||(p="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",m=!0,console.error(p))),256&t.$$.dirty&&l&&(e=l,ke.set(e)),514&t.$$.dirty&&c&&n&&((e=document.createElement("style")).innerHTML=c,n.appendChild(e)),1026&t.$$.dirty&&u&&n){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e;2048&t.$$.dirty&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{pn(e,t[e])})}).catch(e=>{console.log(e)})},[s,n,r,f,e,g,a,o,l,c,u,d,()=>g(),()=>g(),function(e){Te[e?"unshift":"push"](()=>{n=e,i(1,n)})}]}function vn(e,t,i){e=e.slice();return e[37]=t[i],e}function bn(t){let i,r,n,a,o,s,l,c,u,d,p,m,h=t[10]&&(i=>{let r,n,a,o,s,l,c,u,d,p,m,h,f,g=i[9]("title")+"";return{c(){r=di("div"),n=pi("svg"),a=pi("defs"),o=pi("style"),s=mi(".aaa{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=pi("g"),c=pi("g"),u=pi("path"),d=hi(),p=di("h3"),m=mi(g),gi(u,"class","aaa"),gi(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),gi(u,"transform","translate(15 15) rotate(180)"),gi(c,"transform","translate(20 158)"),gi(l,"transform","translate(-20 -158)"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"width","15"),gi(n,"height","15"),gi(n,"viewBox","0 0 15 15"),gi(p,"class","PlayerAccountMenuCategoryTitle"),gi(r,"class","PlayerAccountMenuCategoryWrapper")},m(e,t){li(e,r,t),si(r,n),si(n,a),si(a,o),si(o,s),si(n,l),si(l,c),si(c,u),si(r,d),si(r,p),si(p,m),h||(f=[fi(n,"click",i[13]),fi(p,"click",i[13])],h=!0)},p(e,t){512&t[0]&&g!==(g=e[9]("title")+"")&&yi(m,g)},d(e){e&&ci(r),h=!1,oi(f)}}})(t),f=t[10]&&(e=>{let i,r;return{c(){i=di("div"),oe(r=di("general-logout"),"endpoint",e[1]),oe(r,"session",e[0]),oe(r,"buttonlocation","PlayerAccountMenu"),oe(r,"clientstyling",e[2]),oe(r,"clientstylingurl",e[3]),gi(i,"class","PlayerAccountLogOutArea")},m(e,t){li(e,i,t),si(i,r)},p(e,t){2&t[0]&&oe(r,"endpoint",e[1]),1&t[0]&&oe(r,"session",e[0]),4&t[0]&&oe(r,"clientstyling",e[2]),8&t[0]&&oe(r,"clientstylingurl",e[3])},d(e){e&&ci(i)}}})(t),g=t[5],y=[];for(let e=0;e<g.length;e+=1)y[e]=wn(vn(t,g,e));let v=!t[10]&&(e=>{let i,r;return{c(){i=di("div"),oe(r=di("general-logout"),"endpoint",e[1]),oe(r,"session",e[0]),oe(r,"buttonlocation","PlayerAccountMenu"),oe(r,"clientstyling",e[2]),oe(r,"clientstylingurl",e[3]),gi(i,"class","PlayerAccountLogOutArea")},m(e,t){li(e,i,t),si(i,r)},p(e,t){2&t[0]&&oe(r,"endpoint",e[1]),1&t[0]&&oe(r,"session",e[0]),4&t[0]&&oe(r,"clientstyling",e[2]),8&t[0]&&oe(r,"clientstylingurl",e[3])},d(e){e&&ci(i)}}})(t);return{c(){i=di("div"),r=di("div"),h&&h.c(),n=hi(),a=di("p"),o=mi(t[7]),s=hi(),l=di("p"),c=mi(t[8]),u=hi(),f&&f.c(),d=hi(),p=di("div");for(let e=0;e<y.length;e+=1)y[e].c();m=hi(),v&&v.c(),gi(a,"class","PlayerAccountMenuUser"),gi(l,"class","PlayerAccountMenuEmail"),gi(r,"class","PlayerAccountMenuHeader "+(t[10]?"PlayerAccountMenuHeaderMobile":"")),gi(p,"class","PlayerAccountMenuList"),gi(i,"class","PlayerAccountMenuContainer "+(t[10]?"PlayerAccountMobileContainer":"")+" "+(t[11].matches&&t[10]?"PlayerAccountTabletContainer":""))},m(e,t){li(e,i,t),si(i,r),h&&h.m(r,null),si(r,n),si(r,a),si(a,o),si(r,s),si(r,l),si(l,c),si(r,u),f&&f.m(r,null),si(i,d),si(i,p);for(let e=0;e<y.length;e+=1)y[e]&&y[e].m(p,null);si(i,m),v&&v.m(i,null)},p(t,i){if(t[10]&&h.p(t,i),128&i[0]&&yi(o,t[7]),256&i[0]&&yi(c,t[8]),t[10]&&f.p(t,i),5216&i[0]){let e;for(g=t[5],e=0;e<g.length;e+=1){var r=vn(t,g,e);y[e]?y[e].p(r,i):(y[e]=wn(r),y[e].c(),y[e].m(p,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[10]||v.p(t,i)},d(e){e&&ci(i),h&&h.d(),f&&f.d(),ui(y,e),v&&v.d()}}}function wn(i){let r,n,a,o,s,l,c,u,d,p,m,h=i[37].label+"";function f(){return i[22](i[37])}return{c(){r=di("div"),n=di("p"),a=di("img"),s=hi(),l=di("span"),c=mi(h),u=hi(),gi(a,"class","PlayerAccountMenuItemIcon "+(i[10]?"PlayerAccountMenuItemIconMobile":"")),x(a.src,o=i[37].img)||gi(a,"src",o),gi(l,"class","PlayerAccountMenuItemTitle"),gi(n,"class","PlayerAccountMenuItemWrapper"),gi(r,"class",d="PlayerAccountMenuItemBox "+(i[6]!==i[37].id||i[10]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){li(e,r,t),si(r,n),si(n,a),si(n,s),si(n,l),si(l,c),si(r,u),p||(m=fi(r,"click",f),p=!0)},p(e,t){i=e,32&t[0]&&!x(a.src,o=i[37].img)&&gi(a,"src",o),32&t[0]&&h!==(h=i[37].label+"")&&yi(c,h),96&t[0]&&d!==(d="PlayerAccountMenuItemBox "+(i[6]!==i[37].id||i[10]?"":"PlayerAccountMenuActiveItemBox"))&&gi(r,"class",d)},d(e){e&&ci(r),p=!1,m()}}}function xn(i){let r,n=bn(i);return{c(){r=di("div"),n.c(),this.c=ae},m(e,t){li(e,r,t),n.m(r,null),i[23](r)},p(e,t){n.p(e,t)},i:ae,o:ae,d(e){e&&ci(r),n.d(),i[23](null)}}}function _n(r,e,n){let t;Le(r,Ae,e=>n(9,t=e));let a,i,{endpoint:o=""}=e,{cmsendpoint:s=""}=e,{env:l=""}=e,{session:c=""}=e,{playerid:u=""}=e,{lang:d="en"}=e,{selecteditem:p=""}=e,{userroles:m=""}=e,{clientstyling:h=""}=e,{clientstylingurl:f=""}=e,{translationurl:g=""}=e,{activemenuitem:y=""}=e,v=[],b=window.navigator.userAgent,w="PC"!==Se(b),x="",_="";e=window.matchMedia("(min-width: 768px)");Object.keys(dn).forEach(e=>{un(e,dn[e])});let C=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":availableMenuItemsArray=e.data.accountMenuInfo;break;case"UserSessionID":n(0,c=e.data.session)}},P=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),n(6,i=e.id)},L=()=>{var e;n(6,i=null==(e=v.find(e=>e.path.includes(y)))?void 0:e.id)};return Ee(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)})),r.$$set=e=>{"endpoint"in e&&n(1,o=e.endpoint),"cmsendpoint"in e&&n(14,s=e.cmsendpoint),"env"in e&&n(15,l=e.env),"session"in e&&n(0,c=e.session),"playerid"in e&&n(16,u=e.playerid),"lang"in e&&n(17,d=e.lang),"selecteditem"in e&&n(18,p=e.selecteditem),"userroles"in e&&n(19,m=e.userroles),"clientstyling"in e&&n(2,h=e.clientstyling),"clientstylingurl"in e&&n(3,f=e.clientstylingurl),"translationurl"in e&&n(20,g=e.translationurl),"activemenuitem"in e&&n(21,y=e.activemenuitem)},r.$$.update=()=>{if(131072&r.$$.dirty[0]&&d&&(i=d,ke.set(i)),196611&r.$$.dirty[0]&&o&&c&&u&&d&&((i=new URL(`${o}/v1/player/${u}/profile`)).searchParams.append("userRoles",m),t={method:"GET",headers:{"X-SessionID":c}},fetch(i.href,t).then(e=>e.json()).then(e=>{n(7,x=e.username),n(8,_=e.email)},e=>{console.error(e)})),180224&r.$$.dirty[0]&&s&&d&&l&&((t=new URL(`${s}/${d}/profile-menu?env=`+l)).searchParams.append("device",(()=>{var e=Se(b);if(e)return"PC"===e?"dk":"mtWeb"})()),fetch(t.href).then(e=>e.json()).then(e=>{n(5,v=e),L()}).catch(e=>{console.error("Error getting menu items",e)})),2097152&r.$$.dirty[0]&&y&&L(),24&r.$$.dirty[0]&&f&&a){let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e,t,i;20&r.$$.dirty[0]&&h&&a&&((e=document.createElement("style")).innerHTML=h,a.appendChild(e)),1048576&r.$$.dirty[0]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{un(e,t[e])})}).catch(e=>{console.error(e)})},[c,o,h,f,a,v,i,x,_,t,w,e,P,()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},s,l,u,d,p,m,g,y,e=>P(e),function(e){Te[e?"unshift":"push"](()=>{a=e,n(4,a)})}]}function Cn(e,t,i){e=e.slice();return e[14]=t[i],e}function Pn(t){let n,a=t[1],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ln(Cn(t,a,e));return{c(){n=di("div");for(let e=0;e<o.length;e+=1)o[e].c();gi(n,"class","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":"")),gi(n,"part","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){li(e,n,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(n,null)},p(t,i){if(2&i){let e;for(a=t[1],e=0;e<a.length;e+=1){var r=Cn(t,a,e);o[e]?o[e].p(r,i):(o[e]=Ln(r),o[e].c(),o[e].m(n,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){e&&ci(n),ui(o,e)}}}function Ln(e){let i,r,n,a,o,s,l,c,u,d,p,m=e[14].title+"",h=e[14].description+"";return{c(){i=di("div"),r=di("div"),n=di("img"),s=hi(),l=di("p"),c=mi(m),u=hi(),d=di("p"),p=hi(),gi(n,"class","PlayerAccountNotificationIcon"),x(n.src,a=e[14].icon)||gi(n,"src",a),gi(n,"alt",o=e[14].title),gi(l,"class","PlayerAccountNotificationTitle"),gi(r,"class","PlayerAccountNotificationBoxHeader"),gi(d,"class","PlayerAccountNotificationText"),gi(i,"class","PlayerAccountNotificationBox"),k(i,"background",e[14].backgroundColor)},m(e,t){li(e,i,t),si(i,r),si(r,n),si(r,s),si(r,l),si(l,c),si(i,u),si(i,d),d.innerHTML=h,si(i,p)},p(e,t){2&t&&!x(n.src,a=e[14].icon)&&gi(n,"src",a),2&t&&o!==(o=e[14].title)&&gi(n,"alt",o),2&t&&m!==(m=e[14].title+"")&&yi(c,m),2&t&&h!==(h=e[14].description+"")&&(d.innerHTML=h),2&t&&k(i,"background",e[14].backgroundColor)},d(e){e&&ci(i)}}}function En(i){let r;function n(e){if(e[1].length)return Pn}let a=n(i),o=a&&a(i);return{c(){r=di("div"),o&&o.c(),this.c=ae},m(e,t){li(e,r,t),o&&o.m(r,null),i[7](r)},p(e,[t]){a===(a=n(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(r,null)))},i:ae,o:ae,d(e){e&&ci(r),o&&o.d(),i[7](null)}}}function Tn(t,e,i){let r,{customnotif:n=""}=e,{clientstyling:a=""}=e,{clientstylingurl:o=""}=e,s=window.navigator.userAgent,l="PC"!==Se(s),c=[],u=[],d=window.matchMedia("(min-width: 768px)"),p=e=>{e.data&&"NotificationsDetails"===e.data.type&&(i(1,c=e.data.notificationsInfo),c.forEach(e=>{u.length&&(e.backgroundColor=u[0],u.shift())}))},m=()=>{n.replace(" ",""),u=n.split(",")};return Ee(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)})),t.$$set=e=>{"customnotif"in e&&i(4,n=e.customnotif),"clientstyling"in e&&i(5,a=e.clientstyling),"clientstylingurl"in e&&i(6,o=e.clientstylingurl)},t.$$.update=()=>{if(16&t.$$.dirty&&n&&m(),2&t.$$.dirty&&c&&m(),65&t.$$.dirty&&o&&r){let e=new URL(o),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;33&t.$$.dirty&&a&&r&&((e=document.createElement("style")).innerHTML=a,r.appendChild(e))},[r,c,l,d,n,a,o,function(e){Te[e?"unshift":"push"](()=>{r=e,i(0,r)})}]}function kn(e,t){I(e,t)}customElements.get("general-logout")||customElements.define("general-logout",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},yn,gn,i,{endpoint:6,session:7,buttonlocation:0,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","buttonlocation","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),p()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),p()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),p()}}),customElements.get("player-account-menu-nd")||customElements.define("player-account-menu-nd",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.PlayerAccountMenuContainer{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;overflow-y:scroll}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuList{display:flex;flex-direction:column;gap:5px;padding-bottom:5px}.PlayerAccountMenuHeader{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px;color:var(--emfe-w-pam-color-secondary, var(--emfe-w-color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{background:rgba(35, 176, 78, 0.3);border:2px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emfe-w-pam-color-primary, #23B04E)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emfe-w-color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0;margin-bottom:20px}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E));border:2px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:transparent;border:2px solid transparent;border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative;-webkit-tap-highlight-color:rgba(255, 255, 255, 0)}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox:hover{background:rgba(35, 176, 78, 0.3);color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E));border:2px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emfe-w-color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:16px;line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emfe-w-pam-color-secondary, var(--emfe-w-color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}',this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},_n,xn,i,{endpoint:1,cmsendpoint:14,env:15,session:0,playerid:16,lang:17,selecteditem:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21},null,[-1,-1]),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","cmsendpoint","env","session","playerid","lang","selecteditem","userroles","clientstyling","clientstylingurl","translationurl","activemenuitem"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),p()}get cmsendpoint(){return this.$$.ctx[14]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),p()}get env(){return this.$$.ctx[15]}set env(e){this.$$set({env:e}),p()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),p()}get playerid(){return this.$$.ctx[16]}set playerid(e){this.$$set({playerid:e}),p()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),p()}get selecteditem(){return this.$$.ctx[18]}set selecteditem(e){this.$$set({selecteditem:e}),p()}get userroles(){return this.$$.ctx[19]}set userroles(e){this.$$set({userroles:e}),p()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),p()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(e){this.$$set({activemenuitem:e}),p()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent='.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}',this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Tn,En,i,{customnotif:4,clientstyling:5,clientstylingurl:6},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["customnotif","clientstyling","clientstylingurl"]}get customnotif(){return this.$$.ctx[4]}set customnotif(e){this.$$set({customnotif:e}),p()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}});let An={en:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",cooloff24Text:"24 hours",cooloff7Text:"7 days",cooloff30Text:"30 days",cooloff3Text:"3 months"},"zh-hk":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",cooloff24Text:"24小時",cooloff7Text:"7天",cooloff30Text:"30天",cooloff3Text:"3個月"},fr:{titleTimeout:"Délai d'attente",timeoutTextFirst:"{operatorname} vous offre un moyen facile de faire une pause dans les jeux.vous pouvez demander le blocage automatique de votre compte pendant 24 heures . Pendant le blocage temporaire ,vous ne pourrez pas accéder à votre compte.",timeoutTextSecondary:'Veuillez noter que l\'"installation du temps mort" ne remplace en aucun cas "l\'auto exclusion". Si vous pensez avoir un problème de dépendance au jeu,veuillez cliquer sur le lien "jeux responsable" et utiliser le "service d\'auto exclusion" ou nous contacter dès que possible.',save:"Savez",cooloff24Text:"24 heures",cooloff7Text:"7 jours",cooloff30Text:"30 jours",cooloff3Text:"3 mois"},ro:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} îți asigură o cale ușoară de a lua o pauză de la jocuri. Poți solicita o blocare automată a contului tău pentru 24 de ore. În timpul restricției temporare, nu vei putea accesa contul.",timeoutTextSecondary:"Te rugăm să reții că „Facilitatea de time-out” nu înlocuiește în niciun caz „Auto-excluderea”. Dacă crezi că te confrunți cu o problemă de dependență de jocuri de noroc, te rugăm să accesezi secțiunea de „Joc responsabil” și să utilizezi „Serviciul de auto-excludere” sau să ne contactezi cât mai curând posibil.",save:"Salvează",cooloff24Text:"24 ore",cooloff7Text:"7 zile",cooloff30Text:"30 zile",cooloff3Text:"3 luni"},es:{titleTimeout:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",cooloff24Text:"24 horas",cooloff7Text:"7 días",cooloff30Text:"30 días",cooloff3Text:"3 meses"},pt:{titleTimeout:"Tempo esgotado",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de fazer uma pausa nos jogos. Você pode solicitar o bloqueio automático de sua conta por 24 horas. Durante a restrição temporária, você não poderá acessar sua conta.",timeoutTextSecondary:'Observe que a “Facilidade de tempo limite” não substitui em nenhum caso a “Autoexclusão”. Se você acha que está enfrentando um problema de vício em jogos de azar, entre no link em "Jogo Responsável" e use o "Serviço de autoexclusão" ou entre em contato conosco o mais rápido possível.',save:"Guardar",cooloff24Text:"24 horas",cooloff7Text:"7 dias",cooloff30Text:"30 dias30 dias",cooloff3Text:"3 meses"},hr:{titleTimeout:"Samoisključenje",timeoutTextFirst:'Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Potvrdi".',timeoutTextSecondary:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja E-mail: {supportemail}",save:"Spremi",cooloff24Text:"24 sata",cooloff7Text:"7 dana",cooloff30Text:"30 dana",cooloff3Text:"3 mjeseca"},"pt-br":{titleTimeout:"Tempo fora",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de pausar o jogo. Você pode solicitar o bloqueio automático da conta por 24 horas. Durante a restrição temporária,no tendrá acceso a su cuenta",timeoutTextSecondary:"Observe que o tempo limite não substitui a autoexclusão. Se você acha que tem um problema de dependência de jogo, por favor acesse o link em “Jogo Responsável” e utilize o “Serviço de Autoexclusão” ou entre em contate-nos inmediatamente",save:"Manter",cooloff24Text:"24 horas",cooloff7Text:"7 dias",cooloff30Text:"30 dias",cooloff3Text:"3 meses"},"es-mx":{titleTimeout:"Tiempo Fuera",timeoutTextFirst:"{operatorname} le ofrece una forma fácil de tomar pausa del juego. Puede solicitar bloqueo automático de la cuenta por 24 hrs. Durante la restriccion temporal,no tendrá acceso a su cuenta",timeoutTextSecondary:'Por favor tenga en cuenta que el tiemo-fuera no reemplaza la auto-exclusión. Si usted cree que tiene un problema de adicción al juego," por favor acceda a la liga bajo ""Juego Responsable"" y utilice el ""servicio de Auto-exclusión"" o contáctenos en cuanto antes. "',save:"Guardar",cooloff24Text:"24 horas",cooloff7Text:"7 días",cooloff30Text:"30 días",cooloff3Text:"3 meses"},tr:{titleTimeout:"Zaman aşımı",timeoutTextFirst:"{operatorname} size oyunlara ara vermeniz için kolay bir yol sağlar. Hesabınızın 24 saat süreyle otomatik olarak engellenmesini talep edebilirsiniz. Geçici kısıtlama sırasında Hesabınıza erişemeyeceksiniz.",timeoutTextSecondary:"Lütfen 'Mola olanağının' hiçbir durumda 'Kendini ihraç etmenin' yerine geçmediğini unutmayın. Kumar bağımlılığı sorunu yaşadığınızı düşünüyorsanız lütfen Sorumlu Oyun altındaki bağlantıya girin ve 'Kendini men etme hizmetini' kullanın veya en kısa sürede bizimle iletişime geçin.",save:"Kaydetmek",cooloff24Text:"24 saat",cooloff7Text:"7 gün",cooloff30Text:"30 gün",cooloff3Text:"3 ay"}};function Sn(e,t,i){e=e.slice();return e[22]=t[i].value,e[23]=t[i].text,e}function Mn(e){let i,r,t=e[23]+"";return{c(){i=di("option"),r=mi(t),i.__value=e[22],i.value=i.__value},m(e,t){li(e,i,t),si(i,r)},p:ae,d(e){e&&ci(i)}}}function Dn(i){let r,n,a,o,s,l,c,u,d,p,m,h,f,g,y,v,b,w,x,_,C,e=i[4]("titleTimeout")+"",P=i[4]("timeoutTextFirst",{values:{operatorname:i[0]}})+"",L=i[4]("timeoutTextSecondary",{values:{supportemail:i[1]}})+"",E=i[4]("save")+"",T=i[5]&&(i=>{let r,n,a,o,s,l,c,u,d,p,m,h,f,g=i[4]("titleTimeout")+"";return{c(){r=di("div"),n=pi("svg"),a=pi("defs"),o=pi("style"),s=mi(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=pi("g"),c=pi("g"),u=pi("path"),d=hi(),p=di("h2"),m=mi(g),gi(u,"class","aaa"),gi(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),gi(u,"transform","translate(15 15) rotate(180)"),gi(c,"transform","translate(20 158)"),gi(l,"transform","translate(-20 -158)"),gi(n,"xmlns","http://www.w3.org/2000/svg"),gi(n,"width","15"),gi(n,"height","15"),gi(n,"viewBox","0 0 15 15"),gi(p,"class","TimeoutTitleMobile"),gi(p,"part","TimeoutTitleMobile"),gi(r,"class","MenuReturnButton"),gi(r,"part","MenuReturnButton")},m(e,t){li(e,r,t),si(r,n),si(n,a),si(a,o),si(o,s),si(n,l),si(l,c),si(c,u),si(r,d),si(r,p),si(p,m),h||(f=fi(r,"click",i[13]),h=!0)},p(e,t){16&t&&g!==(g=e[4]("titleTimeout")+"")&&yi(m,g)},d(e){e&&ci(r),h=!1,f()}}})(i),k=i[6],A=[];for(let e=0;e<k.length;e+=1)A[e]=Mn(Sn(i,k,e));return{c(){r=di("div"),n=di("form"),T&&T.c(),a=hi(),o=di("h2"),s=mi(e),l=hi(),c=di("div"),u=di("p"),d=mi(P),p=hi(),m=di("p"),h=mi(L),f=hi(),g=di("div"),y=di("select");for(let e=0;e<A.length;e+=1)A[e].c();v=hi(),b=di("div"),w=di("button"),x=mi(E),this.c=ae,gi(o,"class","TimeoutTitle "+(i[5]?"TimeoutTitleNone":"")),gi(c,"class","TimeoutDescription "+(i[5]?"TimeoutDescriptionMobile":"")),gi(y,"class","TimeoutSelect "+(i[5]?"TimeoutSelectMobile":"")),void 0===i[3]&&wi(()=>i[14].call(y)),gi(g,"class","TimeoutSelectWrapper"),gi(w,"class","TimeoutSave"),gi(b,"class","TimeoutActionButtons "+(i[5]?"TimeoutActionButtonsMobile":"")),gi(n,"class","TimeoutWrapper "+(i[5]?"TimeoutWrapperMobile":""))},m(e,t){li(e,r,t),si(r,n),T&&T.m(n,null),si(n,a),si(n,o),si(o,s),si(n,l),si(n,c),si(c,u),si(u,d),si(c,p),si(c,m),si(m,h),si(n,f),si(n,g),si(g,y);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(y,null);bi(y,i[3],!0),si(n,v),si(n,b),si(b,w),si(w,x),i[16](r),_||(C=[fi(y,"change",i[14]),fi(w,"click",i[15])],_=!0)},p(t,[i]){if(t[5]&&T.p(t,i),16&i&&e!==(e=t[4]("titleTimeout")+"")&&yi(s,e),17&i&&P!==(P=t[4]("timeoutTextFirst",{values:{operatorname:t[0]}})+"")&&yi(d,P),18&i&&L!==(L=t[4]("timeoutTextSecondary",{values:{supportemail:t[1]}})+"")&&yi(h,L),64&i){let e;for(k=t[6],e=0;e<k.length;e+=1){var r=Sn(t,k,e);A[e]?A[e].p(r,i):(A[e]=Mn(r),A[e].c(),A[e].m(y,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=k.length}72&i&&bi(y,t[3]),16&i&&E!==(E=t[4]("save")+"")&&yi(x,E)},i:ae,o:ae,d(e){e&&ci(r),T&&T.d(),ui(A,e),i[16](null),_=!1,oi(C)}}}function $n(t,e,i){let r;Le(t,Ae,e=>i(4,r=e));let n,{operator:a="Everymatrix"}=e,{lang:o="en"}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{translationurl:c=""}=e,{supportemail:u=""}=e,d=window.navigator.userAgent,p="PC"!==Se(d),m=(Object.keys(An).forEach(e=>{kn(e,An[e])}),[{value:"CoolOffFor24Hours",text:r("cooloff24Text")},{value:"CoolOffFor7Days",text:r("cooloff7Text")},{value:"CoolOffFor30Days",text:r("cooloff30Text")},{value:"CoolOffFor3Months",text:r("cooloff3Text")}]),h=m[0].value,f=e=>{e.preventDefault(),window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:h},window.location.href)},g=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:p},window.location.href)};return t.$$set=e=>{"operator"in e&&i(0,a=e.operator),"lang"in e&&i(9,o=e.lang),"clientstyling"in e&&i(10,s=e.clientstyling),"clientstylingurl"in e&&i(11,l=e.clientstylingurl),"translationurl"in e&&i(12,c=e.translationurl),"supportemail"in e&&i(1,u=e.supportemail)},t.$$.update=()=>{if(512&t.$$.dirty&&o&&(e=o,ke.set(e)),2052&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;1028&t.$$.dirty&&s&&n&&((e=document.createElement("style")).innerHTML=s,n.appendChild(e)),4096&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)})},[a,u,n,h,r,p,m,f,g,o,s,l,c,()=>g(),function(){h=xe(this),i(3,h),i(6,m)},e=>f(e),function(e){Te[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends e{constructor(e){super();var t=document.createElement("style");t.textContent=".TimeoutWrapper{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.TimeoutTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emfe-w-color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :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))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{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));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}",this.shadowRoot.appendChild(t),n(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},$n,Dn,i,{operator:0,lang:9,clientstyling:10,clientstylingurl:11,translationurl:12,supportemail:1},null),e&&(e.target&&li(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["operator","lang","clientstyling","clientstylingurl","translationurl","supportemail"]}get operator(){return this.$$.ctx[0]}set operator(e){this.$$set({operator:e}),p()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),p()}get supportemail(){return this.$$.ctx[1]}set supportemail(e){this.$$set({supportemail:e}),p()}});In=Bn={path:void 0,exports:{},require:function(e,t){return Ai(null==t&&Bn.path)}},Bn.exports,In.exports=(()=>{var N;function h(){return N.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function O(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function z(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function R(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var i=[],r=e.length,n=0;n<r;++n)i.push(t(e[n],n));return i}function j(e,t){for(var i in t)f(t,i)&&(e[i]=t[i]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,i,r){return Dt(e,t,i,r,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function W(e){var t,i,r=e._d&&!isNaN(e._d.getTime());return r&&(t=g(e),i=Y.call(t.parsedDateParts,function(e){return null!=e}),r=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)&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function U(e){var t=c(NaN);return null!=e?j(g(t),e):g(t).userInvalidated=!0,t}var Y=Array.prototype.some||function(e){for(var t=Object(this),i=t.length>>>0,r=0;r<i;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},G=h.momentProperties=[],V=!1;function q(e,t){var i,r,n,a=G.length;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=g(t)),s(t._locale)||(e._locale=t._locale),0<a)for(i=0;i<a;i++)s(n=t[r=G[i]])||(e[r]=n);return e}function K(e){q(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===V&&(V=!0,h.updateOffset(this),V=!1)}function l(e){return e instanceof K||null!=e&&null!=e._isAMomentObject}function Z(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(a,o){var s=!0;return j(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,a),s){for(var e,t,i=[],r=arguments.length,n=0;n<r;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];i.push(e)}Z(a+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var X={};function Q(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),X[e]||(Z(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function J(e,t){var i,r=j({},e);for(i in t)f(t,i)&&(F(e[i])&&F(t[i])?(r[i]={},j(r[i],e[i]),j(r[i],t[i])):null!=t[i]?r[i]=t[i]:delete r[i]);for(i in e)f(e,i)&&!f(t,i)&&F(e[i])&&(r[i]=j({},r[i]));return r}function ee(e){null!=e&&this.set(e)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;var te=Object.keys||function(e){var t,i=[];for(t in e)f(e,t)&&i.push(t);return i};function a(e,t,i){var r=""+Math.abs(e);return(0<=e?i?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}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,re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},ae={};function r(e,t,i,r){var n="string"==typeof r?function(){return this[r]()}:r;e&&(ae[e]=n),t&&(ae[t[0]]=function(){return a(n.apply(this,arguments),t[1],t[2])}),i&&(ae[i]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=se(t,e.localeData()),ne[t]=ne[t]||(r=>{for(var e,n=r.match(ie),t=0,a=n.length;t<a;t++)ae[n[t]]?n[t]=ae[n[t]]:n[t]=(e=n[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",i=0;i<a;i++)t+=u(n[i])?n[i].call(e,r):n[i];return t}})(t),ne[t](e)):e.localeData().invalidDate()}function se(e,t){var i=5;function r(e){return t.longDateFormat(e)||e}for(re.lastIndex=0;0<=i&&re.test(e);)e=e.replace(re,r),re.lastIndex=0,--i;return e}var le={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,i,r={};for(i in e)f(e,i)&&(t=d(i))&&(r[t]=e[i]);return r}var ue={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},de=/\d/,t=/\d\d/,pe=/\d{3}/,me=/\d{4}/,he=/[+-]?\d{6}/,i=/\d\d?/,fe=/\d\d\d\d?/,ge=/\d\d\d\d\d\d?/,ye=/\d{1,3}/,ve=/\d{1,4}/,be=/[+-]?\d{1,6}/,we=/\d+/,xe=/[+-]?\d+/,_e=/Z|[+-]\d\d:?\d\d/gi,Ce=/Z|[+-]\d\d(?::?\d\d)?/gi,n=/[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,p=/^[1-9]\d?/,m=/^([1-9]\d|\d)/;function y(e,i,r){Le[e]=u(i)?i:function(e,t){return e&&r?r:i}}function Pe(e,t){return f(Le,e)?Le[e](t._strict,t._locale):new RegExp(v(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,r,n){return t||i||r||n})))}function v(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?b(e):t}var Le={},Ee={};function x(e,i){var t,r,n=i;for("string"==typeof e&&(e=[e]),z(i)&&(n=function(e,t){t[i]=w(e)}),r=e.length,t=0;t<r;t++)Ee[e[t]]=n}function Te(e,n){x(e,function(e,t,i,r){i._w=i._w||{},n(e,i._w,i,r)})}function ke(e){return e%4==0&&e%100!=0||e%400==0}var _=0,C=1,P=2,L=3,E=4,T=5,Ae=6,Se=7,Me=8;function De(e){return ke(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?a(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),y("Y",xe),y("YY",i,t),y("YYYY",ve,me),y("YYYYY",be,he),y("YYYYYY",be,he),x(["YYYYY","YYYYYY"],_),x("YYYY",function(e,t){t[_]=2===e.length?h.parseTwoDigitYear(e):w(e)}),x("YY",function(e,t){t[_]=h.parseTwoDigitYear(e)}),x("Y",function(e,t){t[_]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return w(e)+(68<w(e)?1900:2e3)};var k,$e=Be("FullYear",!0);function Be(t,i){return function(e){return null!=e?(Ne(this,t,e),h.updateOffset(this,i),this):Ie(this,t)}}function Ie(e,t){if(!e.isValid())return NaN;var i=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return r?i.getUTCSeconds():i.getSeconds();case"Minutes":return r?i.getUTCMinutes():i.getMinutes();case"Hours":return r?i.getUTCHours():i.getHours();case"Date":return r?i.getUTCDate():i.getDate();case"Day":return r?i.getUTCDay():i.getDay();case"Month":return r?i.getUTCMonth():i.getMonth();case"FullYear":return r?i.getUTCFullYear():i.getFullYear();default:return NaN}}function Ne(e,t,i){var r,n,a;if(e.isValid()&&!isNaN(i)){switch(r=e._d,n=e._isUTC,t){case"Milliseconds":return n?r.setUTCMilliseconds(i):r.setMilliseconds(i);case"Seconds":return n?r.setUTCSeconds(i):r.setSeconds(i);case"Minutes":return n?r.setUTCMinutes(i):r.setMinutes(i);case"Hours":return n?r.setUTCHours(i):r.setHours(i);case"Date":return n?r.setUTCDate(i):r.setDate(i);case"FullYear":break;default:return}t=i,a=e.month(),e=29!==(e=e.date())||1!==a||ke(t)?e:28,n?r.setUTCFullYear(t,a,e):r.setFullYear(t,a,e)}}function Fe(e,t){var i;return isNaN(e)||isNaN(t)?NaN:(i=(t%(i=12)+i)%i,e+=(t-i)/12,1==i?ke(e)?29:28:31-i%7%2)}k=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),y("M",i,p),y("MM",i,t),y("MMM",function(e,t){return t.monthsShortRegex(e)}),y("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[C]=w(e)-1}),x(["MMM","MMMM"],function(e,t,i,r){r=i._locale.monthsParse(e,r,i._strict);null!=r?t[C]=r:g(i).invalidMonth=e});var Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ze="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,He=n,je=n;function We(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!z(t=e.localeData().monthsParse(t)))return;var i=(i=e.date())<29?i:Math.min(i,Fe(e.year(),t));e._isUTC?e._d.setUTCMonth(t,i):e._d.setMonth(t,i)}}function Ue(e){return null!=e?(We(this,e),h.updateOffset(this,!0),this):Ie(this,"Month")}function Ye(){function e(e,t){return t.length-e.length}for(var t,i,r=[],n=[],a=[],o=0;o<12;o++)i=c([2e3,o]),t=v(this.monthsShort(i,"")),i=v(this.months(i,"")),r.push(t),n.push(i),a.push(i),a.push(t);r.sort(e),n.sort(e),a.sort(e),this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ge(e,t,i,r,n,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,i,r,n,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,i,r,n,a,o),s}function Ve(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function qe(e,t,i){i=7+t-i;return-(7+Ve(e,0,i).getUTCDay()-t)%7+i-1}function Ke(e,t,i,r,n){var a,t=1+7*(t-1)+(7+i-r)%7+qe(e,r,n),i=t<=0?De(a=e-1)+t:t>De(e)?(a=e+1,t-De(e)):(a=e,t);return{year:a,dayOfYear:i}}function Ze(e,t,i){var r,n,a=qe(e.year(),t,i),a=Math.floor((e.dayOfYear()-a-1)/7)+1;return a<1?r=a+A(n=e.year()-1,t,i):a>A(e.year(),t,i)?(r=a-A(e.year(),t,i),n=e.year()+1):(n=e.year(),r=a),{week:r,year:n}}function A(e,t,i){var r=qe(e,t,i),t=qe(e+1,t,i);return(De(e)-r+t)/7}function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),y("w",i,p),y("ww",i,t),y("W",i,p),y("WW",i,t),Te(["w","ww","W","WW"],function(e,t,i,r){t[r.substr(0,1)]=w(e)}),r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),y("d",i),y("e",i),y("E",i),y("dd",function(e,t){return t.weekdaysMinRegex(e)}),y("ddd",function(e,t){return t.weekdaysShortRegex(e)}),y("dddd",function(e,t){return t.weekdaysRegex(e)}),Te(["dd","ddd","dddd"],function(e,t,i,r){r=i._locale.weekdaysParse(e,r,i._strict);null!=r?t.d=r:g(i).invalidWeekday=e}),Te(["d","e","E"],function(e,t,i,r){t[r]=w(e)});var Qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tt=n,it=n,rt=n;function nt(){function e(e,t){return t.length-e.length}for(var t,i,r,n=[],a=[],o=[],s=[],l=0;l<7;l++)r=c([2e3,1]).day(l),t=v(this.weekdaysMin(r,"")),i=v(this.weekdaysShort(r,"")),r=v(this.weekdays(r,"")),n.push(t),a.push(i),o.push(r),s.push(t),s.push(i),s.push(r);n.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function at(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,at),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+at.apply(this)+a(this.minutes(),2)}),r("hmmss",0,0,function(){return""+at.apply(this)+a(this.minutes(),2)+a(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+a(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+a(this.minutes(),2)+a(this.seconds(),2)}),ot("a",!0),ot("A",!1),y("a",st),y("A",st),y("H",i,m),y("h",i,p),y("k",i,p),y("HH",i,t),y("hh",i,t),y("kk",i,t),y("hmm",fe),y("hmmss",ge),y("Hmm",fe),y("Hmmss",ge),x(["H","HH"],L),x(["k","kk"],function(e,t,i){e=w(e);t[L]=24===e?0:e}),x(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),x(["h","hh"],function(e,t,i){t[L]=w(e),g(i).bigHour=!0}),x("hmm",function(e,t,i){var r=e.length-2;t[L]=w(e.substr(0,r)),t[E]=w(e.substr(r)),g(i).bigHour=!0}),x("hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[L]=w(e.substr(0,r)),t[E]=w(e.substr(r,2)),t[T]=w(e.substr(n)),g(i).bigHour=!0}),x("Hmm",function(e,t,i){var r=e.length-2;t[L]=w(e.substr(0,r)),t[E]=w(e.substr(r))}),x("Hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[L]=w(e.substr(0,r)),t[E]=w(e.substr(r,2)),t[T]=w(e.substr(n))}),n=Be("Hours",!0);var lt,ct={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:Oe,monthsShort:ze,week:{dow:0,doy:6},weekdays:Qe,weekdaysMin:et,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},S={},ut={};function dt(e){return e&&e.toLowerCase().replace("_","-")}function pt(e){for(var t,i,r,n,a=0;a<e.length;){for(t=(n=dt(e[a]).split("-")).length,i=(i=dt(e[a+1]))?i.split("-"):null;0<t;){if(r=mt(n.slice(0,t).join("-")))return r;if(i&&i.length>=t&&((e,t)=>{for(var i=Math.min(e.length,t.length),r=0;r<i;r+=1)if(e[r]!==t[r])return r;return i})(n,i)>=t-1)break;t--}a++}return lt}function mt(t){var e,i;if(void 0===S[t]&&In&&In.exports&&(i=t)&&i.match("^[^/\\\\]*$"))try{e=lt._abbr,Ai(),ht(e)}catch(e){S[t]=null}return S[t]}function ht(e,t){return e&&((t=s(t)?M(e):ft(e,t))?lt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function ft(e,t){if(null===t)return delete S[e],null;var i,r=ct;if(t.abbr=e,null!=S[e])Q("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."),r=S[e]._config;else if(null!=t.parentLocale)if(null!=S[t.parentLocale])r=S[t.parentLocale]._config;else{if(null==(i=mt(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;r=i._config}return S[e]=new ee(J(r,t)),ut[e]&&ut[e].forEach(function(e){ft(e.name,e.config)}),ht(e),S[e]}function M(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return lt;if(!o(e)){if(t=mt(e))return t;e=[e]}return pt(e)}function gt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[C]<0||11<t[C]?C:t[P]<1||t[P]>Fe(t[_],t[C])?P:t[L]<0||24<t[L]||24===t[L]&&(0!==t[E]||0!==t[T]||0!==t[Ae])?L:t[E]<0||59<t[E]?E:t[T]<0||59<t[T]?T:t[Ae]<0||999<t[Ae]?Ae:-1,g(e)._overflowDayOfYear&&(t<_||P<t)&&(t=P),g(e)._overflowWeeks&&-1===t&&(t=Se),g(e)._overflowWeekday&&-1===t&&(t=Me),g(e).overflow=t),e}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["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]],xt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((-?\d+)/i,Ct=/^(?:(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}))$/,Pt={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,r,n,a,o,s=e._i,l=yt.exec(s)||vt.exec(s),s=wt.length,c=xt.length;if(l){for(g(e).iso=!0,t=0,i=s;t<i;t++)if(wt[t][1].exec(l[1])){n=wt[t][0],r=!1!==wt[t][2];break}if(null==n)return e._isValid=!1;if(l[3]){for(t=0,i=c;t<i;t++)if(xt[t][1].exec(l[3])){a=(l[2]||" ")+xt[t][0];break}if(null==a)return e._isValid=!1}if(!r&&null!=a)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=n+(a||"")+(o||""),St(e)}else e._isValid=!1}function Et(e,t,i,r,n,a){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),ze.indexOf(t),parseInt(i,10),parseInt(r,10),parseInt(n,10)];return a&&e.push(parseInt(a,10)),e}function Tt(e){var t,i,r,n,a=Ct.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(t=Et(a[4],a[3],a[2],a[5],a[6],a[7]),i=a[1],r=t,n=e,i&&Je.indexOf(i)!==new Date(r[0],r[1],r[2]).getDay()?(g(n).weekdayMismatch=!0,n._isValid=!1):(e._a=t,e._tzm=(i=a[8],r=a[9],n=a[10],i?Pt[i]:r?0:((i=parseInt(n,10))-(r=i%100))/100*60+r),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,i){return null!=e?e:null!=t?t:i}function At(e){var t,i,r,n,a,o,s,l,c,u,d,p=[];if(!e._d){for(u=e,d=new Date(h.now()),i=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[P]&&null==e._a[C]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,s=4,r=kt(d.GG,u._a[_],Ze(D(),1,4).year),n=kt(d.W,1),((a=kt(d.E,1))<1||7<a)&&(l=!0)):(o=u._locale._week.dow,s=u._locale._week.doy,c=Ze(D(),o,s),r=kt(d.gg,u._a[_],c.year),n=kt(d.w,c.week),null!=d.d?((a=d.d)<0||6<a)&&(l=!0):null!=d.e?(a=d.e+o,(d.e<0||6<d.e)&&(l=!0)):a=o),n<1||n>A(r,o,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=Ke(r,n,a,o,s),u._a[_]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[_],i[_]),(e._dayOfYear>De(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(d,0,e._dayOfYear),e._a[C]=l.getUTCMonth(),e._a[P]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=i[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[L]&&0===e._a[E]&&0===e._a[T]&&0===e._a[Ae]&&(e._nextDay=!0,e._a[L]=0),e._d=(e._useUTC?Ve:Ge).apply(null,p),r=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!==r&&(g(e).weekdayMismatch=!0)}}function St(e){if(e._f!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],g(e).empty=!0;for(var t,i,r,n=""+e._i,a=n.length,o=0,s=(i=se(e._f,e._locale).match(ie)||[]).length,l=0;l<s;l++)r=i[l],(t=(n.match(Pe(r,e))||[])[0])&&(0<(d=n.substr(0,n.indexOf(t))).length&&g(e).unusedInput.push(d),n=n.slice(n.indexOf(t)+t.length),o+=t.length),ae[r]?(t?g(e).empty=!1:g(e).unusedTokens.push(r),d=r,m=e,null!=(p=t)&&f(Ee,d)&&Ee[d](p,m._a,m,d)):e._strict&&!t&&g(e).unusedTokens.push(r);g(e).charsLeftOver=a-o,0<n.length&&g(e).unusedInput.push(n),e._a[L]<=12&&!0===g(e).bigHour&&0<e._a[L]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[L]=(a=e._locale,c=e._a[L],null==(u=e._meridiem)?c:null!=a.meridiemHour?a.meridiemHour(c,u):null!=a.isPM?((a=a.isPM(u))&&c<12&&(c+=12),c=a||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[_]=e._locale.erasConvertYear(u,e._a[_])),At(e),gt(e)}else Tt(e);else Lt(e);var c,u,d,p,m}function Mt(e){var t,i=e._i,r=e._f;{var n,a;return(e._locale=e._locale||M(e._l),null===i||void 0===r&&""===i)?U({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),l(i)?new K(gt(i)):(R(i)?e._d=i:o(r)?(e=>{var t,i,r,n,a,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<l;n++)a=0,o=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],St(t),W(t)&&(o=!0),a=(a+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,i=t):(null==r||a<r||o)&&(r=a,i=t,o)&&(s=!0);j(e,i||t)})(e):r?St(e):s(r=(i=e)._i)?i._d=new Date(h.now()):R(r)?i._d=new Date(r.valueOf()):"string"==typeof r?(n=i,null===(a=_t.exec(n._i))?(Lt(n),!1===n._isValid&&(delete n._isValid,Tt(n),!1===n._isValid)&&(delete n._isValid,n._strict?n._isValid=!1:h.createFromInputFallback(n))):n._d=new Date(+a[1])):o(r)?(i._a=H(r.slice(0),function(e){return parseInt(e,10)}),At(i)):F(r)?(n=i)._d||(t=void 0===(a=ce(n._i)).day?a.date:a.day,n._a=H([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),At(n)):z(r)?i._d=new Date(r):h.createFromInputFallback(i),W(e)||(e._d=null),e))}}function Dt(e,t,i,r,n){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==i&&!1!==i||(r=i,i=void 0),(F(e)&&O(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=i,a._i=e,a._f=t,a._strict=r,(n=new K(gt(Mt(n=a))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function D(e,t,i,r){return Dt(e,t,i,r,!1)}function $t(e,t){var i,r;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return D();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}h.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":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){},fe=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),ge=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});var Bt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var e=ce(e),t=e.year||0,i=e.quarter||0,r=e.month||0,n=e.week||e.isoWeek||0,a=e.day||0,o=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=(e=>{var t,i,r=!1,n=Bt.length;for(t in e)if(f(e,t)&&(-1===k.call(Bt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<n;++i)if(e[Bt[i]]){if(r)return!1;parseFloat(e[Bt[i]])!==w(e[Bt[i]])&&(r=!0)}return!0})(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*o*60*60,this._days=+a+7*n,this._months=+r+3*i+12*t,this._data={},this._locale=M(),this._bubble()}function Nt(e){return e instanceof It}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ot(e,i){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+a(~~(e/60),2)+i+a(~~e%60,2)})}Ot("Z",":"),Ot("ZZ",""),y("Z",Ce),y("ZZ",Ce),x(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Rt(Ce,e)});var zt=/([\+\-]|\d\d)/gi;function Rt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(zt)||["-",0,0])[1]+w(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var i;return t._isUTC?(t=t.clone(),i=(l(e)||R(e)?e:D(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),h.updateOffset(t,!1),t):D(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Wt(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Yt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $(e,t){var i,r,n=e;return Nt(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:z(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(t=Ut.exec(e))?(i="-"===t[1]?-1:1,n={y:0,d:w(t[P])*i,h:w(t[L])*i,m:w(t[E])*i,s:w(t[T])*i,ms:w(Ft(1e3*t[Ae]))*i}):(t=Yt.exec(e))?(i="-"===t[1]?-1:1,n={y:Gt(t[2],i),M:Gt(t[3],i),w:Gt(t[4],i),d:Gt(t[5],i),h:Gt(t[6],i),m:Gt(t[7],i),s:Gt(t[8],i)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=D(n.from),i=D(n.to),t=t.isValid()&&i.isValid()?(i=Ht(i,t),t.isBefore(i)?r=Vt(t,i):((r=Vt(i,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0},(n={}).ms=t.milliseconds,n.M=t.months),r=new It(n),Nt(e)&&f(e,"_locale")&&(r._locale=e._locale),Nt(e)&&f(e,"_isValid")&&(r._isValid=e._isValid),r}function Gt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function qt(r,n){return function(e,t){var i;return null===t||isNaN(+t)||(Q(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=t,t=i),Kt(this,$(e,t),r),this}}function Kt(e,t,i,r){var n=t._milliseconds,a=Ft(t._days),t=Ft(t._months);e.isValid()&&(r=null==r||r,t&&We(e,Ie(e,"Month")+t*i),a&&Ne(e,"Date",Ie(e,"Date")+a*i),n&&e._d.setTime(e._d.valueOf()+n*i),r)&&h.updateOffset(e,a||t)}function Zt(e){return"string"==typeof e||e instanceof String}function Xt(e){return l(e)||R(e)||Zt(e)||z(e)||(i=o(t=e),r=!1,i&&(r=0===t.filter(function(e){return!z(e)&&Zt(t)}).length),i&&r)||(e=>{var t,i,r=F(e)&&!O(e),n=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)i=a[t],n=n||f(e,i);return r&&n})(e)||null==e;var t,i,r}function Qt(e,t){var i,r;return e.date()<t.date()?-Qt(t,e):-((i=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(i,"months"))<0?(t-r)/(r-e.clone().add(i-1,"months")):(t-r)/(e.clone().add(1+i,"months")-r)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=M(e))&&(this._locale=e),this)}function ei(){return this._locale}$.fn=It.prototype,$.invalid=function(){return $(NaN)},Oe=qt(1,"add"),Qe=qt(-1,"subtract"),h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.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 ri(e,t,i){return e<100&&0<=e?new Date(e+400,t,i)-ti:new Date(e,t,i).valueOf()}function ni(e,t,i){return e<100&&0<=e?Date.UTC(e+400,t,i)-ti:Date.UTC(e,t,i)}function ai(e,t){return t.erasAbbrRegex(e)}function oi(){for(var e,t,i,r=[],n=[],a=[],o=[],s=this.eras(),l=0,c=s.length;l<c;++l)e=v(s[l].name),t=v(s[l].abbr),i=v(s[l].narrow),n.push(e),r.push(t),a.push(i),o.push(e),o.push(t),o.push(i);this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function si(e,t){r(0,[e,e.length],0,t)}function li(e,t,i,r,n){var a;return null==e?Ze(this,r,n).year:(t>(a=A(e,r,n))&&(t=a),function(e,t,i,r,n){e=Ke(e,t,i,r,n),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,i,r,n))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),y("N",ai),y("NN",ai),y("NNN",ai),y("NNNN",function(e,t){return t.erasNameRegex(e)}),y("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,r){r=i._locale.erasParse(e,r,i._strict);r?g(i).era=r:g(i).invalidEra=e}),y("y",we),y("yy",we),y("yyy",we),y("yyyy",we),y("yo",function(e,t){return t._eraYearOrdinalRegex||we}),x(["y","yy","yyy","yyyy"],_),x(["yo"],function(e,t,i,r){var n;i._locale._eraYearOrdinalRegex&&(n=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[_]=i._locale.eraYearOrdinalParse(e,n):t[_]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),si("gggg","weekYear"),si("ggggg","weekYear"),si("GGGG","isoWeekYear"),si("GGGGG","isoWeekYear"),y("G",xe),y("g",xe),y("GG",i,t),y("gg",i,t),y("GGGG",ve,me),y("gggg",ve,me),y("GGGGG",be,he),y("ggggg",be,he),Te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,r){t[r.substr(0,2)]=w(e)}),Te(["gg","GG"],function(e,t,i,r){t[r]=h.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),y("Q",de),x("Q",function(e,t){t[C]=3*(w(e)-1)}),r("D",["DD",2],"Do","date"),y("D",i,p),y("DD",i,t),y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],P),x("Do",function(e,t){t[P]=w(e.match(i)[0])}),ve=Be("Date",!0),r("DDD",["DDDD",3],"DDDo","dayOfYear"),y("DDD",ye),y("DDDD",pe),x(["DDD","DDDD"],function(e,t,i){i._dayOfYear=w(e)}),r("m",["mm",2],0,"minute"),y("m",i,m),y("mm",i,t),x(["m","mm"],E),me=Be("Minutes",!1),r("s",["ss",2],0,"second"),y("s",i,m),y("ss",i,t),x(["s","ss"],T);var ci,be=Be("Seconds",!1);for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),y("S",ye,de),y("SS",ye,t),y("SSS",ye,pe),ci="SSSS";ci.length<=9;ci+="S")y(ci,we);function ui(e,t){t[Ae]=w(1e3*("0."+e))}for(ci="S";ci.length<=9;ci+="S")x(ci,ui);function di(e){return e}function pi(e,t,i,r){var n=M(),r=c().set(r,t);return n[i](r,e)}function mi(e,t,i){if(z(e)&&(t=e,e=void 0),e=e||"",null!=t)return pi(e,t,i,"month");for(var r=[],n=0;n<12;n++)r[n]=pi(e,n,i,"month");return r}function hi(e,t,i,r){t=("boolean"==typeof e||(i=t=e,e=!1),z(t)&&(i=t,t=void 0),t||"");var n,a=M(),o=e?a._week.dow:0,s=[];if(null!=i)return pi(t,(i+o)%7,r,"day");for(n=0;n<7;n++)s[n]=pi(t,(n+o)%7,r,"day");return s}he=Be("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName"),(p=K.prototype).add=Oe,p.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):(e=>{for(var t=F(e)&&!O(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<r.length;n+=1)i=i||f(e,r[n]);return t&&i})(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||D(),i=Ht(e,this).startOf("day"),i=h.calendarFormat(this,i)||"sameElse",t=t&&(u(t[i])?t[i].call(this,e):t[i]);return this.format(t||this.localeData().calendar(i,this,D(e)))},p.clone=function(){return new K(this)},p.diff=function(e,t,i){var r,n,a;if(!this.isValid())return NaN;if(!(r=Ht(e,this)).isValid())return NaN;switch(n=6e4*(r.utcOffset()-this.utcOffset()),t=d(t)){case"year":a=Qt(this,r)/12;break;case"month":a=Qt(this,r);break;case"quarter":a=Qt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return i?a:b(a)},p.endOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ni:ri,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),h.updateOffset(this,!0)}return this},p.format=function(e){return e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},p.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||D(e).isValid())?$({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},p.fromNow=function(e){return this.from(D(),e)},p.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||D(e).isValid())?$({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},p.toNow=function(e){return this.to(D(),e)},p.get=function(e){return u(this[e=d(e)])?this[e]():this},p.invalidAt=function(){return g(this).overflow},p.isAfter=function(e,t){return e=l(e)?e:D(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},p.isBefore=function(e,t){return e=l(e)?e:D(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},p.isBetween=function(e,t,i,r){return e=l(e)?e:D(e),t=l(t)?t:D(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&(")"===r[1]?this.isBefore(t,i):!this.isAfter(t,i))},p.isSame=function(e,t){var e=l(e)?e:D(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},p.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},p.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},p.isValid=function(){return W(this)},p.lang=et,p.locale=Jt,p.localeData=ei,p.max=ge,p.min=fe,p.parsingFlags=function(){return j({},g(this))},p.set=function(e,t){if("object"==typeof e)for(var i=(e=>{var t,i=[];for(t in e)f(e,t)&&i.push({unit:t,priority:ue[t]});return i.sort(function(e,t){return e.priority-t.priority}),i})(e=ce(e)),r=i.length,n=0;n<r;n++)this[i[n].unit](e[i[n].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},p.startOf=function(e){var t,i;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?ni:ri,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),h.updateOffset(this,!0)}return this},p.subtract=Qe,p.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},p.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},p.toDate=function(){return new Date(this.valueOf())},p.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},p.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&&(p[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},p.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},p.eraName=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++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""},p.eraNarrow=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++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""},p.eraAbbr=function(){for(var e,t=this.localeData().eras(),i=0,r=t.length;i<r;++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""},p.eraYear=function(){for(var e,t,i=this.localeData().eras(),r=0,n=i.length;r<n;++r)if(e=i[r].since<=i[r].until?1:-1,t=this.clone().startOf("day").valueOf(),i[r].since<=t&&t<=i[r].until||i[r].until<=t&&t<=i[r].since)return(this.year()-h(i[r].since).year())*e+i[r].offset;return this.year()},p.year=$e,p.isLeapYear=function(){return ke(this.year())},p.weekYear=function(e){return li.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},p.isoWeekYear=function(e){return li.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},p.quarter=p.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},p.month=Ue,p.daysInMonth=function(){return Fe(this.year(),this.month())},p.week=p.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},p.isoWeek=p.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},p.weeksInYear=function(){var e=this.localeData()._week;return A(this.year(),e.dow,e.doy)},p.weeksInWeekYear=function(){var e=this.localeData()._week;return A(this.weekYear(),e.dow,e.doy)},p.isoWeeksInYear=function(){return A(this.year(),1,4)},p.isoWeeksInISOWeekYear=function(){return A(this.isoWeekYear(),1,4)},p.date=ve,p.day=p.days=function(e){var t,i,r;return this.isValid()?(t=Ie(this,"Day"),null!=e?(i=e,r=this.localeData(),e="string"!=typeof i?i:isNaN(i)?"number"==typeof(i=r.weekdaysParse(i))?i:null:parseInt(i,10),this.add(e-t,"d")):t):null!=e?this:NaN},p.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},p.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},p.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")},p.hour=p.hours=n,p.minute=p.minutes=me,p.second=p.seconds=be,p.millisecond=p.milliseconds=he,p.utcOffset=function(e,t,i){var r,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:jt(this);if("string"==typeof e){if(null===(e=Rt(Ce,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(r=jt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==e&&(!t||this._changeInProgress?Kt(this,$(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},p.utc=function(e){return this.utcOffset(0,e)},p.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(jt(this),"m"),this},p.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(_e,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},p.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?D(e).utcOffset():0,(this.utcOffset()-e)%60==0)},p.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},p.isLocal=function(){return!!this.isValid()&&!this._isUTC},p.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},p.isUtc=Wt,p.isUTC=Wt,p.zoneAbbr=function(){return this._isUTC?"UTC":""},p.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},p.dates=e("dates accessor is deprecated. Use date instead.",ve),p.months=e("months accessor is deprecated. Use month instead",Ue),p.years=e("years accessor is deprecated. Use year instead",$e),p.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()}),p.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=Mt(t))._a?(e=(t._isUTC?c:D)(t._a),this._isDSTShifted=this.isValid()&&0<((e,t,i)=>{for(var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,o=0;o<r;o++)(i&&e[o]!==t[o]||!i&&w(e[o])!==w(t[o]))&&a++;return a+n})(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(m=ee.prototype).calendar=function(e,t,i){return u(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=di,m.postformat=di,m.relativeTime=function(e,t,i,r){var n=this._relativeTime[i];return u(n)?n(e,t,i,r):n.replace(/%d/i,e)},m.pastFuture=function(e,t){return u(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)f(e,i)&&(u(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,r=this._eras||M("en")._eras,n=0,a=r.length;n<a;++n)switch("string"==typeof r[n].since&&(i=h(r[n].since).startOf("day"),r[n].since=i.valueOf()),typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":i=h(r[n].until).startOf("day").valueOf(),r[n].until=i.valueOf()}return r},m.erasParse=function(e,t,i){var r,n,a,o,s,l=this.eras();for(e=e.toUpperCase(),r=0,n=l.length;r<n;++r)if(a=l[r].name.toUpperCase(),o=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[r];break;case"NNNN":if(a===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if(0<=[a,o,s].indexOf(e))return l[r]},m.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?h(e.since).year():h(e.since).year()+(t-e.offset)*i},m.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||oi.call(this),e?this._erasAbbrRegex:this._erasRegex},m.erasNameRegex=function(e){return f(this,"_erasNameRegex")||oi.call(this),e?this._erasNameRegex:this._erasRegex},m.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||oi.call(this),e?this._erasNarrowRegex:this._erasRegex},m.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Re).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},m.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Re.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},m.monthsParse=function(e,t,i){var r,n;if(this._monthsParseExact)return function(e,t,i){var r,n,a,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(n=k.call(this._shortMonthsParse,e))?n:null:-1!==(n=k.call(this._longMonthsParse,e))?n:null:"MMM"===t?-1!==(n=k.call(this._shortMonthsParse,e))||-1!==(n=k.call(this._longMonthsParse,e))?n:null:-1!==(n=k.call(this._longMonthsParse,e))||-1!==(n=k.call(this._shortMonthsParse,e))?n:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=c([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),i||this._monthsParse[r]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(i&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!i&&this._monthsParse[r].test(e))return r}},m.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},m.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=He),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},m.week=function(e){return Ze(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=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Xe(t,this._week.dow):e?t[e.day()]:t},m.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},m.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},m.weekdaysParse=function(e,t,i){var r,n;if(this._weekdaysParseExact)return function(e,t,i){var r,n,a,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(n=k.call(this._weekdaysParse,e))?n:null:"ddd"===t?-1!==(n=k.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=k.call(this._minWeekdaysParse,e))?n:null:"dddd"===t?-1!==(n=k.call(this._weekdaysParse,e))||-1!==(n=k.call(this._shortWeekdaysParse,e))||-1!==(n=k.call(this._minWeekdaysParse,e))?n:null:"ddd"===t?-1!==(n=k.call(this._shortWeekdaysParse,e))||-1!==(n=k.call(this._weekdaysParse,e))||-1!==(n=k.call(this._minWeekdaysParse,e))?n:null:-1!==(n=k.call(this._minWeekdaysParse,e))||-1!==(n=k.call(this._weekdaysParse,e))||-1!==(n=k.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=c([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(i&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(i&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!i&&this._weekdaysParse[r].test(e))return r}},m.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},m.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=it),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},m.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),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"},ht("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===w(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),h.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),h.langData=e("moment.langData is deprecated. Use moment.localeData instead.",M);var B=Math.abs;function fi(e,t,i,r){t=$(t,i);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function gi(e){return e<0?Math.floor(e):Math.ceil(e)}function yi(e){return 4800*e/146097}function vi(e){return 146097*e/4800}function bi(e){return function(){return this.as(e)}}function wi(e){return function(){return this.isValid()?this._data[e]:NaN}}de=bi("ms"),t=bi("s"),ye=bi("m"),pe=bi("h"),Oe=bi("d"),ge=bi("w"),fe=bi("M"),Qe=bi("Q"),n=bi("y"),me=de;var be=wi("milliseconds"),he=wi("seconds"),ve=wi("minutes"),$e=wi("hours"),m=wi("days"),xi=wi("months"),_i=wi("years"),Ci=Math.round,Pi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Li(e,t,i,r){var n=$(e).abs(),a=Ci(n.as("s")),o=Ci(n.as("m")),s=Ci(n.as("h")),l=Ci(n.as("d")),c=Ci(n.as("M")),u=Ci(n.as("w")),n=Ci(n.as("y")),a=(a<=i.ss?["s",a]:a<i.s&&["ss",a])||(o<=1?["m"]:o<i.m&&["mm",o])||(s<=1?["h"]:s<i.h&&["hh",s])||(l<=1?["d"]:l<i.d&&["dd",l]);return(a=(a=null!=i.w?a||(u<=1?["w"]:u<i.w&&["ww",u]):a)||(c<=1?["M"]:c<i.M&&["MM",c])||(n<=1?["y"]:["yy",n]))[2]=t,a[3]=0<+e,a[4]=r,function(e,t,i,r,n){return n.relativeTime(t||1,!!i,e,r)}.apply(null,a)}var Ei=Math.abs;function Ti(e){return(0<e)-(e<0)||+e}function ki(){var e,t,i,r,n,a,o,s,l,c,u;return this.isValid()?(s=Ei(this._milliseconds)/1e3,l=Ei(this._days),c=Ei(this._months),(u=this.asSeconds())?(e=b(s/60),t=b(e/60),s%=60,e%=60,i=b(c/12),c%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",n=Ti(this._months)!==Ti(u)?"-":"",a=Ti(this._days)!==Ti(u)?"-":"",o=Ti(this._milliseconds)!==Ti(u)?"-":"",(u<0?"-":"")+"P"+(i?n+i+"Y":"")+(c?n+c+"M":"")+(l?a+l+"D":"")+(t||e||s?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(s?o+r+"S":"")):"P0D"):this.localeData().invalidDate()}var I=It.prototype;return I.isValid=function(){return this._isValid},I.abs=function(){var e=this._data;return this._milliseconds=B(this._milliseconds),this._days=B(this._days),this._months=B(this._months),e.milliseconds=B(e.milliseconds),e.seconds=B(e.seconds),e.minutes=B(e.minutes),e.hours=B(e.hours),e.months=B(e.months),e.years=B(e.years),this},I.add=function(e,t){return fi(this,e,t,1)},I.subtract=function(e,t){return fi(this,e,t,-1)},I.as=function(e){if(!this.isValid())return NaN;var t,i,r=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,i=this._months+yi(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(vi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},I.asMilliseconds=de,I.asSeconds=t,I.asMinutes=ye,I.asHours=pe,I.asDays=Oe,I.asWeeks=ge,I.asMonths=fe,I.asQuarters=Qe,I.asYears=n,I.valueOf=me,I._bubble=function(){var e=this._milliseconds,t=this._days,i=this._months,r=this._data;return 0<=e&&0<=t&&0<=i||e<=0&&t<=0&&i<=0||(e+=864e5*gi(vi(i)+t),i=t=0),r.milliseconds=e%1e3,e=b(e/1e3),r.seconds=e%60,e=b(e/60),r.minutes=e%60,e=b(e/60),r.hours=e%24,t+=b(e/24),i+=e=b(yi(t)),t-=gi(vi(e)),e=b(i/12),i%=12,r.days=t,r.months=i,r.years=e,this},I.clone=function(){return $(this)},I.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},I.milliseconds=be,I.seconds=he,I.minutes=ve,I.hours=$e,I.days=m,I.weeks=function(){return b(this.days()/7)},I.months=xi,I.years=_i,I.humanize=function(e,t){var i,r;return this.isValid()?(i=!1,r=Pi,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Pi,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),t=Li(this,!i,r,e=this.localeData()),i&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},I.toISOString=ki,I.toString=ki,I.toJSON=ki,I.locale=Jt,I.localeData=ei,I.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ki),I.lang=et,r("X",0,0,"unix"),r("x",0,0,"valueOf"),y("x",xe),y("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,i){i._d=new Date(w(e))}),h.version="2.30.1",N=D,h.fn=p,h.min=function(){return $t("isBefore",[].slice.call(arguments,0))},h.max=function(){return $t("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=c,h.unix=function(e){return D(1e3*e)},h.months=function(e,t){return mi(e,t,"months")},h.isDate=R,h.locale=ht,h.invalid=U,h.duration=$,h.isMoment=l,h.weekdays=function(e,t,i){return hi(e,t,i,"weekdays")},h.parseZone=function(){return D.apply(null,arguments).parseZone()},h.localeData=M,h.isDuration=Nt,h.monthsShort=function(e,t){return mi(e,t,"monthsShort")},h.weekdaysMin=function(e,t,i){return hi(e,t,i,"weekdaysMin")},h.defineLocale=ft,h.updateLocale=function(e,t){var i,r;return null!=t?(r=ct,null!=S[e]&&null!=S[e].parentLocale?S[e].set(J(S[e]._config,t)):(t=J(r=null!=(i=mt(e))?i._config:r,t),null==i&&(t.abbr=e),(r=new ee(t)).parentLocale=S[e],S[e]=r),ht(e)):null!=S[e]&&(null!=S[e].parentLocale?(S[e]=S[e].parentLocale,e===ht()&&ht(e)):null!=S[e]&&delete S[e]),S[e]},h.locales=function(){return te(S)},h.weekdaysShort=function(e,t,i){return hi(e,t,i,"weekdaysShort")},h.normalizeUnits=d,h.relativeTimeRounding=function(e){return void 0===e?Ci:"function"==typeof e&&(Ci=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==Pi[e]&&(void 0===t?Pi[e]:(Pi[e]=t,"s"===e&&(Pi.ss=t-1),!0))},h.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"},h.prototype=p,h.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"},h})();var Bn,In,j=Bn.exports;function Nn(e,t){I(e,t)}let Fn={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText1:"We recognize that gambling can be harmful so to prevent problems associated with gambling, we offer our users the ability to exclude from all forms of betting on our site for a certain indefinite period of time.",selfExclusionText2:'Self-exclusion takes effect from the time it is set for your chosen period. Select a timeframe below then click "Save".',selfExclusionText3:"During self-exclusion, you will be able to access your account and withdraw funds but you will not be able to deposit or place any bets. In the case of permanent self-exclusion, it is only possible to revoke Self-exclusion upon written request and only 6 months after its initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows:",selfExclusionText4:"E-mail:",duration:"Duration:",forever:"Forever",save:"Save",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent."},"zh-hk":{titleSelfExclusion:"自我排斥",selfExclusionText1:"我們認識到賭博會導致成癮,為了防止這些問題,我們為用戶提供了在一段時間內排除我們網站上所有形式的投注的能力。",selfExclusionText2:"自我排除從您選擇的時間段設置的時間開始生效。 在下方選擇一個時間範圍,然後單擊“確認”。",selfExclusionText3:"在自我排除期間,您將無法訪問您的 帳戶。 在永久自我排除的情況下,只有在書面請求後才能撤銷自我排除,並且只有在首次申請後 6 個月內。 請注意,請求自我排除的另一種方法是聯繫客戶服務,如下所示:",selfExclusionText4:"電子郵件:",duration:"期間:",forever:"永遠",save:"節省",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。"},fr:{titleSelfExclusion:"Auto exclusion",selfExclusionText1:"reconnait que le jeu peut conduire à l'addition et dans notre effort pour prévenir ces problèmes, nous offrons à nos utilisateurs la possibilité d'exclure toutes les formes de paris sur notre site pour une certaine période de temps indéfinie.",selfExclusionText2:'L\'auto exclusion prend effet à partir du moment où elle est fixée pour la période que vous choisissez. Sélectionnez une periode ci-dessous puis cliquez sur "Sauvez".',selfExclusionText3:"Pendant l'auto exclusion ,vous ne pourrez pas accéder à votre compte .dans le cas d'une auto exclusion permanente ,il est seulement possible de révoquer l'auto exclusion sur demande écrit et seulement 6 mois après sa demande initiale. veuillez noter qu'une manière alternative de demander l'auto exclusion est de contacter le service client comme suit:",selfExclusionText4:"E-mail:",duration:"Durée:",forever:"Tout le temps",save:"Sauvez",temporarySelfExclusion:"Votre période d'auto exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto exclusion sera permanente."},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText1:"La {operatorname} știm că jocurile de noroc pot provoca dependență și, printre eforturile noastre de a preveni aceste probleme, oferim utilizatorilor posibilitatea de a se exclude de la orice formă de pariere pe o perioadă anume sau chiar nelimitată.",selfExclusionText2:'Auto-excluderea intră în vigoare de la momentul setării, pentru perioada setată. Selectează mai jos o perioadă și apoi apasă pe "Salvează".',selfExclusionText3:"Pe perioada auto-excluderii nu vei putea accesa contul tău {operatorname}. În cazul unei auto-excluderi permanente, aceasta poate fi revocată doar în urma unei solicitări scrise și doar după 6 luni de la aplicarea inițială a acesteia. De asemenea, o altă posibilitate de a solicita auto-excluderea este contactarea Serviciului Clienți după cum urmează:",selfExclusionText4:"E-mail:",duration:"Durată:",forever:"Permanent",save:"Salvează",temporarySelfExclusion:"Perioada de auto-excludere va dura pană la {date} 23:59.",permanentSelfExclusion:"Auto-excluderea este permanentă."},es:{titleSelfExclusion:"Autoexclusición",selfExclusionText1:"Reconocemos que el juego puedo conducir a la adicción y en nuestro esfuerzo por prevenir estos problemas",selfExclusionText2:'La autoexclusición surte efecto desde el momento en que se establece para el periodo que elijas. Seleccione un período de tiempo a continuación y luego haga clic en "Guardar".',selfExclusionText3:"Durante la autoexclusión, no podrá acceder a su cuenta de {operator}. En el caso de autoexclusión permanente, solo es posible revocar la autoexclusión previa solicitud por escrito y solo 6 meses después de su solicitud inicial. Ten en cuenta que una forma alternativa de solicitar la autoexclusión es ponerse en contacto con el Servicio de Atención al Cliente de la siguiente manera: Correo electrónico:",selfExclusionText4:"Email",duration:"Duración:",forever:"Para siempre",save:"Guardar",temporarySelfExclusion:"Tu periodo de autoexclusión durará hasta el {date} 23:59. .",permanentSelfExclusion:"Tu periodo de autoexclusión será permanente."},pt:{titleSelfExclusion:"Auto-exclusão",selfExclusionText1:"reconhece que o jogo pode levar ao vício e em nosso esforço para evitar esses problemas, oferecemos aos nossos usuários a capacidade de excluir todas as formas de apostas em nosso site por um período de tempo indefinido.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é definida para o período que você escolher. Selecione um período de tempo abaixo e clique em "Guardar".',selfExclusionText3:"Durante a autoexclusão, você não poderá acessar sua conta . No caso de autoexclusão permanente, só é possível revogar a Autoexclusão mediante pedido escrito e apenas 6 meses após a sua aplicação inicial. Observe que uma forma alternativa de solicitar a autoexclusão é entrar em contato com o Atendimento ao Cliente da seguinte forma:",selfExclusionText4:"E-mail:",duration:"Duração:",forever:"Para sempre",save:"Guardar",temporarySelfExclusion:"Seu período de autoexclusão durará até {data} 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente."},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText1:"Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme",selfExclusionText2:'Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Spremi".',selfExclusionText3:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja",selfExclusionText4:"E-mail:",duration:"Trajanje:",forever:"Trajno",save:"Spremi",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno."},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText1:"Reconhecemos que o jogo pode ser prejudicial para evitar problemas associados ao jogo,Oferecemos aos nossos usuários a opção de excluir todas as formas de apostas em nosso site por um período indefinido.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é selecionada para o período escolhido. Escolha o período de tempo e selecione "Manter".',selfExclusionText3:'Durante a autoexclusão,"Você terá acesso à sua conta e poderá fazer saques, mas não poderá depositar ou fazer apostas. No caso de autoexclusão permanente",Só é possível revogar a autoexclusão mediante solicitação por escrito e apenas 6 meses após a sua inscrição inicial. Observe que uma forma alternativa de solicitar a autoexclusão é entrar em contato com nossa equipe de Atendimento ao Cliente da seguinte forma:',selfExclusionText4:"Correio eletrônico:",duration:"Período de tempo:",forever:"Para sempre",save:"Manter",temporarySelfExclusion:"Seu período de autoexclusão durará até {data} 23h59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente"},"es-mx":{titleSelfExclusion:"Auto-exclusión",selfExclusionText1:"Reconocemos que las apuestas pueden ser dañinas así que para prevenir problemas asociados con el juego,ofrecemos a nuestros usuarios la opción de excluir todas las formas de apuestas en nuestra página por un period indeterminado de tiempo.",selfExclusionText3:"Durante la auto-exclusión ,usted tendrá acceso a su cuenta y podrá hacer retiros pero no podrá depositar o hacer apuestas. En el caso de la auto-exclusión permanente,Sólo es posible revocar la auto-exclusión bajo una solicitud escrita y solamente 6 meses después de su aplicación inicial .Por favor tome en cuenta que una forma alternativa de solicitar la auto-exclusión es contactar a nuestro equipo de Servicio al Cliente de la siguiente forma:",selfExclusionText4:"Correo electrónico:",duration:"Periodo de Tiempo:",forever:"Para siempre",save:"Guardar",temporarySelfExclusion:"Su periodo de auto-exclusión durará hasta el {date} 23:59.",permanentSelfExclusion:"Su periodo de auto-exclusión será permanente"},tr:{titleSelfExclusion:"Kendini dışlama",selfExclusionText1:"Kumarın zararlı olabileceğini biliyoruz ve bu nedenle kumarla ilgili sorunları önlemek için kullanıcılarımıza, sitemizdeki tüm bahis türlerinden süresiz olarak hariç tutma olanağı sunuyoruz.",selfExclusionText2:"Kendini hariç tutma, seçtiğiniz dönem için ayarlandığı andan itibaren geçerli olur. Aşağıdan bir zaman aralığı seçin ve ardından Onayla'yı tıklayın.",selfExclusionText3:"Kendini ihraç etme sırasında, hesabınıza erişebilecek ve para çekebileceksiniz ancak herhangi bir para yatıramayacak veya bahis koyamayacaksınız. Kalıcı olarak kendini ihraç etme durumunda, Kendini ihraç etmeyi yalnızca yazılı talep üzerine ve ilk başvurudan yalnızca 6 ay sonra iptal etmek mümkündür. Kendini ihraç etme talebinde bulunmanın alternatif bir yolunun Müşteri Hizmetleriyle aşağıdaki şekilde iletişime geçmek olduğunu lütfen unutmayın:",selfExclusionText4:"E-posta:",duration:"Süre:",forever:"Sonsuza kadar",save:"Kaydetmek",temporarySelfExclusion:"Kendini ihraç etme süreniz {date} 23:59'a kadar sürecek.",permanentSelfExclusion:"Kendini ihraç etme süreniz kalıcı olacaktır."}};function On(e){var t,i=customElements.get(e.is);i?(t=i.version)&&e.version&&t===e.version?console.warn(`The component ${e.is} has been loaded twice`):console.error(`Tried to define ${e.is} version ${e.version} when version ${i.version} is already in use. Something will probably break.`):customElements.define(e.is,e)}class zn extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.9"}}On(zn);let Rn=window,Hn=Rn.ShadowRoot&&(void 0===Rn.ShadyCSS||Rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jn=Symbol(),Wn=new WeakMap;class Un{constructor(e,t,i){if(this._$cssResult$=!0,i!==jn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;var t,i=this.t;return Hn&&void 0===e&&(t=void 0!==i&&1===i.length,void 0===(e=t?Wn.get(i):e))&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t)&&Wn.set(i,e),e}toString(){return this.cssText}}let o=(r,...e)=>{e=1===r.length?r[0]:e.reduce((e,t,i)=>e+(()=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})()+r[i+1],r[0]);return new Un(e,r,jn)},Yn=Hn?e=>e:t=>{if(!(t instanceof CSSStyleSheet))return t;{let e="";for(var i of t.cssRules)e+=i.cssText;return t=e,new Un("string"==typeof t?t:t+"",void 0,jn)}},Gn,Vn=window,qn=Vn.trustedTypes,Kn=qn?qn.emptyScript:"",Zn=Vn.reactiveElementPolyfillSupport,Xn={toAttribute(e,t){switch(t){case Boolean:e=e?Kn:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},Qn=(e,t)=>t!==e&&(t==t||e==e),Jn={attribute:!0,type:String,converter:Xn,reflect:!1,hasChanged:Qn},ea="finalized";class ta extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var t;this.finalize(),(null!=(t=this.h)?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();let i=[];return this.elementProperties.forEach((e,t)=>{e=this._$Ep(t,e);void 0!==e&&(this._$Ev.set(e,t),i.push(e))}),i}static createProperty(e,t=Jn){var i;t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e)||(i="symbol"==typeof e?Symbol():"__"+e,void 0!==(i=this.getPropertyDescriptor(e,i,t))&&Object.defineProperty(this.prototype,e,i))}static getPropertyDescriptor(i,r,n){return{get(){return this[r]},set(e){var t=this[i];this[r]=e,this.requestUpdate(i,t,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||Jn}static finalize(){if(this.hasOwnProperty(ea))return!1;this[ea]=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(var i of t)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){var t=[];if(Array.isArray(e)){var i=new Set(e.flat(1/0).reverse());for(let e of i)t.unshift(Yn(e))}else void 0!==e&&t.push(Yn(e));return t}static _$Ep(e,t){t=t.attribute;return!1===t?void 0:"string"==typeof t?t:"string"==typeof e?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null!=(e=this.constructor.h)&&e.forEach(e=>e(this))}addController(e){var t;(null!=(t=this._$ES)?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&null!=(t=e.hostConnected)&&t.call(e)}removeController(e){var t;null!=(t=this._$ES)&&t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var r,e,t=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return r=t,e=this.constructor.elementStyles,Hn?r.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):e.forEach(e=>{var t=document.createElement("style"),i=Rn.litNonce;void 0!==i&&t.setAttribute("nonce",i),t.textContent=e.cssText,r.appendChild(t)}),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null!=(e=this._$ES)&&e.forEach(e=>{var t;return null==(t=e.hostConnected)?void 0:t.call(e)})}enableUpdating(e){}disconnectedCallback(){var e;null!=(e=this._$ES)&&e.forEach(e=>{var t;return null==(t=e.hostDisconnected)?void 0:t.call(e)})}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t,i=Jn){var r,n=this.constructor._$Ep(e,i);void 0!==n&&!0===i.reflect&&(r=(void 0!==(null==(r=i.converter)?void 0:r.toAttribute)?i.converter:Xn).toAttribute(t,i.type),this._$El=e,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null)}_$AK(e,i){var r=this.constructor,n=r._$Ev.get(e);if(void 0!==n&&this._$El!==n){let e=r.getPropertyOptions(n),t="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null==(r=e.converter)?void 0:r.fromAttribute)?e.converter:Xn;this._$El=n,this[n]=t.fromAttribute(i,e.type),this._$El=null}}requestUpdate(e,t,i){let r=!0;void 0!==e&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||Qn)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,i))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}var e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(this.isUpdatePending){this.hasUpdated,this._$Ei&&(this._$Ei.forEach((e,t)=>this[t]=e),this._$Ei=void 0);let e=!1;var i=this._$AL;try{(e=this.shouldUpdate(i))?(this.willUpdate(i),null!=(t=this._$ES)&&t.forEach(e=>{var t;return null==(t=e.hostUpdate)?void 0:t.call(e)}),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}}willUpdate(e){}_$AE(e){var t;null!=(t=this._$ES)&&t.forEach(e=>{var t;return null==(t=e.hostUpdated)?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach((e,t)=>this._$EO(t,this[t],e)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}ta[ea]=!0,ta.elementProperties=new Map,ta.elementStyles=[],ta.shadowRootOptions={mode:"open"},null!=Zn&&Zn({ReactiveElement:ta}),(null!=(Gn=Vn.reactiveElementVersions)?Gn:Vn.reactiveElementVersions=[]).push("1.6.3");let ia=window,ra=ia.trustedTypes,na=ra?ra.createPolicy("lit-html",{createHTML:e=>e}):void 0,aa="$lit$",oa=`lit$${(Math.random()+"").slice(9)}$`,sa="?"+oa,la=`<${sa}>`,ca=document,ua=()=>ca.createComment(""),da=e=>null===e||"object"!=typeof e&&"function"!=typeof e,pa=Array.isArray,ma="[ \t\n\f\r]",ha=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fa=/-->/g,ga=/>/g,ya=RegExp(`>|${ma}(?:([^\\s"'>=/]+)(${ma}*=${ma}*(?:[^
4
4
  \r"'\`<>=]|("|')|))|$)`,"g"),va=/'/g,ba=/"/g,wa=/^(?:script|style|textarea|title)$/i,xa=Symbol.for("lit-noChange"),_a=Symbol.for("lit-nothing"),Ca=new WeakMap,Pa=ca.createTreeWalker(ca,129,null,!1);function La(e,t){if(Array.isArray(e)&&e.hasOwnProperty("raw"))return void 0!==na?na.createHTML(t):t;throw Error("invalid template strings array")}class Ea{constructor({strings:e,_$litType$:t},i){var r;this.parts=[];let n=0,a=0;var o=e.length-1,s=this.parts,[e,l]=((o,e)=>{let t=o.length-1,s=[],l,c=2===e?"<svg>":"",u=ha;for(let a=0;a<t;a++){let e=o[a],t,i,r=-1,n=0;for(;n<e.length&&(u.lastIndex=n,null!==(i=u.exec(e)));)n=u.lastIndex,u===ha?"!--"===i[1]?u=fa:void 0!==i[1]?u=ga:void 0!==i[2]?(wa.test(i[2])&&(l=RegExp("</"+i[2],"g")),u=ya):void 0!==i[3]&&(u=ya):u===ya?">"===i[0]?(u=null!=l?l:ha,r=-1):void 0===i[1]?r=-2:(r=u.lastIndex-i[2].length,t=i[1],u=void 0===i[3]?ya:'"'===i[3]?ba:va):u===ba||u===va?u=ya:u===fa||u===ga?u=ha:(u=ya,l=void 0);var d=u===ya&&o[a+1].startsWith("/>")?" ":"";c+=u===ha?e+la:0<=r?(s.push(t),e.slice(0,r)+aa+e.slice(r)+oa+d):e+oa+(-2===r?(s.push(void 0),a):d)}return[La(o,c+(o[t]||"<?>")+(2===e?"</svg>":"")),s]})(e,t);if(this.el=Ea.createElement(e,i),Pa.currentNode=this.el.content,2===t){let e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=Pa.nextNode())&&s.length<o;){if(1===r.nodeType){if(r.hasAttributes()){let t=[];for(let e of r.getAttributeNames())if(e.endsWith(aa)||e.startsWith(oa)){let i=l[a++];if(t.push(e),void 0!==i){let e=r.getAttribute(i.toLowerCase()+aa).split(oa),t=/([.?@])?(.*)/.exec(i);s.push({type:1,index:n,name:t[2],strings:e,ctor:"."===t[1]?Ma:"?"===t[1]?$a:"@"===t[1]?Ba:Sa})}else s.push({type:6,index:n})}for(let e of t)r.removeAttribute(e)}if(wa.test(r.tagName)){let t=r.textContent.split(oa),i=t.length-1;if(0<i){r.textContent=ra?ra.emptyScript:"";for(let e=0;e<i;e++)r.append(t[e],ua()),Pa.nextNode(),s.push({type:2,index:++n});r.append(t[i],ua())}}}else if(8===r.nodeType)if(r.data===sa)s.push({type:2,index:n});else{let e=-1;for(;-1!==(e=r.data.indexOf(oa,e+1));)s.push({type:7,index:n}),e+=oa.length-1}n++}}static createElement(e,t){var i=ca.createElement("template");return i.innerHTML=e,i}}function Ta(t,i,r=t,n){var a;if(i!==xa){let e=void 0!==n?null==(o=r._$Co)?void 0:o[n]:r._$Cl;var o=da(i)?void 0:i._$litDirective$;(null==e?void 0:e.constructor)!==o&&(null!=(a=null==e?void 0:e._$AO)&&a.call(e,!1),void 0===o?e=void 0:(e=new o(t))._$AT(t,r,n),void 0!==n?(null!=(a=r._$Co)?a:r._$Co=[])[n]=e:r._$Cl=e),void 0!==e&&(i=Ta(t,e._$AS(t,i.values),e,n))}return i}class ka{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var{el:{content:e},parts:i}=this._$AD,r=(null!=(r=null==t?void 0:t.creationScope)?r:ca).importNode(e,!0);Pa.currentNode=r;let n=Pa.nextNode(),a=0,o=0,s=i[0];for(;void 0!==s;){if(a===s.index){let e;2===s.type?e=new Aa(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new Ia(n,this,t)),this._$AV.push(e),s=i[++o]}a!==(null==s?void 0:s.index)&&(n=Pa.nextNode(),a++)}return Pa.currentNode=ca,r}v(e){let t=0;for(var i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class Aa{constructor(e,t,i,r){this.type=2,this._$AH=_a,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=r,this._$Cp=null==(e=null==r?void 0:r.isConnected)||e}get _$AU(){var e;return null!=(e=null==(e=this._$AM)?void 0:e._$AU)?e:this._$Cp}get parentNode(){let e=this._$AA.parentNode;var t=this._$AM;return e=void 0!==t&&11===(null==e?void 0:e.nodeType)?t.parentNode:e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Ta(this,e,t),da(e)?e===_a||null==e||""===e?(this._$AH!==_a&&this._$AR(),this._$AH=_a):e!==this._$AH&&e!==xa&&this._(e):void 0!==e._$litType$?this.g(e):void 0!==e.nodeType?this.$(e):(t=e,pa(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator])?this.T(e):this._(e))}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==_a&&da(this._$AH)?this._$AA.nextSibling.data=e:this.$(ca.createTextNode(e)),this._$AH=e}g(e){var t,{values:i,_$litType$:r}=e,r="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=Ea.createElement(La(r.h,r.h[0]),this.options)),r);if((null==(t=this._$AH)?void 0:t._$AD)===r)this._$AH.v(i);else{let e=new ka(r,this),t=e.u(this.options);e.v(i),this.$(t),this._$AH=e}}_$AC(e){let t=Ca.get(e.strings);return void 0===t&&Ca.set(e.strings,t=new Ea(e)),t}T(e){pa(this._$AH)||(this._$AH=[],this._$AR());var t,i=this._$AH;let r,n=0;for(t of e)n===i.length?i.push(r=new Aa(this.k(ua()),this.k(ua()),this,this.options)):r=i[n],r._$AI(t),n++;n<i.length&&(this._$AR(r&&r._$AB.nextSibling,n),i.length=n)}_$AR(t=this._$AA.nextSibling,e){var i;for(null!=(i=this._$AP)&&i.call(this,!1,!0,e);t&&t!==this._$AB;){let e=t.nextSibling;t.remove(),t=e}}setConnected(e){var t;void 0===this._$AM&&(this._$Cp=e,null!=(t=this._$AP))&&t.call(this,e)}}class Sa{constructor(e,t,i,r,n){this.type=1,this._$AH=_a,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=n,2<i.length||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=_a}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(r,n=this,a,e){var o=this.strings;let s=!1;if(void 0===o)r=Ta(this,r,n,0),(s=!da(r)||r!==this._$AH&&r!==xa)&&(this._$AH=r);else{let e=r,t,i;for(r=o[0],t=0;t<o.length-1;t++)(i=Ta(this,e[a+t],n,t))===xa&&(i=this._$AH[t]),s=s||!da(i)||i!==this._$AH[t],i===_a?r=_a:r!==_a&&(r+=(null!=i?i:"")+o[t+1]),this._$AH[t]=i}s&&!e&&this.j(r)}j(e){e===_a?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class Ma extends Sa{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===_a?void 0:e}}let Da=ra?ra.emptyScript:"";class $a extends Sa{constructor(){super(...arguments),this.type=4}j(e){e&&e!==_a?this.element.setAttribute(this.name,Da):this.element.removeAttribute(this.name)}}class Ba extends Sa{constructor(e,t,i,r,n){super(e,t,i,r,n),this.type=5}_$AI(e,t=this){var i,r;(e=null!=(t=Ta(this,e,t,0))?t:_a)!==xa&&(t=this._$AH,i=e===_a&&t!==_a||e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive,r=e!==_a&&(t===_a||i),i&&this.element.removeEventListener(this.name,this,t),r&&this.element.addEventListener(this.name,this,e),this._$AH=e)}handleEvent(e){var t;"function"==typeof this._$AH?this._$AH.call(null!=(t=null==(t=this.options)?void 0:t.host)?t:this.element,e):this._$AH.handleEvent(e)}}class Ia{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Ta(this,e)}}Di=ia.litHtmlPolyfillSupport;null!=Di&&Di(Ea,Aa),(null!=($i=ia.litHtmlVersions)?$i:ia.litHtmlVersions=[]).push("2.8.0");class Na extends ta{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t=super.createRenderRoot();return null==(e=this.renderOptions).renderBefore&&(e.renderBefore=t.firstChild),t}update(e){var t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=((e,t,i)=>{var r,n=null!=(n=null==i?void 0:i.renderBefore)?n:t;let a=n._$litPart$;if(void 0===a){let e=null!=(r=null==i?void 0:i.renderBefore)?r:null;n._$litPart$=a=new Aa(t.insertBefore(ua(),e),e,void 0,null!=i?i:{})}return a._$AI(e),a})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null!=(e=this._$Do)&&e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null!=(e=this._$Do)&&e.setConnected(!1)}render(){return xa}}Na.finalized=!0,Na._$litElement$=!0,null!=(Ii=globalThis.litElementHydrateSupport)&&Ii.call(globalThis,{LitElement:Na});t=globalThis.litElementPolyfillSupport;null!=t&&t({LitElement:Na}),(null!=(ki=globalThis.litElementVersions)?ki:globalThis.litElementVersions=[]).push("3.3.3");let Fa=[];function Oa(e){return e&&Object.prototype.hasOwnProperty.call(e,"__themes")}function za(e,t,i={}){var r;e&&Oa(customElements.get(e))&&console.warn(`The custom element definition for "${e}"
5
5
  was finalized before a style module was registered.
6
6
  Make sure to add component specific style modules before