@everymatrix/player-account-controller 0.0.306 → 0.0.307
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
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(l){"use strict";(e=l)&&"object"==typeof e&&0 in e;function ie(){}const w=e=>e;function _(e){return e()}function x(){return Object.create(null)}function cr(e){e.forEach(_)}function me(e){return"function"==typeof e}function t(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let c;function P(e,t){return(c=c||document.createElement("a")).href=t,e===c.href}function p(e,...t){if(null==e)return ie;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ae(e,t,r){e.$$.on_destroy.push(p(t,r))}function u(e){return e&&me(e.destroy)?e.destroy:ie}var e="undefined"!=typeof window;let A=e?()=>window.performance.now():()=>Date.now(),T=e?e=>requestAnimationFrame(e):ie;const E=new Set;function S(t){E.forEach(e=>{e.c(t)||(E.delete(e),e.f())}),0!==E.size&&T(S)}function ur(e,t){e.appendChild(t)}function M(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function dr(e,t,r){e.insertBefore(t,r||null)}function pr(e){e.parentNode.removeChild(e)}function _r(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function hr(e){return document.createElement(e)}function mr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function fr(e){return document.createTextNode(e)}function gr(){return fr(" ")}function N(){return fr("")}function yr(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function V(t){return function(e){return e.preventDefault(),t.call(this,e)}}function vr(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function oe(e,t,r){t in e?e[t]="boolean"==typeof e[t]&&""===r||r:vr(e,t,r)}function H(e){return""===e?null:+e}function br(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function wr(e,t){e.value=null==t?"":t}function D(e,t,r,i){null===r?e.style.removeProperty(t):e.style.setProperty(t,r,i?"important":"")}function xr(t,r){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===r)return i.selected=!0}t.selectedIndex=-1}function de(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}function r(e){const t={};for(const r of e)t[r.name]=r.value;return t}const I=new Map;let B,k=0;function L(e,t,r,i,o,n,a,s=0){var l,c=16.666/i;let u="{\n";for(let e=0;e<=1;e+=c){const i=t+(r-t)*n(e);u+=100*e+`%{${a(i,1-i)}}
|
|
2
2
|
`}const d=u+`100% {${a(r,1-r)}}
|
|
3
|
-
}`,p=`__svelte_${function(e){let t=5381,r=e.length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return t>>>0}(d)}_`+s,h=M(e),{stylesheet:m,rules:f}=I.get(h)||(s=h,l={stylesheet:(l=e,g=hr("style"),ur((l=M(l)).head||l,g),g.sheet),rules:{}},I.set(s,l),l);f[p]||(f[p]=!0,m.insertRule(`@keyframes ${p} `+d,m.cssRules.length));var g=e.style.animation||"";return e.style.animation=(g?g+", ":"")+p+` ${i}ms linear ${o}ms 1 both`,k+=1,p}function F(e){B=e}function pe(e){!function(){if(B)return B;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const O=[],he=[],h=[],m=[],R=Promise.resolve();let $=!1;function j(){$||($=!0,R.then(g))}function Cr(e){h.push(e)}const W=new Set;let Y,U=0;function g(){const e=B;do{for(;U<O.length;){const e=O[U];U++,F(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),cr(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Cr))}for(F(null),O.length=0,U=0;he.length;)he.pop()();for(let e=0;e<h.length;e+=1){const i=h[e];W.has(i)||(W.add(i),i())}}while(h.length=0,O.length);for(;m.length;)m.pop()();$=!1,W.clear(),F(e)}function G(e,t,r){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:r=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t,r,void 0),i}((t?"intro":"outro")+r))}const q=new Set;let X;function Z(e,t){e&&e.i&&(q.delete(e),e.i(t))}function J(e,t,r,i){e&&e.o&&(q.has(e)||(q.add(e),X.c.push(()=>{q.delete(e),i&&(r&&e.d(1),i())}),e.o(t)))}const K={duration:0};function Q(l,e,t,r){let c=e(l,t),u=r?0:1,d=null,p=null,h=null;function m(){if(h){var e=l,t=h;const r=(e.style.animation||"").split(", "),i=r.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),o=r.length-i.length;o&&(e.style.animation=i.join(", "),(k-=o)||T(()=>{k||(I.forEach(e=>{const t=e["stylesheet"];let r=t.cssRules.length;for(;r--;)t.deleteRule(r);e.rules={}}),I.clear())}))}}function f(e,t){var r=e.b-u;return t*=Math.abs(r),{a:u,b:e.b,d:r,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:r=300,easing:i=w,tick:o=ie,css:n}=c||K,a={start:A()+t,b:e};if(e||((a.group=X).r+=1),!d&&!p){n&&(m(),h=L(l,u,e,r,t,i,n)),e&&o(0,1),d=f(a,r),Cr(()=>G(l,e,"start"));{var s=e=>{if(p&&e>p.start&&(d=f(p,r),p=null,G(l,d.b,"start"),n&&(m(),h=L(l,u,d.b,d.duration,0,i,c.css))),d)if(e>=d.end)o(u=d.b,1-u),G(l,d.b,"end"),p||(d.b?m():--d.group.r||cr(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*i(l/d.duration),o(u,1-u)}return!(!d&&!p)};let t;return 0===E.size&&T(S),void new Promise(e=>{E.add(t={c:s,f:e})})}}p=a}return{run(e){me(c)?(Y||(Y=Promise.resolve()).then(()=>{Y=null}),Y.then(()=>{c=c(),i(e)})):i(e)},end(){m(),d=p=null}}}function i(i,e,t,r,o,n,a,s=[-1]){var l=B;F(i);const c=i.$$={fragment:null,ctx:null,props:n,update:ie,not_equal:o,bound:x(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:x(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=i).$$.dirty[0]&&(O.push(e),j(),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,cr(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){n=e.target;const i=Array.from(n.childNodes);c.fragment&&c.fragment.l(i),i.forEach(pr)}else c.fragment&&c.fragment.c();e.intro&&Z(i.$$.fragment);{var d=i;s=e.target;a=e.anchor;t=e.customElement;const{fragment:p,on_mount:h,on_destroy:m,after_update:f}=d.$$;p&&p.m(s,a),t||Cr(()=>{var e=h.map(_).filter(me);m?m.push(...e):cr(e),d.$$.on_mount=[]}),f.forEach(Cr)}g()}F(l)}let o;"function"==typeof HTMLElement&&(o=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(_).filter(me);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){cr(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(cr(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=ie}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var ee,te,re="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==re&&re,ne="URLSearchParams"in re,fe="Symbol"in re&&"iterator"in Symbol,ge="FileReader"in re&&"Blob"in re&&function(){try{return new Blob,!0}catch(e){return!1}}(),ye="FormData"in re,ve="ArrayBuffer"in re;function be(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 we(e){return e="string"!=typeof e?String(e):e}function _e(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return fe&&(e[Symbol.iterator]=function(){return e}),e}function s(t){this.map={},t instanceof s?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function xe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ce(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function Pe(e){var t=new FileReader,r=Ce(t);return t.readAsArrayBuffer(e),r}function Ae(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Te(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ge&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ye&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ne&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ve&&ge&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Ae(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ve&&(ArrayBuffer.prototype.isPrototypeOf(e)||te(e))?this._bodyArrayBuffer=Ae(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ne&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ge&&(this.blob=function(){var e=xe(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(){return this._bodyArrayBuffer?xe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Pe)}),this.text=function(){var e,t,r=xe(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=Ce(e),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),i=0;i<t.length;i++)r[i]=String.fromCharCode(t[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ye&&(this.formData=function(){return this.text().then(Me)}),this.json=function(){return this.text().then(JSON.parse)},this}ve&&(ee=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],te=ArrayBuffer.isView||function(e){return e&&-1<ee.indexOf(Object.prototype.toString.call(e))}),s.prototype.append=function(e,t){e=be(e),t=we(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},s.prototype.delete=function(e){delete this.map[be(e)]},s.prototype.get=function(e){return e=be(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(be(e))},s.prototype.set=function(e,t){this.map[be(e)]=we(t)},s.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},s.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),_e(r)},s.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),_e(t)},s.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),_e(r)},fe&&(s.prototype[Symbol.iterator]=s.prototype.entries);var Ee=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Se(e,t){if(!(this instanceof Se))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i=(t=t||{}).body;if(e instanceof Se){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<Ee.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Me(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function De(e,t){if(!(this instanceof De))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}Se.prototype.clone=function(){return new Se(this,{body:this._bodyInit})},Te.call(Se.prototype),Te.call(De.prototype),De.prototype.clone=function(){return new De(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},De.error=function(){var e=new De(null,{status:0,statusText:""});return e.type="error",e};var Ie=[301,302,303,307,308],Be=(De.redirect=function(e,t){if(-1===Ie.indexOf(t))throw new RangeError("Invalid status code");return new De(null,{status:t,headers:{location:e}})},re.DOMException);try{new Be}catch(l){(Be=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Be.prototype.constructor=Be}function ke(i,a){return new Promise(function(o,e){var t=new Se(i,a);if(t.signal&&t.signal.aborted)return e(new Be("Aborted","AbortError"));var n=new XMLHttpRequest;function r(){n.abort()}n.onload=function(){var e,r,t={status:n.status,statusText:n.statusText,headers:(e=n.getAllResponseHeaders()||"",r=new s,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},i=(t.url="responseURL"in n?n.responseURL:t.headers.get("X-Request-URL"),"response"in n?n.response:n.responseText);setTimeout(function(){o(new De(i,t))},0)},n.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},n.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},n.onabort=function(){setTimeout(function(){e(new Be("Aborted","AbortError"))},0)},n.open(t.method,function(t){try{return""===t&&re.location.href?re.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?n.withCredentials=!0:"omit"===t.credentials&&(n.withCredentials=!1),"responseType"in n&&(ge?n.responseType="blob":ve&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(n.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof s?t.headers.forEach(function(e,t){n.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){n.setRequestHeader(e,we(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),n.onreadystatechange=function(){4===n.readyState&&t.signal.removeEventListener("abort",r)}),n.send(void 0===t._bodyInit?null:t._bodyInit)})}function Dr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ke.polyfill=!0,re.fetch||(re.fetch=ke,re.Headers=s,re.Request=Se,re.Response=De),self.fetch.bind(self);var Le=function(e,t){return(Le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function Ne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Le(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Fe(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Oe(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,n=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=n.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function Re(e,t,r){if(r||2===arguments.length)for(var i,o=0,n=t.length;o<n;o++)!i&&o in t||((i=i||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function He(e){return"function"==typeof e}function $e(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var ze=$e(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)}je.prototype.unsubscribe=function(){var e,t,r,i,o;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=Fe(n),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else n.remove(this);n=this.initialTeardown;if(He(n))try{n()}catch(e){o=e instanceof ze?e.errors:[e]}n=this._finalizers;if(n){this._finalizers=null;try{for(var l=Fe(n),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ve(u)}catch(e){o=null!=o?o:[],e instanceof ze?o=Re(Re([],Oe(o)),Oe(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}if(o)throw new ze(o)}},je.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ve(e);else{if(e instanceof je){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},je.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},je.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},je.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&We(t,e)},je.prototype.remove=function(e){var t=this._finalizers;t&&We(t,e),e instanceof je&&e._removeParent(this)},je.EMPTY=((e=new je).closed=!0,e);var Ye=je,Ue=Ye.EMPTY;function je(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ge(e){return e instanceof Ye||e&&"closed"in e&&He(e.remove)&&He(e.add)&&He(e.unsubscribe)}function Ve(e){He(e)?e():e.unsubscribe()}var qe=void 0,Xe=!1,Ze=!1,Je={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o=Je.delegate;return null!=o&&o.setTimeout?o.setTimeout.apply(o,Re([e,t],Oe(r))):setTimeout.apply(void 0,Re([e,t],Oe(r)))},clearTimeout:function(e){var t=Je.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ke(){}var Qe=null;function et(e){if(Xe){var t=!Qe;if(t&&(Qe={errorThrown:!1,error:null}),e(),t){var t=Qe,r=t.errorThrown,t=t.error;if(Qe=null,r)throw t}}else e()}Ne(ot,tt=Ye),ot.create=function(e,t,r){return new lt(e,t,r)},ot.prototype.next=function(e){this.isStopped||this._next(e)},ot.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},ot.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},ot.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,tt.prototype.unsubscribe.call(this),this.destination=null)},ot.prototype._next=function(e){this.destination.next(e)},ot.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},ot.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var tt,rt=ot,it=Function.prototype.bind;function ot(e){var t=tt.call(this)||this;return t.isStopped=!1,e?Ge(t.destination=e)&&e.add(t):t.destination=pt,t}function nt(e,t){return it.call(e,t)}ut.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){dt(e)}},ut.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){dt(e)}else dt(e)},ut.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){dt(e)}};var at,st=ut,lt=(Ne(ct,at=rt),ct);function ct(e,t,r){var i=at.call(this)||this,r=He(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:i&&Ze?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&nt(e.next,t),error:e.error&&nt(e.error,t),complete:e.complete&&nt(e.complete,t)}):e;return i.destination=new st(r),i}function ut(e){this.partialObserver=e}function dt(e){var t=e;Je.setTimeout(function(){throw t})}var pt={closed:!0,next:Ke,error:function(e){throw e},complete:Ke},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function ht(e){return e}ft.prototype.lift=function(e){var t=new ft;return t.source=this,t.operator=e,t},ft.prototype.subscribe=function(e,t,r){var i,o=this,n=(i=e)&&i instanceof rt||i&&He(i.next)&&He(i.error)&&He(i.complete)&&Ge(i)?e:new lt(e,t,r);return et(function(){var e=o.operator,t=o.source;n.add(e?e.call(n,t):t?o._subscribe(n):o._trySubscribe(n))}),n},ft.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ft.prototype.forEach=function(i,e){var o=this;return new(e=gt(e))(function(e,t){var r=new lt({next:function(e){try{i(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});o.subscribe(r)})},ft.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},ft.prototype[e]=function(){return this},ft.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?ht:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},ft.prototype.toPromise=function(e){var i=this;return new(e=gt(e))(function(e,t){var r;i.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},ft.create=function(e){return new ft(e)};var mt=ft;function ft(e){e&&(this._subscribe=e)}function gt(e){return null!=(e=null!=e?e:qe)?e:Promise}var yt,vt,bt,wt=$e(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ne(Tt,bt=mt),Tt.prototype.lift=function(e){var t=new _t(this,this);return t.operator=e,t},Tt.prototype._throwIfClosed=function(){if(this.closed)throw new wt},Tt.prototype.next=function(o){var n=this;et(function(){var t,e;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var r=Fe(n.currentObservers),i=r.next();!i.done;i=r.next())i.value.next(o)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Tt.prototype.error=function(t){var r=this;et(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},Tt.prototype.complete=function(){var t=this;et(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Tt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Tt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Tt.prototype._trySubscribe=function(e){return this._throwIfClosed(),bt.prototype._trySubscribe.call(this,e)},Tt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Tt.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,o=this.observers;return r||i?Ue:(this.currentObservers=null,o.push(e),new Ye(function(){t.currentObservers=null,We(o,e)}))},Tt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},Tt.prototype.asObservable=function(){var e=new mt;return e.source=this,e},Tt.create=function(e,t){return new _t(e,t)},Tt),_t=(Ne(At,vt=e),At.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},At.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},At.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},At.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ue},At),xt={now:function(){return(xt.delegate||Date).now()},delegate:void 0},Ct=(Ne(Pt,yt=e),Pt.prototype.next=function(e){var t=this,r=t.isStopped,i=t._buffer,o=t._infiniteTimeWindow,n=t._timestampProvider,t=t._windowTime;r||(i.push(e),o||i.push(n.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),r=this._infiniteTimeWindow,i=this._buffer.slice(),o=0;o<i.length&&!e.closed;o+=r?1:2)e.next(i[o]);return this._checkFinalizedStatuses(e),t},Pt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var n=t.now(),a=0,s=1;s<r.length&&r[s]<=n;s+=2)a=s;a&&r.splice(0,a+1)}},Pt);function Pt(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=xt);var i=yt.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function At(e,t){var r=vt.call(this)||this;return r.destination=e,r.source=t,r}function Tt(){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 Et=[],St={};const Mt=[];function Dt(i,o=ie){let n;const a=new Set;function s(e){if(t(i,e)&&(i=e,n)){const e=!Mt.length;for(const e of a)e[1](),Mt.push(e,i);if(e){for(let e=0;e<Mt.length;e+=2)Mt[e][0](Mt[e+1]);Mt.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=ie){const r=[e,t];return a.add(r),1===a.size&&(n=o(s)||ie),e(i),()=>{a.delete(r),0===a.size&&(n(),n=null)}}}}function It(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Dt(t,t=>{let r=!1;const i=[];let o=0,n=ie;const a=()=>{var e;o||(n(),e=s(l?i[0]:i,t),u?t(e):n=me(e)?e:ie)},e=c.map((e,t)=>p(e,e=>{i[t]=e,o&=~(1<<t),r&&a()},()=>{o|=1<<t}));return r=!0,a(),function(){cr(e),n()}}).subscribe}}function Bt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===kt));var t}var kt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Lt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ht(Array.isArray(e)?[]:{},e,t):e}function Nt(e,t,r){return e.concat(t).map(function(e){return Lt(e,r)})}function Ft(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Ot(e,t){try{return t in e}catch(e){return!1}}function Rt(i,o,n){var a={};return n.isMergeableObject(i)&&Ft(i).forEach(function(e){a[e]=Lt(i[e],n)}),Ft(o).forEach(function(t){var e,r;(!Ot(e=i,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(Ot(i,t)&&n.isMergeableObject(o[t])?a[t]=function(e){if(!e.customMerge)return Ht;e=e.customMerge(t);return"function"==typeof e?e:Ht}(n)(i[t],o[t],n):a[t]=Lt(o[t],n))}),a}function Ht(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Nt,r.isMergeableObject=r.isMergeableObject||Bt,r.cloneUnlessOtherwiseSpecified=Lt;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):Rt(e,t,r):Lt(t,r)}Ht.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Ht(e,t,r)},{});throw new Error("first argument should be an array")};var $t=Ht,zt=function(e,t){return(zt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function Wt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}zt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var f,y,Yt,v=function(){return(v=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Ut(e,t,r){if(r||2===arguments.length)for(var i,o=0,n=t.length;o<n;o++)!i&&o in t||((i=i||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function jt(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 Xt(e){return e.type===y.select}function Zt(e){return e.type===y.plural}function Jt(e){return e.type===y.tag}function Kt(e){return e&&"object"==typeof e&&e.type===Yt.number}function Qt(e){return e&&"object"==typeof e&&e.type===Yt.dateTime}(e=f=f||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=Yt=Yt||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,er=/(?:[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 tr=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,rr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ir=/^(@+)?(\+|#+)?[rs]?$/g,or=/(\*)(0+)|(#+)(0+)|(0+)/g,nr=/^(0+)$/;function ar(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(ir,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function sr(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 lr(e){return sr(e)||{}}function Pr(e){for(var a={},t=0,r=e;t<r.length;t++){var i,o=r[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=v(v(v({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return v(v({},e),lr(t))},{}));continue;case"engineering":a=v(v(v({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return v(v({},e),lr(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(or,function(e,t,r,i,o,n){if(t)a.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(n)throw new Error("We currently do not support exact integer digits")}return""});continue}if(nr.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(rr.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(rr,function(e,t,r,i,o,n){return"*"===r?a.minimumFractionDigits=t.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:o&&n?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+n.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var n=o.options[0];"w"===n?a=v(v({},a),{trailingZeroDisplay:"stripIfInteger"}):n&&(a=v(v({},a),ar(n)))}else ir.test(o.stem)?a=v(v({},a),ar(o.stem)):((n=sr(o.stem))&&(a=v(v({},a),n)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!nr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=v(v({},a),i)))}return a}var Ar={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 Tr=new RegExp("^".concat(e.source,"*")),Er=new RegExp("".concat(e.source,"*$"));function b(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Sr=!!String.fromCodePoint,Mr=!!Object.fromEntries,Ir=!!String.prototype.codePointAt,Br=!!String.prototype.trimStart,kr=!!String.prototype.trimEnd,Lr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Nr=!0;try{Nr="a"===(null==(ri=Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ri[0])}catch(l){Nr=!1}var Fr,Or,Rr=e?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Hr=Sr?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",o=e.length,n=0;n<o;){if(1114111<(r=e[n++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},$r=Mr?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var o=i[r],n=o[0],o=o[1];t[n]=o}return t},zr=Ir?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},Wr=Br?function(e){return e.trimStart()}:function(e){return e.replace(Tr,"")},Yr=kr?function(e){return e.trimEnd()}:function(e){return e.replace(Er,"")};function Ur(e,t){return new RegExp(e,t)}Or=Nr?(Fr=Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Fr.lastIndex=t,null!=(t=Fr.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var o=zr(e,t);if(void 0===o||Vr(o)||(33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;i.push(o),t+=65536<=o?2:1}return Hr.apply(void 0,i)};n.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},n.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var o,n=this.char();if(123===n){if((o=this.parseArgument(e,r)).err)return o;i.push(o.val)}else{if(125===n&&0<e)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(f.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Gr(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;i.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;i.push(o.val)}}else{n=this.clonePosition();this.bump(),i.push({type:y.pound,location:b(n,this.clonePosition())})}}}return{val:i,err:null}},n.prototype.parseTag=function(e,t){var r=this.clonePosition(),i=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(i,"/>"),location:b(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Gr(this.char()))return this.error(f.INVALID_TAG,b(e,this.clonePosition()));var o=this.clonePosition();return i!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,b(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:b(r,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,b(e,this.clonePosition())))}return this.error(f.UNCLOSED_TAG,b(r,this.clonePosition()))}return this.error(f.INVALID_TAG,b(r,this.clonePosition()))},n.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())},n.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(t);if(o)i+=o;else{o=this.tryParseUnquoted(e,t);if(o)i+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;i+=o}}}r=b(r,this.clonePosition());return{val:{type:y.literal,value:i,location:r},err:null}},n.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Gr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},n.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Hr.apply(void 0,t)},n.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Hr(r))},n.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,b(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(f.MALFORMED_ARGUMENT,b(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:b(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(f.MALFORMED_ARGUMENT,b(r,this.clonePosition()))}},n.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Or(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:b(e,this.clonePosition())}},n.prototype.parseArgumentOptions=function(e,t,r,i){var o,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,b(n,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(h=Yr(m.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:b(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(i)).err)return c;var u=b(i,this.clonePosition());if(l&&Rr(null==l?void 0:l.style,"::",0)){var d=Wr(l.style.slice(2));if("number"===a)return(m=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?m:{val:{type:y.number,value:r,location:u,style:m.val},err:null};if(0===d.length)return this.error(f.EXPECT_DATE_TIME_SKELETON,u);var p=d,h=(this.locale&&(p=function(e,t){for(var r="",i=0;i<e.length;i++){var o=e.charAt(i);if("j"===o){for(var n=0;i+1<e.length&&e.charAt(i+1)===o;)n++,i++;var a=1+(1&n),s=n<2?1:3+(n>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Ar[t||""]||Ar[r||""]||Ar["".concat(r,"-001")]||Ar["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===o?"H":o}return r}(d,this.locale)),{type:Yt.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},p.replace(er,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.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":o.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":o.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":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.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":o.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""}),o):{}});return{val:{type:"date"===a?y.date:y.time,value:r,location:u,style:h},err:null}}return{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:r,location:u,style:null!=(d=null==l?void 0:l.style)?d:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,b(p,v({},p)));this.bumpSpace();var m,h=this.parseIdentifierIfPossible(),u=0;if("select"!==a&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),h=this.parseIdentifierIfPossible(),u=m.val}l=this.tryParsePluralOrSelectOptions(e,a,t,h);if(l.err)return l;if((c=this.tryParseArgumentClose(i)).err)return c;d=b(i,this.clonePosition());return"select"===a?{val:{type:y.select,value:r,options:$r(l.val),location:d},err:null}:{val:{type:y.plural,value:r,options:$r(l.val),offset:u,pluralType:"plural"===a?"cardinal":"ordinal",location:d},err:null};default:return this.error(f.INVALID_ARGUMENT_TYPE,b(n,s))}},n.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},n.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(r,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}},n.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,i=e.split(tr).filter(function(e){return 0<e.length});r<i.length;r++){var o=i[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var n=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:n,options:o})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:Yt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Pr(r):{}},err:null}},n.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var o=!1,n=[],a=new Set,s=i.value,l=i.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=b(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!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,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;n.push([s,{value:c.val,location:b(u,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===n.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(f.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:n,err:null}},n.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,n=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,n=10*n+(a-48),this.bump()}i=b(i,this.clonePosition());return o?Lr(n*=r)?{val:n,err:null}:this.error(t,i):this.error(e,i)},n.prototype.offset=function(){return this.position.offset},n.prototype.isEOF=function(){return this.offset()===this.message.length},n.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},n.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=zr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},n.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},n.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))},n.prototype.bumpIf=function(e){if(Rr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},n.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)},n.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}},n.prototype.bumpSpace=function(){for(;!this.isEOF()&&Vr(this.char());)this.bump()},n.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var jr=n;function n(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 Gr(e){return 97<=e&&e<=122||65<=e&&e<=90}function Vr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function qr(e,t){t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new jr(e,t).parse();if(e.err)throw(r=SyntaxError(f[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,Xt(e)||Zt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Gt(e)&&Kt(e.style)||(Vt(e)||qt(e))&&Qt(e.style)?delete e.style.location:Jt(e)&&r(e.children)})}(e.val),e.val}function Xr(e,t){var r=t&&t.cache?t.cache:ii,i=t&&t.serializer?t.serializer:Qr;return(t&&t.strategy?t.strategy:function(e,t){return Kr(e,this,1===e.length?Zr:Jr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function Zr(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),o=t.get(r);return void 0===o&&(o=e.call(this,i),t.set(r,o)),o}function Jr(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),o=t.get(r);return void 0===o&&(o=e.apply(this,i),t.set(r,o)),o}function Kr(e,t,r,i,o){return r.bind(t,e,i,o)}var Qr=function(){return JSON.stringify(arguments)};function ei(){this.cache=Object.create(null)}ei.prototype.get=function(e){return this.cache[e]},ei.prototype.set=function(e,t){this.cache[e]=t};var ti,ri,ii={create:function(){return new ei}},oi={variadic:function(e,t){return Kr(e,this,Jr,t.cache.create(),t.serializer)},monadic:function(e,t){return Kr(e,this,Zr,t.cache.create(),t.serializer)}};(ri=ti=ti||{}).MISSING_VALUE="MISSING_VALUE",ri.INVALID_VALUE="INVALID_VALUE",ri.MISSING_INTL_API="MISSING_INTL_API";Wt(yi,ci=Error),yi.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ni,ai,si,li,ci,ui=yi,di=(Wt(gi,li=ui),gi),pi=(Wt(fi,si=ui),fi),hi=(Wt(mi,ai=ui),mi);function mi(e,t){return ai.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ti.MISSING_VALUE,t)||this}function fi(e,t,r){return si.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ti.INVALID_VALUE,r)||this}function gi(e,t,r,i){return li.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ti.INVALID_VALUE,i)||this}function yi(e,t,r){e=ci.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function vi(e,t,r,i,o,n,a){if(1===e.length&&jt(e[0]))return[{type:ni.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(jt(u))s.push({type:ni.literal,value:u.value});else if(u.type===y.pound)"number"==typeof n&&s.push({type:ni.literal,value:r.getNumberFormat(t).format(n)});else{var d=u.value;if(!(o&&d in o))throw new hi(d,a);d=o[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?ni.literal:ni.object,value:d});else if(Vt(u)){var p="string"==typeof u.style?i.date[u.style]:Qt(u.style)?u.style.parsedOptions:void 0;s.push({type:ni.literal,value:r.getDateTimeFormat(t,p).format(d)})}else if(qt(u))p="string"==typeof u.style?i.time[u.style]:Qt(u.style)?u.style.parsedOptions:i.time.medium,s.push({type:ni.literal,value:r.getDateTimeFormat(t,p).format(d)});else if(Gt(u))(p="string"==typeof u.style?i.number[u.style]:Kt(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(d*=p.scale||1),s.push({type:ni.literal,value:r.getNumberFormat(t,p).format(d)});else{if(Jt(u)){var h=u.children,m=u.value,f=o[m];if("function"!=typeof f)throw new pi(m,"function",a);m=f(vi(h,t,r,i,o,n).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?ni.literal:ni.object,value:e}}))}if(Xt(u)){if(!(g=u.options[d]||u.options.other))throw new di(u.value,d,Object.keys(u.options),a);s.push.apply(s,vi(g.value,t,r,i,o))}else if(Zt(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new ui('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ti.MISSING_INTL_API,a);var f=r.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new di(u.value,d,Object.keys(u.options),a);s.push.apply(s,vi(g.value,t,r,i,o,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===ni.literal&&t.type===ni.literal?r.value+=t.value:e.push(t),e},[])}function bi(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(e=ni=ni||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(_i,"defaultLocale",{get:function(){return _i.memoizedDefaultLocale||(_i.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),_i.memoizedDefaultLocale},enumerable:!1,configurable:!0}),_i.memoizedDefaultLocale=null,_i.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])},_i.__parse=qr,_i.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 wi=_i;function _i(e,t,r,i){var o,n,a=this;if(void 0===t&&(t=_i.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===ni.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return vi(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=_i.resolveLocale(t),"string"==typeof e){if(this.message=e,!_i.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=_i.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=_i.formats,(n=r)?Object.keys(o).reduce(function(e,t){var r,i;return e[t]=(r=o[t],(i=n[t])?v(v(v({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=v(v({},r[t]),i[t]||{}),e},{})):r),e},v({},o)):o),this.formatters=i&&i.formatters||{getNumberFormat:Xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Ut([void 0],t,!1)))},{cache:bi((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:oi.variadic}),getDateTimeFormat:Xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Ut([void 0],t,!1)))},{cache:bi(t.dateTime),strategy:oi.variadic}),getPluralRules:Xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Ut([void 0],t,!1)))},{cache:bi(t.pluralRules),strategy:oi.variadic})}}const xi={},Ci=(e,t,r)=>r&&(t in xi||(xi[t]={}),e in xi[t]||(xi[t][e]=r),r),Pi=(t,r)=>{if(null!=r){if(r in xi&&t in xi[r])return xi[r][t];var i=Hi(r);for(let e=0;e<i.length;e++){var o=function(e,r){if(!Ei(e))return null;e=function(e){return Ai[e]||null}(e);{var i=r;if(null==i)return;if(i in e)return e[i];const o=i.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const i=o.slice(e,o.length).join(".");if(i in t){t=t[i];break}}t=t[o[e]]}else t=void 0;return t}}(i[e],t);if(o)return Ci(t,r,o)}}};let Ai;const Ti=Dt({});function Ei(e){return e in Ai}function se(t,...r){delete xi[t],Ti.update(e=>(e[t]=$t.all([e[t]||{},...r]),e))}It([Ti],([e])=>Object.keys(e)),Ti.subscribe(e=>Ai=e);const Si={};function Mi(e){return Si[e]}function Di(e){return null!=e&&Hi(e).some(e=>{return null==(e=Mi(e))?void 0:e.size})}const Ii={};function Bi(e){if(!Di(e))return e in Ii?Ii[e]:Promise.resolve();const t=Hi(e).map(e=>{var t=Mi(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Ii[e]=Promise.all(t.map(([e,t])=>{{var i=e;e=t;const r=Promise.all(e.map(e=>{var t=i,r=e;return Si[t].delete(r),0===Si[t].size&&delete Si[t],e().then(e=>e.default||e)}));return r.then(e=>se(i,...e))}})).then(()=>{if(Di(e))return Bi(e);delete Ii[e]}),Ii[e]}function ki(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]]);return r}const Li={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};const Ni=Dt(!1);let Fi;const Oi=Dt(null);function Ri(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Hi(e,t=Li.fallbackLocale){e=Ri(e);return t?[...new Set([...e,...Ri(t)])]:e}function $i(){return null!=Fi?Fi:void 0}Oi.subscribe(e=>{Fi=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const le=Object.assign(Object.assign({},Oi),{set:t=>{if(t&&function(e){if(null!=e){var t=Hi(e);for(let e=0;e<t.length;e++){var r=t[e];if(Ei(r))return r}}}(t)&&Di(t)){var r=Li["loadingDelay"];let e;return"undefined"!=typeof window&&null!=$i()&&r?e=window.setTimeout(()=>Ni.set(!0),r):Ni.set(!0),Bi(t).then(()=>{Oi.set(t)}).finally(()=>{clearTimeout(e),Ni.set(!1)})}return Oi.set(t)}}),zi=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},Wi=(e,t)=>{var r=Li["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yi=zi(e=>{var{locale:t,format:r}=e,e=ki(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Wi("number",r)),new Intl.NumberFormat(t,e)}),Ui=zi(e=>{var{locale:t,format:r}=e,e=ki(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Wi("date",r):0===Object.keys(e).length&&(e=Wi("date","short")),new Intl.DateTimeFormat(t,e)}),ji=zi(e=>{var{locale:t,format:r}=e,e=ki(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Wi("time",r):0===Object.keys(e).length&&(e=Wi("time","short")),new Intl.DateTimeFormat(t,e)}),Gi=zi((e,t=$i())=>new wi(e,t,Li.formats,{ignoreTag:Li.ignoreTag})),ce=It([le,Ti],()=>(e,t={})=>{var r,i;let o=t;"object"==typeof e&&(e=(o=e).id);var{values:n,locale:a=$i(),default:s}=o;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Pi(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(r=null==(r=(i=Li).handleMissingMessage)?void 0:r.call(i,{locale:a,id:e,defaultValue:s}))?r:s)?i:e;if(!n)return l;let c=l;try{c=Gi(l,a).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),ue=(It([le],()=>(e,t)=>((e={})=>{var{locale:t=$i()}=e,e=ki(e,["locale"]);return ji(Object.assign({locale:t},e))})(t).format(e)),It([le],()=>(e,t)=>((e={})=>{var{locale:t=$i()}=e,e=ki(e,["locale"]);return Ui(Object.assign({locale:t},e))})(t).format(e)),It([le],()=>(e,t)=>((e={})=>{var{locale:t=$i()}=e,e=ki(e,["locale"]);return Yi(Object.assign({locale:t},e))})(t).format(e)),It([le,Ti],()=>(e,t=$i())=>Pi(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Et.indexOf(e)&&(t=new Ct(t),St[e]=t,Et.push(e)),St[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),Vi={en:{playerAccount:{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"}},fr:{playerAccount:{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:{playerAccount:{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:{playerAccount:{profileUpdateSuccess:"Perfil actualizado!",timeoutSuccess:"Tiempo límite activo",selfExclusionSuccess:"Autoexclusión activa.",accountClosureSuccess:"Cuenta cerrada",limitsUpdateSuccess:"Límites actualizados",limitsDeleteSuccess:"Límites excluidos",passwordChangedSuccess:"Contraseña cambiada con éxito",realityCheckSuccess:"Opciones de verificación de la realidad guardadas"}},pt:{playerAccount:{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"}}},qi={en:{myAccount:{title:"My Account"}},fr:{myAccount:{title:"Mon compte"}},tr:{myAccount:{title:"Hesabım"}},ro:{myAccount:{title:"Contul meu"}},es:{myAccount:{title:"Mi Cuenta"}},pt:{myAccount:{title:"Minha Conta"}}},Xi={en:{logout:{logoutButton:"Logout"}},fr:{logout:{logoutButton:"Logout"}},tr:{logout:{logoutButton:"Çıkış Yap"}},ro:{logout:{logoutButton:"Iesire"}},es:{logout:{logoutButton:"Salir"}},pt:{logout:{logoutButton:"Sair"}}};function Zi(r){let i,o,n,a,s,l,c=r[1]("logout.logoutButton")+"";return{c(){i=hr("div"),o=hr("button"),n=hr("span"),a=fr(c),vr(i,"class","GeneralLogout"),vr(i,"part","GeneralLogout")},m(e,t){dr(e,i,t),ur(i,o),ur(o,n),ur(n,a),s||(l=yr(o,"click",r[9]),s=!0)},p(e,t){2&t&&c!==(c=e[1]("logout.logoutButton")+"")&&br(a,c)},d(e){e&&pr(i),s=!1,l()}}}function Ji(n){let r,i,o,a,s,l,c,u,d,p,h,m=!n[2]&&function(){let r,i,o=n[1]("logout.logoutButton")+"";return{c(){r=hr("span"),i=fr(o),vr(r,"class","PlayerLogoutText"),vr(r,"part","PlayerLogoutText")},m(e,t){dr(e,r,t),ur(r,i)},p(e,t){2&t&&o!==(o=e[1]("logout.logoutButton")+"")&&br(i,o)},d(e){e&&pr(r)}}}();return{c(){r=hr("p"),i=hr("span"),o=mr("svg"),a=mr("defs"),s=mr("style"),l=fr(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"),c=mr("path"),u=mr("path"),d=gr(),m&&m.c(),vr(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),vr(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"),vr(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),vr(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"),vr(o,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),vr(o,"data-name","Layer 1"),vr(o,"xmlns","http://www.w3.org/2000/svg"),vr(o,"viewBox","0 0 150 150"),D(i,"width",n[2]?n[3].matches?"50px":"24px":"20px"),vr(r,"class","PlayerAccountMenuItemBox "+(n[2]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[3].matches&&n[2]?"PlayerAccountMenuItemBoxTablet":"")),vr(r,"part","PlayerAccountMenuItemBox "+(n[2]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[3].matches&&n[2]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){dr(e,r,t),ur(r,i),ur(i,o),ur(o,a),ur(a,s),ur(s,l),ur(o,c),ur(o,u),ur(r,d),m&&m.m(r,null),p||(h=yr(r,"click",n[8]),p=!0)},p(e,t){e[2]||m.p(e,t)},d(e){e&&pr(r),m&&m.d(),p=!1,h()}}}function Ki(e){let r;function i(e){return"PlayerAccountMenu"===e[0]?Ji:Zi}let o=i(e),n=o(e);return{c(){n.c(),r=N(),this.c=ie},m(e,t){n.m(e,t),dr(e,r,t)},p(e,[t]){o===(o=i(e))&&n?n.p(e,t):(n.d(1),(n=o(e))&&(n.c(),n.m(r.parentNode,r)))},i:ie,o:ie,d(e){n.d(e),e&&pr(r)}}}function Qi(t,e,r){let i,{endpoint:o=""}=(ae(t,ce,e=>r(1,i=e)),e),{session:n=""}=e,{buttonlocation:a=""}=e,{lang:s=""}=e,l=!1,c=window.navigator.userAgent,u="PC"!==ue(c);e=window.matchMedia("(min-width: 768px)");Object.keys(Xi).forEach(e=>{se(e,Xi[e])});const d=()=>{let e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",n),fetch(o+"/player/session/player",{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"})})};return t.$$set=e=>{"endpoint"in e&&r(5,o=e.endpoint),"session"in e&&r(6,n=e.session),"buttonlocation"in e&&r(0,a=e.buttonlocation),"lang"in e&&r(7,s=e.lang)},t.$$.update=()=>{var e;97&t.$$.dirty&&o&&n&&a&&(o||(error="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",l=!0,console.error(error)),n||(error="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",l=!0,console.error(error))),128&t.$$.dirty&&s&&(e=s,le.set(e))},[a,i,u,e,d,o,n,s,()=>d(),()=>d()]}function eo(e,t,r){const i=e.slice();return i[23]=t[r],i}function to(r){let i,o,n,e,t,a,s,l,c,u,d,p,h,m,f=r[23].label+"";function g(){return r[14](r[23])}return{c(){i=hr("div"),o=hr("p"),n=hr("img"),s=gr(),l=hr("span"),c=fr(f),u=gr(),vr(n,"class",e="PlayerAccountMenuItemIcon "+(r[7]?"PlayerAccountMenuItemIconMobile":"")),vr(n,"part",t="PlayerAccountMenuItemIcon "+(r[7]?"PlayerAccountMenuItemIconMobile":"")),P(n.src,a=r[23].img)||vr(n,"src",a),vr(l,"class","PlayerAccountMenuItemTitle"),vr(l,"part","PlayerAccountMenuItemTitle"),vr(o,"class","PlayerAccountMenuItemWrapper"),vr(o,"part","PlayerAccountMenuItemWrapper"),vr(i,"class",d="PlayerAccountMenuItemBox "+(r[3]!==r[23].id||r[7]?"":"PlayerAccountMenuActiveItemBox")),vr(i,"part",p="PlayerAccountMenuItemBox "+(r[3]!==r[23].id||r[7]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){dr(e,i,t),ur(i,o),ur(o,n),ur(o,s),ur(o,l),ur(l,c),ur(i,u),h||(m=yr(i,"click",g),h=!0)},p(e,t){r=e,4&t&&!P(n.src,a=r[23].img)&&vr(n,"src",a),4&t&&f!==(f=r[23].label+"")&&br(c,f),12&t&&d!==(d="PlayerAccountMenuItemBox "+(r[3]!==r[23].id||r[7]?"":"PlayerAccountMenuActiveItemBox"))&&vr(i,"class",d),12&t&&p!==(p="PlayerAccountMenuItemBox "+(r[3]!==r[23].id||r[7]?"":"PlayerAccountMenuActiveItemBox"))&&vr(i,"part",p)},d(e){e&&pr(i),h=!1,m()}}}function ro(e){let r,i=function(t){let r,i,o,n,a,s,l,c,u,d,p,h,m=t[7]&&function(r){let i,o,n,a,s,l,c,u,d,p,h,m,f,g=r[6]("myAccount.title")+"";return{c(){i=hr("div"),o=mr("svg"),n=mr("defs"),a=mr("style"),s=fr(".aaa{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=mr("g"),c=mr("g"),u=mr("path"),d=gr(),p=hr("h3"),h=fr(g),vr(u,"class","aaa"),vr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),vr(u,"transform","translate(15 15) rotate(180)"),vr(c,"transform","translate(20 158)"),vr(l,"transform","translate(-20 -158)"),vr(o,"xmlns","http://www.w3.org/2000/svg"),vr(o,"width","15"),vr(o,"height","15"),vr(o,"viewBox","0 0 15 15"),vr(p,"class","PlayerAccountMenuCategoryTitle"),vr(p,"part","PlayerAccountMenuCategoryTitle"),vr(i,"class","PlayerAccountMenuCategoryWrapper"),vr(i,"part","PlayerAccountMenuCategoryWrapper")},m(e,t){dr(e,i,t),ur(i,o),ur(o,n),ur(n,a),ur(a,s),ur(o,l),ur(l,c),ur(c,u),ur(i,d),ur(i,p),ur(p,h),m||(f=[yr(o,"click",r[9]),yr(p,"click",r[9])],m=!0)},p(e,t){64&t&&g!==(g=e[6]("myAccount.title")+"")&&br(h,g)},d(e){e&&pr(i),m=!1,cr(f)}}}(t),f=t[7]&&function(e){let r,i;return{c(){r=hr("div"),oe(i=hr("general-logout"),"endpoint",e[1]),oe(i,"session",e[0]),oe(i,"buttonlocation","PlayerAccountMenu"),vr(r,"class","PlayerAccountLogOutArea"),vr(r,"part","PlayerAccountLogOutArea")},m(e,t){dr(e,r,t),ur(r,i)},p(e,t){2&t&&oe(i,"endpoint",e[1]),1&t&&oe(i,"session",e[0])},d(e){e&&pr(r)}}}(t),g=t[2],y=[];for(let e=0;e<g.length;e+=1)y[e]=to(eo(t,g,e));let v=!t[7]&&function(e){let r,i;return{c(){r=hr("div"),oe(i=hr("general-logout"),"endpoint",e[1]),oe(i,"session",e[0]),oe(i,"buttonlocation","PlayerAccountMenu"),vr(r,"class","PlayerAccountLogOutArea"),vr(r,"part","PlayerAccountLogOutArea")},m(e,t){dr(e,r,t),ur(r,i)},p(e,t){2&t&&oe(i,"endpoint",e[1]),1&t&&oe(i,"session",e[0])},d(e){e&&pr(r)}}}(t);return{c(){r=hr("div"),i=hr("div"),m&&m.c(),o=gr(),n=hr("p"),a=fr(t[4]),s=gr(),l=hr("p"),c=fr(t[5]),u=gr(),f&&f.c(),d=gr(),p=hr("div");for(let e=0;e<y.length;e+=1)y[e].c();h=gr(),v&&v.c(),vr(n,"class","PlayerAccountMenuUser"),vr(n,"part","PlayerAccountMenuUser"),vr(l,"class","PlayerAccountMenuEmail"),vr(l,"part","PlayerAccountMenuEmail"),vr(i,"class","PlayerAccountMenuHeader"),vr(i,"part","PlayerAccountMenuHeader"),vr(p,"class","PlayerAccountMenuList"),vr(p,"part","PlayerAccountMenuList"),vr(r,"class","PlayerAccountMenuContainer "+(t[7]?"PlayerAccountMobileContainer":"")+" "+(t[8].matches&&t[7]?"PlayerAccountTabletContainer":"")),vr(r,"part","PlayerAccountMenuContainer "+(t[7]?"PlayerAccountMobileContainer":"")+" "+(t[8].matches&&t[7]?"PlayerAccountTabletContainer":""))},m(e,t){dr(e,r,t),ur(r,i),m&&m.m(i,null),ur(i,o),ur(i,n),ur(n,a),ur(i,s),ur(i,l),ur(l,c),ur(i,u),f&&f.m(i,null),ur(r,d),ur(r,p);for(let e=0;e<y.length;e+=1)y[e].m(p,null);ur(r,h),v&&v.m(r,null)},p(t,r){if(t[7]&&m.p(t,r),16&r&&br(a,t[4]),32&r&&br(c,t[5]),t[7]&&f.p(t,r),1164&r){let e;for(g=t[2],e=0;e<g.length;e+=1){var i=eo(t,g,e);y[e]?y[e].p(i,r):(y[e]=to(i),y[e].c(),y[e].m(p,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[7]||v.p(t,r)},d(e){e&&pr(r),m&&m.d(),f&&f.d(),_r(y,e),v&&v.d()}}}(e);return{c(){i.c(),r=N(),this.c=ie},m(e,t){i.m(e,t),dr(e,r,t)},p(e,[t]){i.p(e,t)},i:ie,o:ie,d(e){i.d(e),e&&pr(r)}}}function io(r,e,i){let t;ae(r,ce,e=>i(6,t=e));let o,{endpoint:n=""}=e,{session:a=""}=e,{playerid:s=""}=e,{lang:l="en"}=e,{selecteditem:c=""}=e,u=[],d=window.navigator.userAgent,p="PC"!==ue(d),h="",m="";e=window.matchMedia("(min-width: 768px)");Object.keys(qi).forEach(e=>{se(e,qi[e])});const f=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":i(2,u=e.data.accountMenuInfo);break;case"UserSessionID":i(0,a=e.data.session);break;case"ChangeAccountPage":y()}},g=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),i(3,o=e.id)},y=()=>{i(3,o=c)};return pe(()=>(window.addEventListener("message",f,!1),()=>{window.removeEventListener("message",f)})),r.$$set=e=>{"endpoint"in e&&i(1,n=e.endpoint),"session"in e&&i(0,a=e.session),"playerid"in e&&i(11,s=e.playerid),"lang"in e&&i(12,l=e.lang),"selecteditem"in e&&i(13,c=e.selecteditem)},r.$$.update=()=>{var e,t;4096&r.$$.dirty&&l&&(t=l,le.set(t)),6147&r.$$.dirty&&n&&a&&s&&l&&(t=new URL(`${n}/player/${s}/profile`),e={method:"GET",headers:{"X-SessionID":a}},fetch(t.href,e).then(e=>e.json()).then(e=>{i(4,h=e.username),i(5,m=e.email)},e=>{console.error(e)})),8192&r.$$.dirty&&c&&y()},[a,n,u,o,h,m,t,p,e,()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href)},g,s,l,c,e=>g(e)]}function oo(e,t,r){const i=e.slice();return i[8]=t[r],i}function no(t){let o,n=t[0],a=[];for(let e=0;e<n.length;e+=1)a[e]=ao(oo(t,n,e));return{c(){o=hr("div");for(let e=0;e<a.length;e+=1)a[e].c();vr(o,"class","PlayerAccountNotificationsContainer "+(t[1]&&t[2].matches?"PlayerAccountNotificationsTabletContainer":t[1]?"PlayerAccountNotificationsMobileContainer":"")),vr(o,"part","PlayerAccountNotificationsContainer "+(t[1]&&t[2].matches?"PlayerAccountNotificationsTabletContainer":t[1]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){dr(e,o,t);for(let e=0;e<a.length;e+=1)a[e].m(o,null)},p(t,r){if(1&r){let e;for(n=t[0],e=0;e<n.length;e+=1){var i=oo(t,n,e);a[e]?a[e].p(i,r):(a[e]=ao(i),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=n.length}},d(e){e&&pr(o),_r(a,e)}}}function ao(e){let r,i,o,n,a,s,l,c,u,d,p,h=e[8].title+"",m=e[8].description+"";return{c(){r=hr("div"),i=hr("div"),o=hr("img"),s=gr(),l=hr("p"),c=fr(h),u=gr(),d=hr("p"),p=gr(),vr(o,"class","PlayerAccountNotificationIcon"),vr(o,"part","PlayerAccountNotificationIcon"),P(o.src,n=e[8].icon)||vr(o,"src",n),vr(o,"alt",a=e[8].title),vr(l,"class","PlayerAccountNotificationTitle"),vr(l,"part","PlayerAccountNotificationTitle"),vr(i,"class","PlayerAccountNotificationBoxHeader"),vr(i,"part","PlayerAccountNotificationBoxHeader"),vr(d,"class","PlayerAccountNotificationText"),vr(d,"part","PlayerAccountNotificationText"),vr(r,"class","PlayerAccountNotificationBox"),vr(r,"part","PlayerAccountNotificationBox"),D(r,"background",e[8].backgroundColor)},m(e,t){dr(e,r,t),ur(r,i),ur(i,o),ur(i,s),ur(i,l),ur(l,c),ur(r,u),ur(r,d),d.innerHTML=m,ur(r,p)},p(e,t){1&t&&!P(o.src,n=e[8].icon)&&vr(o,"src",n),1&t&&a!==(a=e[8].title)&&vr(o,"alt",a),1&t&&h!==(h=e[8].title+"")&&br(c,h),1&t&&m!==(m=e[8].description+"")&&(d.innerHTML=m),1&t&&D(r,"background",e[8].backgroundColor)},d(e){e&&pr(r)}}}function so(e){let r;function i(e){if(e[0].length)return no}let o=i(e),n=o&&o(e);return{c(){n&&n.c(),r=N(),this.c=ie},m(e,t){n&&n.m(e,t),dr(e,r,t)},p(e,[t]){o===(o=i(e))&&n?n.p(e,t):(n&&n.d(1),(n=o&&o(e))&&(n.c(),n.m(r.parentNode,r)))},i:ie,o:ie,d(e){n&&n.d(e),e&&pr(r)}}}function lo(e,t,r){let{customnotif:i=""}=t,o=window.navigator.userAgent,n="PC"!==ue(o),a=[],s=[];const l=window.matchMedia("(min-width: 768px)"),c=e=>{e.data&&"NotificationsDetails"===e.data.type&&(r(0,a=e.data.notificationsInfo),a.forEach(e=>{s.length&&(e.backgroundColor=s[0],s.shift())}))},u=()=>{i.replace(" ",""),s=i.split(",")};return pe(()=>(window.addEventListener("message",c,!1),()=>{window.removeEventListener("message",c)})),e.$$set=e=>{"customnotif"in e&&r(3,i=e.customnotif)},e.$$.update=()=>{8&e.$$.dirty&&i&&u(),1&e.$$.dirty&&a&&u()},[a,n,l,i]}customElements.get("general-logout")||customElements.define("general-logout",class extends o{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::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:not(:last-child){border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMenuItemBox svg{fill: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-color-white, #FFFFFF)}</style>",i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Qi,Ki,t,{endpoint:5,session:6,buttonlocation:0,lang:7},null),e&&(e.target&&dr(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["endpoint","session","buttonlocation","lang"]}get endpoint(){return this.$$.ctx[5]}set endpoint(e){this.$$set({endpoint:e}),g()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),g()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),g()}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),g()}}),customElements.get("player-account-menu")||customElements.define("player-account-menu",class extends o{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountMenuContainer{color:var(--emfe-w-color-white, #FFFFFF);position:relative;height:100vh;display:flex;flex-direction:column}.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-color-white, #FFFFFF);flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-color-gray-300, #58586B)}.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:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMobileContainer{height:unset;color:var(--emfe-w-color-contrast, #07072A)}.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:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-color-primary, #D0046C);border-bottom:1px solid var(--emfe-w-color-primary, #D0046C)}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.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}</style>",i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},io,ro,t,{endpoint:1,session:0,playerid:11,lang:12,selecteditem:13},null),e&&(e.target&&dr(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["endpoint","session","playerid","lang","selecteditem"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),g()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),g()}get playerid(){return this.$$.ctx[11]}set playerid(e){this.$$set({playerid:e}),g()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),g()}get selecteditem(){return this.$$.ctx[13]}set selecteditem(e){this.$$set({selecteditem:e}),g()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends o{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.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}</style>",i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},lo,so,t,{customnotif:3},null),e&&(e.target&&dr(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["customnotif"]}get customnotif(){return this.$$.ctx[3]}set customnotif(e){this.$$set({customnotif:e}),g()}});const co={en:{timeout:{title:"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",cooloff24:"CoolOffFor24Hours",cooloff7:"CoolOffFor7Days",cooloff30:"CoolOffFor30Days",cooloff3:"CoolOffFor3Months",cooloff24Text:"24 hours",cooloff7Text:"7 days",cooloff30Text:"30 days",cooloff3Text:"3 months"}},fr:{timeout:{title:"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",cooloff24:"Pause de 24 heures",cooloff7:"Pause de 7 jours",cooloff30:"Pause de 30 jours",cooloff3:"Pause de 3 mois",cooloff24Text:"24 heures",cooloff7Text:"7 jours",cooloff30Text:"30 jours",cooloff3Text:"3 mois"}},ro:{timeout:{title:"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ă",cooloff24:"24 ore",cooloff7:"7 zile",cooloff30:"30 zile",cooloff3:"3 luni",cooloff24Text:"24 ore",cooloff7Text:"7 zile",cooloff30Text:"30 zile",cooloff3Text:"3 luni"}},es:{timeout:{title:"Tiempo agotado",timeoutTextFirst:"{operatorname} ofrece una manera fácil de tomar un descanso de los juegos. Puedes solicitar el bloqueo automático de tu cuenta durante 24 horas. Durante la restricción temporal, no podrá acceder a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la "Facilidad de tiempo de espera" no reemplaza en ningún caso la "Autoexclusión". Si cree que tiene un problema de adicción al juego, vaya al enlace "Juego responsable" y use el "Servicio de autoexclusión" o comuníquese con nosotros lo antes posible.',save:"Guardar",cooloff24:"Autoexclusión por 24 horas",cooloff7:"Autoexclusión por 7 días",cooloff30:"Autoexclusión por 30 días",cooloff3:"Autoexclusión por 3 meses",cooloff24Text:"24 horas",cooloff7Text:"7 días",cooloff30Text:"30 días",cooloff3Text:"3 meses"}},pt:{timeout:{title:"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",cooloff24:"Autoexclusão por 24 horas",cooloff7:"Autoexclusão por 7 dias",cooloff30:"Autoexclusão por 30 dias",cooloff3:"Autoexclusão por 3 meses",cooloff24Text:"24 horas",cooloff7Text:"7 dias",cooloff30Text:"30 dias30 dias",cooloff3Text:"3 meses"}}};function uo(e,t,r){const i=e.slice();return i[13]=t[r].value,i[14]=t[r].text,i}function po(e){let r,i,t,o=e[14]+"";return{c(){r=hr("option"),i=fr(o),r.__value=t=e[13],r.value=r.__value},m(e,t){dr(e,r,t),ur(r,i)},p:ie,d(e){e&&pr(r)}}}function ho(r){let i,o,n,a,s,l,c,u,d,p,h,m,f,g,y,v,b,w,_,x,e=r[2]("timeout.title")+"",C=r[2]("timeout.timeoutTextFirst",{values:{operatorname:r[0]}})+"",P=r[2]("timeout.timeoutTextSecondary")+"",A=r[2]("timeout.save")+"",T=r[3]&&function(r){let i,o,n,a,s,l,c,u,d,p,h,m,f,g=r[2]("timeout.title")+"";return{c(){i=hr("div"),o=mr("svg"),n=mr("defs"),a=mr("style"),s=fr(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=mr("g"),c=mr("g"),u=mr("path"),d=gr(),p=hr("h2"),h=fr(g),vr(u,"class","aaa"),vr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),vr(u,"transform","translate(15 15) rotate(180)"),vr(c,"transform","translate(20 158)"),vr(l,"transform","translate(-20 -158)"),vr(o,"xmlns","http://www.w3.org/2000/svg"),vr(o,"width","15"),vr(o,"height","15"),vr(o,"viewBox","0 0 15 15"),vr(p,"class","TimeoutTitleMobile"),vr(p,"part","TimeoutTitleMobile"),vr(i,"class","MenuReturnButton"),vr(i,"part","MenuReturnButton")},m(e,t){dr(e,i,t),ur(i,o),ur(o,n),ur(n,a),ur(a,s),ur(o,l),ur(l,c),ur(c,u),ur(i,d),ur(i,p),ur(p,h),m||(f=yr(i,"click",r[8]),m=!0)},p(e,t){4&t&&g!==(g=e[2]("timeout.title")+"")&&br(h,g)},d(e){e&&pr(i),m=!1,f()}}}(r),E=r[4],S=[];for(let e=0;e<E.length;e+=1)S[e]=po(uo(r,E,e));return{c(){i=hr("div"),T&&T.c(),o=gr(),n=hr("h2"),a=fr(e),s=gr(),l=hr("div"),c=hr("p"),u=fr(C),d=gr(),p=hr("p"),h=fr(P),m=gr(),f=hr("div"),g=hr("select");for(let e=0;e<S.length;e+=1)S[e].c();y=gr(),v=hr("div"),b=hr("button"),w=fr(A),this.c=ie,vr(n,"class","TimeoutTitle "+(r[3]?"TimeoutTitleNone":"")),vr(n,"part","TimeoutTitle "+(r[3]?"TimeoutTitleNone":"")),vr(l,"class","TimeoutDescription "+(r[3]?"TimeoutDescriptionMobile":"")),vr(l,"part","TimeoutDescription "+(r[3]?"TimeoutDescriptionMobile":"")),vr(g,"class","TimeoutSelect "+(r[3]?"TimeoutSelectMobile":"")),vr(g,"part","TimeoutSelect "+(r[3]?"TimeoutSelectMobile":"")),void 0===r[1]&&Cr(()=>r[9].call(g)),vr(f,"class","TimeoutSelectWrapper"),vr(f,"part","TimeoutSelectWrapper"),vr(b,"class","TimeoutSave"),vr(b,"part","TimeoutSave"),vr(v,"class","TimeoutActionButtons "+(r[3]?"TimeoutActionButtonsMobile":"")),vr(v,"part","TimeoutActionButtons "+(r[3]?"TimeoutActionButtonsMobile":"")),vr(i,"class","TimeoutWrapper "+(r[3]?"TimeoutWrapperMobile":"")),vr(i,"part","TimeoutWrapper "+(r[3]?"TimeoutWrapperMobile":""))},m(e,t){dr(e,i,t),T&&T.m(i,null),ur(i,o),ur(i,n),ur(n,a),ur(i,s),ur(i,l),ur(l,c),ur(c,u),ur(l,d),ur(l,p),ur(p,h),ur(i,m),ur(i,f),ur(f,g);for(let e=0;e<S.length;e+=1)S[e].m(g,null);xr(g,r[1]),ur(i,y),ur(i,v),ur(v,b),ur(b,w),_||(x=[yr(g,"change",r[9]),yr(b,"click",r[10])],_=!0)},p(t,[r]){if(t[3]&&T.p(t,r),4&r&&e!==(e=t[2]("timeout.title")+"")&&br(a,e),5&r&&C!==(C=t[2]("timeout.timeoutTextFirst",{values:{operatorname:t[0]}})+"")&&br(u,C),4&r&&P!==(P=t[2]("timeout.timeoutTextSecondary")+"")&&br(h,P),16&r){let e;for(E=t[4],e=0;e<E.length;e+=1){var i=uo(t,E,e);S[e]?S[e].p(i,r):(S[e]=po(i),S[e].c(),S[e].m(g,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=E.length}18&r&&xr(g,t[1]),4&r&&A!==(A=t[2]("timeout.save")+"")&&br(w,A)},i:ie,o:ie,d(e){e&&pr(i),T&&T.d(),_r(S,e),_=!1,cr(x)}}}function mo(t,e,r){let i,{operator:o="Everymatrix"}=(ae(t,ce,e=>r(2,i=e)),e),{lang:n="en"}=e,a=window.navigator.userAgent,s="PC"!==ue(a),l=(Object.keys(co).forEach(e=>{se(e,co[e])}),[{value:i("timeout.cooloff24"),text:i("timeout.cooloff24Text")},{value:i("timeout.cooloff7"),text:i("timeout.cooloff7Text")},{value:i("timeout.cooloff30"),text:i("timeout.cooloff30Text")},{value:i("timeout.cooloff3"),text:i("timeout.cooloff3Text")}]),c=l[0].value;const u=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:c},window.location.href)},d=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:s},window.location.href)};return t.$$set=e=>{"operator"in e&&r(0,o=e.operator),"lang"in e&&r(7,n=e.lang)},t.$$.update=()=>{var e;128&t.$$.dirty&&n&&(e=n,le.set(e))},[o,c,i,s,l,u,d,n,()=>d(),function(){c=de(this),r(1,c),r(4,l)},()=>u()]}customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends o{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.TimeoutWrapper{color:var(--emfe-w-color-contrast, #07072A);padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.TimeoutTitle{font-size:26px;color: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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color: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}</style>",i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},mo,ho,t,{operator:0,lang:7},null),e&&(e.target&&dr(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["operator","lang"]}get operator(){return this.$$.ctx[0]}set operator(e){this.$$set({operator:e}),g()}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),g()}});go=fo={path:void 0,exports:{},require:function(e,t){return Dr(null==t&&fo.path)}},fo.exports,go.exports=function(){var F;function m(){return F.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function O(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function H(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function $(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function z(e,t){for(var r=[],i=e.length,o=0;o<i;++o)r.push(t(e[o],o));return r}function W(e,t){for(var r in t)f(t,r)&&(e[r]=t[r]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,r,i){return It(e,t,r,i,!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 Y(e){if(null==e._isValid){var t=g(e),r=j.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function U(e){var t=c(NaN);return null!=e?W(g(t),e):g(t).userInvalidated=!0,t}var j=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,i=0;i<r;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},G=m.momentProperties=[],V=!1;function q(e,t){var r,i,o,n=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<n)for(r=0;r<n;r++)s(o=t[i=G[r]])||(e[i]=o);return e}function X(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,m.updateOffset(this),V=!1)}function l(e){return e instanceof X||null!=e&&null!=e._isAMomentObject}function Z(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(n,a){var s=!0;return W(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,n),s){for(var e,t,r=[],i=arguments.length,o=0;o<i;o++){if(e="","object"==typeof arguments[o]){for(t in e+="\n["+o+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[o];r.push(e)}Z(n+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),s=!1}return a.apply(this,arguments)},a)}var J={};function K(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),J[e]||(Z(t),J[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var r,i=W({},e);for(r in t)f(t,r)&&(O(e[r])&&O(t[r])?(i[r]={},W(i[r],e[r]),W(i[r],t[r])):null!=t[r]?i[r]=t[r]:delete i[r]);for(r in e)f(e,r)&&!f(t,r)&&O(e[r])&&(i[r]=W({},i[r]));return i}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,r=[];for(t in e)f(e,t)&&r.push(t);return r};function n(e,t,r){var i=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var re=/(\[[^\[]*\])|(\\)?([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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},ne={};function i(e,t,r,i){var o="string"==typeof i?function(){return this[i]()}:i;e&&(ne[e]=o),t&&(ne[t[0]]=function(){return n(o.apply(this,arguments),t[1],t[2])}),r&&(ne[r]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=se(t,e.localeData()),oe[t]=oe[t]||function(i){for(var e,o=i.match(re),t=0,n=o.length;t<n;t++)ne[o[t]]?o[t]=ne[o[t]]:o[t]=(e=o[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<n;r++)t+=u(o[r])?o[r].call(e,i):o[r];return t}}(t),oe[t](e)):e.localeData().invalidDate()}function se(e,t){var r=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=r&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--r;return e}var le={};function t(e,t){var r=e.toLowerCase();le[r]=le[r+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,r,i={};for(r in e)f(e,r)&&(t=d(r))&&(i[t]=e[r]);return i}var ue={};function r(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function h(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?p(e):t}function pe(t,r){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,r),this):he(this,t)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(r=h(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Le(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var o=/\d/,y=/\d\d/,fe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,we=/\d{1,3}/,_e=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ce=/\d+/,Pe=/[+-]?\d+/,Ae=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,b=/[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;function w(e,r,i){Se[e]=u(r)?r:function(e,t){return e&&i?i:r}}function Ee(e,t){return f(Se,e)?Se[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,i,o){return t||r||i||o})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Se={},Me={};function x(e,r){var t,i,o=r;for("string"==typeof e&&(e=[e]),H(r)&&(o=function(e,t){t[r]=h(e)}),i=e.length,t=0;t<i;t++)Me[e[t]]=o}function De(e,o){x(e,function(e,t,r,i){r._w=r._w||{},o(e,r._w,r,i)})}var C,P=0,A=1,T=2,E=3,S=4,M=5,Ie=6,Be=7,ke=8;function Le(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=(t%(r=12)+r)%r;return e+=(t-r)/12,1==r?de(e)?29:28:31-r%7%2}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),r("month",8),w("M",v),w("MM",v,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[A]=h(e)-1}),x(["MMM","MMMM"],function(e,t,r,i){i=r._locale.monthsParse(e,i,r._strict);null!=i?t[A]=i:g(r).invalidMonth=e});var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Fe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=b,He=b;function $e(e,t){var r;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=h(t);else if(!H(t=e.localeData().monthsParse(t)))return;r=Math.min(e.date(),Le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function ze(e){return null!=e?($e(this,e),m.updateOffset(this,!0),this):he(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,r=[],i=[],o=[],n=0;n<12;n++)t=c([2e3,n]),r.push(this.monthsShort(t,"")),i.push(this.months(t,"")),o.push(this.months(t,"")),o.push(this.monthsShort(t,""));for(r.sort(e),i.sort(e),o.sort(e),n=0;n<12;n++)r[n]=_(r[n]),i[n]=_(i[n]);for(n=0;n<24;n++)o[n]=_(o[n]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ye(e){return de(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?n(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),r("year",1),w("Y",Pe),w("YY",v,y),w("YYYY",_e,ge),w("YYYYY",xe,ye),w("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],P),x("YYYY",function(e,t){t[P]=2===e.length?m.parseTwoDigitYear(e):h(e)}),x("YY",function(e,t){t[P]=m.parseTwoDigitYear(e)}),x("Y",function(e,t){t[P]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return h(e)+(68<h(e)?1900:2e3)};var Ue=pe("FullYear",!0);function je(e,t,r,i,o,n,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,r,i,o,n,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,i,o,n,a),s}function Ge(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 Ve(e,t,r){r=7+t-r;return-(7+Ge(e,0,r).getUTCDay()-t)%7+r-1}function qe(e,t,r,i,o){var n,t=1+7*(t-1)+(7+r-i)%7+Ve(e,i,o),r=t<=0?Ye(n=e-1)+t:t>Ye(e)?(n=e+1,t-Ye(e)):(n=e,t);return{year:n,dayOfYear:r}}function Xe(e,t,r){var i,o,n=Ve(e.year(),t,r),n=Math.floor((e.dayOfYear()-n-1)/7)+1;return n<1?i=n+D(o=e.year()-1,t,r):n>D(e.year(),t,r)?(i=n-D(e.year(),t,r),o=e.year()+1):(o=e.year(),i=n),{week:i,year:o}}function D(e,t,r){var i=Ve(e,t,r),t=Ve(e+1,t,r);return(Ye(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),r("week",5),r("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),De(["w","ww","W","WW"],function(e,t,r,i){t[i.substr(0,1)]=h(e)});function Ze(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),r("day",11),r("weekday",11),r("isoWeekday",11),w("d",v),w("e",v),w("E",v),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),De(["dd","ddd","dddd"],function(e,t,r,i){i=r._locale.weekdaysParse(e,i,r._strict);null!=i?t.d=i:g(r).invalidWeekday=e}),De(["d","e","E"],function(e,t,r,i){t[i]=h(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,rt=b;function it(){function e(e,t){return t.length-e.length}for(var t,r,i,o=[],n=[],a=[],s=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=_(this.weekdaysMin(i,"")),r=_(this.weekdaysShort(i,"")),i=_(this.weekdays(i,"")),o.push(t),n.push(r),a.push(i),s.push(t),s.push(r),s.push(i);o.sort(e),n.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function ot(){return this.hours()%12||12}function nt(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function at(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,ot),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+ot.apply(this)+n(this.minutes(),2)}),i("hmmss",0,0,function(){return""+ot.apply(this)+n(this.minutes(),2)+n(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+n(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+n(this.minutes(),2)+n(this.seconds(),2)}),nt("a",!0),nt("A",!1),t("hour","h"),r("hour",13),w("a",at),w("A",at),w("H",v),w("h",v),w("k",v),w("HH",v,y),w("hh",v,y),w("kk",v,y),w("hmm",ve),w("hmmss",be),w("Hmm",ve),w("Hmmss",be),x(["H","HH"],E),x(["k","kk"],function(e,t,r){e=h(e);t[E]=24===e?0:e}),x(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),x(["h","hh"],function(e,t,r){t[E]=h(e),g(r).bigHour=!0}),x("hmm",function(e,t,r){var i=e.length-2;t[E]=h(e.substr(0,i)),t[S]=h(e.substr(i)),g(r).bigHour=!0}),x("hmmss",function(e,t,r){var i=e.length-4,o=e.length-2;t[E]=h(e.substr(0,i)),t[S]=h(e.substr(i,2)),t[M]=h(e.substr(o)),g(r).bigHour=!0}),x("Hmm",function(e,t,r){var i=e.length-2;t[E]=h(e.substr(0,i)),t[S]=h(e.substr(i))}),x("Hmmss",function(e,t,r){var i=e.length-4,o=e.length-2;t[E]=h(e.substr(0,i)),t[S]=h(e.substr(i,2)),t[M]=h(e.substr(o))});b=pe("Hours",!0);var st,lt={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:Ne,monthsShort:Fe,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},I={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,r,i,o,n=0;n<e.length;){for(t=(o=ut(e[n]).split("-")).length,r=(r=ut(e[n+1]))?r.split("-"):null;0<t;){if(i=pt(o.slice(0,t).join("-")))return i;if(r&&r.length>=t&&function(e,t){for(var r=Math.min(e.length,t.length),i=0;i<r;i+=1)if(e[i]!==t[i])return i;return r}(o,r)>=t-1)break;t--}n++}return st}function pt(t){var e;if(void 0===I[t]&&go&&go.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Dr(),ht(e)}catch(e){I[t]=null}return I[t]}function ht(e,t){return e&&((t=s(t)?B(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete I[e],null;var r,i=lt;if(t.abbr=e,null!=I[e])K("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."),i=I[e]._config;else if(null!=t.parentLocale)if(null!=I[t.parentLocale])i=I[t.parentLocale]._config;else{if(null==(r=pt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=r._config}return I[e]=new ee(Q(i,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),ht(e),I[e]}function B(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!a(e)){if(t=pt(e))return t;e=[e]}return dt(e)}function ft(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[A]<0||11<t[A]?A:t[T]<1||t[T]>Le(t[P],t[A])?T:t[E]<0||24<t[E]||24===t[E]&&(0!==t[S]||0!==t[M]||0!==t[Ie])?E:t[S]<0||59<t[S]?S:t[M]<0||59<t[M]?M:t[Ie]<0||999<t[Ie]?Ie:-1,g(e)._overflowDayOfYear&&(t<P||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=Be),g(e)._overflowWeekday&&-1===t&&(t=ke),g(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,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=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((-?\d+)/i,xt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pt(e){var t,r,i,o,n,a,s=e._i,l=gt.exec(s)||yt.exec(s),s=bt.length,c=wt.length;if(l){for(g(e).iso=!0,t=0,r=s;t<r;t++)if(bt[t][1].exec(l[1])){o=bt[t][0],i=!1!==bt[t][2];break}if(null==o)return e._isValid=!1;if(l[3]){for(t=0,r=c;t<r;t++)if(wt[t][1].exec(l[3])){n=(l[2]||" ")+wt[t][0];break}if(null==n)return e._isValid=!1}if(!i&&null!=n)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=o+(n||"")+(a||""),Mt(e)}else e._isValid=!1}function At(e,t,r,i,o,n){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Fe.indexOf(t),parseInt(r,10),parseInt(i,10),parseInt(o,10)];return n&&e.push(parseInt(n,10)),e}function Tt(e){var t,r,i,o,n=xt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));n?(t=At(n[4],n[3],n[2],n[5],n[6],n[7]),r=n[1],i=t,o=e,r&&Ke.indexOf(r)!==new Date(i[0],i[1],i[2]).getDay()?(g(o).weekdayMismatch=!0,o._isValid=!1):(e._a=t,e._tzm=(r=n[8],i=n[9],o=n[10],r?Ct[r]:i?0:((r=parseInt(o,10))-(i=r%100))/100*60+i),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Et(e,t,r){return null!=e?e:null!=t?t:r}function St(e){var t,r,i,o,n,a,s,l,c,u,d,p=[];if(!e._d){for(u=e,d=new Date(m.now()),r=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[A]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(a=1,s=4,i=Et(d.GG,u._a[P],Xe(k(),1,4).year),o=Et(d.W,1),((n=Et(d.E,1))<1||7<n)&&(l=!0)):(a=u._locale._week.dow,s=u._locale._week.doy,c=Xe(k(),a,s),i=Et(d.gg,u._a[P],c.year),o=Et(d.w,c.week),null!=d.d?((n=d.d)<0||6<n)&&(l=!0):null!=d.e?(n=d.e+a,(d.e<0||6<d.e)&&(l=!0)):n=a),o<1||o>D(i,a,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=qe(i,o,n,a,s),u._a[P]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=Et(e._a[P],r[P]),(e._dayOfYear>Ye(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ge(d,0,e._dayOfYear),e._a[A]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=r[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[E]&&0===e._a[S]&&0===e._a[M]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[E]=0),e._d=(e._useUTC?Ge:je).apply(null,p),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[E]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,r,i,o=""+e._i,n=o.length,a=0,s=(r=se(e._f,e._locale).match(re)||[]).length,l=0;l<s;l++)i=r[l],(t=(o.match(Ee(i,e))||[])[0])&&(0<(d=o.substr(0,o.indexOf(t))).length&&g(e).unusedInput.push(d),o=o.slice(o.indexOf(t)+t.length),a+=t.length),ne[i]?(t?g(e).empty=!1:g(e).unusedTokens.push(i),d=i,h=e,null!=(p=t)&&f(Me,d)&&Me[d](p,h._a,h,d)):e._strict&&!t&&g(e).unusedTokens.push(i);g(e).charsLeftOver=n-a,0<o.length&&g(e).unusedInput.push(o),e._a[E]<=12&&!0===g(e).bigHour&&0<e._a[E]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[E]=(n=e._locale,c=e._a[E],null==(u=e._meridiem)?c:null!=n.meridiemHour?n.meridiemHour(c,u):null!=n.isPM?((n=n.isPM(u))&&c<12&&(c+=12),c=n||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[P]=e._locale.erasConvertYear(u,e._a[P])),St(e),ft(e)}else Tt(e);else Pt(e);var c,u,d,p,h}function Dt(e){var t,r=e._i,i=e._f;{var o,n;if(e._locale=e._locale||B(e._l),null===r||void 0===i&&""===r)return U({nullInput:!0});else return"string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new X(ft(r)):($(r)?e._d=r:a(i)?function(e){var t,r,i,o,n,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(o=0;o<l;o++)n=0,a=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Mt(t),Y(t)&&(a=!0),n=(n+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=n,s?n<i&&(i=n,r=t):(null==i||n<i||a)&&(i=n,r=t,a&&(s=!0));W(e,r||t)}(e):i?Mt(e):s(i=(r=e)._i)?r._d=new Date(m.now()):$(i)?r._d=new Date(i.valueOf()):"string"==typeof i?(o=r,null===(n=_t.exec(o._i))?(Pt(o),!1===o._isValid&&(delete o._isValid,Tt(o),!1===o._isValid&&(delete o._isValid,o._strict?o._isValid=!1:m.createFromInputFallback(o)))):o._d=new Date(+n[1])):a(i)?(r._a=z(i.slice(0),function(e){return parseInt(e,10)}),St(r)):O(i)?(o=r)._d||(t=void 0===(n=ce(o._i)).day?n.date:n.day,o._a=z([n.year,n.month,t,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),St(o)):H(i)?r._d=new Date(i):m.createFromInputFallback(r),Y(e)||(e._d=null),e)}}function It(e,t,r,i,o){var n={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==r&&!1!==r||(i=r,r=void 0),(O(e)&&R(e)||a(e)&&0===e.length)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=o,n._l=r,n._i=e,n._f=t,n._strict=i,(o=new X(ft(Dt(o=n))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function k(e,t,r,i){return It(e,t,r,i,!1)}m.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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function Bt(e,t){var r,i;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return k();for(r=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](r)||(r=t[i]);return r}var kt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Lt(e){var e=ce(e),t=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,n=e.day||0,a=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,r,i=!1,o=kt.length;for(t in e)if(f(e,t)&&(-1===C.call(kt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<o;++r)if(e[kt[r]]){if(i)return!1;parseFloat(e[kt[r]])!==h(e[kt[r]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*a*60*60,this._days=+n+7*o,this._months=+i+3*r+12*t,this._data={},this._locale=B(),this._bubble()}function Nt(e){return e instanceof Lt}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ot(e,r){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+n(~~(e/60),2)+r+n(~~e%60,2)})}Ot("Z",":"),Ot("ZZ",""),w("Z",Te),w("ZZ",Te),x(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ht(Te,e)});var Rt=/([\+\-]|\d\d)/gi;function Ht(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+h(e[2]))?0:"+"===e[0]?t:-t}function $t(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||$(e)?e:k(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),m.updateOffset(t,!1),t):k(e).local()}function zt(e){return-Math.round(e._d.getTimezoneOffset())}function Wt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Yt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function L(e,t){var r,i,o=e,n=null;return Nt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:H(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(n=Yt.exec(e))?(r="-"===n[1]?-1:1,o={y:0,d:h(n[T])*r,h:h(n[E])*r,m:h(n[S])*r,s:h(n[M])*r,ms:h(Ft(1e3*n[Ie]))*r}):(n=Ut.exec(e))?(r="-"===n[1]?-1:1,o={y:jt(n[2],r),M:jt(n[3],r),w:jt(n[4],r),d:jt(n[5],r),h:jt(n[6],r),m:jt(n[7],r),s:jt(n[8],r)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(t=k(o.from),n=k(o.to),r=t.isValid()&&n.isValid()?(n=$t(n,t),t.isBefore(n)?i=Gt(t,n):((i=Gt(n,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(o={}).ms=r.milliseconds,o.M=r.months),n=new Lt(o),Nt(e)&&f(e,"_locale")&&(n._locale=e._locale),Nt(e)&&f(e,"_isValid")&&(n._isValid=e._isValid),n}function jt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Gt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Vt(i,o){return function(e,t){var r;return null===t||isNaN(+t)||(K(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=e,e=t,t=r),qt(this,L(e,t),i),this}}function qt(e,t,r,i){var o=t._milliseconds,n=Ft(t._days),t=Ft(t._months);e.isValid()&&(i=null==i||i,t&&$e(e,he(e,"Month")+t*r),n&&me(e,"Date",he(e,"Date")+n*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&m.updateOffset(e,n||t))}L.fn=Lt.prototype,L.invalid=function(){return L(NaN)};Ne=Vt(1,"add"),Je=Vt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function Zt(e){return l(e)||$(e)||Xt(e)||H(e)||(r=a(t=e),i=!1,r&&(i=0===t.filter(function(e){return!H(e)&&Xt(t)}).length),r&&i)||function(e){var t,r,i=O(e)&&!R(e),o=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=n.length;for(t=0;t<a;t+=1)r=n[t],o=o||f(e,r);return i&&o}(e)||null==e;var t,r,i}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var r=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(r,"months");return-(r+(t-i<0?(t-i)/(i-e.clone().add(r-1,"months")):(t-i)/(e.clone().add(1+r,"months")-i)))||0}function Kt(e){return void 0===e?this._locale._abbr:(null!=(e=B(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=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)});function Qt(){return this._locale}var er=126227808e5;function tr(e,t){return(e%t+t)%t}function rr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-er:new Date(e,t,r).valueOf()}function ir(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-er:Date.UTC(e,t,r)}function or(e,t){return t.erasAbbrRegex(e)}function nr(){for(var e=[],t=[],r=[],i=[],o=this.eras(),n=0,a=o.length;n<a;++n)t.push(_(o[n].name)),e.push(_(o[n].abbr)),r.push(_(o[n].narrow)),i.push(_(o[n].name)),i.push(_(o[n].abbr)),i.push(_(o[n].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ar(e,t){i(0,[e,e.length],0,t)}function sr(e,t,r,i,o){var n;return null==e?Xe(this,i,o).year:(t>(n=D(e,i,o))&&(t=n),function(e,t,r,i,o){e=qe(e,t,r,i,o),t=Ge(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,r,i,o))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",or),w("NN",or),w("NNN",or),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,i){i=r._locale.erasParse(e,i,r._strict);i?g(r).era=i:g(r).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),x(["y","yy","yyy","yyyy"],P),x(["yo"],function(e,t,r,i){var o;r._locale._eraYearOrdinalRegex&&(o=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[P]=r._locale.eraYearOrdinalParse(e,o):t[P]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ar("gggg","weekYear"),ar("ggggg","weekYear"),ar("GGGG","isoWeekYear"),ar("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),r("weekYear",1),r("isoWeekYear",1),w("G",Pe),w("g",Pe),w("GG",v,y),w("gg",v,y),w("GGGG",_e,ge),w("gggg",_e,ge),w("GGGGG",xe,ye),w("ggggg",xe,ye),De(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,i){t[i.substr(0,2)]=h(e)}),De(["gg","GG"],function(e,t,r,i){t[i]=m.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),r("quarter",7),w("Q",o),x("Q",function(e,t){t[A]=3*(h(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),r("date",9),w("D",v),w("DD",v,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],T),x("Do",function(e,t){t[T]=h(e.match(v)[0])});_e=pe("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),r("dayOfYear",4),w("DDD",we),w("DDDD",fe),x(["DDD","DDDD"],function(e,t,r){r._dayOfYear=h(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),r("minute",14),w("m",v),w("mm",v,y),x(["m","mm"],S);ge=pe("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),r("second",15),w("s",v),w("ss",v,y),x(["s","ss"],M);var lr,xe=pe("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),r("millisecond",16),w("S",we,o),w("SS",we,y),w("SSS",we,fe),lr="SSSS";lr.length<=9;lr+="S")w(lr,Ce);function cr(e,t){t[Ie]=h(1e3*("0."+e))}for(lr="S";lr.length<=9;lr+="S")x(lr,cr);ye=pe("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");o=X.prototype;function ur(e){return e}o.add=Ne,o.calendar=function(e,t){1===arguments.length&&(arguments[0]?Zt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=O(e)&&!R(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o=0;o<i.length;o+=1)r=r||f(e,i[o]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||k(),r=$t(e,this).startOf("day"),r=m.calendarFormat(this,r)||"sameElse",t=t&&(u(t[r])?t[r].call(this,e):t[r]);return this.format(t||this.localeData().calendar(r,this,k(e)))},o.clone=function(){return new X(this)},o.diff=function(e,t,r){var i,o,n;if(!this.isValid())return NaN;if(!(i=$t(e,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),t=d(t)){case"year":n=Jt(this,i)/12;break;case"month":n=Jt(this,i);break;case"quarter":n=Jt(this,i)/3;break;case"second":n=(this-i)/1e3;break;case"minute":n=(this-i)/6e4;break;case"hour":n=(this-i)/36e5;break;case"day":n=(this-i-o)/864e5;break;case"week":n=(this-i-o)/6048e5;break;default:n=this-i}return r?n:p(n)},o.endOf=function(e){var t,r;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ir:rr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tr(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},o.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},o.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||k(e).isValid())?L({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},o.fromNow=function(e){return this.from(k(),e)},o.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||k(e).isValid())?L({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},o.toNow=function(e){return this.to(k(),e)},o.get=function(e){return u(this[e=d(e)])?this[e]():this},o.invalidAt=function(){return g(this).overflow},o.isAfter=function(e,t){return e=l(e)?e:k(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},o.isBefore=function(e,t){return e=l(e)?e:k(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},o.isBetween=function(e,t,r,i){return e=l(e)?e:k(e),t=l(t)?t:k(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===i[1]?this.isBefore(t,r):!this.isAfter(t,r))},o.isSame=function(e,t){var e=l(e)?e:k(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()))},o.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},o.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},o.isValid=function(){return Y(this)},o.lang=Qe,o.locale=Kt,o.localeData=Qt,o.max=be,o.min=ve,o.parsingFlags=function(){return W({},g(this))},o.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)f(e,t)&&r.push({unit:t,priority:ue[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=ce(e)),i=r.length,o=0;o<i;o++)this[r[o].unit](e[r[o].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},o.startOf=function(e){var t,r;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ir:rr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tr(t,6e4);break;case"second":t=this._d.valueOf(),t-=tr(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},o.subtract=Je,o.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},o.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},o.toDate=function(){return new Date(this.valueOf())},o.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ae(t,"Z")):ae(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},o.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",r="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},o.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},o.eraName=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},o.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},o.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},o.eraYear=function(){for(var e,t,r=this.localeData().eras(),i=0,o=r.length;i<o;++i)if(e=r[i].since<=r[i].until?1:-1,t=this.clone().startOf("day").valueOf(),r[i].since<=t&&t<=r[i].until||r[i].until<=t&&t<=r[i].since)return(this.year()-m(r[i].since).year())*e+r[i].offset;return this.year()},o.year=Ue,o.isLeapYear=function(){return de(this.year())},o.weekYear=function(e){return sr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},o.isoWeekYear=function(e){return sr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},o.quarter=o.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},o.month=ze,o.daysInMonth=function(){return Le(this.year(),this.month())},o.week=o.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},o.isoWeek=o.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},o.weeksInYear=function(){var e=this.localeData()._week;return D(this.year(),e.dow,e.doy)},o.weeksInWeekYear=function(){var e=this.localeData()._week;return D(this.weekYear(),e.dow,e.doy)},o.isoWeeksInYear=function(){return D(this.year(),1,4)},o.isoWeeksInISOWeekYear=function(){return D(this.isoWeekYear(),1,4)},o.date=_e,o.day=o.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,r,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,r=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=r.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},o.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},o.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,r=this.localeData(),r="string"==typeof t?r.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?r:r-7)):this.day()||7:null!=e?this:NaN;var t,r},o.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")},o.hour=o.hours=b,o.minute=o.minutes=ge,o.second=o.seconds=xe,o.millisecond=o.milliseconds=ye,o.utcOffset=function(e,t,r){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?o:zt(this);if("string"==typeof e){if(null===(e=Ht(Te,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(i=zt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?qt(this,L(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},o.utc=function(e){return this.utcOffset(0,e)},o.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},o.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ht(Ae,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},o.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?k(e).utcOffset():0,(this.utcOffset()-e)%60==0)},o.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},o.isLocal=function(){return!!this.isValid()&&!this._isUTC},o.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},o.isUtc=Wt,o.isUTC=Wt,o.zoneAbbr=function(){return this._isUTC?"UTC":""},o.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},o.dates=e("dates accessor is deprecated. Use date instead.",_e),o.months=e("months accessor is deprecated. Use month instead",ze),o.years=e("years accessor is deprecated. Use year instead",Ue),o.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()}),o.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return q(t,this),(t=Dt(t))._a?(e=(t._isUTC?c:k)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,r){for(var i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),n=0,a=0;a<i;a++)(r&&e[a]!==t[a]||!r&&h(e[a])!==h(t[a]))&&n++;return n+o}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function dr(e,t,r,i){var o=B(),i=c().set(i,t);return o[r](i,e)}function pr(e,t,r){if(H(e)&&(t=e,e=void 0),e=e||"",null!=t)return dr(e,t,r,"month");for(var i=[],o=0;o<12;o++)i[o]=dr(e,o,r,"month");return i}function hr(e,t,r,i){t=("boolean"==typeof e||(r=t=e,e=!1),H(t)&&(r=t,t=void 0),t||"");var o,n=B(),a=e?n._week.dow:0,s=[];if(null!=r)return dr(t,(r+a)%7,i,"day");for(o=0;o<7;o++)s[o]=dr(t,(o+a)%7,i,"day");return s}y.calendar=function(e,t,r){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(re).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=ur,y.postformat=ur,y.relativeTime=function(e,t,r,i){var o=this._relativeTime[r];return u(o)?o(e,t,r,i):o.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,r;for(r in e)f(e,r)&&(u(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var r,i=this._eras||B("en")._eras,o=0,n=i.length;o<n;++o)switch("string"==typeof i[o].since&&(r=m(i[o].since).startOf("day"),i[o].since=r.valueOf()),typeof i[o].until){case"undefined":i[o].until=1/0;break;case"string":r=m(i[o].until).startOf("day").valueOf(),i[o].until=r.valueOf()}return i},y.erasParse=function(e,t,r){var i,o,n,a,s,l=this.eras();for(e=e.toUpperCase(),i=0,o=l.length;i<o;++i)if(n=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[i];break;case"NNNN":if(n===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[n,a,s].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*r},y.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||nr.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return f(this,"_erasNameRegex")||nr.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||nr.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Oe.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,r){var i,o;if(this._monthsParseExact)return function(e,t,r){var i,o,n,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)n=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(n,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(o=C.call(this._shortMonthsParse,e))?o:null:-1!==(o=C.call(this._longMonthsParse,e))?o:null:"MMM"===t?-1!==(o=C.call(this._shortMonthsParse,e))||-1!==(o=C.call(this._longMonthsParse,e))?o:null:-1!==(o=C.call(this._longMonthsParse,e))||-1!==(o=C.call(this._shortMonthsParse,e))?o:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=c([2e3,i]),r&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),r||this._monthsParse[i]||(o="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(r&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!r&&this._monthsParse[i].test(e))return i}},y.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ze(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ze(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ze(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,r){var i,o;if(this._weekdaysParseExact)return function(e,t,r){var i,o,n,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)n=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(n,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(o=C.call(this._weekdaysParse,e))?o:null:"ddd"===t?-1!==(o=C.call(this._shortWeekdaysParse,e))?o:null:-1!==(o=C.call(this._minWeekdaysParse,e))?o:null:"dddd"===t?-1!==(o=C.call(this._weekdaysParse,e))||-1!==(o=C.call(this._shortWeekdaysParse,e))||-1!==(o=C.call(this._minWeekdaysParse,e))?o:null:"ddd"===t?-1!==(o=C.call(this._shortWeekdaysParse,e))||-1!==(o=C.call(this._weekdaysParse,e))||-1!==(o=C.call(this._minWeekdaysParse,e))?o:null:-1!==(o=C.call(this._minWeekdaysParse,e))||-1!==(o=C.call(this._weekdaysParse,e))||-1!==(o=C.call(this._shortWeekdaysParse,e))?o:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=c([2e3,1]).day(i),r&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(r&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(r&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!r&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"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===h(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",B);var mr=Math.abs;function fr(e,t,r,i){t=L(t,r);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function gr(e){return e<0?Math.floor(e):Math.ceil(e)}function yr(e){return 4800*e/146097}function vr(e){return 146097*e/4800}function br(e){return function(){return this.as(e)}}we=br("ms"),fe=br("s"),Ne=br("m"),be=br("h"),ve=br("d"),Je=br("w"),b=br("M"),ge=br("Q"),xe=br("y");function wr(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wr("milliseconds"),_e=wr("seconds"),Ue=wr("minutes"),y=wr("hours"),_r=wr("days"),xr=wr("months"),Cr=wr("years");var Pr=Math.round,Ar={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Tr(e,t,r,i){var o=L(e).abs(),n=Pr(o.as("s")),a=Pr(o.as("m")),s=Pr(o.as("h")),l=Pr(o.as("d")),c=Pr(o.as("M")),u=Pr(o.as("w")),o=Pr(o.as("y")),n=(n<=r.ss?["s",n]:n<r.s&&["ss",n])||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||l<=1&&["d"]||l<r.d&&["dd",l];return(n=(n=null!=r.w?n||u<=1&&["w"]||u<r.w&&["ww",u]:n)||c<=1&&["M"]||c<r.M&&["MM",c]||o<=1&&["y"]||["yy",o])[2]=t,n[3]=0<+e,n[4]=i,function(e,t,r,i,o){return o.relativeTime(t||1,!!r,e,i)}.apply(null,n)}var Er=Math.abs;function Sr(e){return(0<e)-(e<0)||+e}function Mr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,i,o,n,a,s=Er(this._milliseconds)/1e3,l=Er(this._days),c=Er(this._months),u=this.asSeconds();return u?(e=p(s/60),t=p(e/60),s%=60,e%=60,r=p(c/12),c%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",o=Sr(this._months)!==Sr(u)?"-":"",n=Sr(this._days)!==Sr(u)?"-":"",a=Sr(this._milliseconds)!==Sr(u)?"-":"",(u<0?"-":"")+"P"+(r?o+r+"Y":"")+(c?o+c+"M":"")+(l?n+l+"D":"")+(t||e||s?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(s?a+i+"S":"")):"P0D"}var N=Lt.prototype;return N.isValid=function(){return this._isValid},N.abs=function(){var e=this._data;return this._milliseconds=mr(this._milliseconds),this._days=mr(this._days),this._months=mr(this._months),e.milliseconds=mr(e.milliseconds),e.seconds=mr(e.seconds),e.minutes=mr(e.minutes),e.hours=mr(e.hours),e.months=mr(e.months),e.years=mr(e.years),this},N.add=function(e,t){return fr(this,e,t,1)},N.subtract=function(e,t){return fr(this,e,t,-1)},N.as=function(e){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,r=this._months+yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(vr(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},N.asMilliseconds=we,N.asSeconds=fe,N.asMinutes=Ne,N.asHours=be,N.asDays=ve,N.asWeeks=Je,N.asMonths=b,N.asQuarters=ge,N.asYears=xe,N.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*h(this._months/12):NaN},N._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,i=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*gr(vr(r)+t),r=t=0),i.milliseconds=e%1e3,e=p(e/1e3),i.seconds=e%60,e=p(e/60),i.minutes=e%60,e=p(e/60),i.hours=e%24,t+=p(e/24),r+=e=p(yr(t)),t-=gr(vr(e)),e=p(r/12),r%=12,i.days=t,i.months=r,i.years=e,this},N.clone=function(){return L(this)},N.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},N.milliseconds=ye,N.seconds=_e,N.minutes=Ue,N.hours=y,N.days=_r,N.weeks=function(){return p(this.days()/7)},N.months=xr,N.years=Cr,N.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,i=Ar;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(i=Object.assign({},Ar,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),t=Tr(this,!r,i,e=this.localeData()),r&&(t=e.pastFuture(+this,t)),e.postformat(t)},N.toISOString=Mr,N.toString=Mr,N.toJSON=Mr,N.locale=Kt,N.localeData=Qt,N.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mr),N.lang=Qe,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",Pe),w("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,r){r._d=new Date(h(e))}),m.version="2.29.3",F=k,m.fn=o,m.min=function(){return Bt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Bt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return k(1e3*e)},m.months=function(e,t){return pr(e,t,"months")},m.isDate=$,m.locale=ht,m.invalid=U,m.duration=L,m.isMoment=l,m.weekdays=function(e,t,r){return hr(e,t,r,"weekdays")},m.parseZone=function(){return k.apply(null,arguments).parseZone()},m.localeData=B,m.isDuration=Nt,m.monthsShort=function(e,t){return pr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return hr(e,t,r,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var r,i;return null!=t?(i=lt,null!=I[e]&&null!=I[e].parentLocale?I[e].set(Q(I[e]._config,t)):(t=Q(i=null!=(r=pt(e))?r._config:i,t),null==r&&(t.abbr=e),(i=new ee(t)).parentLocale=I[e],I[e]=i),ht(e)):null!=I[e]&&(null!=I[e].parentLocale?(I[e]=I[e].parentLocale,e===ht()&&ht(e)):null!=I[e]&&delete I[e]),I[e]},m.locales=function(){return te(I)},m.weekdaysShort=function(e,t,r){return hr(e,t,r,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Pr:"function"==typeof e&&(Pr=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Ar[e]&&(void 0===t?Ar[e]:(Ar[e]=t,"s"===e&&(Ar.ss=t-1),!0))},m.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"},m.prototype=o,m.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"},m}();var fo,go,z=fo.exports;const yo={en:{selfExclusion:{title:"Self-Exclusion",selfExclusionText1:"Everymatrix recognizes that gambling can lead to addiction and in our effort to prevent these problems, we offer our users the ability to exclude all forms of betting on our site for a certain of indefinite period of time.",selfExclusionText2:'Self-exclusion takes effect from the time it is set for the period you choose. Select a timeframe below then click "Confirm".',selfExclusionText3:"During self-exclusion you will not be able to access your Everymatrix account. In the case of permanent self-exclusion, it is only possible to revoke Self-exclusion upon written request and only 6 months post its initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows: E-mail:",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."}},fr:{selfExclusion:{title:"Auto exclusion",selfExclusionText1:"Everymatrix 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 "confirmer".',selfExclusionText3:"Pendant l'auto exclusion ,vous ne pourrez pas accéder à votre compte everymatrix.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:{selfExclusion:{title:"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 "Confirmă".',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:{selfExclusion:{title:"Autoexclusión",selfExclusionText1:"Everymatrix reconoce que los juegos de azar pueden conducir a la adicción y en nuestro esfuerzo por prevenir estos problemas, ofrecemos a nuestros usuarios la posibilidad de optar por no participar en todas las formas de juegos de azar en nuestro sitio por un período de tiempo indefinido.",selfExclusionText2:'La autoexclusió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 haga clic en "Confirmar".',selfExclusionText3:"Durante la autoexclusión, no podrá acceder a su cuenta de Everymatrix. 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. Tenga 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:",selfExclusionText4:"E-mail:",duration:"Duración:",forever:"Para siempre",save:"Guardar",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente."}},pt:{selfExclusion:{title:"Auto-exclusão",selfExclusionText1:"Everymatrix 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 "Confirmar".',selfExclusionText3:"Durante a autoexclusão, você não poderá acessar sua conta Everymatrix. 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."}}};class vo extends HTMLElement{static get version(){return"1.6.1"}}customElements.define("vaadin-lumo-styles",vo);let bo,wo=null,_o=window.HTMLImports&&window.HTMLImports.whenReady||null;function xo(e){requestAnimationFrame(function(){_o?_o(e):(wo||(wo=new Promise(e=>{bo=e}),"complete"===document.readyState?bo():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&bo()})),wo.then(function(){e&&e()}))})}const Co="__seenByShadyCSS",Po="__shadyCSSCachedStyle";let Ao=null,To=null;class Eo{constructor(){this.customStyles=[],this.enqueued=!1,xo(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&To&&(this.enqueued=!0,xo(To))}addCustomStyle(e){e[Co]||(e[Co]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[Po]||(e.getStyle?e.getStyle():e)}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const i=t[e];if(!i[Po]){var r=this.getStyleForCustomStyle(i);if(r){const t=r.__appliedElement||r;Ao&&Ao(t),i[Po]=t}}}return t}}Object.defineProperties(Eo.prototype,{transformCallback:{get:()=>Ao,set(e){Ao=e}},validateCallback:{get:()=>To,set(e){let t=!1;To||(t=!0),To=e,t&&this.enqueueDocumentValidation()}}});const So=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Mo=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Do=/@media\s(.*)/;function Io(e,t){for(var r in t)null===r?e.style.removeProperty(r):e.style.setProperty(r,t[r])}function Bo(e,t){const r=window.getComputedStyle(e).getPropertyValue(t);return r?r.trim():""}const ko=!(window.ShadyDOM&&window.ShadyDOM.inUse);let Lo,No;function Fo(e){Lo=(!e||!e.shimcssproperties)&&(ko||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(No=window.ShadyCSS.cssBuild);Sr=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Lo=window.ShadyCSS.nativeCss:window.ShadyCSS?(Fo(window.ShadyCSS),window.ShadyCSS=void 0):Fo(window.WebComponents&&window.WebComponents.flags);const Oo=Lo,Ro=new Eo;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,r){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,r){},styleSubtree(e,t){Ro.processStyles(),Io(e,t)},styleElement(e){Ro.processStyles()},styleDocument(e){Ro.processStyles(),Io(document.body,e)},getComputedStyleValue:(e,t)=>Bo(e,t),flushCustomStyles(){},nativeCss:Oo,nativeShadow:ko,cssBuild:No,disableRuntime:Sr}),window.ShadyCSS.CustomStyleInterface=Ro,window.JSCompiler_renameProperty=function(e,t){return e};let Ho,$o,zo=/(url\()([^)]*)(\))/g,Wo=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function Yo(e,t){if(e&&Wo.test(e))return e;if("//"===e)return e;if(void 0===Ho){Ho=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",Ho="http://a/c%20d"===e.href}catch(e){}}if(t=t||document.baseURI||window.location.href,Ho)try{return new URL(e,t).href}catch(t){return e}return $o||(($o=document.implementation.createHTMLDocument("temp")).base=$o.createElement("base"),$o.head.appendChild($o.base),$o.anchor=$o.createElement("a"),$o.body.appendChild($o.anchor)),$o.base.href=t,$o.anchor.href=e,$o.anchor.href||e}function Uo(e,o){return e.replace(zo,function(e,t,r,i){return t+"'"+Yo(r.replace(/["']/g,""),o)+"'"+i})}function jo(e){return e.substring(0,e.lastIndexOf("/")+1)}const Go=!window.ShadyDOM||!window.ShadyDOM.inUse,Vo=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),Go&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet,t=(e.replaceSync(""),document.createElement("div"));return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})());let qo=window.Polymer&&window.Polymer.rootPath||jo(document.baseURI||window.location.href),Xo=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,Zo=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1,Jo=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,Ko=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,Qo=window.Polymer&&window.Polymer.legacyOptimizations||!1,en=window.Polymer&&window.Polymer.legacyWarnings||!1,tn=window.Polymer&&window.Polymer.syncInitialRender||!1,rn=window.Polymer&&window.Polymer.legacyUndefined||!1,on=window.Polymer&&window.Polymer.orderedComputed||!1,nn=window.Polymer&&window.Polymer.removeNestedTemplates||!1,an=window.Polymer&&window.Polymer.fastDomIf||!1,sn=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,ln=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1,cn=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1,un={},dn={};function pn(e,t){un[e]=dn[e.toLowerCase()]=t}function hn(e){return un[e]||dn[e.toLowerCase()]}class mn extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,r){if(t){let e=hn(t);return e&&r?e.querySelector(r):e}return null}attributeChangedCallback(e,t,r,i){t!==r&&this.register()}get assetpath(){var e;return this.__assetpath||(e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=Yo(this.getAttribute("assetpath")||"",e.baseURI),this.__assetpath=jo(e)),this.__assetpath}register(e){if(e=e||this.id){if(Jo&&void 0!==hn(e))throw pn(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);pn(this.id=e,this),this.querySelector("style")&&console.warn("dom-module %s has style outside template",this.id)}}}mn.prototype.modules=un,customElements.define("dom-module",mn);const fn="shady-unscoped";function gn(e){return mn.import(e)}function yn(e){const t=Uo((e.body||e).textContent,e.baseURI),r=document.createElement("style");return r.textContent=t,r}function vn(e){const t=e.trim().split(/\s+/),r=[];for(let e=0;e<t.length;e++)r.push(...function(e){const t=gn(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const e=[];e.push(...wn(t));var r=t.querySelector("template");r&&e.push(...bn(r,t.assetpath)),t._styles=e}return t._styles}(t[e]));return r}function bn(e,i){if(!e._styles){const o=[],n=e.content.querySelectorAll("style");for(let r=0;r<n.length;r++){let e=n[r],t=e.getAttribute("include");t&&o.push(...vn(t).filter(function(e,t,r){return r.indexOf(e)===t})),i&&(e.textContent=Uo(e.textContent,i)),o.push(e)}e._styles=o}return e._styles}function wn(r){const i=[],o=r.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<o.length;t++){let e=o[t];if(e.import){const r=e.import,o=e.hasAttribute(fn);if(o&&!r._unscopedStyle){const i=yn(r);i.setAttribute(fn,""),r._unscopedStyle=i}else r._style||(r._style=yn(r));i.push(o?r._unscopedStyle:r._style)}}return i}const _n="include",xn=window.ShadyCSS.CustomStyleInterface;class Cn extends HTMLElement{constructor(){super(),this._style=null,xn.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const e=this.querySelector("style");if(!e)return null;var i=(this._style=e).getAttribute(_n);return i&&(e.removeAttribute(_n),e.textContent=function(){let t=i.trim().split(/\s+/),r="";for(let e=0;e<t.length;e++)r+=function(e){let o=gn(e);if(o&&void 0===o._cssText){let e=function(){let t="",r=wn(o);for(let e=0;e<r.length;e++)t+=r[e].textContent;return t}(),t=o.querySelector("template");t&&(e+=function(){let r="";var i=bn(t,o.assetpath);for(let t=0;t<i.length;t++){let e=i[t];e.parentNode&&e.parentNode.removeChild(e),r+=e.textContent}return r}()),o._cssText=e||null}return o||console.warn("Could not find style data in module named",e),o&&o._cssText||""}(t[e]);return r}()+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}window.customElements.define("custom-style",Cn);const Pn=document.createElement("template"),An=(Pn.innerHTML="<custom-style>\n <style>\n html {\n --lumo-size-xs: 1.625rem;\n --lumo-size-s: 1.875rem;\n --lumo-size-m: 2.25rem;\n --lumo-size-l: 2.75rem;\n --lumo-size-xl: 3.5rem;\n\n /* Icons */\n --lumo-icon-size-s: 1.25em;\n --lumo-icon-size-m: 1.5em;\n --lumo-icon-size-l: 2.25em;\n /* For backwards compatibility */\n --lumo-icon-size: var(--lumo-icon-size-m);\n }\n </style>\n</custom-style>",document.head.appendChild(Pn.content),document.createElement("template")),Tn=(An.innerHTML="<custom-style>\n <style>\n html {\n /* Square */\n --lumo-space-xs: 0.25rem;\n --lumo-space-s: 0.5rem;\n --lumo-space-m: 1rem;\n --lumo-space-l: 1.5rem;\n --lumo-space-xl: 2.5rem;\n\n /* Wide */\n --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);\n --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);\n --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);\n --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);\n --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);\n\n /* Tall */\n --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);\n --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);\n --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);\n --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);\n --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);\n }\n </style>\n</custom-style>",document.head.appendChild(An.content),document.createElement("template")),En=(Tn.innerHTML="<custom-style>\n <style>\n html {\n /* Border radius */\n --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */\n --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */\n --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */\n --lumo-border-radius: 0.25em; /* Deprecated */\n\n /* Shadow */\n --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);\n --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);\n --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);\n --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);\n --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);\n\n /* Clickable element cursor */\n --lumo-clickable-cursor: default;\n }\n </style>\n</custom-style>",document.head.appendChild(Tn.content),document.createElement("template")),Sn=(En.innerHTML='<custom-style>\n <style>\n html {\n /* Base (background) */\n --lumo-base-color: #FFF;\n\n /* Tint */\n --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);\n --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);\n --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);\n --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);\n --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);\n --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);\n --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);\n --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);\n --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);\n --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);\n --lumo-tint: #FFF;\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);\n --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);\n --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);\n --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);\n --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);\n --lumo-shade-50pct: hsla(214, 45%, 20%, 0.5);\n --lumo-shade-60pct: hsla(214, 43%, 19%, 0.61);\n --lumo-shade-70pct: hsla(214, 42%, 18%, 0.72);\n --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);\n --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);\n --lumo-shade: hsl(214, 35%, 15%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-shade-5pct);\n --lumo-contrast-10pct: var(--lumo-shade-10pct);\n --lumo-contrast-20pct: var(--lumo-shade-20pct);\n --lumo-contrast-30pct: var(--lumo-shade-30pct);\n --lumo-contrast-40pct: var(--lumo-shade-40pct);\n --lumo-contrast-50pct: var(--lumo-shade-50pct);\n --lumo-contrast-60pct: var(--lumo-shade-60pct);\n --lumo-contrast-70pct: var(--lumo-shade-70pct);\n --lumo-contrast-80pct: var(--lumo-shade-80pct);\n --lumo-contrast-90pct: var(--lumo-shade-90pct);\n --lumo-contrast: var(--lumo-shade);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 90%, 52%);\n --lumo-primary-color-50pct: hsla(214, 90%, 52%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 52%, 0.1);\n --lumo-primary-text-color: var(--lumo-primary-color);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 100%, 61%);\n --lumo-error-color-50pct: hsla(3, 100%, 60%, 0.5);\n --lumo-error-color-10pct: hsla(3, 100%, 60%, 0.1);\n --lumo-error-text-color: hsl(3, 92%, 53%);\n --lumo-error-contrast-color: #FFF;\n\n /* Success */\n --lumo-success-color: hsl(145, 80%, 42%); /* hsl(144,82%,37%); */\n --lumo-success-color-50pct: hsla(145, 76%, 44%, 0.55);\n --lumo-success-color-10pct: hsla(145, 76%, 44%, 0.12);\n --lumo-success-text-color: hsl(145, 100%, 32%);\n --lumo-success-contrast-color: #FFF;\n }\n </style>\n</custom-style><dom-module id="lumo-color">\n <template>\n <style>\n [theme~="dark"] {\n /* Base (background) */\n --lumo-base-color: hsl(214, 35%, 21%);\n\n /* Tint */\n --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);\n --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);\n --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);\n --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);\n --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);\n --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);\n --lumo-tint-60pct: hsla(214, 82%, 90%, 0.6);\n --lumo-tint-70pct: hsla(214, 87%, 92%, 0.7);\n --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);\n --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);\n --lumo-tint: hsl(214, 100%, 98%);\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);\n --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);\n --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);\n --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);\n --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);\n --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);\n --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);\n --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);\n --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);\n --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);\n --lumo-shade: hsl(214, 33%, 13%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-tint-5pct);\n --lumo-contrast-10pct: var(--lumo-tint-10pct);\n --lumo-contrast-20pct: var(--lumo-tint-20pct);\n --lumo-contrast-30pct: var(--lumo-tint-30pct);\n --lumo-contrast-40pct: var(--lumo-tint-40pct);\n --lumo-contrast-50pct: var(--lumo-tint-50pct);\n --lumo-contrast-60pct: var(--lumo-tint-60pct);\n --lumo-contrast-70pct: var(--lumo-tint-70pct);\n --lumo-contrast-80pct: var(--lumo-tint-80pct);\n --lumo-contrast-90pct: var(--lumo-tint-90pct);\n --lumo-contrast: var(--lumo-tint);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 86%, 55%);\n --lumo-primary-color-50pct: hsla(214, 86%, 55%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 63%, 0.1);\n --lumo-primary-text-color: hsl(214, 100%, 70%);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 90%, 63%);\n --lumo-error-color-50pct: hsla(3, 90%, 63%, 0.5);\n --lumo-error-color-10pct: hsla(3, 90%, 63%, 0.1);\n --lumo-error-text-color: hsl(3, 100%, 67%);\n\n /* Success */\n --lumo-success-color: hsl(145, 65%, 42%);\n --lumo-success-color-50pct: hsla(145, 65%, 42%, 0.5);\n --lumo-success-color-10pct: hsla(145, 65%, 42%, 0.1);\n --lumo-success-text-color: hsl(145, 85%, 47%);\n }\n\n html {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n [theme~="dark"] {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n color: var(--lumo-header-text-color);\n }\n\n a {\n color: var(--lumo-primary-text-color);\n }\n\n blockquote {\n color: var(--lumo-secondary-text-color);\n }\n\n code,\n pre {\n background-color: var(--lumo-contrast-10pct);\n border-radius: var(--lumo-border-radius-m);\n }\n </style>\n </template>\n</dom-module><dom-module id="lumo-color-legacy">\n <template>\n <style include="lumo-color">\n :host {\n color: var(--lumo-body-text-color) !important;\n background-color: var(--lumo-base-color) !important;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(En.content),document.createElement("template")),Mn=(Sn.innerHTML='<custom-style>\n <style>\n html {\n /* Font families */\n --lumo-font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n\n /* Font sizes */\n --lumo-font-size-xxs: .75rem;\n --lumo-font-size-xs: .8125rem;\n --lumo-font-size-s: .875rem;\n --lumo-font-size-m: 1rem;\n --lumo-font-size-l: 1.125rem;\n --lumo-font-size-xl: 1.375rem;\n --lumo-font-size-xxl: 1.75rem;\n --lumo-font-size-xxxl: 2.5rem;\n\n /* Line heights */\n --lumo-line-height-xs: 1.25;\n --lumo-line-height-s: 1.375;\n --lumo-line-height-m: 1.625;\n }\n\n </style>\n</custom-style><dom-module id="lumo-typography">\n <template>\n <style>\n html {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n /* Can’t combine with the above selector because that doesn’t work in browsers without native shadow dom */\n :host {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n small,\n [theme~="font-size-s"] {\n font-size: var(--lumo-font-size-s);\n line-height: var(--lumo-line-height-s);\n }\n\n [theme~="font-size-xs"] {\n font-size: var(--lumo-font-size-xs);\n line-height: var(--lumo-line-height-xs);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: 600;\n line-height: var(--lumo-line-height-xs);\n margin-top: 1.25em;\n }\n\n h1 {\n font-size: var(--lumo-font-size-xxxl);\n margin-bottom: 0.75em;\n }\n\n h2 {\n font-size: var(--lumo-font-size-xxl);\n margin-bottom: 0.5em;\n }\n\n h3 {\n font-size: var(--lumo-font-size-xl);\n margin-bottom: 0.5em;\n }\n\n h4 {\n font-size: var(--lumo-font-size-l);\n margin-bottom: 0.5em;\n }\n\n h5 {\n font-size: var(--lumo-font-size-m);\n margin-bottom: 0.25em;\n }\n\n h6 {\n font-size: var(--lumo-font-size-xs);\n margin-bottom: 0;\n text-transform: uppercase;\n letter-spacing: 0.03em;\n }\n\n p,\n blockquote {\n margin-top: 0.5em;\n margin-bottom: 0.75em;\n }\n\n a {\n text-decoration: none;\n }\n\n a:hover {\n text-decoration: underline;\n }\n\n hr {\n display: block;\n align-self: stretch;\n height: 1px;\n border: 0;\n padding: 0;\n margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);\n background-color: var(--lumo-contrast-10pct);\n }\n\n blockquote {\n border-left: 2px solid var(--lumo-contrast-30pct);\n }\n\n b,\n strong {\n font-weight: 600;\n }\n\n /* RTL specific styles */\n\n blockquote[dir="rtl"] {\n border-left: none;\n border-right: 2px solid var(--lumo-contrast-30pct);\n }\n\n </style>\n </template>\n</dom-module>',document.head.appendChild(Sn.content),document.createElement("template")),Dn=(Mn.innerHTML='<dom-module id="lumo-overlay">\n <template>\n <style>\n :host {\n top: var(--lumo-space-m);\n right: var(--lumo-space-m);\n bottom: var(--lumo-space-m);\n left: var(--lumo-space-m);\n /* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */\n /* stylelint-disable-next-line */\n outline: 0px solid transparent;\n }\n\n [part="overlay"] {\n background-color: var(--lumo-base-color);\n background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));\n border-radius: var(--lumo-border-radius-m);\n box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);\n color: var(--lumo-body-text-color);\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size-m);\n font-weight: 400;\n line-height: var(--lumo-line-height-m);\n letter-spacing: 0;\n text-transform: none;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n [part="content"] {\n padding: var(--lumo-space-xs);\n }\n\n [part="backdrop"] {\n background-color: var(--lumo-shade-20pct);\n animation: 0.2s lumo-overlay-backdrop-enter both;\n will-change: opacity;\n }\n\n @keyframes lumo-overlay-backdrop-enter {\n 0% {\n opacity: 0;\n }\n }\n\n :host([closing]) [part="backdrop"] {\n animation: 0.2s lumo-overlay-backdrop-exit both;\n }\n\n @keyframes lumo-overlay-backdrop-exit {\n 100% {\n opacity: 0;\n }\n }\n\n @keyframes lumo-overlay-dummy-animation {\n 0% { opacity: 1; }\n 100% { opacity: 1; }\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(Mn.content),document.createElement("template")),In=(Dn.innerHTML='<dom-module id="lumo-menu-overlay-core">\n <template>\n <style>\n :host([opening]),\n :host([closing]) {\n animation: 0.14s lumo-overlay-dummy-animation;\n }\n\n [part="overlay"] {\n will-change: opacity, transform;\n }\n\n :host([opening]) [part="overlay"] {\n animation: 0.1s lumo-menu-overlay-enter ease-out both;\n }\n\n @keyframes lumo-menu-overlay-enter {\n 0% {\n opacity: 0;\n transform: translateY(-4px);\n }\n }\n\n :host([closing]) [part="overlay"] {\n animation: 0.1s lumo-menu-overlay-exit both;\n }\n\n @keyframes lumo-menu-overlay-exit {\n 100% {\n opacity: 0;\n }\n }\n </style>\n </template>\n</dom-module><dom-module id="lumo-menu-overlay">\n <template>\n <style include="lumo-overlay lumo-menu-overlay-core">\n /* Small viewport (bottom sheet) styles */\n /* Use direct media queries instead of the state attributes (`[phone]` and `[fullscreen]`) provided by the elements */\n @media (max-width: 420px), (max-height: 420px) {\n :host {\n top: 0 !important;\n right: 0 !important;\n bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;\n left: 0 !important;\n align-items: stretch !important;\n justify-content: flex-end !important;\n }\n\n [part="overlay"] {\n max-height: 50vh;\n width: 100vw;\n border-radius: 0;\n box-shadow: var(--lumo-box-shadow-xl);\n }\n\n /* The content part scrolls instead of the overlay part, because of the gradient fade-out */\n [part="content"] {\n padding: 30px var(--lumo-space-m);\n max-height: inherit;\n box-sizing: border-box;\n -webkit-overflow-scrolling: touch;\n overflow: auto;\n -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);\n mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);\n }\n\n [part="backdrop"] {\n display: block;\n }\n\n /* Animations */\n\n :host([opening]) [part="overlay"] {\n animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(.215, .61, .355, 1) both;\n }\n\n :host([closing]),\n :host([closing]) [part="backdrop"] {\n animation-delay: 0.14s;\n }\n\n :host([closing]) [part="overlay"] {\n animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(.55, .055, .675, .19) both;\n }\n }\n\n @keyframes lumo-mobile-menu-overlay-enter {\n 0% {\n transform: translateY(150%);\n }\n }\n\n @keyframes lumo-mobile-menu-overlay-exit {\n 100% {\n transform: translateY(150%);\n }\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(Dn.content),window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:e=>e}));class Bn{constructor(i,e){Nn(i,e);const t=e.reduce((e,t,r)=>e+kn(t)+i[r+1],i[0]);this.value=t.toString()}toString(){return this.value}}function kn(e){if(e instanceof class{constructor(i,e){Nn(i,e);const t=e.reduce((e,t,r)=>e+kn(t)+i[r+1],i[0]);this.value=t.toString()}toString(){return this.value}})return e.value;throw new Error("non-literal value passed to Polymer's htmlLiteral function: "+e)}function Ln(i,...e){Nn(i,e);const t=document.createElement("template");let r=e.reduce((e,t,r)=>e+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof Bn)return kn(e);throw new Error("non-template value passed to Polymer's html function: "+e)}(t)+i[r+1],i[0]);return In&&(r=In.createHTML(r)),t.innerHTML=r,t}const Nn=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(e.raw)||t.length!==e.length-1)throw new TypeError("Invalid call to the html template tag")},Fn=Ln`<dom-module id="lumo-date-picker-overlay" theme-for="vaadin-date-picker-overlay">
|
|
3
|
+
}`,p=`__svelte_${function(e){let t=5381,r=e.length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return t>>>0}(d)}_`+s,h=M(e),{stylesheet:m,rules:f}=I.get(h)||(s=h,l={stylesheet:(l=e,g=hr("style"),ur((l=M(l)).head||l,g),g.sheet),rules:{}},I.set(s,l),l);f[p]||(f[p]=!0,m.insertRule(`@keyframes ${p} `+d,m.cssRules.length));var g=e.style.animation||"";return e.style.animation=(g?g+", ":"")+p+` ${i}ms linear ${o}ms 1 both`,k+=1,p}function F(e){B=e}function pe(e){!function(){if(B)return B;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const O=[],he=[],h=[],m=[],R=Promise.resolve();let $=!1;function j(){$||($=!0,R.then(g))}function Cr(e){h.push(e)}const W=new Set;let Y,U=0;function g(){const e=B;do{for(;U<O.length;){const e=O[U];U++,F(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),cr(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Cr))}for(F(null),O.length=0,U=0;he.length;)he.pop()();for(let e=0;e<h.length;e+=1){const i=h[e];W.has(i)||(W.add(i),i())}}while(h.length=0,O.length);for(;m.length;)m.pop()();$=!1,W.clear(),F(e)}function G(e,t,r){e.dispatchEvent(function(e,{bubbles:t=!1,cancelable:r=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t,r,void 0),i}((t?"intro":"outro")+r))}const q=new Set;let X;function Z(e,t){e&&e.i&&(q.delete(e),e.i(t))}function J(e,t,r,i){e&&e.o&&(q.has(e)||(q.add(e),X.c.push(()=>{q.delete(e),i&&(r&&e.d(1),i())}),e.o(t)))}const K={duration:0};function Q(l,e,t,r){let c=e(l,t),u=r?0:1,d=null,p=null,h=null;function m(){if(h){var e=l,t=h;const r=(e.style.animation||"").split(", "),i=r.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),o=r.length-i.length;o&&(e.style.animation=i.join(", "),(k-=o)||T(()=>{k||(I.forEach(e=>{const t=e["stylesheet"];let r=t.cssRules.length;for(;r--;)t.deleteRule(r);e.rules={}}),I.clear())}))}}function f(e,t){var r=e.b-u;return t*=Math.abs(r),{a:u,b:e.b,d:r,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:r=300,easing:i=w,tick:o=ie,css:n}=c||K,a={start:A()+t,b:e};if(e||((a.group=X).r+=1),!d&&!p){n&&(m(),h=L(l,u,e,r,t,i,n)),e&&o(0,1),d=f(a,r),Cr(()=>G(l,e,"start"));{var s=e=>{if(p&&e>p.start&&(d=f(p,r),p=null,G(l,d.b,"start"),n&&(m(),h=L(l,u,d.b,d.duration,0,i,c.css))),d)if(e>=d.end)o(u=d.b,1-u),G(l,d.b,"end"),p||(d.b?m():--d.group.r||cr(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*i(l/d.duration),o(u,1-u)}return!(!d&&!p)};let t;return 0===E.size&&T(S),void new Promise(e=>{E.add(t={c:s,f:e})})}}p=a}return{run(e){me(c)?(Y||(Y=Promise.resolve()).then(()=>{Y=null}),Y.then(()=>{c=c(),i(e)})):i(e)},end(){m(),d=p=null}}}function i(i,e,t,r,o,n,a,s=[-1]){var l=B;F(i);const c=i.$$={fragment:null,ctx:null,props:n,update:ie,not_equal:o,bound:x(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:x(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=i).$$.dirty[0]&&(O.push(e),j(),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,cr(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){n=e.target;const i=Array.from(n.childNodes);c.fragment&&c.fragment.l(i),i.forEach(pr)}else c.fragment&&c.fragment.c();e.intro&&Z(i.$$.fragment);{var d=i;s=e.target;a=e.anchor;t=e.customElement;const{fragment:p,on_mount:h,on_destroy:m,after_update:f}=d.$$;p&&p.m(s,a),t||Cr(()=>{var e=h.map(_).filter(me);m?m.push(...e):cr(e),d.$$.on_mount=[]}),f.forEach(Cr)}g()}F(l)}let o;"function"==typeof HTMLElement&&(o=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(_).filter(me);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){cr(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(cr(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=ie}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var ee,te,re="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==re&&re,ne="URLSearchParams"in re,fe="Symbol"in re&&"iterator"in Symbol,ge="FileReader"in re&&"Blob"in re&&function(){try{return new Blob,!0}catch(e){return!1}}(),ye="FormData"in re,ve="ArrayBuffer"in re;function be(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 we(e){return e="string"!=typeof e?String(e):e}function _e(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return fe&&(e[Symbol.iterator]=function(){return e}),e}function s(t){this.map={},t instanceof s?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function xe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ce(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function Pe(e){var t=new FileReader,r=Ce(t);return t.readAsArrayBuffer(e),r}function Ae(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Te(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ge&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ye&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ne&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ve&&ge&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Ae(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ve&&(ArrayBuffer.prototype.isPrototypeOf(e)||te(e))?this._bodyArrayBuffer=Ae(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ne&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ge&&(this.blob=function(){var e=xe(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(){return this._bodyArrayBuffer?xe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Pe)}),this.text=function(){var e,t,r=xe(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=Ce(e),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),i=0;i<t.length;i++)r[i]=String.fromCharCode(t[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ye&&(this.formData=function(){return this.text().then(Me)}),this.json=function(){return this.text().then(JSON.parse)},this}ve&&(ee=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],te=ArrayBuffer.isView||function(e){return e&&-1<ee.indexOf(Object.prototype.toString.call(e))}),s.prototype.append=function(e,t){e=be(e),t=we(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},s.prototype.delete=function(e){delete this.map[be(e)]},s.prototype.get=function(e){return e=be(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(be(e))},s.prototype.set=function(e,t){this.map[be(e)]=we(t)},s.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},s.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),_e(r)},s.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),_e(t)},s.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),_e(r)},fe&&(s.prototype[Symbol.iterator]=s.prototype.entries);var Ee=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Se(e,t){if(!(this instanceof Se))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i=(t=t||{}).body;if(e instanceof Se){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<Ee.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Me(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function De(e,t){if(!(this instanceof De))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}Se.prototype.clone=function(){return new Se(this,{body:this._bodyInit})},Te.call(Se.prototype),Te.call(De.prototype),De.prototype.clone=function(){return new De(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},De.error=function(){var e=new De(null,{status:0,statusText:""});return e.type="error",e};var Ie=[301,302,303,307,308],Be=(De.redirect=function(e,t){if(-1===Ie.indexOf(t))throw new RangeError("Invalid status code");return new De(null,{status:t,headers:{location:e}})},re.DOMException);try{new Be}catch(l){(Be=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Be.prototype.constructor=Be}function ke(i,a){return new Promise(function(o,e){var t=new Se(i,a);if(t.signal&&t.signal.aborted)return e(new Be("Aborted","AbortError"));var n=new XMLHttpRequest;function r(){n.abort()}n.onload=function(){var e,r,t={status:n.status,statusText:n.statusText,headers:(e=n.getAllResponseHeaders()||"",r=new s,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},i=(t.url="responseURL"in n?n.responseURL:t.headers.get("X-Request-URL"),"response"in n?n.response:n.responseText);setTimeout(function(){o(new De(i,t))},0)},n.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},n.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},n.onabort=function(){setTimeout(function(){e(new Be("Aborted","AbortError"))},0)},n.open(t.method,function(t){try{return""===t&&re.location.href?re.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?n.withCredentials=!0:"omit"===t.credentials&&(n.withCredentials=!1),"responseType"in n&&(ge?n.responseType="blob":ve&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(n.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof s?t.headers.forEach(function(e,t){n.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){n.setRequestHeader(e,we(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),n.onreadystatechange=function(){4===n.readyState&&t.signal.removeEventListener("abort",r)}),n.send(void 0===t._bodyInit?null:t._bodyInit)})}function Dr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ke.polyfill=!0,re.fetch||(re.fetch=ke,re.Headers=s,re.Request=Se,re.Response=De),self.fetch.bind(self);var Le=function(e,t){return(Le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function Ne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Le(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Fe(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Oe(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,n=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=n.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function Re(e,t,r){if(r||2===arguments.length)for(var i,o=0,n=t.length;o<n;o++)!i&&o in t||((i=i||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function He(e){return"function"==typeof e}function $e(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var ze=$e(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)}je.prototype.unsubscribe=function(){var e,t,r,i,o;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=Fe(n),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else n.remove(this);n=this.initialTeardown;if(He(n))try{n()}catch(e){o=e instanceof ze?e.errors:[e]}n=this._finalizers;if(n){this._finalizers=null;try{for(var l=Fe(n),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ve(u)}catch(e){o=null!=o?o:[],e instanceof ze?o=Re(Re([],Oe(o)),Oe(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}if(o)throw new ze(o)}},je.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ve(e);else{if(e instanceof je){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},je.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},je.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},je.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&We(t,e)},je.prototype.remove=function(e){var t=this._finalizers;t&&We(t,e),e instanceof je&&e._removeParent(this)},je.EMPTY=((e=new je).closed=!0,e);var Ye=je,Ue=Ye.EMPTY;function je(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ge(e){return e instanceof Ye||e&&"closed"in e&&He(e.remove)&&He(e.add)&&He(e.unsubscribe)}function Ve(e){He(e)?e():e.unsubscribe()}var qe=void 0,Xe=!1,Ze=!1,Je={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o=Je.delegate;return null!=o&&o.setTimeout?o.setTimeout.apply(o,Re([e,t],Oe(r))):setTimeout.apply(void 0,Re([e,t],Oe(r)))},clearTimeout:function(e){var t=Je.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ke(){}var Qe=null;function et(e){if(Xe){var t=!Qe;if(t&&(Qe={errorThrown:!1,error:null}),e(),t){var t=Qe,r=t.errorThrown,t=t.error;if(Qe=null,r)throw t}}else e()}Ne(ot,tt=Ye),ot.create=function(e,t,r){return new lt(e,t,r)},ot.prototype.next=function(e){this.isStopped||this._next(e)},ot.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},ot.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},ot.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,tt.prototype.unsubscribe.call(this),this.destination=null)},ot.prototype._next=function(e){this.destination.next(e)},ot.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},ot.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var tt,rt=ot,it=Function.prototype.bind;function ot(e){var t=tt.call(this)||this;return t.isStopped=!1,e?Ge(t.destination=e)&&e.add(t):t.destination=pt,t}function nt(e,t){return it.call(e,t)}ut.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){dt(e)}},ut.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){dt(e)}else dt(e)},ut.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){dt(e)}};var at,st=ut,lt=(Ne(ct,at=rt),ct);function ct(e,t,r){var i=at.call(this)||this,r=He(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:i&&Ze?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&nt(e.next,t),error:e.error&&nt(e.error,t),complete:e.complete&&nt(e.complete,t)}):e;return i.destination=new st(r),i}function ut(e){this.partialObserver=e}function dt(e){var t=e;Je.setTimeout(function(){throw t})}var pt={closed:!0,next:Ke,error:function(e){throw e},complete:Ke},e="function"==typeof Symbol&&Symbol.observable||"@@observable";function ht(e){return e}ft.prototype.lift=function(e){var t=new ft;return t.source=this,t.operator=e,t},ft.prototype.subscribe=function(e,t,r){var i,o=this,n=(i=e)&&i instanceof rt||i&&He(i.next)&&He(i.error)&&He(i.complete)&&Ge(i)?e:new lt(e,t,r);return et(function(){var e=o.operator,t=o.source;n.add(e?e.call(n,t):t?o._subscribe(n):o._trySubscribe(n))}),n},ft.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ft.prototype.forEach=function(i,e){var o=this;return new(e=gt(e))(function(e,t){var r=new lt({next:function(e){try{i(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});o.subscribe(r)})},ft.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},ft.prototype[e]=function(){return this},ft.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?ht:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},ft.prototype.toPromise=function(e){var i=this;return new(e=gt(e))(function(e,t){var r;i.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},ft.create=function(e){return new ft(e)};var mt=ft;function ft(e){e&&(this._subscribe=e)}function gt(e){return null!=(e=null!=e?e:qe)?e:Promise}var yt,vt,bt,wt=$e(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Ne(Tt,bt=mt),Tt.prototype.lift=function(e){var t=new _t(this,this);return t.operator=e,t},Tt.prototype._throwIfClosed=function(){if(this.closed)throw new wt},Tt.prototype.next=function(o){var n=this;et(function(){var t,e;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var r=Fe(n.currentObservers),i=r.next();!i.done;i=r.next())i.value.next(o)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Tt.prototype.error=function(t){var r=this;et(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},Tt.prototype.complete=function(){var t=this;et(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Tt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Tt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Tt.prototype._trySubscribe=function(e){return this._throwIfClosed(),bt.prototype._trySubscribe.call(this,e)},Tt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Tt.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,o=this.observers;return r||i?Ue:(this.currentObservers=null,o.push(e),new Ye(function(){t.currentObservers=null,We(o,e)}))},Tt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},Tt.prototype.asObservable=function(){var e=new mt;return e.source=this,e},Tt.create=function(e,t){return new _t(e,t)},Tt),_t=(Ne(At,vt=e),At.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},At.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},At.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},At.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ue},At),xt={now:function(){return(xt.delegate||Date).now()},delegate:void 0},Ct=(Ne(Pt,yt=e),Pt.prototype.next=function(e){var t=this,r=t.isStopped,i=t._buffer,o=t._infiniteTimeWindow,n=t._timestampProvider,t=t._windowTime;r||(i.push(e),o||i.push(n.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),r=this._infiniteTimeWindow,i=this._buffer.slice(),o=0;o<i.length&&!e.closed;o+=r?1:2)e.next(i[o]);return this._checkFinalizedStatuses(e),t},Pt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var n=t.now(),a=0,s=1;s<r.length&&r[s]<=n;s+=2)a=s;a&&r.splice(0,a+1)}},Pt);function Pt(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=xt);var i=yt.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function At(e,t){var r=vt.call(this)||this;return r.destination=e,r.source=t,r}function Tt(){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 Et=[],St={};const Mt=[];function Dt(i,o=ie){let n;const a=new Set;function s(e){if(t(i,e)&&(i=e,n)){const e=!Mt.length;for(const e of a)e[1](),Mt.push(e,i);if(e){for(let e=0;e<Mt.length;e+=2)Mt[e][0](Mt[e+1]);Mt.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=ie){const r=[e,t];return a.add(r),1===a.size&&(n=o(s)||ie),e(i),()=>{a.delete(r),0===a.size&&(n(),n=null)}}}}function It(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:Dt(t,t=>{let r=!1;const i=[];let o=0,n=ie;const a=()=>{var e;o||(n(),e=s(l?i[0]:i,t),u?t(e):n=me(e)?e:ie)},e=c.map((e,t)=>p(e,e=>{i[t]=e,o&=~(1<<t),r&&a()},()=>{o|=1<<t}));return r=!0,a(),function(){cr(e),n()}}).subscribe}}function Bt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===kt));var t}var kt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Lt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ht(Array.isArray(e)?[]:{},e,t):e}function Nt(e,t,r){return e.concat(t).map(function(e){return Lt(e,r)})}function Ft(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Ot(e,t){try{return t in e}catch(e){return!1}}function Rt(i,o,n){var a={};return n.isMergeableObject(i)&&Ft(i).forEach(function(e){a[e]=Lt(i[e],n)}),Ft(o).forEach(function(t){var e,r;(!Ot(e=i,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(Ot(i,t)&&n.isMergeableObject(o[t])?a[t]=function(e){if(!e.customMerge)return Ht;e=e.customMerge(t);return"function"==typeof e?e:Ht}(n)(i[t],o[t],n):a[t]=Lt(o[t],n))}),a}function Ht(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Nt,r.isMergeableObject=r.isMergeableObject||Bt,r.cloneUnlessOtherwiseSpecified=Lt;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):Rt(e,t,r):Lt(t,r)}Ht.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Ht(e,t,r)},{});throw new Error("first argument should be an array")};var $t=Ht,zt=function(e,t){return(zt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function Wt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}zt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var f,y,Yt,v=function(){return(v=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Ut(e,t,r){if(r||2===arguments.length)for(var i,o=0,n=t.length;o<n;o++)!i&&o in t||((i=i||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function jt(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 Xt(e){return e.type===y.select}function Zt(e){return e.type===y.plural}function Jt(e){return e.type===y.tag}function Kt(e){return e&&"object"==typeof e&&e.type===Yt.number}function Qt(e){return e&&"object"==typeof e&&e.type===Yt.dateTime}(e=f=f||{})[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(e=y=y||{})[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",(e=Yt=Yt||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,er=/(?:[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 tr=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,rr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ir=/^(@+)?(\+|#+)?[rs]?$/g,or=/(\*)(0+)|(#+)(0+)|(0+)/g,nr=/^(0+)$/;function ar(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(ir,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function sr(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 lr(e){return sr(e)||{}}function Pr(e){for(var a={},t=0,r=e;t<r.length;t++){var i,o=r[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=v(v(v({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return v(v({},e),lr(t))},{}));continue;case"engineering":a=v(v(v({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return v(v({},e),lr(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(or,function(e,t,r,i,o,n){if(t)a.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(n)throw new Error("We currently do not support exact integer digits")}return""});continue}if(nr.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(rr.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(rr,function(e,t,r,i,o,n){return"*"===r?a.minimumFractionDigits=t.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:o&&n?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+n.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var n=o.options[0];"w"===n?a=v(v({},a),{trailingZeroDisplay:"stripIfInteger"}):n&&(a=v(v({},a),ar(n)))}else ir.test(o.stem)?a=v(v({},a),ar(o.stem)):((n=sr(o.stem))&&(a=v(v({},a),n)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!nr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=v(v({},a),i)))}return a}var Ar={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 Tr=new RegExp("^".concat(e.source,"*")),Er=new RegExp("".concat(e.source,"*$"));function b(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,Sr=!!String.fromCodePoint,Mr=!!Object.fromEntries,Ir=!!String.prototype.codePointAt,Br=!!String.prototype.trimStart,kr=!!String.prototype.trimEnd,Lr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Nr=!0;try{Nr="a"===(null==(ri=Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ri[0])}catch(l){Nr=!1}var Fr,Or,Rr=e?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Hr=Sr?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",o=e.length,n=0;n<o;){if(1114111<(r=e[n++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},$r=Mr?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var o=i[r],n=o[0],o=o[1];t[n]=o}return t},zr=Ir?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},Wr=Br?function(e){return e.trimStart()}:function(e){return e.replace(Tr,"")},Yr=kr?function(e){return e.trimEnd()}:function(e){return e.replace(Er,"")};function Ur(e,t){return new RegExp(e,t)}Or=Nr?(Fr=Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Fr.lastIndex=t,null!=(t=Fr.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var o=zr(e,t);if(void 0===o||Vr(o)||(33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;i.push(o),t+=65536<=o?2:1}return Hr.apply(void 0,i)};n.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},n.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var o,n=this.char();if(123===n){if((o=this.parseArgument(e,r)).err)return o;i.push(o.val)}else{if(125===n&&0<e)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(f.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Gr(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;i.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;i.push(o.val)}}else{n=this.clonePosition();this.bump(),i.push({type:y.pound,location:b(n,this.clonePosition())})}}}return{val:i,err:null}},n.prototype.parseTag=function(e,t){var r=this.clonePosition(),i=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(i,"/>"),location:b(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Gr(this.char()))return this.error(f.INVALID_TAG,b(e,this.clonePosition()));var o=this.clonePosition();return i!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,b(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:b(r,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,b(e,this.clonePosition())))}return this.error(f.UNCLOSED_TAG,b(r,this.clonePosition()))}return this.error(f.INVALID_TAG,b(r,this.clonePosition()))},n.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())},n.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(t);if(o)i+=o;else{o=this.tryParseUnquoted(e,t);if(o)i+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;i+=o}}}r=b(r,this.clonePosition());return{val:{type:y.literal,value:i,location:r},err:null}},n.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Gr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},n.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Hr.apply(void 0,t)},n.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Hr(r))},n.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,b(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(f.MALFORMED_ARGUMENT,b(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:b(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(f.MALFORMED_ARGUMENT,b(r,this.clonePosition()))}},n.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Or(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:b(e,this.clonePosition())}},n.prototype.parseArgumentOptions=function(e,t,r,i){var o,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,b(n,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(h=Yr(m.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:b(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(i)).err)return c;var u=b(i,this.clonePosition());if(l&&Rr(null==l?void 0:l.style,"::",0)){var d=Wr(l.style.slice(2));if("number"===a)return(m=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?m:{val:{type:y.number,value:r,location:u,style:m.val},err:null};if(0===d.length)return this.error(f.EXPECT_DATE_TIME_SKELETON,u);var p=d,h=(this.locale&&(p=function(e,t){for(var r="",i=0;i<e.length;i++){var o=e.charAt(i);if("j"===o){for(var n=0;i+1<e.length&&e.charAt(i+1)===o;)n++,i++;var a=1+(1&n),s=n<2?1:3+(n>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Ar[t||""]||Ar[r||""]||Ar["".concat(r,"-001")]||Ar["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===o?"H":o}return r}(d,this.locale)),{type:Yt.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},p.replace(er,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.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":o.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":o.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":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.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":o.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""}),o):{}});return{val:{type:"date"===a?y.date:y.time,value:r,location:u,style:h},err:null}}return{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:r,location:u,style:null!=(d=null==l?void 0:l.style)?d:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,b(p,v({},p)));this.bumpSpace();var m,h=this.parseIdentifierIfPossible(),u=0;if("select"!==a&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),h=this.parseIdentifierIfPossible(),u=m.val}l=this.tryParsePluralOrSelectOptions(e,a,t,h);if(l.err)return l;if((c=this.tryParseArgumentClose(i)).err)return c;d=b(i,this.clonePosition());return"select"===a?{val:{type:y.select,value:r,options:$r(l.val),location:d},err:null}:{val:{type:y.plural,value:r,options:$r(l.val),offset:u,pluralType:"plural"===a?"cardinal":"ordinal",location:d},err:null};default:return this.error(f.INVALID_ARGUMENT_TYPE,b(n,s))}},n.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},n.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(r,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}},n.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,i=e.split(tr).filter(function(e){return 0<e.length});r<i.length;r++){var o=i[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var n=o[0],o=o.slice(1),a=0,s=o;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:n,options:o})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:Yt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Pr(r):{}},err:null}},n.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var o=!1,n=[],a=new Set,s=i.value,l=i.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=b(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(a.has(s))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(o=!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,b(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;n.push([s,{value:c.val,location:b(u,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===n.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(f.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:n,err:null}},n.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,n=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,n=10*n+(a-48),this.bump()}i=b(i,this.clonePosition());return o?Lr(n*=r)?{val:n,err:null}:this.error(t,i):this.error(e,i)},n.prototype.offset=function(){return this.position.offset},n.prototype.isEOF=function(){return this.offset()===this.message.length},n.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},n.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=zr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},n.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},n.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))},n.prototype.bumpIf=function(e){if(Rr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},n.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)},n.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}},n.prototype.bumpSpace=function(){for(;!this.isEOF()&&Vr(this.char());)this.bump()},n.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var jr=n;function n(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 Gr(e){return 97<=e&&e<=122||65<=e&&e<=90}function Vr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function qr(e,t){t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new jr(e,t).parse();if(e.err)throw(r=SyntaxError(f[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,Xt(e)||Zt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Gt(e)&&Kt(e.style)||(Vt(e)||qt(e))&&Qt(e.style)?delete e.style.location:Jt(e)&&r(e.children)})}(e.val),e.val}function Xr(e,t){var r=t&&t.cache?t.cache:ii,i=t&&t.serializer?t.serializer:Qr;return(t&&t.strategy?t.strategy:function(e,t){return Kr(e,this,1===e.length?Zr:Jr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function Zr(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),o=t.get(r);return void 0===o&&(o=e.call(this,i),t.set(r,o)),o}function Jr(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),o=t.get(r);return void 0===o&&(o=e.apply(this,i),t.set(r,o)),o}function Kr(e,t,r,i,o){return r.bind(t,e,i,o)}var Qr=function(){return JSON.stringify(arguments)};function ei(){this.cache=Object.create(null)}ei.prototype.get=function(e){return this.cache[e]},ei.prototype.set=function(e,t){this.cache[e]=t};var ti,ri,ii={create:function(){return new ei}},oi={variadic:function(e,t){return Kr(e,this,Jr,t.cache.create(),t.serializer)},monadic:function(e,t){return Kr(e,this,Zr,t.cache.create(),t.serializer)}};(ri=ti=ti||{}).MISSING_VALUE="MISSING_VALUE",ri.INVALID_VALUE="INVALID_VALUE",ri.MISSING_INTL_API="MISSING_INTL_API";Wt(yi,ci=Error),yi.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var ni,ai,si,li,ci,ui=yi,di=(Wt(gi,li=ui),gi),pi=(Wt(fi,si=ui),fi),hi=(Wt(mi,ai=ui),mi);function mi(e,t){return ai.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ti.MISSING_VALUE,t)||this}function fi(e,t,r){return si.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ti.INVALID_VALUE,r)||this}function gi(e,t,r,i){return li.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ti.INVALID_VALUE,i)||this}function yi(e,t,r){e=ci.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function vi(e,t,r,i,o,n,a){if(1===e.length&&jt(e[0]))return[{type:ni.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(jt(u))s.push({type:ni.literal,value:u.value});else if(u.type===y.pound)"number"==typeof n&&s.push({type:ni.literal,value:r.getNumberFormat(t).format(n)});else{var d=u.value;if(!(o&&d in o))throw new hi(d,a);d=o[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?ni.literal:ni.object,value:d});else if(Vt(u)){var p="string"==typeof u.style?i.date[u.style]:Qt(u.style)?u.style.parsedOptions:void 0;s.push({type:ni.literal,value:r.getDateTimeFormat(t,p).format(d)})}else if(qt(u))p="string"==typeof u.style?i.time[u.style]:Qt(u.style)?u.style.parsedOptions:i.time.medium,s.push({type:ni.literal,value:r.getDateTimeFormat(t,p).format(d)});else if(Gt(u))(p="string"==typeof u.style?i.number[u.style]:Kt(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(d*=p.scale||1),s.push({type:ni.literal,value:r.getNumberFormat(t,p).format(d)});else{if(Jt(u)){var h=u.children,m=u.value,f=o[m];if("function"!=typeof f)throw new pi(m,"function",a);m=f(vi(h,t,r,i,o,n).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?ni.literal:ni.object,value:e}}))}if(Xt(u)){if(!(g=u.options[d]||u.options.other))throw new di(u.value,d,Object.keys(u.options),a);s.push.apply(s,vi(g.value,t,r,i,o))}else if(Zt(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new ui('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ti.MISSING_INTL_API,a);var f=r.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new di(u.value,d,Object.keys(u.options),a);s.push.apply(s,vi(g.value,t,r,i,o,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===ni.literal&&t.type===ni.literal?r.value+=t.value:e.push(t),e},[])}function bi(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(e=ni=ni||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(_i,"defaultLocale",{get:function(){return _i.memoizedDefaultLocale||(_i.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),_i.memoizedDefaultLocale},enumerable:!1,configurable:!0}),_i.memoizedDefaultLocale=null,_i.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])},_i.__parse=qr,_i.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 wi=_i;function _i(e,t,r,i){var o,n,a=this;if(void 0===t&&(t=_i.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===ni.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return vi(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=_i.resolveLocale(t),"string"==typeof e){if(this.message=e,!_i.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=_i.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=_i.formats,(n=r)?Object.keys(o).reduce(function(e,t){var r,i;return e[t]=(r=o[t],(i=n[t])?v(v(v({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=v(v({},r[t]),i[t]||{}),e},{})):r),e},v({},o)):o),this.formatters=i&&i.formatters||{getNumberFormat:Xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Ut([void 0],t,!1)))},{cache:bi((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:oi.variadic}),getDateTimeFormat:Xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Ut([void 0],t,!1)))},{cache:bi(t.dateTime),strategy:oi.variadic}),getPluralRules:Xr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Ut([void 0],t,!1)))},{cache:bi(t.pluralRules),strategy:oi.variadic})}}const xi={},Ci=(e,t,r)=>r&&(t in xi||(xi[t]={}),e in xi[t]||(xi[t][e]=r),r),Pi=(t,r)=>{if(null!=r){if(r in xi&&t in xi[r])return xi[r][t];var i=Hi(r);for(let e=0;e<i.length;e++){var o=function(e,r){if(!Ei(e))return null;e=function(e){return Ai[e]||null}(e);{var i=r;if(null==i)return;if(i in e)return e[i];const o=i.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const i=o.slice(e,o.length).join(".");if(i in t){t=t[i];break}}t=t[o[e]]}else t=void 0;return t}}(i[e],t);if(o)return Ci(t,r,o)}}};let Ai;const Ti=Dt({});function Ei(e){return e in Ai}function se(t,...r){delete xi[t],Ti.update(e=>(e[t]=$t.all([e[t]||{},...r]),e))}It([Ti],([e])=>Object.keys(e)),Ti.subscribe(e=>Ai=e);const Si={};function Mi(e){return Si[e]}function Di(e){return null!=e&&Hi(e).some(e=>{return null==(e=Mi(e))?void 0:e.size})}const Ii={};function Bi(e){if(!Di(e))return e in Ii?Ii[e]:Promise.resolve();const t=Hi(e).map(e=>{var t=Mi(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Ii[e]=Promise.all(t.map(([e,t])=>{{var i=e;e=t;const r=Promise.all(e.map(e=>{var t=i,r=e;return Si[t].delete(r),0===Si[t].size&&delete Si[t],e().then(e=>e.default||e)}));return r.then(e=>se(i,...e))}})).then(()=>{if(Di(e))return Bi(e);delete Ii[e]}),Ii[e]}function ki(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]]);return r}const Li={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};const Ni=Dt(!1);let Fi;const Oi=Dt(null);function Ri(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Hi(e,t=Li.fallbackLocale){e=Ri(e);return t?[...new Set([...e,...Ri(t)])]:e}function $i(){return null!=Fi?Fi:void 0}Oi.subscribe(e=>{Fi=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const le=Object.assign(Object.assign({},Oi),{set:t=>{if(t&&function(e){if(null!=e){var t=Hi(e);for(let e=0;e<t.length;e++){var r=t[e];if(Ei(r))return r}}}(t)&&Di(t)){var r=Li["loadingDelay"];let e;return"undefined"!=typeof window&&null!=$i()&&r?e=window.setTimeout(()=>Ni.set(!0),r):Ni.set(!0),Bi(t).then(()=>{Oi.set(t)}).finally(()=>{clearTimeout(e),Ni.set(!1)})}return Oi.set(t)}}),zi=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},Wi=(e,t)=>{var r=Li["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yi=zi(e=>{var{locale:t,format:r}=e,e=ki(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Wi("number",r)),new Intl.NumberFormat(t,e)}),Ui=zi(e=>{var{locale:t,format:r}=e,e=ki(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Wi("date",r):0===Object.keys(e).length&&(e=Wi("date","short")),new Intl.DateTimeFormat(t,e)}),ji=zi(e=>{var{locale:t,format:r}=e,e=ki(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Wi("time",r):0===Object.keys(e).length&&(e=Wi("time","short")),new Intl.DateTimeFormat(t,e)}),Gi=zi((e,t=$i())=>new wi(e,t,Li.formats,{ignoreTag:Li.ignoreTag})),ce=It([le,Ti],()=>(e,t={})=>{var r,i;let o=t;"object"==typeof e&&(e=(o=e).id);var{values:n,locale:a=$i(),default:s}=o;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Pi(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(r=null==(r=(i=Li).handleMissingMessage)?void 0:r.call(i,{locale:a,id:e,defaultValue:s}))?r:s)?i:e;if(!n)return l;let c=l;try{c=Gi(l,a).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),ue=(It([le],()=>(e,t)=>((e={})=>{var{locale:t=$i()}=e,e=ki(e,["locale"]);return ji(Object.assign({locale:t},e))})(t).format(e)),It([le],()=>(e,t)=>((e={})=>{var{locale:t=$i()}=e,e=ki(e,["locale"]);return Ui(Object.assign({locale:t},e))})(t).format(e)),It([le],()=>(e,t)=>((e={})=>{var{locale:t=$i()}=e,e=ki(e,["locale"]);return Yi(Object.assign({locale:t},e))})(t).format(e)),It([le,Ti],()=>(e,t=$i())=>Pi(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Et.indexOf(e)&&(t=new Ct(t),St[e]=t,Et.push(e)),St[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),Vi={en:{playerAccount:{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"}},fr:{playerAccount:{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:{playerAccount:{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:{playerAccount:{profileUpdateSuccess:"Perfil actualizado!",timeoutSuccess:"Tiempo límite activo",selfExclusionSuccess:"Autoexclusión activa.",accountClosureSuccess:"Cuenta cerrada",limitsUpdateSuccess:"Límites actualizados",limitsDeleteSuccess:"Límites excluidos",passwordChangedSuccess:"Contraseña cambiada con éxito",realityCheckSuccess:"Opciones de verificación de la realidad guardadas"}},pt:{playerAccount:{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"}}},qi={en:{myAccount:{title:"My Account"}},fr:{myAccount:{title:"Mon compte"}},tr:{myAccount:{title:"Hesabım"}},ro:{myAccount:{title:"Contul meu"}},es:{myAccount:{title:"Mi Cuenta"}},pt:{myAccount:{title:"Minha Conta"}}},Xi={en:{logout:{logoutButton:"Logout"}},fr:{logout:{logoutButton:"Logout"}},tr:{logout:{logoutButton:"Çıkış Yap"}},ro:{logout:{logoutButton:"Iesire"}},es:{logout:{logoutButton:"Salir"}},pt:{logout:{logoutButton:"Sair"}}};function Zi(r){let i,o,n,a,s,l,c=r[1]("logout.logoutButton")+"";return{c(){i=hr("div"),o=hr("button"),n=hr("span"),a=fr(c),vr(i,"class","GeneralLogout"),vr(i,"part","GeneralLogout")},m(e,t){dr(e,i,t),ur(i,o),ur(o,n),ur(n,a),s||(l=yr(o,"click",r[9]),s=!0)},p(e,t){2&t&&c!==(c=e[1]("logout.logoutButton")+"")&&br(a,c)},d(e){e&&pr(i),s=!1,l()}}}function Ji(n){let r,i,o,a,s,l,c,u,d,p,h,m=!n[2]&&function(){let r,i,o=n[1]("logout.logoutButton")+"";return{c(){r=hr("span"),i=fr(o),vr(r,"class","PlayerLogoutText"),vr(r,"part","PlayerLogoutText")},m(e,t){dr(e,r,t),ur(r,i)},p(e,t){2&t&&o!==(o=e[1]("logout.logoutButton")+"")&&br(i,o)},d(e){e&&pr(r)}}}();return{c(){r=hr("p"),i=hr("span"),o=mr("svg"),a=mr("defs"),s=mr("style"),l=fr(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"),c=mr("path"),u=mr("path"),d=gr(),m&&m.c(),vr(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),vr(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"),vr(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),vr(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"),vr(o,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),vr(o,"data-name","Layer 1"),vr(o,"xmlns","http://www.w3.org/2000/svg"),vr(o,"viewBox","0 0 150 150"),D(i,"width",n[2]?n[3].matches?"50px":"24px":"20px"),vr(r,"class","PlayerAccountMenuItemBox "+(n[2]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[3].matches&&n[2]?"PlayerAccountMenuItemBoxTablet":"")),vr(r,"part","PlayerAccountMenuItemBox "+(n[2]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[3].matches&&n[2]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){dr(e,r,t),ur(r,i),ur(i,o),ur(o,a),ur(a,s),ur(s,l),ur(o,c),ur(o,u),ur(r,d),m&&m.m(r,null),p||(h=yr(r,"click",n[8]),p=!0)},p(e,t){e[2]||m.p(e,t)},d(e){e&&pr(r),m&&m.d(),p=!1,h()}}}function Ki(e){let r;function i(e){return"PlayerAccountMenu"===e[0]?Ji:Zi}let o=i(e),n=o(e);return{c(){n.c(),r=N(),this.c=ie},m(e,t){n.m(e,t),dr(e,r,t)},p(e,[t]){o===(o=i(e))&&n?n.p(e,t):(n.d(1),(n=o(e))&&(n.c(),n.m(r.parentNode,r)))},i:ie,o:ie,d(e){n.d(e),e&&pr(r)}}}function Qi(t,e,r){let i,{endpoint:o=""}=(ae(t,ce,e=>r(1,i=e)),e),{session:n=""}=e,{buttonlocation:a=""}=e,{lang:s=""}=e,l="",c=!1,u=window.navigator.userAgent,d="PC"!==ue(u);e=window.matchMedia("(min-width: 768px)");Object.keys(Xi).forEach(e=>{se(e,Xi[e])});const p=()=>{let e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",n),fetch(o+"/player/session/player",{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"})})};return t.$$set=e=>{"endpoint"in e&&r(5,o=e.endpoint),"session"in e&&r(6,n=e.session),"buttonlocation"in e&&r(0,a=e.buttonlocation),"lang"in e&&r(7,s=e.lang)},t.$$.update=()=>{var e;97&t.$$.dirty&&o&&n&&a&&(o||(l="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",c=!0,console.error(l)),n||(l="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",c=!0,console.error(l))),128&t.$$.dirty&&s&&(e=s,le.set(e))},[a,i,d,e,p,o,n,s,()=>p(),()=>p()]}function eo(e,t,r){const i=e.slice();return i[23]=t[r],i}function to(r){let i,o,n,e,t,a,s,l,c,u,d,p,h,m,f=r[23].label+"";function g(){return r[14](r[23])}return{c(){i=hr("div"),o=hr("p"),n=hr("img"),s=gr(),l=hr("span"),c=fr(f),u=gr(),vr(n,"class",e="PlayerAccountMenuItemIcon "+(r[7]?"PlayerAccountMenuItemIconMobile":"")),vr(n,"part",t="PlayerAccountMenuItemIcon "+(r[7]?"PlayerAccountMenuItemIconMobile":"")),P(n.src,a=r[23].img)||vr(n,"src",a),vr(l,"class","PlayerAccountMenuItemTitle"),vr(l,"part","PlayerAccountMenuItemTitle"),vr(o,"class","PlayerAccountMenuItemWrapper"),vr(o,"part","PlayerAccountMenuItemWrapper"),vr(i,"class",d="PlayerAccountMenuItemBox "+(r[3]!==r[23].id||r[7]?"":"PlayerAccountMenuActiveItemBox")),vr(i,"part",p="PlayerAccountMenuItemBox "+(r[3]!==r[23].id||r[7]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){dr(e,i,t),ur(i,o),ur(o,n),ur(o,s),ur(o,l),ur(l,c),ur(i,u),h||(m=yr(i,"click",g),h=!0)},p(e,t){r=e,4&t&&!P(n.src,a=r[23].img)&&vr(n,"src",a),4&t&&f!==(f=r[23].label+"")&&br(c,f),12&t&&d!==(d="PlayerAccountMenuItemBox "+(r[3]!==r[23].id||r[7]?"":"PlayerAccountMenuActiveItemBox"))&&vr(i,"class",d),12&t&&p!==(p="PlayerAccountMenuItemBox "+(r[3]!==r[23].id||r[7]?"":"PlayerAccountMenuActiveItemBox"))&&vr(i,"part",p)},d(e){e&&pr(i),h=!1,m()}}}function ro(e){let r,i=function(t){let r,i,o,n,a,s,l,c,u,d,p,h,m=t[7]&&function(r){let i,o,n,a,s,l,c,u,d,p,h,m,f,g=r[6]("myAccount.title")+"";return{c(){i=hr("div"),o=mr("svg"),n=mr("defs"),a=mr("style"),s=fr(".aaa{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=mr("g"),c=mr("g"),u=mr("path"),d=gr(),p=hr("h3"),h=fr(g),vr(u,"class","aaa"),vr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),vr(u,"transform","translate(15 15) rotate(180)"),vr(c,"transform","translate(20 158)"),vr(l,"transform","translate(-20 -158)"),vr(o,"xmlns","http://www.w3.org/2000/svg"),vr(o,"width","15"),vr(o,"height","15"),vr(o,"viewBox","0 0 15 15"),vr(p,"class","PlayerAccountMenuCategoryTitle"),vr(p,"part","PlayerAccountMenuCategoryTitle"),vr(i,"class","PlayerAccountMenuCategoryWrapper"),vr(i,"part","PlayerAccountMenuCategoryWrapper")},m(e,t){dr(e,i,t),ur(i,o),ur(o,n),ur(n,a),ur(a,s),ur(o,l),ur(l,c),ur(c,u),ur(i,d),ur(i,p),ur(p,h),m||(f=[yr(o,"click",r[9]),yr(p,"click",r[9])],m=!0)},p(e,t){64&t&&g!==(g=e[6]("myAccount.title")+"")&&br(h,g)},d(e){e&&pr(i),m=!1,cr(f)}}}(t),f=t[7]&&function(e){let r,i;return{c(){r=hr("div"),oe(i=hr("general-logout"),"endpoint",e[1]),oe(i,"session",e[0]),oe(i,"buttonlocation","PlayerAccountMenu"),vr(r,"class","PlayerAccountLogOutArea"),vr(r,"part","PlayerAccountLogOutArea")},m(e,t){dr(e,r,t),ur(r,i)},p(e,t){2&t&&oe(i,"endpoint",e[1]),1&t&&oe(i,"session",e[0])},d(e){e&&pr(r)}}}(t),g=t[2],y=[];for(let e=0;e<g.length;e+=1)y[e]=to(eo(t,g,e));let v=!t[7]&&function(e){let r,i;return{c(){r=hr("div"),oe(i=hr("general-logout"),"endpoint",e[1]),oe(i,"session",e[0]),oe(i,"buttonlocation","PlayerAccountMenu"),vr(r,"class","PlayerAccountLogOutArea"),vr(r,"part","PlayerAccountLogOutArea")},m(e,t){dr(e,r,t),ur(r,i)},p(e,t){2&t&&oe(i,"endpoint",e[1]),1&t&&oe(i,"session",e[0])},d(e){e&&pr(r)}}}(t);return{c(){r=hr("div"),i=hr("div"),m&&m.c(),o=gr(),n=hr("p"),a=fr(t[4]),s=gr(),l=hr("p"),c=fr(t[5]),u=gr(),f&&f.c(),d=gr(),p=hr("div");for(let e=0;e<y.length;e+=1)y[e].c();h=gr(),v&&v.c(),vr(n,"class","PlayerAccountMenuUser"),vr(n,"part","PlayerAccountMenuUser"),vr(l,"class","PlayerAccountMenuEmail"),vr(l,"part","PlayerAccountMenuEmail"),vr(i,"class","PlayerAccountMenuHeader"),vr(i,"part","PlayerAccountMenuHeader"),vr(p,"class","PlayerAccountMenuList"),vr(p,"part","PlayerAccountMenuList"),vr(r,"class","PlayerAccountMenuContainer "+(t[7]?"PlayerAccountMobileContainer":"")+" "+(t[8].matches&&t[7]?"PlayerAccountTabletContainer":"")),vr(r,"part","PlayerAccountMenuContainer "+(t[7]?"PlayerAccountMobileContainer":"")+" "+(t[8].matches&&t[7]?"PlayerAccountTabletContainer":""))},m(e,t){dr(e,r,t),ur(r,i),m&&m.m(i,null),ur(i,o),ur(i,n),ur(n,a),ur(i,s),ur(i,l),ur(l,c),ur(i,u),f&&f.m(i,null),ur(r,d),ur(r,p);for(let e=0;e<y.length;e+=1)y[e].m(p,null);ur(r,h),v&&v.m(r,null)},p(t,r){if(t[7]&&m.p(t,r),16&r&&br(a,t[4]),32&r&&br(c,t[5]),t[7]&&f.p(t,r),1164&r){let e;for(g=t[2],e=0;e<g.length;e+=1){var i=eo(t,g,e);y[e]?y[e].p(i,r):(y[e]=to(i),y[e].c(),y[e].m(p,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[7]||v.p(t,r)},d(e){e&&pr(r),m&&m.d(),f&&f.d(),_r(y,e),v&&v.d()}}}(e);return{c(){i.c(),r=N(),this.c=ie},m(e,t){i.m(e,t),dr(e,r,t)},p(e,[t]){i.p(e,t)},i:ie,o:ie,d(e){i.d(e),e&&pr(r)}}}function io(r,e,i){let t;ae(r,ce,e=>i(6,t=e));let o,{endpoint:n=""}=e,{session:a=""}=e,{playerid:s=""}=e,{lang:l="en"}=e,{selecteditem:c=""}=e,u=[],d=window.navigator.userAgent,p="PC"!==ue(d),h="",m="";e=window.matchMedia("(min-width: 768px)");Object.keys(qi).forEach(e=>{se(e,qi[e])});const f=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":i(2,u=e.data.accountMenuInfo);break;case"UserSessionID":i(0,a=e.data.session);break;case"ChangeAccountPage":y()}},g=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),i(3,o=e.id)},y=()=>{i(3,o=c)};return pe(()=>(window.addEventListener("message",f,!1),()=>{window.removeEventListener("message",f)})),r.$$set=e=>{"endpoint"in e&&i(1,n=e.endpoint),"session"in e&&i(0,a=e.session),"playerid"in e&&i(11,s=e.playerid),"lang"in e&&i(12,l=e.lang),"selecteditem"in e&&i(13,c=e.selecteditem)},r.$$.update=()=>{var e,t;4096&r.$$.dirty&&l&&(t=l,le.set(t)),6147&r.$$.dirty&&n&&a&&s&&l&&(t=new URL(`${n}/player/${s}/profile`),e={method:"GET",headers:{"X-SessionID":a}},fetch(t.href,e).then(e=>e.json()).then(e=>{i(4,h=e.username),i(5,m=e.email)},e=>{console.error(e)})),8192&r.$$.dirty&&c&&y()},[a,n,u,o,h,m,t,p,e,()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href)},g,s,l,c,e=>g(e)]}function oo(e,t,r){const i=e.slice();return i[8]=t[r],i}function no(t){let o,n=t[0],a=[];for(let e=0;e<n.length;e+=1)a[e]=ao(oo(t,n,e));return{c(){o=hr("div");for(let e=0;e<a.length;e+=1)a[e].c();vr(o,"class","PlayerAccountNotificationsContainer "+(t[1]&&t[2].matches?"PlayerAccountNotificationsTabletContainer":t[1]?"PlayerAccountNotificationsMobileContainer":"")),vr(o,"part","PlayerAccountNotificationsContainer "+(t[1]&&t[2].matches?"PlayerAccountNotificationsTabletContainer":t[1]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){dr(e,o,t);for(let e=0;e<a.length;e+=1)a[e].m(o,null)},p(t,r){if(1&r){let e;for(n=t[0],e=0;e<n.length;e+=1){var i=oo(t,n,e);a[e]?a[e].p(i,r):(a[e]=ao(i),a[e].c(),a[e].m(o,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=n.length}},d(e){e&&pr(o),_r(a,e)}}}function ao(e){let r,i,o,n,a,s,l,c,u,d,p,h=e[8].title+"",m=e[8].description+"";return{c(){r=hr("div"),i=hr("div"),o=hr("img"),s=gr(),l=hr("p"),c=fr(h),u=gr(),d=hr("p"),p=gr(),vr(o,"class","PlayerAccountNotificationIcon"),vr(o,"part","PlayerAccountNotificationIcon"),P(o.src,n=e[8].icon)||vr(o,"src",n),vr(o,"alt",a=e[8].title),vr(l,"class","PlayerAccountNotificationTitle"),vr(l,"part","PlayerAccountNotificationTitle"),vr(i,"class","PlayerAccountNotificationBoxHeader"),vr(i,"part","PlayerAccountNotificationBoxHeader"),vr(d,"class","PlayerAccountNotificationText"),vr(d,"part","PlayerAccountNotificationText"),vr(r,"class","PlayerAccountNotificationBox"),vr(r,"part","PlayerAccountNotificationBox"),D(r,"background",e[8].backgroundColor)},m(e,t){dr(e,r,t),ur(r,i),ur(i,o),ur(i,s),ur(i,l),ur(l,c),ur(r,u),ur(r,d),d.innerHTML=m,ur(r,p)},p(e,t){1&t&&!P(o.src,n=e[8].icon)&&vr(o,"src",n),1&t&&a!==(a=e[8].title)&&vr(o,"alt",a),1&t&&h!==(h=e[8].title+"")&&br(c,h),1&t&&m!==(m=e[8].description+"")&&(d.innerHTML=m),1&t&&D(r,"background",e[8].backgroundColor)},d(e){e&&pr(r)}}}function so(e){let r;function i(e){if(e[0].length)return no}let o=i(e),n=o&&o(e);return{c(){n&&n.c(),r=N(),this.c=ie},m(e,t){n&&n.m(e,t),dr(e,r,t)},p(e,[t]){o===(o=i(e))&&n?n.p(e,t):(n&&n.d(1),(n=o&&o(e))&&(n.c(),n.m(r.parentNode,r)))},i:ie,o:ie,d(e){n&&n.d(e),e&&pr(r)}}}function lo(e,t,r){let{customnotif:i=""}=t,o=window.navigator.userAgent,n="PC"!==ue(o),a=[],s=[];const l=window.matchMedia("(min-width: 768px)"),c=e=>{e.data&&"NotificationsDetails"===e.data.type&&(r(0,a=e.data.notificationsInfo),a.forEach(e=>{s.length&&(e.backgroundColor=s[0],s.shift())}))},u=()=>{i.replace(" ",""),s=i.split(",")};return pe(()=>(window.addEventListener("message",c,!1),()=>{window.removeEventListener("message",c)})),e.$$set=e=>{"customnotif"in e&&r(3,i=e.customnotif)},e.$$.update=()=>{8&e.$$.dirty&&i&&u(),1&e.$$.dirty&&a&&u()},[a,n,l,i]}customElements.get("general-logout")||customElements.define("general-logout",class extends o{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::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:not(:last-child){border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMenuItemBox svg{fill: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-color-white, #FFFFFF)}</style>",i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Qi,Ki,t,{endpoint:5,session:6,buttonlocation:0,lang:7},null),e&&(e.target&&dr(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["endpoint","session","buttonlocation","lang"]}get endpoint(){return this.$$.ctx[5]}set endpoint(e){this.$$set({endpoint:e}),g()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),g()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),g()}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),g()}}),customElements.get("player-account-menu")||customElements.define("player-account-menu",class extends o{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountMenuContainer{color:var(--emfe-w-color-white, #FFFFFF);position:relative;height:100vh;display:flex;flex-direction:column}.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-color-white, #FFFFFF);flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-color-gray-300, #58586B)}.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:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMobileContainer{height:unset;color:var(--emfe-w-color-contrast, #07072A)}.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:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-color-primary, #D0046C);border-bottom:1px solid var(--emfe-w-color-primary, #D0046C)}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.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}</style>",i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},io,ro,t,{endpoint:1,session:0,playerid:11,lang:12,selecteditem:13},null),e&&(e.target&&dr(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["endpoint","session","playerid","lang","selecteditem"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),g()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),g()}get playerid(){return this.$$.ctx[11]}set playerid(e){this.$$set({playerid:e}),g()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),g()}get selecteditem(){return this.$$.ctx[13]}set selecteditem(e){this.$$set({selecteditem:e}),g()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends o{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.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}</style>",i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},lo,so,t,{customnotif:3},null),e&&(e.target&&dr(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["customnotif"]}get customnotif(){return this.$$.ctx[3]}set customnotif(e){this.$$set({customnotif:e}),g()}});const co={en:{timeout:{title:"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",cooloff24:"CoolOffFor24Hours",cooloff7:"CoolOffFor7Days",cooloff30:"CoolOffFor30Days",cooloff3:"CoolOffFor3Months",cooloff24Text:"24 hours",cooloff7Text:"7 days",cooloff30Text:"30 days",cooloff3Text:"3 months"}},fr:{timeout:{title:"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",cooloff24:"Pause de 24 heures",cooloff7:"Pause de 7 jours",cooloff30:"Pause de 30 jours",cooloff3:"Pause de 3 mois",cooloff24Text:"24 heures",cooloff7Text:"7 jours",cooloff30Text:"30 jours",cooloff3Text:"3 mois"}},ro:{timeout:{title:"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ă",cooloff24:"24 ore",cooloff7:"7 zile",cooloff30:"30 zile",cooloff3:"3 luni",cooloff24Text:"24 ore",cooloff7Text:"7 zile",cooloff30Text:"30 zile",cooloff3Text:"3 luni"}},es:{timeout:{title:"Tiempo agotado",timeoutTextFirst:"{operatorname} ofrece una manera fácil de tomar un descanso de los juegos. Puedes solicitar el bloqueo automático de tu cuenta durante 24 horas. Durante la restricción temporal, no podrá acceder a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la "Facilidad de tiempo de espera" no reemplaza en ningún caso la "Autoexclusión". Si cree que tiene un problema de adicción al juego, vaya al enlace "Juego responsable" y use el "Servicio de autoexclusión" o comuníquese con nosotros lo antes posible.',save:"Guardar",cooloff24:"Autoexclusión por 24 horas",cooloff7:"Autoexclusión por 7 días",cooloff30:"Autoexclusión por 30 días",cooloff3:"Autoexclusión por 3 meses",cooloff24Text:"24 horas",cooloff7Text:"7 días",cooloff30Text:"30 días",cooloff3Text:"3 meses"}},pt:{timeout:{title:"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",cooloff24:"Autoexclusão por 24 horas",cooloff7:"Autoexclusão por 7 dias",cooloff30:"Autoexclusão por 30 dias",cooloff3:"Autoexclusão por 3 meses",cooloff24Text:"24 horas",cooloff7Text:"7 dias",cooloff30Text:"30 dias30 dias",cooloff3Text:"3 meses"}}};function uo(e,t,r){const i=e.slice();return i[13]=t[r].value,i[14]=t[r].text,i}function po(e){let r,i,t,o=e[14]+"";return{c(){r=hr("option"),i=fr(o),r.__value=t=e[13],r.value=r.__value},m(e,t){dr(e,r,t),ur(r,i)},p:ie,d(e){e&&pr(r)}}}function ho(r){let i,o,n,a,s,l,c,u,d,p,h,m,f,g,y,v,b,w,_,x,e=r[2]("timeout.title")+"",C=r[2]("timeout.timeoutTextFirst",{values:{operatorname:r[0]}})+"",P=r[2]("timeout.timeoutTextSecondary")+"",A=r[2]("timeout.save")+"",T=r[3]&&function(r){let i,o,n,a,s,l,c,u,d,p,h,m,f,g=r[2]("timeout.title")+"";return{c(){i=hr("div"),o=mr("svg"),n=mr("defs"),a=mr("style"),s=fr(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=mr("g"),c=mr("g"),u=mr("path"),d=gr(),p=hr("h2"),h=fr(g),vr(u,"class","aaa"),vr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),vr(u,"transform","translate(15 15) rotate(180)"),vr(c,"transform","translate(20 158)"),vr(l,"transform","translate(-20 -158)"),vr(o,"xmlns","http://www.w3.org/2000/svg"),vr(o,"width","15"),vr(o,"height","15"),vr(o,"viewBox","0 0 15 15"),vr(p,"class","TimeoutTitleMobile"),vr(p,"part","TimeoutTitleMobile"),vr(i,"class","MenuReturnButton"),vr(i,"part","MenuReturnButton")},m(e,t){dr(e,i,t),ur(i,o),ur(o,n),ur(n,a),ur(a,s),ur(o,l),ur(l,c),ur(c,u),ur(i,d),ur(i,p),ur(p,h),m||(f=yr(i,"click",r[8]),m=!0)},p(e,t){4&t&&g!==(g=e[2]("timeout.title")+"")&&br(h,g)},d(e){e&&pr(i),m=!1,f()}}}(r),E=r[4],S=[];for(let e=0;e<E.length;e+=1)S[e]=po(uo(r,E,e));return{c(){i=hr("div"),T&&T.c(),o=gr(),n=hr("h2"),a=fr(e),s=gr(),l=hr("div"),c=hr("p"),u=fr(C),d=gr(),p=hr("p"),h=fr(P),m=gr(),f=hr("div"),g=hr("select");for(let e=0;e<S.length;e+=1)S[e].c();y=gr(),v=hr("div"),b=hr("button"),w=fr(A),this.c=ie,vr(n,"class","TimeoutTitle "+(r[3]?"TimeoutTitleNone":"")),vr(n,"part","TimeoutTitle "+(r[3]?"TimeoutTitleNone":"")),vr(l,"class","TimeoutDescription "+(r[3]?"TimeoutDescriptionMobile":"")),vr(l,"part","TimeoutDescription "+(r[3]?"TimeoutDescriptionMobile":"")),vr(g,"class","TimeoutSelect "+(r[3]?"TimeoutSelectMobile":"")),vr(g,"part","TimeoutSelect "+(r[3]?"TimeoutSelectMobile":"")),void 0===r[1]&&Cr(()=>r[9].call(g)),vr(f,"class","TimeoutSelectWrapper"),vr(f,"part","TimeoutSelectWrapper"),vr(b,"class","TimeoutSave"),vr(b,"part","TimeoutSave"),vr(v,"class","TimeoutActionButtons "+(r[3]?"TimeoutActionButtonsMobile":"")),vr(v,"part","TimeoutActionButtons "+(r[3]?"TimeoutActionButtonsMobile":"")),vr(i,"class","TimeoutWrapper "+(r[3]?"TimeoutWrapperMobile":"")),vr(i,"part","TimeoutWrapper "+(r[3]?"TimeoutWrapperMobile":""))},m(e,t){dr(e,i,t),T&&T.m(i,null),ur(i,o),ur(i,n),ur(n,a),ur(i,s),ur(i,l),ur(l,c),ur(c,u),ur(l,d),ur(l,p),ur(p,h),ur(i,m),ur(i,f),ur(f,g);for(let e=0;e<S.length;e+=1)S[e].m(g,null);xr(g,r[1]),ur(i,y),ur(i,v),ur(v,b),ur(b,w),_||(x=[yr(g,"change",r[9]),yr(b,"click",r[10])],_=!0)},p(t,[r]){if(t[3]&&T.p(t,r),4&r&&e!==(e=t[2]("timeout.title")+"")&&br(a,e),5&r&&C!==(C=t[2]("timeout.timeoutTextFirst",{values:{operatorname:t[0]}})+"")&&br(u,C),4&r&&P!==(P=t[2]("timeout.timeoutTextSecondary")+"")&&br(h,P),16&r){let e;for(E=t[4],e=0;e<E.length;e+=1){var i=uo(t,E,e);S[e]?S[e].p(i,r):(S[e]=po(i),S[e].c(),S[e].m(g,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=E.length}18&r&&xr(g,t[1]),4&r&&A!==(A=t[2]("timeout.save")+"")&&br(w,A)},i:ie,o:ie,d(e){e&&pr(i),T&&T.d(),_r(S,e),_=!1,cr(x)}}}function mo(t,e,r){let i,{operator:o="Everymatrix"}=(ae(t,ce,e=>r(2,i=e)),e),{lang:n="en"}=e,a=window.navigator.userAgent,s="PC"!==ue(a),l=(Object.keys(co).forEach(e=>{se(e,co[e])}),[{value:i("timeout.cooloff24"),text:i("timeout.cooloff24Text")},{value:i("timeout.cooloff7"),text:i("timeout.cooloff7Text")},{value:i("timeout.cooloff30"),text:i("timeout.cooloff30Text")},{value:i("timeout.cooloff3"),text:i("timeout.cooloff3Text")}]),c=l[0].value;const u=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:c},window.location.href)},d=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:s},window.location.href)};return t.$$set=e=>{"operator"in e&&r(0,o=e.operator),"lang"in e&&r(7,n=e.lang)},t.$$.update=()=>{var e;128&t.$$.dirty&&n&&(e=n,le.set(e))},[o,c,i,s,l,u,d,n,()=>d(),function(){c=de(this),r(1,c),r(4,l)},()=>u()]}customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends o{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.TimeoutWrapper{color:var(--emfe-w-color-contrast, #07072A);padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.TimeoutTitle{font-size:26px;color: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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color: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}</style>",i(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},mo,ho,t,{operator:0,lang:7},null),e&&(e.target&&dr(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["operator","lang"]}get operator(){return this.$$.ctx[0]}set operator(e){this.$$set({operator:e}),g()}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),g()}});go=fo={path:void 0,exports:{},require:function(e,t){return Dr(null==t&&fo.path)}},fo.exports,go.exports=function(){var F;function m(){return F.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function O(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function H(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function $(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function z(e,t){for(var r=[],i=e.length,o=0;o<i;++o)r.push(t(e[o],o));return r}function W(e,t){for(var r in t)f(t,r)&&(e[r]=t[r]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,r,i){return It(e,t,r,i,!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 Y(e){if(null==e._isValid){var t=g(e),r=j.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function U(e){var t=c(NaN);return null!=e?W(g(t),e):g(t).userInvalidated=!0,t}var j=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,i=0;i<r;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},G=m.momentProperties=[],V=!1;function q(e,t){var r,i,o,n=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<n)for(r=0;r<n;r++)s(o=t[i=G[r]])||(e[i]=o);return e}function X(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,m.updateOffset(this),V=!1)}function l(e){return e instanceof X||null!=e&&null!=e._isAMomentObject}function Z(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(n,a){var s=!0;return W(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,n),s){for(var e,t,r=[],i=arguments.length,o=0;o<i;o++){if(e="","object"==typeof arguments[o]){for(t in e+="\n["+o+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[o];r.push(e)}Z(n+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),s=!1}return a.apply(this,arguments)},a)}var J={};function K(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),J[e]||(Z(t),J[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var r,i=W({},e);for(r in t)f(t,r)&&(O(e[r])&&O(t[r])?(i[r]={},W(i[r],e[r]),W(i[r],t[r])):null!=t[r]?i[r]=t[r]:delete i[r]);for(r in e)f(e,r)&&!f(t,r)&&O(e[r])&&(i[r]=W({},i[r]));return i}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,r=[];for(t in e)f(e,t)&&r.push(t);return r};function n(e,t,r){var i=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var re=/(\[[^\[]*\])|(\\)?([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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},ne={};function i(e,t,r,i){var o="string"==typeof i?function(){return this[i]()}:i;e&&(ne[e]=o),t&&(ne[t[0]]=function(){return n(o.apply(this,arguments),t[1],t[2])}),r&&(ne[r]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=se(t,e.localeData()),oe[t]=oe[t]||function(i){for(var e,o=i.match(re),t=0,n=o.length;t<n;t++)ne[o[t]]?o[t]=ne[o[t]]:o[t]=(e=o[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<n;r++)t+=u(o[r])?o[r].call(e,i):o[r];return t}}(t),oe[t](e)):e.localeData().invalidDate()}function se(e,t){var r=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=r&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--r;return e}var le={};function t(e,t){var r=e.toLowerCase();le[r]=le[r+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,r,i={};for(r in e)f(e,r)&&(t=d(r))&&(i[t]=e[r]);return i}var ue={};function r(e,t){ue[e]=t}function de(e){return e%4==0&&e%100!=0||e%400==0}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function h(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?p(e):t}function pe(t,r){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,r),this):he(this,t)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(r=h(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Le(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var o=/\d/,y=/\d\d/,fe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,we=/\d{1,3}/,_e=/\d{1,4}/,xe=/[+-]?\d{1,6}/,Ce=/\d+/,Pe=/[+-]?\d+/,Ae=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,b=/[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;function w(e,r,i){Se[e]=u(r)?r:function(e,t){return e&&i?i:r}}function Ee(e,t){return f(Se,e)?Se[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,i,o){return t||r||i||o})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Se={},Me={};function x(e,r){var t,i,o=r;for("string"==typeof e&&(e=[e]),H(r)&&(o=function(e,t){t[r]=h(e)}),i=e.length,t=0;t<i;t++)Me[e[t]]=o}function De(e,o){x(e,function(e,t,r,i){r._w=r._w||{},o(e,r._w,r,i)})}var C,P=0,A=1,T=2,E=3,S=4,M=5,Ie=6,Be=7,ke=8;function Le(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=(t%(r=12)+r)%r;return e+=(t-r)/12,1==r?de(e)?29:28:31-r%7%2}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),r("month",8),w("M",v),w("MM",v,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[A]=h(e)-1}),x(["MMM","MMMM"],function(e,t,r,i){i=r._locale.monthsParse(e,i,r._strict);null!=i?t[A]=i:g(r).invalidMonth=e});var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Fe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=b,He=b;function $e(e,t){var r;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=h(t);else if(!H(t=e.localeData().monthsParse(t)))return;r=Math.min(e.date(),Le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function ze(e){return null!=e?($e(this,e),m.updateOffset(this,!0),this):he(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,r=[],i=[],o=[],n=0;n<12;n++)t=c([2e3,n]),r.push(this.monthsShort(t,"")),i.push(this.months(t,"")),o.push(this.months(t,"")),o.push(this.monthsShort(t,""));for(r.sort(e),i.sort(e),o.sort(e),n=0;n<12;n++)r[n]=_(r[n]),i[n]=_(i[n]);for(n=0;n<24;n++)o[n]=_(o[n]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ye(e){return de(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?n(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),r("year",1),w("Y",Pe),w("YY",v,y),w("YYYY",_e,ge),w("YYYYY",xe,ye),w("YYYYYY",xe,ye),x(["YYYYY","YYYYYY"],P),x("YYYY",function(e,t){t[P]=2===e.length?m.parseTwoDigitYear(e):h(e)}),x("YY",function(e,t){t[P]=m.parseTwoDigitYear(e)}),x("Y",function(e,t){t[P]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return h(e)+(68<h(e)?1900:2e3)};var Ue=pe("FullYear",!0);function je(e,t,r,i,o,n,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,r,i,o,n,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,i,o,n,a),s}function Ge(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 Ve(e,t,r){r=7+t-r;return-(7+Ge(e,0,r).getUTCDay()-t)%7+r-1}function qe(e,t,r,i,o){var n,t=1+7*(t-1)+(7+r-i)%7+Ve(e,i,o),r=t<=0?Ye(n=e-1)+t:t>Ye(e)?(n=e+1,t-Ye(e)):(n=e,t);return{year:n,dayOfYear:r}}function Xe(e,t,r){var i,o,n=Ve(e.year(),t,r),n=Math.floor((e.dayOfYear()-n-1)/7)+1;return n<1?i=n+D(o=e.year()-1,t,r):n>D(e.year(),t,r)?(i=n-D(e.year(),t,r),o=e.year()+1):(o=e.year(),i=n),{week:i,year:o}}function D(e,t,r){var i=Ve(e,t,r),t=Ve(e+1,t,r);return(Ye(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),r("week",5),r("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),De(["w","ww","W","WW"],function(e,t,r,i){t[i.substr(0,1)]=h(e)});function Ze(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),r("day",11),r("weekday",11),r("isoWeekday",11),w("d",v),w("e",v),w("E",v),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),De(["dd","ddd","dddd"],function(e,t,r,i){i=r._locale.weekdaysParse(e,i,r._strict);null!=i?t.d=i:g(r).invalidWeekday=e}),De(["d","e","E"],function(e,t,r,i){t[i]=h(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,rt=b;function it(){function e(e,t){return t.length-e.length}for(var t,r,i,o=[],n=[],a=[],s=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=_(this.weekdaysMin(i,"")),r=_(this.weekdaysShort(i,"")),i=_(this.weekdays(i,"")),o.push(t),n.push(r),a.push(i),s.push(t),s.push(r),s.push(i);o.sort(e),n.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function ot(){return this.hours()%12||12}function nt(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function at(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,ot),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+ot.apply(this)+n(this.minutes(),2)}),i("hmmss",0,0,function(){return""+ot.apply(this)+n(this.minutes(),2)+n(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+n(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+n(this.minutes(),2)+n(this.seconds(),2)}),nt("a",!0),nt("A",!1),t("hour","h"),r("hour",13),w("a",at),w("A",at),w("H",v),w("h",v),w("k",v),w("HH",v,y),w("hh",v,y),w("kk",v,y),w("hmm",ve),w("hmmss",be),w("Hmm",ve),w("Hmmss",be),x(["H","HH"],E),x(["k","kk"],function(e,t,r){e=h(e);t[E]=24===e?0:e}),x(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),x(["h","hh"],function(e,t,r){t[E]=h(e),g(r).bigHour=!0}),x("hmm",function(e,t,r){var i=e.length-2;t[E]=h(e.substr(0,i)),t[S]=h(e.substr(i)),g(r).bigHour=!0}),x("hmmss",function(e,t,r){var i=e.length-4,o=e.length-2;t[E]=h(e.substr(0,i)),t[S]=h(e.substr(i,2)),t[M]=h(e.substr(o)),g(r).bigHour=!0}),x("Hmm",function(e,t,r){var i=e.length-2;t[E]=h(e.substr(0,i)),t[S]=h(e.substr(i))}),x("Hmmss",function(e,t,r){var i=e.length-4,o=e.length-2;t[E]=h(e.substr(0,i)),t[S]=h(e.substr(i,2)),t[M]=h(e.substr(o))});b=pe("Hours",!0);var st,lt={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:Ne,monthsShort:Fe,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},I={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,r,i,o,n=0;n<e.length;){for(t=(o=ut(e[n]).split("-")).length,r=(r=ut(e[n+1]))?r.split("-"):null;0<t;){if(i=pt(o.slice(0,t).join("-")))return i;if(r&&r.length>=t&&function(e,t){for(var r=Math.min(e.length,t.length),i=0;i<r;i+=1)if(e[i]!==t[i])return i;return r}(o,r)>=t-1)break;t--}n++}return st}function pt(t){var e;if(void 0===I[t]&&go&&go.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Dr(),ht(e)}catch(e){I[t]=null}return I[t]}function ht(e,t){return e&&((t=s(t)?B(e):mt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function mt(e,t){if(null===t)return delete I[e],null;var r,i=lt;if(t.abbr=e,null!=I[e])K("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."),i=I[e]._config;else if(null!=t.parentLocale)if(null!=I[t.parentLocale])i=I[t.parentLocale]._config;else{if(null==(r=pt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=r._config}return I[e]=new ee(Q(i,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),ht(e),I[e]}function B(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!a(e)){if(t=pt(e))return t;e=[e]}return dt(e)}function ft(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[A]<0||11<t[A]?A:t[T]<1||t[T]>Le(t[P],t[A])?T:t[E]<0||24<t[E]||24===t[E]&&(0!==t[S]||0!==t[M]||0!==t[Ie])?E:t[S]<0||59<t[S]?S:t[M]<0||59<t[M]?M:t[Ie]<0||999<t[Ie]?Ie:-1,g(e)._overflowDayOfYear&&(t<P||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=Be),g(e)._overflowWeekday&&-1===t&&(t=ke),g(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,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=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((-?\d+)/i,xt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pt(e){var t,r,i,o,n,a,s=e._i,l=gt.exec(s)||yt.exec(s),s=bt.length,c=wt.length;if(l){for(g(e).iso=!0,t=0,r=s;t<r;t++)if(bt[t][1].exec(l[1])){o=bt[t][0],i=!1!==bt[t][2];break}if(null==o)return e._isValid=!1;if(l[3]){for(t=0,r=c;t<r;t++)if(wt[t][1].exec(l[3])){n=(l[2]||" ")+wt[t][0];break}if(null==n)return e._isValid=!1}if(!i&&null!=n)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=o+(n||"")+(a||""),Mt(e)}else e._isValid=!1}function At(e,t,r,i,o,n){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Fe.indexOf(t),parseInt(r,10),parseInt(i,10),parseInt(o,10)];return n&&e.push(parseInt(n,10)),e}function Tt(e){var t,r,i,o,n=xt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));n?(t=At(n[4],n[3],n[2],n[5],n[6],n[7]),r=n[1],i=t,o=e,r&&Ke.indexOf(r)!==new Date(i[0],i[1],i[2]).getDay()?(g(o).weekdayMismatch=!0,o._isValid=!1):(e._a=t,e._tzm=(r=n[8],i=n[9],o=n[10],r?Ct[r]:i?0:((r=parseInt(o,10))-(i=r%100))/100*60+i),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Et(e,t,r){return null!=e?e:null!=t?t:r}function St(e){var t,r,i,o,n,a,s,l,c,u,d,p=[];if(!e._d){for(u=e,d=new Date(m.now()),r=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[A]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(a=1,s=4,i=Et(d.GG,u._a[P],Xe(k(),1,4).year),o=Et(d.W,1),((n=Et(d.E,1))<1||7<n)&&(l=!0)):(a=u._locale._week.dow,s=u._locale._week.doy,c=Xe(k(),a,s),i=Et(d.gg,u._a[P],c.year),o=Et(d.w,c.week),null!=d.d?((n=d.d)<0||6<n)&&(l=!0):null!=d.e?(n=d.e+a,(d.e<0||6<d.e)&&(l=!0)):n=a),o<1||o>D(i,a,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=qe(i,o,n,a,s),u._a[P]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=Et(e._a[P],r[P]),(e._dayOfYear>Ye(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ge(d,0,e._dayOfYear),e._a[A]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=r[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[E]&&0===e._a[S]&&0===e._a[M]&&0===e._a[Ie]&&(e._nextDay=!0,e._a[E]=0),e._d=(e._useUTC?Ge:je).apply(null,p),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[E]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,r,i,o=""+e._i,n=o.length,a=0,s=(r=se(e._f,e._locale).match(re)||[]).length,l=0;l<s;l++)i=r[l],(t=(o.match(Ee(i,e))||[])[0])&&(0<(d=o.substr(0,o.indexOf(t))).length&&g(e).unusedInput.push(d),o=o.slice(o.indexOf(t)+t.length),a+=t.length),ne[i]?(t?g(e).empty=!1:g(e).unusedTokens.push(i),d=i,h=e,null!=(p=t)&&f(Me,d)&&Me[d](p,h._a,h,d)):e._strict&&!t&&g(e).unusedTokens.push(i);g(e).charsLeftOver=n-a,0<o.length&&g(e).unusedInput.push(o),e._a[E]<=12&&!0===g(e).bigHour&&0<e._a[E]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[E]=(n=e._locale,c=e._a[E],null==(u=e._meridiem)?c:null!=n.meridiemHour?n.meridiemHour(c,u):null!=n.isPM?((n=n.isPM(u))&&c<12&&(c+=12),c=n||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[P]=e._locale.erasConvertYear(u,e._a[P])),St(e),ft(e)}else Tt(e);else Pt(e);var c,u,d,p,h}function Dt(e){var t,r=e._i,i=e._f;{var o,n;if(e._locale=e._locale||B(e._l),null===r||void 0===i&&""===r)return U({nullInput:!0});else return"string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new X(ft(r)):($(r)?e._d=r:a(i)?function(e){var t,r,i,o,n,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(o=0;o<l;o++)n=0,a=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Mt(t),Y(t)&&(a=!0),n=(n+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=n,s?n<i&&(i=n,r=t):(null==i||n<i||a)&&(i=n,r=t,a&&(s=!0));W(e,r||t)}(e):i?Mt(e):s(i=(r=e)._i)?r._d=new Date(m.now()):$(i)?r._d=new Date(i.valueOf()):"string"==typeof i?(o=r,null===(n=_t.exec(o._i))?(Pt(o),!1===o._isValid&&(delete o._isValid,Tt(o),!1===o._isValid&&(delete o._isValid,o._strict?o._isValid=!1:m.createFromInputFallback(o)))):o._d=new Date(+n[1])):a(i)?(r._a=z(i.slice(0),function(e){return parseInt(e,10)}),St(r)):O(i)?(o=r)._d||(t=void 0===(n=ce(o._i)).day?n.date:n.day,o._a=z([n.year,n.month,t,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),St(o)):H(i)?r._d=new Date(i):m.createFromInputFallback(r),Y(e)||(e._d=null),e)}}function It(e,t,r,i,o){var n={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==r&&!1!==r||(i=r,r=void 0),(O(e)&&R(e)||a(e)&&0===e.length)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=o,n._l=r,n._i=e,n._f=t,n._strict=i,(o=new X(ft(Dt(o=n))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function k(e,t,r,i){return It(e,t,r,i,!1)}m.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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:U()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=k.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:U()});function Bt(e,t){var r,i;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return k();for(r=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](r)||(r=t[i]);return r}var kt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Lt(e){var e=ce(e),t=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,n=e.day||0,a=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,r,i=!1,o=kt.length;for(t in e)if(f(e,t)&&(-1===C.call(kt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<o;++r)if(e[kt[r]]){if(i)return!1;parseFloat(e[kt[r]])!==h(e[kt[r]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*a*60*60,this._days=+n+7*o,this._months=+i+3*r+12*t,this._data={},this._locale=B(),this._bubble()}function Nt(e){return e instanceof Lt}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ot(e,r){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+n(~~(e/60),2)+r+n(~~e%60,2)})}Ot("Z",":"),Ot("ZZ",""),w("Z",Te),w("ZZ",Te),x(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ht(Te,e)});var Rt=/([\+\-]|\d\d)/gi;function Ht(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+h(e[2]))?0:"+"===e[0]?t:-t}function $t(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||$(e)?e:k(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),m.updateOffset(t,!1),t):k(e).local()}function zt(e){return-Math.round(e._d.getTimezoneOffset())}function Wt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Yt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function L(e,t){var r,i,o=e,n=null;return Nt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:H(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(n=Yt.exec(e))?(r="-"===n[1]?-1:1,o={y:0,d:h(n[T])*r,h:h(n[E])*r,m:h(n[S])*r,s:h(n[M])*r,ms:h(Ft(1e3*n[Ie]))*r}):(n=Ut.exec(e))?(r="-"===n[1]?-1:1,o={y:jt(n[2],r),M:jt(n[3],r),w:jt(n[4],r),d:jt(n[5],r),h:jt(n[6],r),m:jt(n[7],r),s:jt(n[8],r)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(t=k(o.from),n=k(o.to),r=t.isValid()&&n.isValid()?(n=$t(n,t),t.isBefore(n)?i=Gt(t,n):((i=Gt(n,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(o={}).ms=r.milliseconds,o.M=r.months),n=new Lt(o),Nt(e)&&f(e,"_locale")&&(n._locale=e._locale),Nt(e)&&f(e,"_isValid")&&(n._isValid=e._isValid),n}function jt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Gt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Vt(i,o){return function(e,t){var r;return null===t||isNaN(+t)||(K(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=e,e=t,t=r),qt(this,L(e,t),i),this}}function qt(e,t,r,i){var o=t._milliseconds,n=Ft(t._days),t=Ft(t._months);e.isValid()&&(i=null==i||i,t&&$e(e,he(e,"Month")+t*r),n&&me(e,"Date",he(e,"Date")+n*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&m.updateOffset(e,n||t))}L.fn=Lt.prototype,L.invalid=function(){return L(NaN)};Ne=Vt(1,"add"),Je=Vt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function Zt(e){return l(e)||$(e)||Xt(e)||H(e)||(r=a(t=e),i=!1,r&&(i=0===t.filter(function(e){return!H(e)&&Xt(t)}).length),r&&i)||function(e){var t,r,i=O(e)&&!R(e),o=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=n.length;for(t=0;t<a;t+=1)r=n[t],o=o||f(e,r);return i&&o}(e)||null==e;var t,r,i}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var r=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(r,"months");return-(r+(t-i<0?(t-i)/(i-e.clone().add(r-1,"months")):(t-i)/(e.clone().add(1+r,"months")-i)))||0}function Kt(e){return void 0===e?this._locale._abbr:(null!=(e=B(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=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)});function Qt(){return this._locale}var er=126227808e5;function tr(e,t){return(e%t+t)%t}function rr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-er:new Date(e,t,r).valueOf()}function ir(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-er:Date.UTC(e,t,r)}function or(e,t){return t.erasAbbrRegex(e)}function nr(){for(var e=[],t=[],r=[],i=[],o=this.eras(),n=0,a=o.length;n<a;++n)t.push(_(o[n].name)),e.push(_(o[n].abbr)),r.push(_(o[n].narrow)),i.push(_(o[n].name)),i.push(_(o[n].abbr)),i.push(_(o[n].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ar(e,t){i(0,[e,e.length],0,t)}function sr(e,t,r,i,o){var n;return null==e?Xe(this,i,o).year:(t>(n=D(e,i,o))&&(t=n),function(e,t,r,i,o){e=qe(e,t,r,i,o),t=Ge(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,r,i,o))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",or),w("NN",or),w("NNN",or),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,i){i=r._locale.erasParse(e,i,r._strict);i?g(r).era=i:g(r).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),x(["y","yy","yyy","yyyy"],P),x(["yo"],function(e,t,r,i){var o;r._locale._eraYearOrdinalRegex&&(o=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[P]=r._locale.eraYearOrdinalParse(e,o):t[P]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ar("gggg","weekYear"),ar("ggggg","weekYear"),ar("GGGG","isoWeekYear"),ar("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),r("weekYear",1),r("isoWeekYear",1),w("G",Pe),w("g",Pe),w("GG",v,y),w("gg",v,y),w("GGGG",_e,ge),w("gggg",_e,ge),w("GGGGG",xe,ye),w("ggggg",xe,ye),De(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,i){t[i.substr(0,2)]=h(e)}),De(["gg","GG"],function(e,t,r,i){t[i]=m.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),r("quarter",7),w("Q",o),x("Q",function(e,t){t[A]=3*(h(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),r("date",9),w("D",v),w("DD",v,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],T),x("Do",function(e,t){t[T]=h(e.match(v)[0])});_e=pe("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),r("dayOfYear",4),w("DDD",we),w("DDDD",fe),x(["DDD","DDDD"],function(e,t,r){r._dayOfYear=h(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),r("minute",14),w("m",v),w("mm",v,y),x(["m","mm"],S);ge=pe("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),r("second",15),w("s",v),w("ss",v,y),x(["s","ss"],M);var lr,xe=pe("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),r("millisecond",16),w("S",we,o),w("SS",we,y),w("SSS",we,fe),lr="SSSS";lr.length<=9;lr+="S")w(lr,Ce);function cr(e,t){t[Ie]=h(1e3*("0."+e))}for(lr="S";lr.length<=9;lr+="S")x(lr,cr);ye=pe("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");o=X.prototype;function ur(e){return e}o.add=Ne,o.calendar=function(e,t){1===arguments.length&&(arguments[0]?Zt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=O(e)&&!R(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o=0;o<i.length;o+=1)r=r||f(e,i[o]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||k(),r=$t(e,this).startOf("day"),r=m.calendarFormat(this,r)||"sameElse",t=t&&(u(t[r])?t[r].call(this,e):t[r]);return this.format(t||this.localeData().calendar(r,this,k(e)))},o.clone=function(){return new X(this)},o.diff=function(e,t,r){var i,o,n;if(!this.isValid())return NaN;if(!(i=$t(e,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),t=d(t)){case"year":n=Jt(this,i)/12;break;case"month":n=Jt(this,i);break;case"quarter":n=Jt(this,i)/3;break;case"second":n=(this-i)/1e3;break;case"minute":n=(this-i)/6e4;break;case"hour":n=(this-i)/36e5;break;case"day":n=(this-i-o)/864e5;break;case"week":n=(this-i-o)/6048e5;break;default:n=this-i}return r?n:p(n)},o.endOf=function(e){var t,r;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ir:rr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tr(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},o.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},o.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||k(e).isValid())?L({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},o.fromNow=function(e){return this.from(k(),e)},o.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||k(e).isValid())?L({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},o.toNow=function(e){return this.to(k(),e)},o.get=function(e){return u(this[e=d(e)])?this[e]():this},o.invalidAt=function(){return g(this).overflow},o.isAfter=function(e,t){return e=l(e)?e:k(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},o.isBefore=function(e,t){return e=l(e)?e:k(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},o.isBetween=function(e,t,r,i){return e=l(e)?e:k(e),t=l(t)?t:k(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===i[1]?this.isBefore(t,r):!this.isAfter(t,r))},o.isSame=function(e,t){var e=l(e)?e:k(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()))},o.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},o.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},o.isValid=function(){return Y(this)},o.lang=Qe,o.locale=Kt,o.localeData=Qt,o.max=be,o.min=ve,o.parsingFlags=function(){return W({},g(this))},o.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)f(e,t)&&r.push({unit:t,priority:ue[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=ce(e)),i=r.length,o=0;o<i;o++)this[r[o].unit](e[r[o].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},o.startOf=function(e){var t,r;if(void 0===(e=d(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ir:rr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tr(t,6e4);break;case"second":t=this._d.valueOf(),t-=tr(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},o.subtract=Je,o.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},o.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},o.toDate=function(){return new Date(this.valueOf())},o.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ae(t,"Z")):ae(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},o.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",r="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},o.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},o.eraName=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},o.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},o.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},o.eraYear=function(){for(var e,t,r=this.localeData().eras(),i=0,o=r.length;i<o;++i)if(e=r[i].since<=r[i].until?1:-1,t=this.clone().startOf("day").valueOf(),r[i].since<=t&&t<=r[i].until||r[i].until<=t&&t<=r[i].since)return(this.year()-m(r[i].since).year())*e+r[i].offset;return this.year()},o.year=Ue,o.isLeapYear=function(){return de(this.year())},o.weekYear=function(e){return sr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},o.isoWeekYear=function(e){return sr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},o.quarter=o.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},o.month=ze,o.daysInMonth=function(){return Le(this.year(),this.month())},o.week=o.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},o.isoWeek=o.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},o.weeksInYear=function(){var e=this.localeData()._week;return D(this.year(),e.dow,e.doy)},o.weeksInWeekYear=function(){var e=this.localeData()._week;return D(this.weekYear(),e.dow,e.doy)},o.isoWeeksInYear=function(){return D(this.year(),1,4)},o.isoWeeksInISOWeekYear=function(){return D(this.isoWeekYear(),1,4)},o.date=_e,o.day=o.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,r,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,r=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=r.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},o.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},o.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,r=this.localeData(),r="string"==typeof t?r.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?r:r-7)):this.day()||7:null!=e?this:NaN;var t,r},o.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")},o.hour=o.hours=b,o.minute=o.minutes=ge,o.second=o.seconds=xe,o.millisecond=o.milliseconds=ye,o.utcOffset=function(e,t,r){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?o:zt(this);if("string"==typeof e){if(null===(e=Ht(Te,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(i=zt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?qt(this,L(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},o.utc=function(e){return this.utcOffset(0,e)},o.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},o.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ht(Ae,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},o.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?k(e).utcOffset():0,(this.utcOffset()-e)%60==0)},o.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},o.isLocal=function(){return!!this.isValid()&&!this._isUTC},o.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},o.isUtc=Wt,o.isUTC=Wt,o.zoneAbbr=function(){return this._isUTC?"UTC":""},o.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},o.dates=e("dates accessor is deprecated. Use date instead.",_e),o.months=e("months accessor is deprecated. Use month instead",ze),o.years=e("years accessor is deprecated. Use year instead",Ue),o.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()}),o.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return q(t,this),(t=Dt(t))._a?(e=(t._isUTC?c:k)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,r){for(var i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),n=0,a=0;a<i;a++)(r&&e[a]!==t[a]||!r&&h(e[a])!==h(t[a]))&&n++;return n+o}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function dr(e,t,r,i){var o=B(),i=c().set(i,t);return o[r](i,e)}function pr(e,t,r){if(H(e)&&(t=e,e=void 0),e=e||"",null!=t)return dr(e,t,r,"month");for(var i=[],o=0;o<12;o++)i[o]=dr(e,o,r,"month");return i}function hr(e,t,r,i){t=("boolean"==typeof e||(r=t=e,e=!1),H(t)&&(r=t,t=void 0),t||"");var o,n=B(),a=e?n._week.dow:0,s=[];if(null!=r)return dr(t,(r+a)%7,i,"day");for(o=0;o<7;o++)s[o]=dr(t,(o+a)%7,i,"day");return s}y.calendar=function(e,t,r){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(re).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=ur,y.postformat=ur,y.relativeTime=function(e,t,r,i){var o=this._relativeTime[r];return u(o)?o(e,t,r,i):o.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,r;for(r in e)f(e,r)&&(u(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var r,i=this._eras||B("en")._eras,o=0,n=i.length;o<n;++o)switch("string"==typeof i[o].since&&(r=m(i[o].since).startOf("day"),i[o].since=r.valueOf()),typeof i[o].until){case"undefined":i[o].until=1/0;break;case"string":r=m(i[o].until).startOf("day").valueOf(),i[o].until=r.valueOf()}return i},y.erasParse=function(e,t,r){var i,o,n,a,s,l=this.eras();for(e=e.toUpperCase(),i=0,o=l.length;i<o;++i)if(n=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[i];break;case"NNNN":if(n===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[n,a,s].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*r},y.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||nr.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return f(this,"_erasNameRegex")||nr.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||nr.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Oe.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,r){var i,o;if(this._monthsParseExact)return function(e,t,r){var i,o,n,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)n=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(n,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(o=C.call(this._shortMonthsParse,e))?o:null:-1!==(o=C.call(this._longMonthsParse,e))?o:null:"MMM"===t?-1!==(o=C.call(this._shortMonthsParse,e))||-1!==(o=C.call(this._longMonthsParse,e))?o:null:-1!==(o=C.call(this._longMonthsParse,e))||-1!==(o=C.call(this._shortMonthsParse,e))?o:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=c([2e3,i]),r&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),r||this._monthsParse[i]||(o="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(r&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!r&&this._monthsParse[i].test(e))return i}},y.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||We.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||We.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ze(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Ze(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Ze(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,r){var i,o;if(this._weekdaysParseExact)return function(e,t,r){var i,o,n,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)n=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(n,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(o=C.call(this._weekdaysParse,e))?o:null:"ddd"===t?-1!==(o=C.call(this._shortWeekdaysParse,e))?o:null:-1!==(o=C.call(this._minWeekdaysParse,e))?o:null:"dddd"===t?-1!==(o=C.call(this._weekdaysParse,e))||-1!==(o=C.call(this._shortWeekdaysParse,e))||-1!==(o=C.call(this._minWeekdaysParse,e))?o:null:"ddd"===t?-1!==(o=C.call(this._shortWeekdaysParse,e))||-1!==(o=C.call(this._weekdaysParse,e))||-1!==(o=C.call(this._minWeekdaysParse,e))?o:null:-1!==(o=C.call(this._minWeekdaysParse,e))||-1!==(o=C.call(this._weekdaysParse,e))||-1!==(o=C.call(this._shortWeekdaysParse,e))?o:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=c([2e3,1]).day(i),r&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(r&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(r&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!r&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"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===h(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",B);var mr=Math.abs;function fr(e,t,r,i){t=L(t,r);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function gr(e){return e<0?Math.floor(e):Math.ceil(e)}function yr(e){return 4800*e/146097}function vr(e){return 146097*e/4800}function br(e){return function(){return this.as(e)}}we=br("ms"),fe=br("s"),Ne=br("m"),be=br("h"),ve=br("d"),Je=br("w"),b=br("M"),ge=br("Q"),xe=br("y");function wr(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wr("milliseconds"),_e=wr("seconds"),Ue=wr("minutes"),y=wr("hours"),_r=wr("days"),xr=wr("months"),Cr=wr("years");var Pr=Math.round,Ar={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Tr(e,t,r,i){var o=L(e).abs(),n=Pr(o.as("s")),a=Pr(o.as("m")),s=Pr(o.as("h")),l=Pr(o.as("d")),c=Pr(o.as("M")),u=Pr(o.as("w")),o=Pr(o.as("y")),n=(n<=r.ss?["s",n]:n<r.s&&["ss",n])||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||l<=1&&["d"]||l<r.d&&["dd",l];return(n=(n=null!=r.w?n||u<=1&&["w"]||u<r.w&&["ww",u]:n)||c<=1&&["M"]||c<r.M&&["MM",c]||o<=1&&["y"]||["yy",o])[2]=t,n[3]=0<+e,n[4]=i,function(e,t,r,i,o){return o.relativeTime(t||1,!!r,e,i)}.apply(null,n)}var Er=Math.abs;function Sr(e){return(0<e)-(e<0)||+e}function Mr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,i,o,n,a,s=Er(this._milliseconds)/1e3,l=Er(this._days),c=Er(this._months),u=this.asSeconds();return u?(e=p(s/60),t=p(e/60),s%=60,e%=60,r=p(c/12),c%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",o=Sr(this._months)!==Sr(u)?"-":"",n=Sr(this._days)!==Sr(u)?"-":"",a=Sr(this._milliseconds)!==Sr(u)?"-":"",(u<0?"-":"")+"P"+(r?o+r+"Y":"")+(c?o+c+"M":"")+(l?n+l+"D":"")+(t||e||s?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(s?a+i+"S":"")):"P0D"}var N=Lt.prototype;return N.isValid=function(){return this._isValid},N.abs=function(){var e=this._data;return this._milliseconds=mr(this._milliseconds),this._days=mr(this._days),this._months=mr(this._months),e.milliseconds=mr(e.milliseconds),e.seconds=mr(e.seconds),e.minutes=mr(e.minutes),e.hours=mr(e.hours),e.months=mr(e.months),e.years=mr(e.years),this},N.add=function(e,t){return fr(this,e,t,1)},N.subtract=function(e,t){return fr(this,e,t,-1)},N.as=function(e){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,r=this._months+yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(vr(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},N.asMilliseconds=we,N.asSeconds=fe,N.asMinutes=Ne,N.asHours=be,N.asDays=ve,N.asWeeks=Je,N.asMonths=b,N.asQuarters=ge,N.asYears=xe,N.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*h(this._months/12):NaN},N._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,i=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*gr(vr(r)+t),r=t=0),i.milliseconds=e%1e3,e=p(e/1e3),i.seconds=e%60,e=p(e/60),i.minutes=e%60,e=p(e/60),i.hours=e%24,t+=p(e/24),r+=e=p(yr(t)),t-=gr(vr(e)),e=p(r/12),r%=12,i.days=t,i.months=r,i.years=e,this},N.clone=function(){return L(this)},N.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},N.milliseconds=ye,N.seconds=_e,N.minutes=Ue,N.hours=y,N.days=_r,N.weeks=function(){return p(this.days()/7)},N.months=xr,N.years=Cr,N.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,i=Ar;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(i=Object.assign({},Ar,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),t=Tr(this,!r,i,e=this.localeData()),r&&(t=e.pastFuture(+this,t)),e.postformat(t)},N.toISOString=Mr,N.toString=Mr,N.toJSON=Mr,N.locale=Kt,N.localeData=Qt,N.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mr),N.lang=Qe,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",Pe),w("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,r){r._d=new Date(h(e))}),m.version="2.29.3",F=k,m.fn=o,m.min=function(){return Bt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Bt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return k(1e3*e)},m.months=function(e,t){return pr(e,t,"months")},m.isDate=$,m.locale=ht,m.invalid=U,m.duration=L,m.isMoment=l,m.weekdays=function(e,t,r){return hr(e,t,r,"weekdays")},m.parseZone=function(){return k.apply(null,arguments).parseZone()},m.localeData=B,m.isDuration=Nt,m.monthsShort=function(e,t){return pr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return hr(e,t,r,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var r,i;return null!=t?(i=lt,null!=I[e]&&null!=I[e].parentLocale?I[e].set(Q(I[e]._config,t)):(t=Q(i=null!=(r=pt(e))?r._config:i,t),null==r&&(t.abbr=e),(i=new ee(t)).parentLocale=I[e],I[e]=i),ht(e)):null!=I[e]&&(null!=I[e].parentLocale?(I[e]=I[e].parentLocale,e===ht()&&ht(e)):null!=I[e]&&delete I[e]),I[e]},m.locales=function(){return te(I)},m.weekdaysShort=function(e,t,r){return hr(e,t,r,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Pr:"function"==typeof e&&(Pr=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Ar[e]&&(void 0===t?Ar[e]:(Ar[e]=t,"s"===e&&(Ar.ss=t-1),!0))},m.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"},m.prototype=o,m.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"},m}();var fo,go,z=fo.exports;const yo={en:{selfExclusion:{title:"Self-Exclusion",selfExclusionText1:"Everymatrix recognizes that gambling can lead to addiction and in our effort to prevent these problems, we offer our users the ability to exclude all forms of betting on our site for a certain of indefinite period of time.",selfExclusionText2:'Self-exclusion takes effect from the time it is set for the period you choose. Select a timeframe below then click "Confirm".',selfExclusionText3:"During self-exclusion you will not be able to access your Everymatrix account. In the case of permanent self-exclusion, it is only possible to revoke Self-exclusion upon written request and only 6 months post its initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows: E-mail:",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."}},fr:{selfExclusion:{title:"Auto exclusion",selfExclusionText1:"Everymatrix 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 "confirmer".',selfExclusionText3:"Pendant l'auto exclusion ,vous ne pourrez pas accéder à votre compte everymatrix.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:{selfExclusion:{title:"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 "Confirmă".',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:{selfExclusion:{title:"Autoexclusión",selfExclusionText1:"Everymatrix reconoce que los juegos de azar pueden conducir a la adicción y en nuestro esfuerzo por prevenir estos problemas, ofrecemos a nuestros usuarios la posibilidad de optar por no participar en todas las formas de juegos de azar en nuestro sitio por un período de tiempo indefinido.",selfExclusionText2:'La autoexclusió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 haga clic en "Confirmar".',selfExclusionText3:"Durante la autoexclusión, no podrá acceder a su cuenta de Everymatrix. 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. Tenga 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:",selfExclusionText4:"E-mail:",duration:"Duración:",forever:"Para siempre",save:"Guardar",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente."}},pt:{selfExclusion:{title:"Auto-exclusão",selfExclusionText1:"Everymatrix 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 "Confirmar".',selfExclusionText3:"Durante a autoexclusão, você não poderá acessar sua conta Everymatrix. 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."}}};class vo extends HTMLElement{static get version(){return"1.6.1"}}customElements.define("vaadin-lumo-styles",vo);let bo,wo=null,_o=window.HTMLImports&&window.HTMLImports.whenReady||null;function xo(e){requestAnimationFrame(function(){_o?_o(e):(wo||(wo=new Promise(e=>{bo=e}),"complete"===document.readyState?bo():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&bo()})),wo.then(function(){e&&e()}))})}const Co="__seenByShadyCSS",Po="__shadyCSSCachedStyle";let Ao=null,To=null;class Eo{constructor(){this.customStyles=[],this.enqueued=!1,xo(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&To&&(this.enqueued=!0,xo(To))}addCustomStyle(e){e[Co]||(e[Co]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[Po]||(e.getStyle?e.getStyle():e)}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const i=t[e];if(!i[Po]){var r=this.getStyleForCustomStyle(i);if(r){const t=r.__appliedElement||r;Ao&&Ao(t),i[Po]=t}}}return t}}Object.defineProperties(Eo.prototype,{transformCallback:{get:()=>Ao,set(e){Ao=e}},validateCallback:{get:()=>To,set(e){let t=!1;To||(t=!0),To=e,t&&this.enqueueDocumentValidation()}}});const So=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Mo=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Do=/@media\s(.*)/;function Io(e,t){for(var r in t)null===r?e.style.removeProperty(r):e.style.setProperty(r,t[r])}function Bo(e,t){const r=window.getComputedStyle(e).getPropertyValue(t);return r?r.trim():""}const ko=!(window.ShadyDOM&&window.ShadyDOM.inUse);let Lo,No;function Fo(e){Lo=(!e||!e.shimcssproperties)&&(ko||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(No=window.ShadyCSS.cssBuild);Sr=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Lo=window.ShadyCSS.nativeCss:window.ShadyCSS?(Fo(window.ShadyCSS),window.ShadyCSS=void 0):Fo(window.WebComponents&&window.WebComponents.flags);const Oo=Lo,Ro=new Eo;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,r){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,r){},styleSubtree(e,t){Ro.processStyles(),Io(e,t)},styleElement(e){Ro.processStyles()},styleDocument(e){Ro.processStyles(),Io(document.body,e)},getComputedStyleValue:(e,t)=>Bo(e,t),flushCustomStyles(){},nativeCss:Oo,nativeShadow:ko,cssBuild:No,disableRuntime:Sr}),window.ShadyCSS.CustomStyleInterface=Ro,window.JSCompiler_renameProperty=function(e,t){return e};let Ho,$o,zo=/(url\()([^)]*)(\))/g,Wo=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function Yo(e,t){if(e&&Wo.test(e))return e;if("//"===e)return e;if(void 0===Ho){Ho=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",Ho="http://a/c%20d"===e.href}catch(e){}}if(t=t||document.baseURI||window.location.href,Ho)try{return new URL(e,t).href}catch(t){return e}return $o||(($o=document.implementation.createHTMLDocument("temp")).base=$o.createElement("base"),$o.head.appendChild($o.base),$o.anchor=$o.createElement("a"),$o.body.appendChild($o.anchor)),$o.base.href=t,$o.anchor.href=e,$o.anchor.href||e}function Uo(e,o){return e.replace(zo,function(e,t,r,i){return t+"'"+Yo(r.replace(/["']/g,""),o)+"'"+i})}function jo(e){return e.substring(0,e.lastIndexOf("/")+1)}const Go=!window.ShadyDOM||!window.ShadyDOM.inUse,Vo=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),Go&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet,t=(e.replaceSync(""),document.createElement("div"));return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})());let qo=window.Polymer&&window.Polymer.rootPath||jo(document.baseURI||window.location.href),Xo=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,Zo=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1,Jo=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,Ko=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,Qo=window.Polymer&&window.Polymer.legacyOptimizations||!1,en=window.Polymer&&window.Polymer.legacyWarnings||!1,tn=window.Polymer&&window.Polymer.syncInitialRender||!1,rn=window.Polymer&&window.Polymer.legacyUndefined||!1,on=window.Polymer&&window.Polymer.orderedComputed||!1,nn=window.Polymer&&window.Polymer.removeNestedTemplates||!1,an=window.Polymer&&window.Polymer.fastDomIf||!1,sn=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,ln=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1,cn=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1,un={},dn={};function pn(e,t){un[e]=dn[e.toLowerCase()]=t}function hn(e){return un[e]||dn[e.toLowerCase()]}class mn extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,r){if(t){let e=hn(t);return e&&r?e.querySelector(r):e}return null}attributeChangedCallback(e,t,r,i){t!==r&&this.register()}get assetpath(){var e;return this.__assetpath||(e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=Yo(this.getAttribute("assetpath")||"",e.baseURI),this.__assetpath=jo(e)),this.__assetpath}register(e){if(e=e||this.id){if(Jo&&void 0!==hn(e))throw pn(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);pn(this.id=e,this),this.querySelector("style")&&console.warn("dom-module %s has style outside template",this.id)}}}mn.prototype.modules=un,customElements.define("dom-module",mn);const fn="shady-unscoped";function gn(e){return mn.import(e)}function yn(e){const t=Uo((e.body||e).textContent,e.baseURI),r=document.createElement("style");return r.textContent=t,r}function vn(e){const t=e.trim().split(/\s+/),r=[];for(let e=0;e<t.length;e++)r.push(...function(e){const t=gn(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const e=[];e.push(...wn(t));var r=t.querySelector("template");r&&e.push(...bn(r,t.assetpath)),t._styles=e}return t._styles}(t[e]));return r}function bn(e,i){if(!e._styles){const o=[],n=e.content.querySelectorAll("style");for(let r=0;r<n.length;r++){let e=n[r],t=e.getAttribute("include");t&&o.push(...vn(t).filter(function(e,t,r){return r.indexOf(e)===t})),i&&(e.textContent=Uo(e.textContent,i)),o.push(e)}e._styles=o}return e._styles}function wn(r){const i=[],o=r.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<o.length;t++){let e=o[t];if(e.import){const r=e.import,o=e.hasAttribute(fn);if(o&&!r._unscopedStyle){const i=yn(r);i.setAttribute(fn,""),r._unscopedStyle=i}else r._style||(r._style=yn(r));i.push(o?r._unscopedStyle:r._style)}}return i}const _n="include",xn=window.ShadyCSS.CustomStyleInterface;class Cn extends HTMLElement{constructor(){super(),this._style=null,xn.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const e=this.querySelector("style");if(!e)return null;var i=(this._style=e).getAttribute(_n);return i&&(e.removeAttribute(_n),e.textContent=function(){let t=i.trim().split(/\s+/),r="";for(let e=0;e<t.length;e++)r+=function(e){let o=gn(e);if(o&&void 0===o._cssText){let e=function(){let t="",r=wn(o);for(let e=0;e<r.length;e++)t+=r[e].textContent;return t}(),t=o.querySelector("template");t&&(e+=function(){let r="";var i=bn(t,o.assetpath);for(let t=0;t<i.length;t++){let e=i[t];e.parentNode&&e.parentNode.removeChild(e),r+=e.textContent}return r}()),o._cssText=e||null}return o||console.warn("Could not find style data in module named",e),o&&o._cssText||""}(t[e]);return r}()+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}window.customElements.define("custom-style",Cn);const Pn=document.createElement("template"),An=(Pn.innerHTML="<custom-style>\n <style>\n html {\n --lumo-size-xs: 1.625rem;\n --lumo-size-s: 1.875rem;\n --lumo-size-m: 2.25rem;\n --lumo-size-l: 2.75rem;\n --lumo-size-xl: 3.5rem;\n\n /* Icons */\n --lumo-icon-size-s: 1.25em;\n --lumo-icon-size-m: 1.5em;\n --lumo-icon-size-l: 2.25em;\n /* For backwards compatibility */\n --lumo-icon-size: var(--lumo-icon-size-m);\n }\n </style>\n</custom-style>",document.head.appendChild(Pn.content),document.createElement("template")),Tn=(An.innerHTML="<custom-style>\n <style>\n html {\n /* Square */\n --lumo-space-xs: 0.25rem;\n --lumo-space-s: 0.5rem;\n --lumo-space-m: 1rem;\n --lumo-space-l: 1.5rem;\n --lumo-space-xl: 2.5rem;\n\n /* Wide */\n --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);\n --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);\n --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);\n --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);\n --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);\n\n /* Tall */\n --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);\n --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);\n --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);\n --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);\n --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);\n }\n </style>\n</custom-style>",document.head.appendChild(An.content),document.createElement("template")),En=(Tn.innerHTML="<custom-style>\n <style>\n html {\n /* Border radius */\n --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */\n --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */\n --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */\n --lumo-border-radius: 0.25em; /* Deprecated */\n\n /* Shadow */\n --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);\n --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);\n --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);\n --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);\n --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);\n\n /* Clickable element cursor */\n --lumo-clickable-cursor: default;\n }\n </style>\n</custom-style>",document.head.appendChild(Tn.content),document.createElement("template")),Sn=(En.innerHTML='<custom-style>\n <style>\n html {\n /* Base (background) */\n --lumo-base-color: #FFF;\n\n /* Tint */\n --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);\n --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);\n --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);\n --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);\n --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);\n --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);\n --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);\n --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);\n --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);\n --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);\n --lumo-tint: #FFF;\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);\n --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);\n --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);\n --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);\n --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);\n --lumo-shade-50pct: hsla(214, 45%, 20%, 0.5);\n --lumo-shade-60pct: hsla(214, 43%, 19%, 0.61);\n --lumo-shade-70pct: hsla(214, 42%, 18%, 0.72);\n --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);\n --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);\n --lumo-shade: hsl(214, 35%, 15%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-shade-5pct);\n --lumo-contrast-10pct: var(--lumo-shade-10pct);\n --lumo-contrast-20pct: var(--lumo-shade-20pct);\n --lumo-contrast-30pct: var(--lumo-shade-30pct);\n --lumo-contrast-40pct: var(--lumo-shade-40pct);\n --lumo-contrast-50pct: var(--lumo-shade-50pct);\n --lumo-contrast-60pct: var(--lumo-shade-60pct);\n --lumo-contrast-70pct: var(--lumo-shade-70pct);\n --lumo-contrast-80pct: var(--lumo-shade-80pct);\n --lumo-contrast-90pct: var(--lumo-shade-90pct);\n --lumo-contrast: var(--lumo-shade);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 90%, 52%);\n --lumo-primary-color-50pct: hsla(214, 90%, 52%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 52%, 0.1);\n --lumo-primary-text-color: var(--lumo-primary-color);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 100%, 61%);\n --lumo-error-color-50pct: hsla(3, 100%, 60%, 0.5);\n --lumo-error-color-10pct: hsla(3, 100%, 60%, 0.1);\n --lumo-error-text-color: hsl(3, 92%, 53%);\n --lumo-error-contrast-color: #FFF;\n\n /* Success */\n --lumo-success-color: hsl(145, 80%, 42%); /* hsl(144,82%,37%); */\n --lumo-success-color-50pct: hsla(145, 76%, 44%, 0.55);\n --lumo-success-color-10pct: hsla(145, 76%, 44%, 0.12);\n --lumo-success-text-color: hsl(145, 100%, 32%);\n --lumo-success-contrast-color: #FFF;\n }\n </style>\n</custom-style><dom-module id="lumo-color">\n <template>\n <style>\n [theme~="dark"] {\n /* Base (background) */\n --lumo-base-color: hsl(214, 35%, 21%);\n\n /* Tint */\n --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);\n --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);\n --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);\n --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);\n --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);\n --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);\n --lumo-tint-60pct: hsla(214, 82%, 90%, 0.6);\n --lumo-tint-70pct: hsla(214, 87%, 92%, 0.7);\n --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);\n --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);\n --lumo-tint: hsl(214, 100%, 98%);\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);\n --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);\n --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);\n --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);\n --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);\n --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);\n --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);\n --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);\n --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);\n --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);\n --lumo-shade: hsl(214, 33%, 13%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-tint-5pct);\n --lumo-contrast-10pct: var(--lumo-tint-10pct);\n --lumo-contrast-20pct: var(--lumo-tint-20pct);\n --lumo-contrast-30pct: var(--lumo-tint-30pct);\n --lumo-contrast-40pct: var(--lumo-tint-40pct);\n --lumo-contrast-50pct: var(--lumo-tint-50pct);\n --lumo-contrast-60pct: var(--lumo-tint-60pct);\n --lumo-contrast-70pct: var(--lumo-tint-70pct);\n --lumo-contrast-80pct: var(--lumo-tint-80pct);\n --lumo-contrast-90pct: var(--lumo-tint-90pct);\n --lumo-contrast: var(--lumo-tint);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 86%, 55%);\n --lumo-primary-color-50pct: hsla(214, 86%, 55%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 63%, 0.1);\n --lumo-primary-text-color: hsl(214, 100%, 70%);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 90%, 63%);\n --lumo-error-color-50pct: hsla(3, 90%, 63%, 0.5);\n --lumo-error-color-10pct: hsla(3, 90%, 63%, 0.1);\n --lumo-error-text-color: hsl(3, 100%, 67%);\n\n /* Success */\n --lumo-success-color: hsl(145, 65%, 42%);\n --lumo-success-color-50pct: hsla(145, 65%, 42%, 0.5);\n --lumo-success-color-10pct: hsla(145, 65%, 42%, 0.1);\n --lumo-success-text-color: hsl(145, 85%, 47%);\n }\n\n html {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n [theme~="dark"] {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n color: var(--lumo-header-text-color);\n }\n\n a {\n color: var(--lumo-primary-text-color);\n }\n\n blockquote {\n color: var(--lumo-secondary-text-color);\n }\n\n code,\n pre {\n background-color: var(--lumo-contrast-10pct);\n border-radius: var(--lumo-border-radius-m);\n }\n </style>\n </template>\n</dom-module><dom-module id="lumo-color-legacy">\n <template>\n <style include="lumo-color">\n :host {\n color: var(--lumo-body-text-color) !important;\n background-color: var(--lumo-base-color) !important;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(En.content),document.createElement("template")),Mn=(Sn.innerHTML='<custom-style>\n <style>\n html {\n /* Font families */\n --lumo-font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n\n /* Font sizes */\n --lumo-font-size-xxs: .75rem;\n --lumo-font-size-xs: .8125rem;\n --lumo-font-size-s: .875rem;\n --lumo-font-size-m: 1rem;\n --lumo-font-size-l: 1.125rem;\n --lumo-font-size-xl: 1.375rem;\n --lumo-font-size-xxl: 1.75rem;\n --lumo-font-size-xxxl: 2.5rem;\n\n /* Line heights */\n --lumo-line-height-xs: 1.25;\n --lumo-line-height-s: 1.375;\n --lumo-line-height-m: 1.625;\n }\n\n </style>\n</custom-style><dom-module id="lumo-typography">\n <template>\n <style>\n html {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n /* Can’t combine with the above selector because that doesn’t work in browsers without native shadow dom */\n :host {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n small,\n [theme~="font-size-s"] {\n font-size: var(--lumo-font-size-s);\n line-height: var(--lumo-line-height-s);\n }\n\n [theme~="font-size-xs"] {\n font-size: var(--lumo-font-size-xs);\n line-height: var(--lumo-line-height-xs);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: 600;\n line-height: var(--lumo-line-height-xs);\n margin-top: 1.25em;\n }\n\n h1 {\n font-size: var(--lumo-font-size-xxxl);\n margin-bottom: 0.75em;\n }\n\n h2 {\n font-size: var(--lumo-font-size-xxl);\n margin-bottom: 0.5em;\n }\n\n h3 {\n font-size: var(--lumo-font-size-xl);\n margin-bottom: 0.5em;\n }\n\n h4 {\n font-size: var(--lumo-font-size-l);\n margin-bottom: 0.5em;\n }\n\n h5 {\n font-size: var(--lumo-font-size-m);\n margin-bottom: 0.25em;\n }\n\n h6 {\n font-size: var(--lumo-font-size-xs);\n margin-bottom: 0;\n text-transform: uppercase;\n letter-spacing: 0.03em;\n }\n\n p,\n blockquote {\n margin-top: 0.5em;\n margin-bottom: 0.75em;\n }\n\n a {\n text-decoration: none;\n }\n\n a:hover {\n text-decoration: underline;\n }\n\n hr {\n display: block;\n align-self: stretch;\n height: 1px;\n border: 0;\n padding: 0;\n margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);\n background-color: var(--lumo-contrast-10pct);\n }\n\n blockquote {\n border-left: 2px solid var(--lumo-contrast-30pct);\n }\n\n b,\n strong {\n font-weight: 600;\n }\n\n /* RTL specific styles */\n\n blockquote[dir="rtl"] {\n border-left: none;\n border-right: 2px solid var(--lumo-contrast-30pct);\n }\n\n </style>\n </template>\n</dom-module>',document.head.appendChild(Sn.content),document.createElement("template")),Dn=(Mn.innerHTML='<dom-module id="lumo-overlay">\n <template>\n <style>\n :host {\n top: var(--lumo-space-m);\n right: var(--lumo-space-m);\n bottom: var(--lumo-space-m);\n left: var(--lumo-space-m);\n /* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */\n /* stylelint-disable-next-line */\n outline: 0px solid transparent;\n }\n\n [part="overlay"] {\n background-color: var(--lumo-base-color);\n background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));\n border-radius: var(--lumo-border-radius-m);\n box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);\n color: var(--lumo-body-text-color);\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size-m);\n font-weight: 400;\n line-height: var(--lumo-line-height-m);\n letter-spacing: 0;\n text-transform: none;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n [part="content"] {\n padding: var(--lumo-space-xs);\n }\n\n [part="backdrop"] {\n background-color: var(--lumo-shade-20pct);\n animation: 0.2s lumo-overlay-backdrop-enter both;\n will-change: opacity;\n }\n\n @keyframes lumo-overlay-backdrop-enter {\n 0% {\n opacity: 0;\n }\n }\n\n :host([closing]) [part="backdrop"] {\n animation: 0.2s lumo-overlay-backdrop-exit both;\n }\n\n @keyframes lumo-overlay-backdrop-exit {\n 100% {\n opacity: 0;\n }\n }\n\n @keyframes lumo-overlay-dummy-animation {\n 0% { opacity: 1; }\n 100% { opacity: 1; }\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(Mn.content),document.createElement("template")),In=(Dn.innerHTML='<dom-module id="lumo-menu-overlay-core">\n <template>\n <style>\n :host([opening]),\n :host([closing]) {\n animation: 0.14s lumo-overlay-dummy-animation;\n }\n\n [part="overlay"] {\n will-change: opacity, transform;\n }\n\n :host([opening]) [part="overlay"] {\n animation: 0.1s lumo-menu-overlay-enter ease-out both;\n }\n\n @keyframes lumo-menu-overlay-enter {\n 0% {\n opacity: 0;\n transform: translateY(-4px);\n }\n }\n\n :host([closing]) [part="overlay"] {\n animation: 0.1s lumo-menu-overlay-exit both;\n }\n\n @keyframes lumo-menu-overlay-exit {\n 100% {\n opacity: 0;\n }\n }\n </style>\n </template>\n</dom-module><dom-module id="lumo-menu-overlay">\n <template>\n <style include="lumo-overlay lumo-menu-overlay-core">\n /* Small viewport (bottom sheet) styles */\n /* Use direct media queries instead of the state attributes (`[phone]` and `[fullscreen]`) provided by the elements */\n @media (max-width: 420px), (max-height: 420px) {\n :host {\n top: 0 !important;\n right: 0 !important;\n bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;\n left: 0 !important;\n align-items: stretch !important;\n justify-content: flex-end !important;\n }\n\n [part="overlay"] {\n max-height: 50vh;\n width: 100vw;\n border-radius: 0;\n box-shadow: var(--lumo-box-shadow-xl);\n }\n\n /* The content part scrolls instead of the overlay part, because of the gradient fade-out */\n [part="content"] {\n padding: 30px var(--lumo-space-m);\n max-height: inherit;\n box-sizing: border-box;\n -webkit-overflow-scrolling: touch;\n overflow: auto;\n -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);\n mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);\n }\n\n [part="backdrop"] {\n display: block;\n }\n\n /* Animations */\n\n :host([opening]) [part="overlay"] {\n animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(.215, .61, .355, 1) both;\n }\n\n :host([closing]),\n :host([closing]) [part="backdrop"] {\n animation-delay: 0.14s;\n }\n\n :host([closing]) [part="overlay"] {\n animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(.55, .055, .675, .19) both;\n }\n }\n\n @keyframes lumo-mobile-menu-overlay-enter {\n 0% {\n transform: translateY(150%);\n }\n }\n\n @keyframes lumo-mobile-menu-overlay-exit {\n 100% {\n transform: translateY(150%);\n }\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(Dn.content),window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:e=>e}));class Bn{constructor(i,e){Nn(i,e);const t=e.reduce((e,t,r)=>e+kn(t)+i[r+1],i[0]);this.value=t.toString()}toString(){return this.value}}function kn(e){if(e instanceof class{constructor(i,e){Nn(i,e);const t=e.reduce((e,t,r)=>e+kn(t)+i[r+1],i[0]);this.value=t.toString()}toString(){return this.value}})return e.value;throw new Error("non-literal value passed to Polymer's htmlLiteral function: "+e)}function Ln(i,...e){Nn(i,e);const t=document.createElement("template");let r=e.reduce((e,t,r)=>e+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof Bn)return kn(e);throw new Error("non-template value passed to Polymer's html function: "+e)}(t)+i[r+1],i[0]);return In&&(r=In.createHTML(r)),t.innerHTML=r,t}const Nn=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(e.raw)||t.length!==e.length-1)throw new TypeError("Invalid call to the html template tag")},Fn=Ln`<dom-module id="lumo-date-picker-overlay" theme-for="vaadin-date-picker-overlay">
|
|
4
4
|
<template>
|
|
5
5
|
<style include="lumo-menu-overlay">
|
|
6
6
|
[part="overlay"] {
|