@everymatrix/player-account-controller 1.13.7 → 1.13.8
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(c){"use strict";(e=c)&&"object"==typeof e&&0 in e;function se(){}const w=e=>e;function h(e){return e()}function m(){return Object.create(null)}function un(e){e.forEach(h)}function ge(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let u;function _(e,t){return(u=u||document.createElement("a")).href=t,e===u.href}function d(e,...t){if(null==e)return se;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ue(e,t,n){e.$$.on_destroy.push(d(t,n))}function x(e){return e&&ge(e.destroy)?e.destroy:se}var e="undefined"!=typeof window;let P=e?()=>window.performance.now():()=>Date.now(),E=e?e=>requestAnimationFrame(e):se;const T=new Set;function A(t){T.forEach(e=>{e.c(t)||(T.delete(e),e.f())}),0!==T.size&&E(A)}function dn(e,t){e.appendChild(t)}function M(e){var t;return e?(t=e.getRootNode?e.getRootNode():e.ownerDocument)&&t.host?t:e.ownerDocument:document}function pn(e,t,n){e.insertBefore(t,n||null)}function hn(e){e.parentNode&&e.parentNode.removeChild(e)}function _n(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function mn(e){return document.createElement(e)}function fn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function gn(e){return document.createTextNode(e)}function yn(){return gn(" ")}function $(){return gn("")}function vn(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function V(t){return function(e){return e.preventDefault(),t.call(this,e)}}function bn(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function le(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:bn(e,t,n)}function j(e){return""===e?null:+e}function wn(e,t){e.data!==(t=""+t)&&(e.data=t)}function xn(e,t){e.value=null==t?"":t}function S(e,t,n,i){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function Cn(t,n,e){for(let e=0;e<t.options.length;e+=1){var i=t.options[e];if(i.__value===n)return i.selected=!0}e&&void 0===n||(t.selectedIndex=-1)}function ye(e){e=e.querySelector(":checked");return e&&e.__value}function D(e,t,n){e.classList[n?"add":"remove"](t)}function i(e){var t={};for(const n of e)t[n.name]=n.value;return t}const B=new Map;let k,I=0;function L(e,t,n,i,r,o,a,s=0){var l=16.666/i;let c="{\n";for(let e=0;e<=1;e+=l){const i=t+(n-t)*o(e);c+=100*e+`%{${a(i,1-i)}}
|
|
2
2
|
`}var u,d=c+`100% {${a(n,1-n)}}
|
|
3
|
-
}`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_`+s,p=M(e),{stylesheet:h,rules:m}=B.get(p)||(p=p,u={stylesheet:(u=e,m=mn("style"),u=M(u),h=m,dn(u.head||u,h),h.sheet,m.sheet),rules:{}},B.set(p,u),u),p=(m[s]||(m[s]=!0,h.insertRule(`@keyframes ${s} `+d,h.cssRules.length)),e.style.animation||"");return e.style.animation=(p?p+", ":"")+s+` ${i}ms linear ${r}ms 1 both`,I+=1,s}function N(e){k=e}function de(e){!function(){if(k)return k;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const F=[],pe=[];let O=[];const R=[],H=Promise.resolve();let z=!1;function re(){z||(z=!0,H.then(p))}function Pn(e){O.push(e)}const Y=new Set;let U,G=0;function p(){if(0===G){const i=k;do{try{for(;G<F.length;){const i=F[G];G++,N(i),e=t=void 0;var e,t=i.$$;null!==t.fragment&&(t.update(),un(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Pn))}}catch(i){throw F.length=0,G=0,i}for(N(null),F.length=0,G=0;pe.length;)pe.pop()();for(let e=0;e<O.length;e+=1){var n=O[e];Y.has(n)||(Y.add(n),n())}}while(O.length=0,F.length);for(;R.length;)R.pop()();z=!1,Y.clear(),N(i)}}function q(e,t,n){var i;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(i=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),i))}const X=new Set;let Z;function J(){Z={r:0,c:[],p:Z}}function K(){Z.r||un(Z.c),Z=Z.p}function Q(e,t){e&&e.i&&(X.delete(e),e.i(t))}function ee(e,t,n,i){e&&e.o?X.has(e)||(X.add(e),Z.c.push(()=>{X.delete(e),i&&(n&&e.d(1),i())}),e.o(t)):i&&i()}const te={duration:0};function ne(l,e,t,n){const i={direction:"both"};let c=e(l,t,i),u=n?0:1,d=null,p=null,h=null;function m(){var e,t,n,i;h&&(e=l,t=h,n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-i.length)||(e.style.animation=i.join(", "),I-=n)||E(()=>{I||(B.forEach(e=>{e=e.stylesheet.ownerNode;e&&hn(e)}),B.clear())}))}function f(e,t){var n=e.b-u;return t*=Math.abs(n),{a:u,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:i=w,tick:r=se,css:o}=c||te,a={start:P()+t,b:e};if(e||((a.group=Z).r+=1),d||p)p=a;else{o&&(m(),h=L(l,u,e,n,t,i,o)),e&&r(0,1),d=f(a,n),Pn(()=>q(l,e,"start"));{var s=e=>{if(p&&e>p.start&&(d=f(p,n),p=null,q(l,d.b,"start"),o)&&(m(),h=L(l,u,d.b,d.duration,0,i,c.css)),d)if(e>=d.end)r(u=d.b,1-u),q(l,d.b,"end"),p||(d.b?m():--d.group.r||un(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*i(l/d.duration),r(u,1-u)}return!(!d&&!p)};let t;0===T.size&&E(A),new Promise(e=>{T.add(t={c:s,f:e})})}}}return{run(e){ge(c)?(U||(U=Promise.resolve()).then(()=>{U=null}),U.then(()=>{c=c(i),r(e)})):r(e)},end(){m(),d=p=null}}}function r(i,e,t,n,r,o,a,s=[-1]){var l=k;N(i);const c=i.$$={fragment:null,ctx:[],props:o,update:se,not_equal:r,bound:m(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:m(),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,...n)=>{var n=n.length?n[0]:t;return c.ctx&&r(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u)&&(n=e,-1===(e=i).$$.dirty[0]&&(F.push(e),re(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),u=!0,un(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){o=e.target;const i=Array.from(o.childNodes);c.fragment&&c.fragment.l(i),i.forEach(hn)}else c.fragment&&c.fragment.c();e.intro&&Q(i.$$.fragment);var d=i,s=e.target,a=e.anchor,t=e.customElement,{fragment:n,after_update:o}=d.$$;n&&n.m(s,a),t||Pn(()=>{var e=d.$$.on_mount.map(h).filter(ge);d.$$.on_destroy?d.$$.on_destroy.push(...e):un(e),d.$$.on_mount=[]}),o.forEach(Pn),p()}N(l)}let t;"function"==typeof HTMLElement&&(t=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(h).filter(ge);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){un(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const i=[],r=[];O.forEach(e=>(-1===n.indexOf(e)?i:r).push(e)),r.forEach(e=>e()),O=i}un(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=se}$on(e,t){if(!ge(t))return se;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var ie,oe,ae="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==ae&&ae,ce="URLSearchParams"in ae,ve="Symbol"in ae&&"iterator"in Symbol,be="FileReader"in ae&&"Blob"in ae&&function(){try{return new Blob,!0}catch(e){return!1}}(),we="FormData"in ae,_e="ArrayBuffer"in ae;function xe(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Ce(e){return e="string"!=typeof e?String(e):e}function Pe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ve&&(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 Ee(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Te(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ae(e){var t=new FileReader,n=Te(t);return t.readAsArrayBuffer(e),n}function Me(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Se(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:be&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:we&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ce&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():_e&&be&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Me(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):_e&&(ArrayBuffer.prototype.isPrototypeOf(e)||oe(e))?this._bodyArrayBuffer=Me(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):ce&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},be&&(this.blob=function(){var e=Ee(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?Ee(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(Ae)}),this.text=function(){var e,t,n=Ee(this);if(n)return n;if(this._bodyBlob)return n=this._bodyBlob,e=new FileReader,t=Te(e),e.readAsText(n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},we&&(this.formData=function(){return this.text().then(ke)}),this.json=function(){return this.text().then(JSON.parse)},this}_e&&(ie=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],oe=ArrayBuffer.isView||function(e){return e&&-1<ie.indexOf(Object.prototype.toString.call(e))}),s.prototype.append=function(e,t){e=xe(e),t=Ce(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},s.prototype.delete=function(e){delete this.map[xe(e)]},s.prototype.get=function(e){return e=xe(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(xe(e))},s.prototype.set=function(e,t){this.map[xe(e)]=Ce(t)},s.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},s.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Pe(n)},s.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Pe(t)},s.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Pe(n)},ve&&(s.prototype[Symbol.iterator]=s.prototype.entries);var De=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Be(e,t){if(!(this instanceof Be))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(t=t||{}).body;if(e instanceof Be){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=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<De.indexOf(n)?n: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||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ke(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Ie(e,t){if(!(this instanceof Ie))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)}Be.prototype.clone=function(){return new Be(this,{body:this._bodyInit})},Se.call(Be.prototype),Se.call(Ie.prototype),Ie.prototype.clone=function(){return new Ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},Ie.error=function(){var e=new Ie(null,{status:0,statusText:""});return e.type="error",e};var Le=[301,302,303,307,308],$e=(Ie.redirect=function(e,t){if(-1===Le.indexOf(t))throw new RangeError("Invalid status code");return new Ie(null,{status:t,headers:{location:e}})},ae.DOMException);try{new $e}catch(c){($e=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),$e.prototype.constructor=$e}function Ne(i,a){return new Promise(function(r,e){var t=new Be(i,a);if(t.signal&&t.signal.aborted)return e(new $e("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=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(),n.append(t,e))}),n)},i=(t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){r(new Ie(i,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new $e("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&ae.location.href?ae.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(be?o.responseType="blob":_e&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof s?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){o.setRequestHeader(e,Ce(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function Bn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ne.polyfill=!0,ae.fetch||(ae.fetch=Ne,ae.Headers=s,ae.Request=Be,ae.Response=Ie),self.fetch.bind(self);var Fe=function(e,t){return(Fe=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function Oe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Fe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Re(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.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 He(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function ze(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function We(e){return"function"==typeof e}function Ye(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var je=Ye(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 Ue(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}qe.prototype.unsubscribe=function(){var e,t,n,i,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=Re(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(We(o))try{o()}catch(e){r=e instanceof je?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=Re(o),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ze(u)}catch(e){r=null!=r?r:[],e instanceof je?r=ze(ze([],He(r)),He(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(r)throw new je(r)}},qe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ze(e);else{if(e instanceof qe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},qe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},qe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},qe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ue(t,e)},qe.prototype.remove=function(e){var t=this._finalizers;t&&Ue(t,e),e instanceof qe&&e._removeParent(this)},qe.EMPTY=((e=new qe).closed=!0,e);var Ge=qe,Ve=Ge.EMPTY;function qe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Xe(e){return e instanceof Ge||e&&"closed"in e&&We(e.remove)&&We(e.add)&&We(e.unsubscribe)}function Ze(e){We(e)?e():e.unsubscribe()}var Je=void 0,Ke=!1,Qe=!1,et={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=et.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,ze([e,t],He(n))):setTimeout.apply(void 0,ze([e,t],He(n)))},clearTimeout:function(e){var t=et.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function tt(){}var nt=null;function it(e){if(Ke){var t=!nt;if(t&&(nt={errorThrown:!1,error:null}),e(),t){var t=nt,n=t.errorThrown,t=t.error;if(nt=null,n)throw t}}else e()}Oe(st,rt=Ge),st.create=function(e,t,n){return new dt(e,t,n)},st.prototype.next=function(e){this.isStopped||this._next(e)},st.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},st.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},st.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,rt.prototype.unsubscribe.call(this),this.destination=null)},st.prototype._next=function(e){this.destination.next(e)},st.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},st.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var rt,ot=st,at=Function.prototype.bind;function st(e){var t=rt.call(this)||this;return t.isStopped=!1,e?Xe(t.destination=e)&&e.add(t):t.destination=ft,t}function lt(e,t){return at.call(e,t)}ht.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){mt(e)}},ht.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){mt(e)}else mt(e)},ht.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){mt(e)}};var ct,ut=ht,dt=(Oe(pt,ct=ot),pt);function pt(e,t,n){var i=ct.call(this)||this,n=We(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:i&&Qe?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&<(e.next,t),error:e.error&<(e.error,t),complete:e.complete&<(e.complete,t)}):e;return i.destination=new ut(n),i}function ht(e){this.partialObserver=e}function mt(e){var t=e;et.setTimeout(function(){throw t})}var ft={closed:!0,next:tt,error:function(e){throw e},complete:tt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";yt.prototype.lift=function(e){var t=new yt;return t.source=this,t.operator=e,t},yt.prototype.subscribe=function(e,t,n){var i,r=this,o=(i=e)&&i instanceof ot||i&&We(i.next)&&We(i.error)&&We(i.complete)&&Xe(i)?e:new dt(e,t,n);return it(function(){var e=r.operator,t=r.source;o.add(e?e.call(o,t):t?r._subscribe(o):r._trySubscribe(o))}),o},yt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},yt.prototype.forEach=function(i,e){var r=this;return new(e=vt(e))(function(e,t){var n=new dt({next:function(e){try{i(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});r.subscribe(n)})},yt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},yt.prototype[e]=function(){return this},yt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},yt.prototype.toPromise=function(e){var i=this;return new(e=vt(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},yt.create=function(e){return new yt(e)};var gt=yt;function yt(e){e&&(this._subscribe=e)}function vt(e){return null!=(e=null!=e?e:Je)?e:Promise}var bt,wt,_t,xt=Ye(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Oe(Mt,_t=gt),Mt.prototype.lift=function(e){var t=new Ct(this,this);return t.operator=e,t},Mt.prototype._throwIfClosed=function(){if(this.closed)throw new xt},Mt.prototype.next=function(r){var o=this;it(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var n=Re(o.currentObservers),i=n.next();!i.done;i=n.next())i.value.next(r)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Mt.prototype.error=function(t){var n=this;it(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},Mt.prototype.complete=function(){var t=this;it(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Mt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Mt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Mt.prototype._trySubscribe=function(e){return this._throwIfClosed(),_t.prototype._trySubscribe.call(this,e)},Mt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Mt.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,i=this.isStopped,r=this.observers;return n||i?Ve:(this.currentObservers=null,r.push(e),new Ge(function(){t.currentObservers=null,Ue(r,e)}))},Mt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},Mt.prototype.asObservable=function(){var e=new gt;return e.source=this,e},Mt.create=function(e,t){return new Ct(e,t)},Mt),Ct=(Oe(At,wt=e),At.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},At.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.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:Ve},At),Pt={now:function(){return(Pt.delegate||Date).now()},delegate:void 0},Et=(Oe(Tt,bt=e),Tt.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,r=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(i.push(e),r)||i.push(o.now()+t),this._trimBuffer(),bt.prototype.next.call(this,e)},Tt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},Tt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var o=t.now(),a=0,s=1;s<n.length&&n[s]<=o;s+=2)a=s;a&&n.splice(0,a+1)}},Tt);function Tt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Pt);var i=bt.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,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 n=wt.call(this)||this;return n.destination=e,n.source=t,n}function Mt(){var e=_t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let St=[],Dt={};const Bt=[];function kt(i,r=se){let o;const a=new Set;function s(e){if(n(i,e)&&(i=e,o)){const e=!Bt.length;for(const e of a)e[1](),Bt.push(e,i);if(e){for(let e=0;e<Bt.length;e+=2)Bt[e][0](Bt[e+1]);Bt.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=se){const n=[e,t];return a.add(n),1===a.size&&(o=r(s)||se),e(i),()=>{a.delete(n),0===a.size&&o&&(o(),o=null)}}}}function It(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:kt(t,t=>{let n=!1;const i=[];let r=0,o=se;const a=()=>{var e;r||(o(),e=s(l?i[0]:i,t),u?t(e):o=ge(e)?e:se)},e=c.map((e,t)=>d(e,e=>{i[t]=e,r&=~(1<<t),n&&a()},()=>{r|=1<<t}));return n=!0,a(),function(){un(e),o(),n=!1}}).subscribe}}function Lt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===$t);var t}var $t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Nt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?zt(Array.isArray(e)?[]:{},e,t):e}function Ft(e,t,n){return e.concat(t).map(function(e){return Nt(e,n)})}function Ot(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Rt(e,t){try{return t in e}catch(e){return!1}}function Ht(i,r,o){var a={};return o.isMergeableObject(i)&&Ot(i).forEach(function(e){a[e]=Nt(i[e],o)}),Ot(r).forEach(function(e){var t,n;(!Rt(t=i,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Rt(i,e)&&o.isMergeableObject(r[e])?a[e]=((t=o).customMerge&&"function"==typeof(t=t.customMerge(e))?t:zt)(i[e],r[e],o):a[e]=Nt(r[e],o))}),a}function zt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ft,n.isMergeableObject=n.isMergeableObject||Lt,n.cloneUnlessOtherwiseSpecified=Nt;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):Ht(e,t,n):Nt(t,n)}zt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return zt(e,t,n)},{});throw new Error("first argument should be an array")};var Wt=zt,Yt=function(e,t){return(Yt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function jt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Yt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var f,y,Ut,g=function(){return(g=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Gt(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function Vt(e){return e.type===y.literal}function qt(e){return e.type===y.number}function Xt(e){return e.type===y.date}function Zt(e){return e.type===y.time}function Jt(e){return e.type===y.select}function Kt(e){return e.type===y.plural}function Qt(e){return e.type===y.tag}function en(e){return e&&"object"==typeof e&&e.type===Ut.number}function tn(e){return e&&"object"==typeof e&&e.type===Ut.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=Ut=Ut||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,nn=/(?:[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 rn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,on=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,an=/^(@+)?(\+|#+)?[rs]?$/g,sn=/(\*)(0+)|(#+)(0+)|(0+)/g,ln=/^(0+)$/;function cn(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(an,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function En(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 Tn(e){return En(e)||{}}function An(e){for(var a={},t=0,n=e;t<n.length;t++){var i,r=n[t];switch(r.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=r.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),r.options.reduce(function(e,t){return g(g({},e),Tn(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),r.options.reduce(function(e,t){return g(g({},e),Tn(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(sn,function(e,t,n,i,r,o){if(t)a.minimumIntegerDigits=n.length;else{if(i&&r)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ln.test(r.stem))a.minimumIntegerDigits=r.stem.length;else if(on.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(on,function(e,t,n,i,r,o){return"*"===n?a.minimumFractionDigits=t.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:r&&o?(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var o=r.options[0];"w"===o?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):o&&(a=g(g({},a),cn(o)))}else an.test(r.stem)?a=g(g({},a),cn(r.stem)):((o=En(r.stem))&&(a=g(g({},a),o)),(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 n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!ln.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(a=g(g({},a),i)))}return a}var Mn={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 Sn=new RegExp("^".concat(e.source,"*")),Dn=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,kn=!!String.fromCodePoint,In=!!Object.fromEntries,Ln=!!String.prototype.codePointAt,$n=!!String.prototype.trimStart,Nn=!!String.prototype.trimEnd,Fn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},On=!0;try{On="a"===(null==(oi=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:oi[0])}catch(c){On=!1}var Rn,Hn,zn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Wn=kn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,o=0;o<r;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},Yn=In?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],o=r[0],r=r[1];t[o]=r}return t},jn=Ln?function(e,t){return e.codePointAt(t)}:function(e,t){var n,i=e.length;if(!(t<0||i<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?n:i-56320+(n-55296<<10)+65536},Un=$n?function(e){return e.trimStart()}:function(e){return e.replace(Sn,"")},Gn=Nn?function(e){return e.trimEnd()}:function(e){return e.replace(Dn,"")};function Vn(e,t){return new RegExp(e,t)}Hn=On?(Rn=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Rn.lastIndex=t,null!=(t=Rn.exec(e)[1])?t:""}):function(e,t){for(var n,i=[];;){var r=jn(e,t);if(void 0===r||Zn(r)||33<=(n=r)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094)break;i.push(r),t+=65536<=r?2:1}return Wn.apply(void 0,i)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(e,n)).err)return r;i.push(r.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(f.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Xn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r}else if((r=this.parseLiteral(e,t)).err)return r;i.push(r.val)}else{o=this.clonePosition();this.bump(),i.push({type:y.pound,location:v(o,this.clonePosition())})}}}return{val:i,err:null}},o.prototype.parseTag=function(e,t){var n,i=this.clonePosition(),r=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(i,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Xn(this.char())?this.error(f.INVALID_TAG,v(e,this.clonePosition())):(n=this.clonePosition(),r!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,v(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(i,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,v(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,v(i,this.clonePosition()))):this.error(f.INVALID_TAG,v(i,this.clonePosition()))},o.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())},o.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{r=this.tryParseUnquoted(e,t);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:i,location:n},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Xn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.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 n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Wn.apply(void 0,t)},o.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Wn(n))},o.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,v(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(f.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(f.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},o.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Hn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},o.prototype.parseArgumentOptions=function(e,t,n,i){var r,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,v(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=Gn(d.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(i)).err?c:(h=v(i,this.clonePosition()),l&&zn(null==l?void 0:l.style,"::",0)?(m=Un(l.style.slice(2)),"number"===a?(d=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?d:{val:{type:y.number,value:n,location:h,style:d.val},err:null}:0===m.length?this.error(f.EXPECT_DATE_TIME_SKELETON,h):(u=m,this.locale&&(u=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if("j"===r){for(var o=0;i+1<e.length&&e.charAt(i+1)===r;)o++,i++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(Mn[t||""]||Mn[n||""]||Mn["".concat(n,"-001")]||Mn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<a--;)n=l+n}else n+="J"===r?"H":r}return n}(m,this.locale)),p={type:Ut.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},u.replace(nn,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}},{val:{type:"date"===a?y.date:y.time,value:n,location:h,style:p},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:n,location:h,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,g({},u)));this.bumpSpace();var d,p=this.parseIdentifierIfPossible(),h=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),p=this.parseIdentifierIfPossible(),h=d.val}var m,l=this.tryParsePluralOrSelectOptions(e,a,t,p);return l.err?l:(c=this.tryParseArgumentClose(i)).err?c:(m=v(i,this.clonePosition()),"select"===a?{val:{type:y.select,value:n,options:Yn(l.val),location:m},err:null}:{val:{type:y.plural,value:n,options:Yn(l.val),offset:h,pluralType:"plural"===a?"cardinal":"ordinal",location:m},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,v(o,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,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}},o.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(rn).filter(function(e){return 0<e.length});n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],r=r.slice(1),a=0,s=r;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:r})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ut.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?An(n):{}},err:null}},o.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var r=!1,o=[],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=v(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&&(r=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;o.push([s,{value:c.val,location:v(u,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(f.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:o,err:null}},o.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;r=!0,o=10*o+(a-48),this.bump()}i=v(i,this.clonePosition());return r?Fn(o*=n)?{val:o,err:null}:this.error(t,i):this.error(e,i)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=jn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.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))},o.prototype.bumpIf=function(e){if(zn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.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)},o.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}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Zn(this.char());)this.bump()},o.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var qn=o;function o(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 Xn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Zn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Jn(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new qn(e,t).parse();if(e.err)throw(n=SyntaxError(f[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Jt(e)||Kt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else qt(e)&&en(e.style)||(Xt(e)||Zt(e))&&tn(e.style)?delete e.style.location:Qt(e)&&n(e.children)})}(e.val),e.val}function Kn(e,t){var n=t&&t.cache?t.cache:ai,i=t&&t.serializer?t.serializer:ni;return(t&&t.strategy?t.strategy:function(e,t){return ti(e,this,1===e.length?Qn:ei,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function Qn(e,t,n,i){var n=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),r=t.get(n);return void 0===r&&(r=e.call(this,i),t.set(n,r)),r}function ei(e,t,n){var i=Array.prototype.slice.call(arguments,3),n=n(i),r=t.get(n);return void 0===r&&(r=e.apply(this,i),t.set(n,r)),r}function ti(e,t,n,i,r){return n.bind(t,e,i,r)}var ni=function(){return JSON.stringify(arguments)};function ii(){this.cache=Object.create(null)}ii.prototype.get=function(e){return this.cache[e]},ii.prototype.set=function(e,t){this.cache[e]=t};var ri,oi,ai={create:function(){return new ii}},si={variadic:function(e,t){return ti(e,this,ei,t.cache.create(),t.serializer)},monadic:function(e,t){return ti(e,this,Qn,t.cache.create(),t.serializer)}};(oi=ri=ri||{}).MISSING_VALUE="MISSING_VALUE",oi.INVALID_VALUE="INVALID_VALUE",oi.MISSING_INTL_API="MISSING_INTL_API";jt(wi,pi=Error),wi.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var li,ci,ui,di,pi,hi=wi,mi=(jt(bi,di=hi),bi),fi=(jt(vi,ui=hi),vi),gi=(jt(yi,ci=hi),yi);function yi(e,t){return ci.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ri.MISSING_VALUE,t)||this}function vi(e,t,n){return ui.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ri.INVALID_VALUE,n)||this}function bi(e,t,n,i){return di.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ri.INVALID_VALUE,i)||this}function wi(e,t,n){e=pi.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function _i(e,t,n,i,r,o,a){if(1===e.length&&Vt(e[0]))return[{type:li.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Vt(u))s.push({type:li.literal,value:u.value});else if(u.type===y.pound)"number"==typeof o&&s.push({type:li.literal,value:n.getNumberFormat(t).format(o)});else{var d=u.value;if(!(r&&d in r))throw new gi(d,a);d=r[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?li.literal:li.object,value:d});else if(Xt(u)){var p="string"==typeof u.style?i.date[u.style]:tn(u.style)?u.style.parsedOptions:void 0;s.push({type:li.literal,value:n.getDateTimeFormat(t,p).format(d)})}else if(Zt(u))p="string"==typeof u.style?i.time[u.style]:tn(u.style)?u.style.parsedOptions:i.time.medium,s.push({type:li.literal,value:n.getDateTimeFormat(t,p).format(d)});else if(qt(u))(p="string"==typeof u.style?i.number[u.style]:en(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(d*=p.scale||1),s.push({type:li.literal,value:n.getNumberFormat(t,p).format(d)});else{if(Qt(u)){var h=u.children,m=u.value,f=r[m];if("function"!=typeof f)throw new fi(m,"function",a);m=f(_i(h,t,n,i,r,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?li.literal:li.object,value:e}}))}if(Jt(u)){if(!(g=u.options[d]||u.options.other))throw new mi(u.value,d,Object.keys(u.options),a);s.push.apply(s,_i(g.value,t,n,i,r))}else if(Kt(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new hi('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ri.MISSING_INTL_API,a);var f=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new mi(u.value,d,Object.keys(u.options),a);s.push.apply(s,_i(g.value,t,n,i,r,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===li.literal&&t.type===li.literal?n.value+=t.value:e.push(t),e},[])}function xi(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=li=li||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(Pi,"defaultLocale",{get:function(){return Pi.memoizedDefaultLocale||(Pi.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Pi.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Pi.memoizedDefaultLocale=null,Pi.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])},Pi.__parse=Jn,Pi.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 Ci=Pi;function Pi(e,t,n,i){var r,o,a=this;if(void 0===t&&(t=Pi.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===li.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return _i(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=Pi.resolveLocale(t),"string"==typeof e){if(this.message=e,!Pi.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Pi.__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=(r=Pi.formats,(o=n)?Object.keys(r).reduce(function(e,t){var n,i;return e[t]=(n=r[t],(i=o[t])?g(g(g({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=g(g({},n[t]),i[t]||{}),e},{})):n),e},g({},r)):r),this.formatters=i&&i.formatters||{getNumberFormat:Kn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Gt([void 0],t,!1)))},{cache:xi((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:si.variadic}),getDateTimeFormat:Kn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Gt([void 0],t,!1)))},{cache:xi(t.dateTime),strategy:si.variadic}),getPluralRules:Kn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Gt([void 0],t,!1)))},{cache:xi(t.pluralRules),strategy:si.variadic})}}const Ei={},Ti=(e,t,n)=>n&&(t in Ei||(Ei[t]={}),e in Ei[t]||(Ei[t][e]=n),n),Ai=(t,n)=>{if(null!=n){if(n in Ei&&t in Ei[n])return Ei[n][t];var i=zi(n);for(let e=0;e<i.length;e++){var r=function(e,t){if(!Di(e))return null;e=function(e){return Mi[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var i=n.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const n=i.slice(e,i.length).join(".");if(n in t){t=t[n];break}}t=t[i[e]]}else t=void 0;return t}}}(i[e],t);if(r)return Ti(t,n,r)}}};let Mi;const Si=kt({});function Di(e){return e in Mi}function a(t,...n){delete Ei[t],Si.update(e=>(e[t]=Wt.all([e[t]||{},...n]),e))}It([Si],([e])=>Object.keys(e)),Si.subscribe(e=>Mi=e);const Bi={};function ki(e){return Bi[e]}function Ii(e){return null!=e&&zi(e).some(e=>{return null==(e=ki(e))?void 0:e.size})}const Li={};function $i(e){var t;return Ii(e)?(t=zi(e).map(e=>{var t=ki(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Li[e]=Promise.all(t.map(([e,t])=>{return i=e,Promise.all(t.map(e=>{return t=i,n=e,Bi[t].delete(n),0===Bi[t].size&&delete Bi[t],e().then(e=>e.default||e);var t,n})).then(e=>a(i,...e));var i})).then(()=>{if(Ii(e))return $i(e);delete Li[e]}),Li[e]):e in Li?Li[e]:Promise.resolve()}const Ni={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 Fi=kt(!1);let Oi;const Ri=kt(null);function Hi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function zi(e,t=Ni.fallbackLocale){e=Hi(e);return t?[...new Set([...e,...Hi(t)])]:e}function Wi(){return null!=Oi?Oi:void 0}Ri.subscribe(e=>{Oi=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const he={...Ri,set:t=>{if(t&&function(e){if(null!=e){var t=zi(e);for(let e=0;e<t.length;e++){var n=t[e];if(Di(n))return n}}}(t)&&Ii(t)){var n=Ni["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Wi()&&n?e=window.setTimeout(()=>Fi.set(!0),n):Fi.set(!0),$i(t).then(()=>{Ri.set(t)}).finally(()=>{clearTimeout(e),Fi.set(!1)})}return Ri.set(t)}},Yi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},ji=(e,t)=>{var n=Ni["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ui=Yi(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=ji("number",t)),new Intl.NumberFormat(e,n)}),Gi=Yi(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=ji("date",t):0===Object.keys(n).length&&(n=ji("date","short")),new Intl.DateTimeFormat(e,n)}),Vi=Yi(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=ji("time",t):0===Object.keys(n).length&&(n=ji("time","short")),new Intl.DateTimeFormat(e,n)}),qi=Yi((e,t=Wi())=>new Ci(e,t,Ni.formats,{ignoreTag:Ni.ignoreTag})),me=It([he,Si],()=>(e,t={})=>{var n,i;let r=t;"object"==typeof e&&(e=(r=e).id);var{values:o,locale:a=Wi(),default:s}=r;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ai(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!=(n=null==(n=(i=Ni).handleMissingMessage)?void 0:n.call(i,{locale:a,id:e,defaultValue:s}))?n:s)?i:e;if(!o)return l;let c=l;try{c=qi(l,a).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),fe=(It([he],()=>(e,t)=>{return[{locale:t=Wi(),...n}={}]=[t],Vi({locale:t,...n}).format(e);var n}),It([he],()=>(e,t)=>{return[{locale:t=Wi(),...n}={}]=[t],Gi({locale:t,...n}).format(e);var n}),It([he],()=>(e,t)=>{return[{locale:t=Wi(),...n}={}]=[t],Ui({locale:t,...n}).format(e);var n}),It([he,Si],()=>(e,t=Wi())=>Ai(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==St.indexOf(e)&&(t=new Et(t),Dt[e]=t,St.push(e)),Dt[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");function Xi(e,t){a(e,t)}const Zi={en:{profileUpdateSuccess:"Profile updated!",timeoutSuccess:"Timeout active",selfExclusionSuccess:"Self exclusion active",accountClosureSuccess:"Account closed",limitsUpdateSuccess:"Limits updated",limitsDeleteSuccess:"Limits deleted",passwordChangedSuccess:"Password changed successfully",realityCheckSuccess:"Reality check options saved"},"zh-hk":{profileUpdateSuccess:"資料更新!",timeoutSuccess:"超時有效",selfExclusionSuccess:"自我排斥活躍",accountClosureSuccess:"賬戶關閉",limitsUpdateSuccess:"限制已更新",limitsDeleteSuccess:"已刪除限制",passwordChangedSuccess:"密碼修改成功",realityCheckSuccess:"現實檢查選項已保存"},fr:{profileUpdateSuccess:"Mise à jour du profil!",timeoutSuccess:"Délai d'attente actif",selfExclusionSuccess:"Auto exclusion active",accountClosureSuccess:"Compte fermé",limitsUpdateSuccess:"Limites des mises à jour",limitsDeleteSuccess:"Limites supprimées",passwordChangedSuccess:"Le mot de passe a été modifié avec succés",realityCheckSuccess:"Options de contrôle de la réalité sauvegardées"},ro:{profileUpdateSuccess:"Profil updatat!",timeoutSuccess:"Timeout activ",selfExclusionSuccess:"Auto-excludere activa",accountClosureSuccess:"Cont inchis",limitsUpdateSuccess:"Limite updatate",limitsDeleteSuccess:"Limite sterse",passwordChangedSuccess:"Parola schimbata cu success",realityCheckSuccess:"Optiunile de verificare de timp salvate"},es:{profileUpdateSuccess:"Perfil actualizado!",timeoutSuccess:"Pausa activa",selfExclusionSuccess:"Auto Exclusión activa.",accountClosureSuccess:"Cuenta cerrada",limitsUpdateSuccess:"Limites actualizados",limitsDeleteSuccess:"Limites delegados",passwordChangedSuccess:"Cambio de Contraseña satisfactorio",realityCheckSuccess:"Opciones de verificación de realidad guardadas"},pt:{profileUpdateSuccess:"Perfil atualizado!",timeoutSuccess:"Tempo Limite ativo",selfExclusionSuccess:"Autoexclusão ativa",accountClosureSuccess:"Conta encerrada",limitsUpdateSuccess:"Limites atualizados",limitsDeleteSuccess:"Limites excluídos",passwordChangedSuccess:"Senha alterada com sucesso",realityCheckSuccess:"Opções de verificação de realidade salvas"}};function Ji(e,t){a(e,t)}const Ki={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"}};function Qi(e,t){a(e,t)}const er={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"}};function tr(n){let i,r,o,a,s,l,c=n[2]("logoutButton")+"";return{c(){i=mn("div"),r=mn("button"),o=mn("span"),a=gn(c),bn(i,"class","GeneralLogout"),bn(i,"part","GeneralLogout")},m(e,t){pn(e,i,t),dn(i,r),dn(r,o),dn(o,a),s||(l=vn(r,"click",n[13]),s=!0)},p(e,t){4&t&&c!==(c=e[2]("logoutButton")+"")&&wn(a,c)},d(e){e&&hn(i),s=!1,l()}}}function nr(o){let n,i,r,a,s,l,c,u,d,p,h,m=!o[3]&&function(){let n,i,r=o[2]("logoutButton")+"";return{c(){n=mn("span"),i=gn(r),bn(n,"class","PlayerLogoutText"),bn(n,"part","PlayerLogoutText")},m(e,t){pn(e,n,t),dn(n,i)},p(e,t){4&t&&r!==(r=e[2]("logoutButton")+"")&&wn(i,r)},d(e){e&&hn(n)}}}();return{c(){n=mn("p"),i=mn("span"),r=fn("svg"),a=fn("defs"),s=fn("style"),l=gn(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"),c=fn("path"),u=fn("path"),d=yn(),m&&m.c(),bn(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),bn(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"),bn(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),bn(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"),bn(r,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),bn(r,"data-name","Layer 1"),bn(r,"xmlns","http://www.w3.org/2000/svg"),bn(r,"viewBox","0 0 150 150"),S(i,"width",o[3]?o[4].matches?"50px":"24px":"20px"),bn(n,"class","PlayerAccountMenuItemBox "+(o[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(o[4].matches&&o[3]?"PlayerAccountMenuItemBoxTablet":"")),bn(n,"part","PlayerAccountMenuItemBox "+(o[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(o[4].matches&&o[3]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){pn(e,n,t),dn(n,i),dn(i,r),dn(r,a),dn(a,s),dn(s,l),dn(r,c),dn(r,u),dn(n,d),m&&m.m(n,null),p||(h=vn(n,"click",o[12]),p=!0)},p(e,t){e[3]||m.p(e,t)},d(e){e&&hn(n),m&&m.d(),p=!1,h()}}}function ir(n){let i;function r(e){return"PlayerAccountMenu"===e[0]?nr:tr}let o=r(n),a=o(n);return{c(){i=mn("div"),a.c(),this.c=se},m(e,t){pn(e,i,t),a.m(i,null),n[14](i)},p(e,[t]){o===(o=r(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(i,null)))},i:se,o:se,d(e){e&&hn(i),a.d(),n[14](null)}}}function rr(t,e,n){let i;ue(t,me,e=>n(2,i=e));let r,{endpoint:o=""}=e,{session:a=""}=e,{buttonlocation:s=""}=e,{lang:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{translationurl:d=""}=e,p="",h=!1,m=window.navigator.userAgent,f="PC"!==fe(m);e=window.matchMedia("(min-width: 768px)");Object.keys(er).forEach(e=>{Qi(e,er[e])});const g=()=>{var e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",a),fetch(o+"/player/session/player",{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"})})};return t.$$set=e=>{"endpoint"in e&&n(6,o=e.endpoint),"session"in e&&n(7,a=e.session),"buttonlocation"in e&&n(0,s=e.buttonlocation),"lang"in e&&n(8,l=e.lang),"clientstyling"in e&&n(9,c=e.clientstyling),"clientstylingurl"in e&&n(10,u=e.clientstylingurl),"translationurl"in e&&n(11,d=e.translationurl)},t.$$.update=()=>{if(193&t.$$.dirty&&o&&a&&s&&(o||(p="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",h=!0,console.error(p)),a||(p="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",h=!0,console.error(p))),256&t.$$.dirty&&l&&(e=l,he.set(e)),514&t.$$.dirty&&c&&r&&((e=document.createElement("style")).innerHTML=c,r.appendChild(e)),1026&t.$$.dirty&&u&&r){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e;2048&t.$$.dirty&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Qi(e,t[e])})}).catch(e=>{console.log(e)})},[s,r,i,f,e,g,o,a,l,c,u,d,()=>g(),()=>g(),function(e){pe[e?"unshift":"push"](()=>{r=e,n(1,r)})}]}function or(e,t,n){e=e.slice();return e[32]=t[n],e}function ar(n){let i,r,o,a,s,l,c,u,d,p,h,m,f=n[32].label+"";function g(){return n[19](n[32])}return{c(){i=mn("div"),r=mn("p"),o=mn("img"),s=yn(),l=mn("span"),c=gn(f),u=yn(),bn(o,"class","PlayerAccountMenuItemIcon "+(n[10]?"PlayerAccountMenuItemIconMobile":"")),bn(o,"part","PlayerAccountMenuItemIcon "+(n[10]?"PlayerAccountMenuItemIconMobile":"")),_(o.src,a=n[32].img)||bn(o,"src",a),bn(l,"class","PlayerAccountMenuItemTitle"),bn(l,"part","PlayerAccountMenuItemTitle"),bn(r,"class","PlayerAccountMenuItemWrapper"),bn(r,"part","PlayerAccountMenuItemWrapper"),bn(i,"class",d="PlayerAccountMenuItemBox "+(n[6]!==n[32].id||n[10]?"":"PlayerAccountMenuActiveItemBox")),bn(i,"part",p="PlayerAccountMenuItemBox "+(n[6]!==n[32].id||n[10]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){pn(e,i,t),dn(i,r),dn(r,o),dn(r,s),dn(r,l),dn(l,c),dn(i,u),h||(m=vn(i,"click",g),h=!0)},p(e,t){n=e,32&t[0]&&!_(o.src,a=n[32].img)&&bn(o,"src",a),32&t[0]&&f!==(f=n[32].label+"")&&wn(c,f),96&t[0]&&d!==(d="PlayerAccountMenuItemBox "+(n[6]!==n[32].id||n[10]?"":"PlayerAccountMenuActiveItemBox"))&&bn(i,"class",d),96&t[0]&&p!==(p="PlayerAccountMenuItemBox "+(n[6]!==n[32].id||n[10]?"":"PlayerAccountMenuActiveItemBox"))&&bn(i,"part",p)},d(e){e&&hn(i),h=!1,m()}}}function sr(n){let i,r=function(t){let n,i,r,o,a,s,l,c,u,d,p,h,m=t[10]&&function(n){let i,r,o,a,s,l,c,u,d,p,h,m,f,g=n[9]("title")+"";return{c(){i=mn("div"),r=fn("svg"),o=fn("defs"),a=fn("style"),s=gn(".aaa{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=fn("g"),c=fn("g"),u=fn("path"),d=yn(),p=mn("h3"),h=gn(g),bn(u,"class","aaa"),bn(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),bn(u,"transform","translate(15 15) rotate(180)"),bn(c,"transform","translate(20 158)"),bn(l,"transform","translate(-20 -158)"),bn(r,"xmlns","http://www.w3.org/2000/svg"),bn(r,"width","15"),bn(r,"height","15"),bn(r,"viewBox","0 0 15 15"),bn(p,"class","PlayerAccountMenuCategoryTitle"),bn(p,"part","PlayerAccountMenuCategoryTitle"),bn(i,"class","PlayerAccountMenuCategoryWrapper"),bn(i,"part","PlayerAccountMenuCategoryWrapper")},m(e,t){pn(e,i,t),dn(i,r),dn(r,o),dn(o,a),dn(a,s),dn(r,l),dn(l,c),dn(c,u),dn(i,d),dn(i,p),dn(p,h),m||(f=[vn(r,"click",n[12]),vn(p,"click",n[12])],m=!0)},p(e,t){512&t[0]&&g!==(g=e[9]("title")+"")&&wn(h,g)},d(e){e&&hn(i),m=!1,un(f)}}}(t),f=t[10]&&function(e){let n,i;return{c(){n=mn("div"),le(i=mn("general-logout"),"endpoint",e[1]),le(i,"session",e[0]),le(i,"buttonlocation","PlayerAccountMenu"),le(i,"clientstyling",e[2]),le(i,"clientstylingurl",e[3]),bn(n,"class","PlayerAccountLogOutArea"),bn(n,"part","PlayerAccountLogOutArea")},m(e,t){pn(e,n,t),dn(n,i)},p(e,t){2&t[0]&&le(i,"endpoint",e[1]),1&t[0]&&le(i,"session",e[0]),4&t[0]&&le(i,"clientstyling",e[2]),8&t[0]&&le(i,"clientstylingurl",e[3])},d(e){e&&hn(n)}}}(t),g=t[5],y=[];for(let e=0;e<g.length;e+=1)y[e]=ar(or(t,g,e));let v=!t[10]&&function(e){let n,i;return{c(){n=mn("div"),le(i=mn("general-logout"),"endpoint",e[1]),le(i,"session",e[0]),le(i,"buttonlocation","PlayerAccountMenu"),le(i,"clientstyling",e[2]),le(i,"clientstylingurl",e[3]),bn(n,"class","PlayerAccountLogOutArea"),bn(n,"part","PlayerAccountLogOutArea")},m(e,t){pn(e,n,t),dn(n,i)},p(e,t){2&t[0]&&le(i,"endpoint",e[1]),1&t[0]&&le(i,"session",e[0]),4&t[0]&&le(i,"clientstyling",e[2]),8&t[0]&&le(i,"clientstylingurl",e[3])},d(e){e&&hn(n)}}}(t);return{c(){n=mn("div"),i=mn("div"),m&&m.c(),r=yn(),o=mn("p"),a=gn(t[7]),s=yn(),l=mn("p"),c=gn(t[8]),u=yn(),f&&f.c(),d=yn(),p=mn("div");for(let e=0;e<y.length;e+=1)y[e].c();h=yn(),v&&v.c(),bn(o,"class","PlayerAccountMenuUser"),bn(o,"part","PlayerAccountMenuUser"),bn(l,"class","PlayerAccountMenuEmail"),bn(l,"part","PlayerAccountMenuEmail"),bn(i,"class","PlayerAccountMenuHeader "+(t[10]?"PlayerAccountMenuHeaderMobile":"")),bn(i,"part","PlayerAccountMenuHeader"),bn(p,"class","PlayerAccountMenuList"),bn(p,"part","PlayerAccountMenuList"),bn(n,"class","PlayerAccountMenuContainer "+(t[10]?"PlayerAccountMobileContainer":"")+" "+(t[11].matches&&t[10]?"PlayerAccountTabletContainer":"")),bn(n,"part","PlayerAccountMenuContainer "+(t[10]?"PlayerAccountMobileContainer":"")+" "+(t[11].matches&&t[10]?"PlayerAccountTabletContainer":""))},m(e,t){pn(e,n,t),dn(n,i),m&&m.m(i,null),dn(i,r),dn(i,o),dn(o,a),dn(i,s),dn(i,l),dn(l,c),dn(i,u),f&&f.m(i,null),dn(n,d),dn(n,p);for(let e=0;e<y.length;e+=1)y[e]&&y[e].m(p,null);dn(n,h),v&&v.m(n,null)},p(t,n){if(t[10]&&m.p(t,n),128&n[0]&&wn(a,t[7]),256&n[0]&&wn(c,t[8]),t[10]&&f.p(t,n),9312&n[0]){let e;for(g=t[5],e=0;e<g.length;e+=1){var i=or(t,g,e);y[e]?y[e].p(i,n):(y[e]=ar(i),y[e].c(),y[e].m(p,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[10]||v.p(t,n)},d(e){e&&hn(n),m&&m.d(),f&&f.d(),_n(y,e),v&&v.d()}}}(n);return{c(){i=mn("div"),r.c(),this.c=se},m(e,t){pn(e,i,t),r.m(i,null),n[20](i)},p(e,t){r.p(e,t)},i:se,o:se,d(e){e&&hn(i),r.d(),n[20](null)}}}function lr(n,e,i){let t;ue(n,me,e=>i(9,t=e));let r,o,{endpoint:a=""}=e,{session:s=""}=e,{playerid:l=""}=e,{lang:c="en"}=e,{selecteditem:u=""}=e,{userroles:d=""}=e,{clientstyling:p=""}=e,{clientstylingurl:h=""}=e,{translationurl:m=""}=e,f=[],g=window.navigator.userAgent,y="PC"!==fe(g),v="",b="";e=window.matchMedia("(min-width: 768px)");Object.keys(Ki).forEach(e=>{Ji(e,Ki[e])});const w=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":i(5,f=e.data.accountMenuInfo);break;case"UserSessionID":i(0,s=e.data.session);break;case"ChangeAccountPage":x()}},_=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),i(6,o=e.id)},x=()=>{i(6,o=u)};return de(()=>(window.addEventListener("message",w,!1),()=>{window.removeEventListener("message",w)})),n.$$set=e=>{"endpoint"in e&&i(1,a=e.endpoint),"session"in e&&i(0,s=e.session),"playerid"in e&&i(14,l=e.playerid),"lang"in e&&i(15,c=e.lang),"selecteditem"in e&&i(16,u=e.selecteditem),"userroles"in e&&i(17,d=e.userroles),"clientstyling"in e&&i(2,p=e.clientstyling),"clientstylingurl"in e&&i(3,h=e.clientstylingurl),"translationurl"in e&&i(18,m=e.translationurl)},n.$$.update=()=>{if(32768&n.$$.dirty[0]&&c&&(t=c,he.set(t)),49155&n.$$.dirty[0]&&a&&s&&l&&c&&((t=new URL(`${a}/player/${l}/profile`)).searchParams.append("userRoles",d),e={method:"GET",headers:{"X-SessionID":s}},fetch(t.href,e).then(e=>e.json()).then(e=>{i(7,v=e.username),i(8,b=e.email)},e=>{console.error(e)})),65536&n.$$.dirty[0]&&u&&x(),24&n.$$.dirty[0]&&h&&r){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e,t;20&n.$$.dirty[0]&&p&&r&&((e=document.createElement("style")).innerHTML=p,r.appendChild(e)),262144&n.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ji(e,t[e])})}).catch(e=>{console.log(e)})},[s,a,p,h,r,f,o,v,b,t,y,e,()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},_,l,c,u,d,m,e=>_(e),function(e){pe[e?"unshift":"push"](()=>{r=e,i(4,r)})}]}function cr(e,t,n){e=e.slice();return e[14]=t[n],e}function ur(t){let r,o=t[1],a=[];for(let e=0;e<o.length;e+=1)a[e]=dr(cr(t,o,e));return{c(){r=mn("div");for(let e=0;e<a.length;e+=1)a[e].c();bn(r,"class","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":"")),bn(r,"part","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){pn(e,r,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(r,null)},p(t,n){if(2&n){let e;for(o=t[1],e=0;e<o.length;e+=1){var i=cr(t,o,e);a[e]?a[e].p(i,n):(a[e]=dr(i),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&hn(r),_n(a,e)}}}function dr(e){let n,i,r,o,a,s,l,c,u,d,p,h=e[14].title+"",m=e[14].description+"";return{c(){n=mn("div"),i=mn("div"),r=mn("img"),s=yn(),l=mn("p"),c=gn(h),u=yn(),d=mn("p"),p=yn(),bn(r,"class","PlayerAccountNotificationIcon"),bn(r,"part","PlayerAccountNotificationIcon"),_(r.src,o=e[14].icon)||bn(r,"src",o),bn(r,"alt",a=e[14].title),bn(l,"class","PlayerAccountNotificationTitle"),bn(l,"part","PlayerAccountNotificationTitle"),bn(i,"class","PlayerAccountNotificationBoxHeader"),bn(i,"part","PlayerAccountNotificationBoxHeader"),bn(d,"class","PlayerAccountNotificationText"),bn(d,"part","PlayerAccountNotificationText"),bn(n,"class","PlayerAccountNotificationBox"),bn(n,"part","PlayerAccountNotificationBox"),S(n,"background",e[14].backgroundColor)},m(e,t){pn(e,n,t),dn(n,i),dn(i,r),dn(i,s),dn(i,l),dn(l,c),dn(n,u),dn(n,d),d.innerHTML=m,dn(n,p)},p(e,t){2&t&&!_(r.src,o=e[14].icon)&&bn(r,"src",o),2&t&&a!==(a=e[14].title)&&bn(r,"alt",a),2&t&&h!==(h=e[14].title+"")&&wn(c,h),2&t&&m!==(m=e[14].description+"")&&(d.innerHTML=m),2&t&&S(n,"background",e[14].backgroundColor)},d(e){e&&hn(n)}}}function pr(n){let i;function r(e){if(e[1].length)return ur}let o=r(n),a=o&&o(n);return{c(){i=mn("div"),a&&a.c(),this.c=se},m(e,t){pn(e,i,t),a&&a.m(i,null),n[7](i)},p(e,[t]){o===(o=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=o&&o(e))&&(a.c(),a.m(i,null)))},i:se,o:se,d(e){e&&hn(i),a&&a.d(),n[7](null)}}}function hr(t,e,n){let i,{customnotif:r=""}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,s=window.navigator.userAgent,l="PC"!==fe(s),c=[],u=[];const d=window.matchMedia("(min-width: 768px)"),p=e=>{e.data&&"NotificationsDetails"===e.data.type&&(n(1,c=e.data.notificationsInfo),c.forEach(e=>{u.length&&(e.backgroundColor=u[0],u.shift())}))},h=()=>{r.replace(" ",""),u=r.split(",")};return de(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)})),t.$$set=e=>{"customnotif"in e&&n(4,r=e.customnotif),"clientstyling"in e&&n(5,o=e.clientstyling),"clientstylingurl"in e&&n(6,a=e.clientstylingurl)},t.$$.update=()=>{if(16&t.$$.dirty&&r&&h(),2&t.$$.dirty&&c&&h(),65&t.$$.dirty&&a&&i){let e=new URL(a),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;33&t.$$.dirty&&o&&i&&((e=document.createElement("style")).innerHTML=o,i.appendChild(e))},[i,c,l,d,r,o,a,function(e){pe[e?"unshift":"push"](()=>{i=e,n(0,i)})}]}function mr(e,t){a(e,t)}customElements.get("general-logout")||customElements.define("general-logout",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox: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)}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},rr,ir,n,{endpoint:6,session:7,buttonlocation:0,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&pn(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","buttonlocation","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),p()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),p()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),p()}}),customElements.get("player-account-menu")||customElements.define("player-account-menu",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".PlayerAccountMenuContainer{color:var(--emfe-w-color-white, #FFFFFF);position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b}.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}.PlayerAccountMenuHeaderMobile{color:var(--emfe-w-color-white, #FFFFFF)}.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{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;border-top:1px solid var(--emfe-w-color-gray-150, #828282)}.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;border-top:0}.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}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},lr,sr,n,{endpoint:1,session:0,playerid:14,lang:15,selecteditem:16,userroles:17,clientstyling:2,clientstylingurl:3,translationurl:18},null,[-1,-1]),e&&(e.target&&pn(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","playerid","lang","selecteditem","userroles","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),p()}get playerid(){return this.$$.ctx[14]}set playerid(e){this.$$set({playerid:e}),p()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),p()}get selecteditem(){return this.$$.ctx[16]}set selecteditem(e){this.$$set({selecteditem:e}),p()}get userroles(){return this.$$.ctx[17]}set userroles(e){this.$$set({userroles:e}),p()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),p()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},hr,pr,n,{customnotif:4,clientstyling:5,clientstylingurl:6},null),e&&(e.target&&pn(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["customnotif","clientstyling","clientstylingurl"]}get customnotif(){return this.$$.ctx[4]}set customnotif(e){this.$$set({customnotif:e}),p()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}});const fr={en:{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"},"zh-hk":{title:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",cooloff24:"冷卻 24 小時",cooloff7:"冷卻 7 天",cooloff30:"冷卻 30 天",cooloff3:"冷靜3個月",cooloff24Text:"24小時",cooloff7Text:"7天",cooloff30Text:"30天",cooloff3Text:"3個月"},fr:{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:{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:{title:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",cooloff24:"CoolOffPor24Horas",cooloff7:"CoolOffPor7Días",cooloff30:"CoolOffPor30Días",cooloff3:"CoolOffPor3Meses",cooloff24Text:"24 horas",cooloff7Text:"7 días",cooloff30Text:"30 días",cooloff3Text:"3 meses"},pt:{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 gr(e,t,n){e=e.slice();return e[21]=t[n].value,e[22]=t[n].text,e}function yr(e){let n,i,t=e[22]+"";return{c(){n=mn("option"),i=gn(t),n.__value=e[21],n.value=n.__value},m(e,t){pn(e,n,t),dn(n,i)},p:se,d(e){e&&hn(n)}}}function vr(n){let i,r,o,a,s,l,c,u,d,p,h,m,f,g,y,v,b,w,_,x,C,e=n[3]("title")+"",P=n[3]("timeoutTextFirst",{values:{operatorname:n[0]}})+"",E=n[3]("timeoutTextSecondary")+"",T=n[3]("save")+"",A=n[4]&&function(n){let i,r,o,a,s,l,c,u,d,p,h,m,f,g=n[3]("title")+"";return{c(){i=mn("div"),r=fn("svg"),o=fn("defs"),a=fn("style"),s=gn(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=fn("g"),c=fn("g"),u=fn("path"),d=yn(),p=mn("h2"),h=gn(g),bn(u,"class","aaa"),bn(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),bn(u,"transform","translate(15 15) rotate(180)"),bn(c,"transform","translate(20 158)"),bn(l,"transform","translate(-20 -158)"),bn(r,"xmlns","http://www.w3.org/2000/svg"),bn(r,"width","15"),bn(r,"height","15"),bn(r,"viewBox","0 0 15 15"),bn(p,"class","TimeoutTitleMobile"),bn(p,"part","TimeoutTitleMobile"),bn(i,"class","MenuReturnButton"),bn(i,"part","MenuReturnButton")},m(e,t){pn(e,i,t),dn(i,r),dn(r,o),dn(o,a),dn(a,s),dn(r,l),dn(l,c),dn(c,u),dn(i,d),dn(i,p),dn(p,h),m||(f=vn(i,"click",n[12]),m=!0)},p(e,t){8&t&&g!==(g=e[3]("title")+"")&&wn(h,g)},d(e){e&&hn(i),m=!1,f()}}}(n),M=n[5],S=[];for(let e=0;e<M.length;e+=1)S[e]=yr(gr(n,M,e));return{c(){i=mn("div"),r=mn("form"),A&&A.c(),o=yn(),a=mn("h2"),s=gn(e),l=yn(),c=mn("div"),u=mn("p"),d=gn(P),p=yn(),h=mn("p"),m=gn(E),f=yn(),g=mn("div"),y=mn("select");for(let e=0;e<S.length;e+=1)S[e].c();v=yn(),b=mn("div"),w=mn("button"),_=gn(T),this.c=se,bn(a,"class","TimeoutTitle "+(n[4]?"TimeoutTitleNone":"")),bn(a,"part","TimeoutTitle "+(n[4]?"TimeoutTitleNone":"")),bn(c,"class","TimeoutDescription "+(n[4]?"TimeoutDescriptionMobile":"")),bn(c,"part","TimeoutDescription "+(n[4]?"TimeoutDescriptionMobile":"")),bn(y,"class","TimeoutSelect "+(n[4]?"TimeoutSelectMobile":"")),bn(y,"part","TimeoutSelect "+(n[4]?"TimeoutSelectMobile":"")),void 0===n[2]&&Pn(()=>n[13].call(y)),bn(g,"class","TimeoutSelectWrapper"),bn(g,"part","TimeoutSelectWrapper"),bn(w,"class","TimeoutSave"),bn(w,"part","TimeoutSave"),bn(b,"class","TimeoutActionButtons "+(n[4]?"TimeoutActionButtonsMobile":"")),bn(b,"part","TimeoutActionButtons "+(n[4]?"TimeoutActionButtonsMobile":"")),bn(r,"class","TimeoutWrapper "+(n[4]?"TimeoutWrapperMobile":"")),bn(r,"part","TimeoutWrapper "+(n[4]?"TimeoutWrapperMobile":""))},m(e,t){pn(e,i,t),dn(i,r),A&&A.m(r,null),dn(r,o),dn(r,a),dn(a,s),dn(r,l),dn(r,c),dn(c,u),dn(u,d),dn(c,p),dn(c,h),dn(h,m),dn(r,f),dn(r,g),dn(g,y);for(let e=0;e<S.length;e+=1)S[e]&&S[e].m(y,null);Cn(y,n[2],!0),dn(r,v),dn(r,b),dn(b,w),dn(w,_),n[15](i),x||(C=[vn(y,"change",n[13]),vn(w,"click",n[14])],x=!0)},p(t,[n]){if(t[4]&&A.p(t,n),8&n&&e!==(e=t[3]("title")+"")&&wn(s,e),9&n&&P!==(P=t[3]("timeoutTextFirst",{values:{operatorname:t[0]}})+"")&&wn(d,P),8&n&&E!==(E=t[3]("timeoutTextSecondary")+"")&&wn(m,E),32&n){let e;for(M=t[5],e=0;e<M.length;e+=1){var i=gr(t,M,e);S[e]?S[e].p(i,n):(S[e]=yr(i),S[e].c(),S[e].m(y,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=M.length}36&n&&Cn(y,t[2]),8&n&&T!==(T=t[3]("save")+"")&&wn(_,T)},i:se,o:se,d(e){e&&hn(i),A&&A.d(),_n(S,e),n[15](null),x=!1,un(C)}}}function br(t,e,n){let i;ue(t,me,e=>n(3,i=e));let r,{operator:o="Everymatrix"}=e,{lang:a="en"}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{translationurl:c=""}=e,u=window.navigator.userAgent,d="PC"!==fe(u),p=(Object.keys(fr).forEach(e=>{mr(e,fr[e])}),[{value:i("cooloff24"),text:i("cooloff24Text")},{value:i("cooloff7"),text:i("cooloff7Text")},{value:i("cooloff30"),text:i("cooloff30Text")},{value:i("cooloff3"),text:i("cooloff3Text")}]),h=p[0].value;const m=e=>{e.preventDefault(),window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:h},window.location.href)},f=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:d},window.location.href)};return t.$$set=e=>{"operator"in e&&n(0,o=e.operator),"lang"in e&&n(8,a=e.lang),"clientstyling"in e&&n(9,s=e.clientstyling),"clientstylingurl"in e&&n(10,l=e.clientstylingurl),"translationurl"in e&&n(11,c=e.translationurl)},t.$$.update=()=>{if(256&t.$$.dirty&&a&&(e=a,he.set(e)),1026&t.$$.dirty&&l&&r){let e=new URL(l),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;514&t.$$.dirty&&s&&r&&((e=document.createElement("style")).innerHTML=s,r.appendChild(e)),2048&t.$$.dirty&&c&&fetch(c).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{mr(e,t[e])})}).catch(e=>{console.log(e)})},[o,r,h,i,d,p,m,f,a,s,l,c,()=>f(),function(){h=ye(this),n(2,h),n(5,p)},e=>m(e),function(e){pe[e?"unshift":"push"](()=>{r=e,n(1,r)})}]}customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".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}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},br,vr,n,{operator:0,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&pn(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["operator","lang","clientstyling","clientstylingurl","translationurl"]}get operator(){return this.$$.ctx[0]}set operator(e){this.$$set({operator:e}),p()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),p()}});_r=wr={path:void 0,exports:{},require:function(e,t){return Bn(null==t&&wr.path)}},wr.exports,_r.exports=function(){var N;function m(){return N.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function O(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function R(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function H(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function z(e,t){for(var n=[],i=e.length,r=0;r<i;++r)n.push(t(e[r],r));return n}function W(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,i){return Bt(e,t,n,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),n=U.call(t.parsedDateParts,function(e){return null!=e}),n=!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&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function j(e){var t=c(NaN);return null!=e?W(g(t),e):g(t).userInvalidated=!0,t}var U=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;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 n,i,r,o=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<o)for(n=0;n<o;n++)s(r=t[i=G[n]])||(e[i]=r);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(o,a){var s=!0;return W(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),s){for(var e,t,n=[],i=arguments.length,r=0;r<i;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}Z(o+"\nArguments: "+Array.prototype.slice.call(n).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 n,i=W({},e);for(n in t)f(t,n)&&(F(e[n])&&F(t[n])?(i[n]={},W(i[n],e[n]),W(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)f(e,n)&&!f(t,n)&&F(e[n])&&(i[n]=W({},i[n]));return i}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};function o(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var ne=/(\[[^\[]*\])|(\\)?([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,re={},oe={};function i(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(oe[e]=r),t&&(oe[t[0]]=function(){return o(r.apply(this,arguments),t[1],t[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||function(i){for(var e,r=i.match(ne),t=0,o=r.length;t<o;t++)oe[r[t]]?r[t]=oe[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=u(r[n])?r[n].call(e,i):r[n];return t}}(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=n&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,i={};for(n in e)f(e,n)&&(t=d(n))&&(i[t]=e[n]);return i}var ue={};function n(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,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):he(this,t)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(n=h(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Le(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var r=/\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+/,Ee=/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,n,i){Me[e]=u(n)?n:function(e,t){return e&&i?i:n}}function Ae(e,t){return f(Me,e)?Me[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={},Se={};function x(e,n){var t,i,r=n;for("string"==typeof e&&(e=[e]),R(n)&&(r=function(e,t){t[n]=h(e)}),i=e.length,t=0;t<i;t++)Se[e[t]]=r}function De(e,r){x(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var C,P=0,E=1,T=2,A=3,M=4,S=5,Be=6,ke=7,Ie=8;function Le(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?de(e)?29:28:31-n%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"),n("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[E]=h(e)-1}),x(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[E]=i:g(n).invalidMonth=e});var $e="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oe=b,Re=b;function He(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=h(t);else if(!R(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function ze(e){return null!=e?(He(this,e),m.updateOffset(this,!0),this):he(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],o=0;o<12;o++)t=c([2e3,o]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),o=0;o<12;o++)n[o]=_(n[o]),i[o]=_(i[o]);for(o=0;o<24;o++)r[o]=_(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ye(e){return de(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?o(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"),n("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 je=pe("FullYear",!0);function Ue(e,t,n,i,r,o,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,o,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,n){n=7+t-n;return-(7+Ge(e,0,n).getUTCDay()-t)%7+n-1}function qe(e,t,n,i,r){var o,t=1+7*(t-1)+(7+n-i)%7+Ve(e,i,r),n=t<=0?Ye(o=e-1)+t:t>Ye(e)?(o=e+1,t-Ye(e)):(o=e,t);return{year:o,dayOfYear:n}}function Xe(e,t,n){var i,r,o=Ve(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?i=o+D(r=e.year()-1,t,n):o>D(e.year(),t,n)?(i=o-D(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function D(e,t,n){var i=Ve(e,t,n),t=Ve(e+1,t,n);return(Ye(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),De(["w","ww","W","WW"],function(e,t,n,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"),n("day",11),n("weekday",11),n("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,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e}),De(["d","e","E"],function(e,t,n,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,nt=b;function it(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],o=[],a=[],s=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=_(this.weekdaysMin(i,"")),n=_(this.weekdaysShort(i,"")),i=_(this.weekdays(i,"")),r.push(t),o.push(n),a.push(i),s.push(t),s.push(n),s.push(i);r.sort(e),o.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function rt(){return this.hours()%12||12}function ot(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,rt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+rt.apply(this)+o(this.minutes(),2)}),i("hmmss",0,0,function(){return""+rt.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),t("hour","h"),n("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"],A),x(["k","kk"],function(e,t,n){e=h(e);t[A]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[A]=h(e),g(n).bigHour=!0}),x("hmm",function(e,t,n){var i=e.length-2;t[A]=h(e.substr(0,i)),t[M]=h(e.substr(i)),g(n).bigHour=!0}),x("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[A]=h(e.substr(0,i)),t[M]=h(e.substr(i,2)),t[S]=h(e.substr(r)),g(n).bigHour=!0}),x("Hmm",function(e,t,n){var i=e.length-2;t[A]=h(e.substr(0,i)),t[M]=h(e.substr(i))}),x("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[A]=h(e.substr(0,i)),t[M]=h(e.substr(i,2)),t[S]=h(e.substr(r))});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:$e,monthsShort:Ne,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},B={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=ut(e[o]).split("-")).length,n=(n=ut(e[o+1]))?n.split("-"):null;0<t;){if(i=pt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}o++}return st}function pt(t){var e;if(void 0===B[t]&&_r&&_r.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Bn(),ht(e)}catch(e){B[t]=null}return B[t]}function ht(e,t){return e&&((t=s(t)?k(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 B[e],null;var n,i=lt;if(t.abbr=e,null!=B[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=B[e]._config;else if(null!=t.parentLocale)if(null!=B[t.parentLocale])i=B[t.parentLocale]._config;else{if(null==(n=pt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=n._config}return B[e]=new ee(Q(i,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),ht(e),B[e]}function k(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[E]<0||11<t[E]?E:t[T]<1||t[T]>Le(t[P],t[E])?T:t[A]<0||24<t[A]||24===t[A]&&(0!==t[M]||0!==t[S]||0!==t[Be])?A:t[M]<0||59<t[M]?M:t[S]<0||59<t[S]?S:t[Be]<0||999<t[Be]?Be:-1,g(e)._overflowDayOfYear&&(t<P||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=ke),g(e)._overflowWeekday&&-1===t&&(t=Ie),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,n,i,r,o,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,n=s;t<n;t++)if(bt[t][1].exec(l[1])){r=bt[t][0],i=!1!==bt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){o=(l[2]||" ")+wt[t][0];break}if(null==o)return e._isValid=!1}if(!i&&null!=o)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=r+(o||"")+(a||""),St(e)}else e._isValid=!1}function Et(e,t,n,i,r,o){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ne.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&e.push(parseInt(o,10)),e}function Tt(e){var t,n,i,r,o=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Et(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],i=t,r=e,n&&Ke.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(g(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=o[8],i=o[9],r=o[10],n?Ct[n]:i?0:((n=parseInt(r,10))-(i=n%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 At(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,i,r,o,a,s,l,c,u,d,p=[];if(!e._d){for(u=e,d=new Date(m.now()),n=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[E]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(a=1,s=4,i=At(d.GG,u._a[P],Xe(I(),1,4).year),r=At(d.W,1),((o=At(d.E,1))<1||7<o)&&(l=!0)):(a=u._locale._week.dow,s=u._locale._week.doy,c=Xe(I(),a,s),i=At(d.gg,u._a[P],c.year),r=At(d.w,c.week),null!=d.d?((o=d.d)<0||6<o)&&(l=!0):null!=d.e?(o=d.e+a,(d.e<0||6<d.e)&&(l=!0)):o=a),r<1||r>D(i,a,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=qe(i,r,o,a,s),u._a[P]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=At(e._a[P],n[P]),(e._dayOfYear>Ye(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ge(d,0,e._dayOfYear),e._a[E]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[A]&&0===e._a[M]&&0===e._a[S]&&0===e._a[Be]&&(e._nextDay=!0,e._a[A]=0),e._d=(e._useUTC?Ge:Ue).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[A]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function St(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,i,r=""+e._i,o=r.length,a=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)i=n[l],(t=(r.match(Ae(i,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&g(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),a+=t.length),oe[i]?(t?g(e).empty=!1:g(e).unusedTokens.push(i),d=i,h=e,null!=(p=t)&&f(Se,d)&&Se[d](p,h._a,h,d)):e._strict&&!t&&g(e).unusedTokens.push(i);g(e).charsLeftOver=o-a,0<r.length&&g(e).unusedInput.push(r),e._a[A]<=12&&!0===g(e).bigHour&&0<e._a[A]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[A]=(o=e._locale,c=e._a[A],null==(u=e._meridiem)?c:null!=o.meridiemHour?o.meridiemHour(c,u):null!=o.isPM?((o=o.isPM(u))&&c<12&&(c+=12),c=o||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[P]=e._locale.erasConvertYear(u,e._a[P])),Mt(e),ft(e)}else Tt(e);else Pt(e);var c,u,d,p,h}function Dt(e){var t,n=e._i,i=e._f;{var r,o;return(e._locale=e._locale||k(e._l),null===n||void 0===i&&""===n)?j({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new X(ft(n)):(H(n)?e._d=n:a(i)?function(e){var t,n,i,r,o,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)o=0,a=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],St(t),Y(t)&&(a=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,s?o<i&&(i=o,n=t):(null==i||o<i||a)&&(i=o,n=t,a)&&(s=!0);W(e,n||t)}(e):i?St(e):s(i=(n=e)._i)?n._d=new Date(m.now()):H(i)?n._d=new Date(i.valueOf()):"string"==typeof i?(r=n,null===(o=_t.exec(r._i))?(Pt(r),!1===r._isValid&&(delete r._isValid,Tt(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:m.createFromInputFallback(r))):r._d=new Date(+o[1])):a(i)?(n._a=z(i.slice(0),function(e){return parseInt(e,10)}),Mt(n)):F(i)?(r=n)._d||(t=void 0===(o=ce(r._i)).day?o.date:o.day,r._a=z([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),Mt(r)):R(i)?n._d=new Date(i):m.createFromInputFallback(n),Y(e)||(e._d=null),e))}}function Bt(e,t,n,i,r){var o={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(F(e)&&O(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=e,o._f=t,o._strict=i,(r=new X(ft(Dt(r=o))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function I(e,t,n,i){return Bt(e,t,n,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=I.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function kt(e,t){var n,i;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return I();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Lt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,o=e.day||0,a=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=It.length;for(t in e)if(f(e,t)&&(-1===C.call(It,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[It[n]]){if(i)return!1;parseFloat(e[It[n]])!==h(e[It[n]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*a*60*60,this._days=+o+7*r,this._months=+i+3*n+12*t,this._data={},this._locale=k(),this._bubble()}function $t(e){return e instanceof Lt}function Nt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+n+o(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),w("Z",Te),w("ZZ",Te),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Rt(Te,e)});var Ot=/([\+\-]|\d\d)/gi;function Rt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ot)||["-",0,0])[1]+h(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||H(e)?e:I(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):I(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*)?)?$/,jt=/^(-|\+)?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 n,i,r=e;return $t(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:R(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=Yt.exec(e))?(n="-"===t[1]?-1:1,r={y:0,d:h(t[T])*n,h:h(t[A])*n,m:h(t[M])*n,s:h(t[S])*n,ms:h(Nt(1e3*t[Be]))*n}):(t=jt.exec(e))?(n="-"===t[1]?-1:1,r={y:Ut(t[2],n),M:Ut(t[3],n),w:Ut(t[4],n),d:Ut(t[5],n),h:Ut(t[6],n),m:Ut(t[7],n),s:Ut(t[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=I(r.from),n=I(r.to),t=t.isValid()&&n.isValid()?(n=Ht(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},(r={}).ms=t.milliseconds,r.M=t.months),i=new Lt(r),$t(e)&&f(e,"_locale")&&(i._locale=e._locale),$t(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function Ut(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Gt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(K(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,L(e,t),i),this}}function qt(e,t,n,i){var r=t._milliseconds,o=Nt(t._days),t=Nt(t._months);e.isValid()&&(i=null==i||i,t&&He(e,he(e,"Month")+t*n),o&&me(e,"Date",he(e,"Date")+o*n),r&&e._d.setTime(e._d.valueOf()+r*n),i)&&m.updateOffset(e,o||t)}L.fn=Lt.prototype,L.invalid=function(){return L(NaN)};$e=Vt(1,"add"),Je=Vt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function Zt(e){return l(e)||H(e)||Xt(e)||R(e)||(n=a(t=e),i=!1,n&&(i=0===t.filter(function(e){return!R(e)&&Xt(t)}).length),n&&i)||function(e){var t,n,i=F(e)&&!O(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)n=o[t],r=r||f(e,n);return i&&r}(e)||null==e;var t,n,i}function Jt(e,t){var n,i;return e.date()<t.date()?-Jt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(i=e.clone().add(n,"months"))<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function Kt(e){return void 0===e?this._locale._abbr:(null!=(e=k(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 en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){for(var e=[],t=[],n=[],i=[],r=this.eras(),o=0,a=r.length;o<a;++o)t.push(_(r[o].name)),e.push(_(r[o].abbr)),n.push(_(r[o].narrow)),i.push(_(r[o].name)),i.push(_(r[o].abbr)),i.push(_(r[o].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("^("+n.join("|")+")","i")}function sn(e,t){i(0,[e,e.length],0,t)}function ln(e,t,n,i,r){var o;return null==e?Xe(this,i,r).year:(t>(o=D(e,i,r))&&(t=o),function(e,t,n,i,r){e=qe(e,t,n,i,r),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,n,i,r))}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",on),w("NN",on),w("NNN",on),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,n,i){i=n._locale.erasParse(e,i,n._strict);i?g(n).era=i:g(n).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,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[P]=n._locale.eraYearOrdinalParse(e,r):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}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("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,n,i){t[i.substr(0,2)]=h(e)}),De(["gg","GG"],function(e,t,n,i){t[i]=m.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",r),x("Q",function(e,t){t[E]=3*(h(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),n("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"),n("dayOfYear",4),w("DDD",we),w("DDDD",fe),x(["DDD","DDDD"],function(e,t,n){n._dayOfYear=h(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",v),w("mm",v,y),x(["m","mm"],M);ge=pe("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",v),w("ss",v,y),x(["s","ss"],S);var cn,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"),n("millisecond",16),w("S",we,r),w("SS",we,y),w("SSS",we,fe),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function un(e,t){t[Be]=h(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,un);ye=pe("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");r=X.prototype;function dn(e){return e}r.add=$e,r.calendar=function(e,t){1===arguments.length&&(arguments[0]?Zt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=F(e)&&!O(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||f(e,i[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||I(),n=Ht(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,I(e)))},r.clone=function(){return new X(this)},r.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Ht(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=d(t)){case"year":o=Jt(this,i)/12;break;case"month":o=Jt(this,i);break;case"quarter":o=Jt(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:p(o)},r.endOf=function(e){var t,n;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),m.updateOffset(this,!0)}return this},r.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?L({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(I(),e)},r.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?L({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(I(),e)},r.get=function(e){return u(this[e=d(e)])?this[e]():this},r.invalidAt=function(){return g(this).overflow},r.isAfter=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,n,i){return e=l(e)?e:I(e),t=l(t)?t:I(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},r.isSame=function(e,t){var e=l(e)?e:I(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},r.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},r.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},r.isValid=function(){return Y(this)},r.lang=Qe,r.locale=Kt,r.localeData=Qt,r.max=be,r.min=ve,r.parsingFlags=function(){return W({},g(this))},r.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)f(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),i=n.length,r=0;r<i;r++)this[n[r].unit](e[n[r].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},r.startOf=function(e){var t,n;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},r.subtract=Je,r.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},r.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},r.toDate=function(){return new Date(this.valueOf())},r.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):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"):null},r.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(r[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},r.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},r.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},r.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},r.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},r.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-m(n[i].since).year())*e+n[i].offset;return this.year()},r.year=je,r.isLeapYear=function(){return de(this.year())},r.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},r.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},r.quarter=r.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},r.month=ze,r.daysInMonth=function(){return Le(this.year(),this.month())},r.week=r.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},r.isoWeek=r.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return D(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return D(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return D(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return D(this.isoWeekYear(),1,4)},r.date=_e,r.day=r.days=function(e){var t,n,i;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,i=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=i.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},r.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},r.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},r.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")},r.hour=r.hours=b,r.minute=r.minutes=ge,r.second=r.seconds=xe,r.millisecond=r.milliseconds=ye,r.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:zt(this);if("string"==typeof e){if(null===(e=Rt(Te,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=zt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?qt(this,L(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},r.utc=function(e){return this.utcOffset(0,e)},r.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(zt(this),"m"),this},r.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},r.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60==0)},r.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},r.isLocal=function(){return!!this.isValid()&&!this._isUTC},r.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},r.isUtc=Wt,r.isUTC=Wt,r.zoneAbbr=function(){return this._isUTC?"UTC":""},r.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},r.dates=e("dates accessor is deprecated. Use date instead.",_e),r.months=e("months accessor is deprecated. Use month instead",ze),r.years=e("years accessor is deprecated. Use year instead",je),r.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()}),r.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(q(t={},this),(t=Dt(t))._a?(e=(t._isUTC?c:I)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,a=0;a<i;a++)(n&&e[a]!==t[a]||!n&&h(e[a])!==h(t[a]))&&o++;return o+r}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function pn(e,t,n,i){var r=k(),i=c().set(i,t);return r[n](i,e)}function hn(e,t,n){if(R(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function mn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),R(t)&&(n=t,t=void 0),t||"");var r,o=k(),a=e?o._week.dow:0,s=[];if(null!=n)return pn(t,(n+a)%7,i,"day");for(r=0;r<7;r++)s[r]=pn(t,(r+a)%7,i,"day");return s}y.calendar=function(e,t,n){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).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=dn,y.postformat=dn,y.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return u(r)?r(e,t,n,i):r.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,n;for(n in e)f(e,n)&&(u(t=e[n])?this[n]=t:this["_"+n]=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 n,i=this._eras||k("en")._eras,r=0,o=i.length;r<o;++r)switch("string"==typeof i[r].since&&(n=m(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=m(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},y.erasParse=function(e,t,n){var i,r,o,a,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(o=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[i];break;case"NNNN":if(o===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[o,a,s].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return f(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Fe).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[Fe.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&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=Re),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=Oe),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,n){var i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=c([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&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=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"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.",k);var fn=Math.abs;function gn(e,t,n,i){t=L(t,n);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),fe=wn("s"),$e=wn("m"),be=wn("h"),ve=wn("d"),Je=wn("w"),b=wn("M"),ge=wn("Q"),xe=wn("y");function _n(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=_n("milliseconds"),_e=_n("seconds"),je=_n("minutes"),y=_n("hours"),xn=_n("days"),Cn=_n("months"),Pn=_n("years");var En=Math.round,Tn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function An(e,t,n,i){var r=L(e).abs(),o=En(r.as("s")),a=En(r.as("m")),s=En(r.as("h")),l=En(r.as("d")),c=En(r.as("M")),u=En(r.as("w")),r=En(r.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||(a<=1?["m"]:a<n.m&&["mm",a])||(s<=1?["h"]:s<n.h&&["hh",s])||(l<=1?["d"]:l<n.d&&["dd",l]);return(o=(o=null!=n.w?o||(u<=1?["w"]:u<n.w&&["ww",u]):o)||(c<=1?["M"]:c<n.M&&["MM",c])||(r<=1?["y"]:["yy",r]))[2]=t,o[3]=0<+e,o[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,o)}var Mn=Math.abs;function Sn(e){return(0<e)-(e<0)||+e}function Dn(){var e,t,n,i,r,o,a,s,l,c,u;return this.isValid()?(s=Mn(this._milliseconds)/1e3,l=Mn(this._days),c=Mn(this._months),(u=this.asSeconds())?(e=p(s/60),t=p(e/60),s%=60,e%=60,n=p(c/12),c%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Sn(this._months)!==Sn(u)?"-":"",o=Sn(this._days)!==Sn(u)?"-":"",a=Sn(this._milliseconds)!==Sn(u)?"-":"",(u<0?"-":"")+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(l?o+l+"D":"")+(t||e||s?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(s?a+i+"S":"")):"P0D"):this.localeData().invalidDate()}var $=Lt.prototype;return $.isValid=function(){return this._isValid},$.abs=function(){var e=this._data;return this._milliseconds=fn(this._milliseconds),this._days=fn(this._days),this._months=fn(this._months),e.milliseconds=fn(e.milliseconds),e.seconds=fn(e.seconds),e.minutes=fn(e.minutes),e.hours=fn(e.hours),e.months=fn(e.months),e.years=fn(e.years),this},$.add=function(e,t){return gn(this,e,t,1)},$.subtract=function(e,t){return gn(this,e,t,-1)},$.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+vn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(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)}},$.asMilliseconds=we,$.asSeconds=fe,$.asMinutes=$e,$.asHours=be,$.asDays=ve,$.asWeeks=Je,$.asMonths=b,$.asQuarters=ge,$.asYears=xe,$.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*h(this._months/12):NaN},$._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(bn(n)+t),n=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),n+=e=p(vn(t)),t-=yn(bn(e)),e=p(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},$.clone=function(){return L(this)},$.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},$.milliseconds=ye,$.seconds=_e,$.minutes=je,$.hours=y,$.days=xn,$.weeks=function(){return p(this.days()/7)},$.months=Cn,$.years=Pn,$.humanize=function(e,t){var n,i;return this.isValid()?(n=!1,i=Tn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Tn,t),null!=t.s)&&null==t.ss&&(i.ss=t.s-1),t=An(this,!n,i,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},$.toISOString=Dn,$.toString=Dn,$.toJSON=Dn,$.locale=Kt,$.localeData=Qt,$.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),$.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,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(h(e))}),m.version="2.29.4",N=I,m.fn=r,m.min=function(){return kt("isBefore",[].slice.call(arguments,0))},m.max=function(){return kt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return I(1e3*e)},m.months=function(e,t){return hn(e,t,"months")},m.isDate=H,m.locale=ht,m.invalid=j,m.duration=L,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return I.apply(null,arguments).parseZone()},m.localeData=k,m.isDuration=$t,m.monthsShort=function(e,t){return hn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,i;return null!=t?(i=lt,null!=B[e]&&null!=B[e].parentLocale?B[e].set(Q(B[e]._config,t)):(t=Q(i=null!=(n=pt(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new ee(t)).parentLocale=B[e],B[e]=i),ht(e)):null!=B[e]&&(null!=B[e].parentLocale?(B[e]=B[e].parentLocale,e===ht()&&ht(e)):null!=B[e]&&delete B[e]),B[e]},m.locales=function(){return te(B)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?En:"function"==typeof e&&(En=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Tn[e]&&(void 0===t?Tn[e]:(Tn[e]=t,"s"===e&&(Tn.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=r,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 wr,_r,W=wr.exports;function xr(e,t){a(e,t)}const Cr={en:{title:"Self-Exclusion",selfExclusionText1:"We 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 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."},"zh-hk":{title:"自我排斥",selfExclusionText1:"我們認識到賭博會導致成癮,為了防止這些問題,我們為用戶提供了在一段時間內排除我們網站上所有形式的投注的能力。",selfExclusionText2:"自我排除從您選擇的時間段設置的時間開始生效。 在下方選擇一個時間範圍,然後單擊“確認”。",selfExclusionText3:"在自我排除期間,您將無法訪問您的 帳戶。 在永久自我排除的情況下,只有在書面請求後才能撤銷自我排除,並且只有在首次申請後 6 個月內。 請注意,請求自我排除的另一種方法是聯繫客戶服務,如下所示:",selfExclusionText4:"電子郵件:",duration:"期間:",forever:"永遠",save:"節省",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。"},fr:{title:"Auto exclusion",selfExclusionText1:"reconnait que le jeu peut conduire à l'addition et dans notre effort pour prévenir ces problèmes, nous offrons à nos utilisateurs la possibilité d'exclure toutes les formes de paris sur notre site pour une certaine période de temps indéfinie.",selfExclusionText2:'L\'auto exclusion prend effet à partir du moment où elle est fixée pour la période que vous choisissez. Sélectionnez une periode ci-dessous puis cliquez sur "confirmer".',selfExclusionText3:"Pendant l'auto exclusion ,vous ne pourrez pas accéder à votre compte .dans le cas d'une auto exclusion permanente ,il est seulement possible de révoquer l'auto exclusion sur demande écrit et seulement 6 mois après sa demande initiale. veuillez noter qu'une manière alternative de demander l'auto exclusion est de contacter le service client comme suit:",selfExclusionText4:"E-mail:",duration:"Durée:",forever:"Tout le temps",save:"Sauvez",temporarySelfExclusion:"Votre période d'auto exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto exclusion sera permanente."},ro:{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:{title:"Autoexclusición",selfExclusionText1:"Reconocemos que el juego puedo conducir a la adicción y en nuestro esfuerzo por prevenir estos problemas",selfExclusionText2:'La autoexclusición surte efecto desde el momento en que se establece para el periodo que elijas. Seleccione un período de tiempo a continuación y luego haga clic en "Confirmar".',selfExclusionText3:"Durante la autoexclusión, no podrá acceder a su cuenta de {operator}. En el caso de autoexclusión permanente, solo es posible revocar la autoexclusión previa solicitud por escrito y solo 6 meses después de su solicitud inicial. Ten en cuenta que una forma alternativa de solicitar la autoexclusión es ponerse en contacto con el Servicio de Atención al Cliente de la siguiente manera: Correo electrónico:",selfExclusionText4:"Email",duration:"Duración:",forever:"Para siempre",save:"Guardar",temporarySelfExclusion:"Tu periodo de autoexclusión durará hasta el {date} 23:59. .",permanentSelfExclusion:"Tu periodo de autoexclusión será permanente."},pt:{title:"Auto-exclusão",selfExclusionText1:"reconhece que o jogo pode levar ao vício e em nosso esforço para evitar esses problemas, oferecemos aos nossos usuários a capacidade de excluir todas as formas de apostas em nosso site por um período de tempo indefinido.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é definida para o período que você escolher. Selecione um período de tempo abaixo e clique em "Confirmar".',selfExclusionText3:"Durante a autoexclusão, você não poderá acessar sua conta . No caso de autoexclusão permanente, só é possível revogar a Autoexclusão mediante pedido escrito e apenas 6 meses após a sua aplicação inicial. Observe que uma forma alternativa de solicitar a autoexclusão é entrar em contato com o Atendimento ao Cliente da seguinte forma:",selfExclusionText4:"E-mail:",duration:"Duração:",forever:"Para sempre",save:"Guardar",temporarySelfExclusion:"Seu período de autoexclusão durará até {data} 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente."}};class Pr extends HTMLElement{static get version(){return"1.6.1"}}customElements.define("vaadin-lumo-styles",Pr);let Er,Tr=null,Ar=window.HTMLImports&&window.HTMLImports.whenReady||null;function Mr(e){requestAnimationFrame(function(){Ar?Ar(e):(Tr||(Tr=new Promise(e=>{Er=e}),"complete"===document.readyState?Er():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&Er()})),Tr.then(function(){e&&e()}))})}const Sr="__seenByShadyCSS",Dr="__shadyCSSCachedStyle";let Br=null,kr=null;class Ir{constructor(){this.customStyles=[],this.enqueued=!1,Mr(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&kr&&(this.enqueued=!0,Mr(kr))}addCustomStyle(e){e[Sr]||(e[Sr]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[Dr]||(e.getStyle?e.getStyle():e)}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){var n=t[e];if(!n[Dr]){var i=this.getStyleForCustomStyle(n);if(i){const t=i.__appliedElement||i;Br&&Br(t),n[Dr]=t}}}return t}}Object.defineProperties(Ir.prototype,{transformCallback:{get:()=>Br,set(e){Br=e}},validateCallback:{get:()=>kr,set(e){let t=!1;kr||(t=!0),kr=e,t&&this.enqueueDocumentValidation()}}});const Lr=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,$r=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Nr=/@media\s(.*)/;function Fr(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}function Or(e,t){e=window.getComputedStyle(e).getPropertyValue(t);return e?e.trim():""}const Rr=!(window.ShadyDOM&&window.ShadyDOM.inUse);let Hr,zr;function Wr(e){Hr=(!e||!e.shimcssproperties)&&(Rr||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&&(zr=window.ShadyCSS.cssBuild);kn=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Hr=window.ShadyCSS.nativeCss:window.ShadyCSS?(Wr(window.ShadyCSS),window.ShadyCSS=void 0):Wr(window.WebComponents&&window.WebComponents.flags);const Yr=Hr,jr=new Ir;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,n){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,n){},styleSubtree(e,t){jr.processStyles(),Fr(e,t)},styleElement(e){jr.processStyles()},styleDocument(e){jr.processStyles(),Fr(document.body,e)},getComputedStyleValue:(e,t)=>Or(e,t),flushCustomStyles(){},nativeCss:Yr,nativeShadow:Rr,cssBuild:zr,disableRuntime:kn}),window.ShadyCSS.CustomStyleInterface=jr,window.JSCompiler_renameProperty=function(e,t){return e};let Ur,Gr,Vr=/(url\()([^)]*)(\))/g,qr=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function Xr(e,t){if(e&&qr.test(e))return e;if("//"===e)return e;if(void 0===Ur){Ur=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",Ur="http://a/c%20d"===e.href}catch(e){}}if(t=t||document.baseURI||window.location.href,Ur)try{return new URL(e,t).href}catch(t){return e}return Gr||((Gr=document.implementation.createHTMLDocument("temp")).base=Gr.createElement("base"),Gr.head.appendChild(Gr.base),Gr.anchor=Gr.createElement("a"),Gr.body.appendChild(Gr.anchor)),Gr.base.href=t,Gr.anchor.href=e,Gr.anchor.href||e}function Zr(e,r){return e.replace(Vr,function(e,t,n,i){return t+"'"+Xr(n.replace(/["']/g,""),r)+"'"+i})}function Jr(e){return e.substring(0,e.lastIndexOf("/")+1)}const Kr=!window.ShadyDOM||!window.ShadyDOM.inUse,Qr=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),Kr&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{var 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 eo=window.Polymer&&window.Polymer.rootPath||Jr(document.baseURI||window.location.href),to=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,no=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1,io=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,ro=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,oo=window.Polymer&&window.Polymer.legacyOptimizations||!1,ao=window.Polymer&&window.Polymer.legacyWarnings||!1,so=window.Polymer&&window.Polymer.syncInitialRender||!1,lo=window.Polymer&&window.Polymer.legacyUndefined||!1,co=window.Polymer&&window.Polymer.orderedComputed||!1,uo=window.Polymer&&window.Polymer.removeNestedTemplates||!1,po=window.Polymer&&window.Polymer.fastDomIf||!1,ho=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,mo=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1,fo=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1,go={},yo={};function vo(e,t){go[e]=yo[e.toLowerCase()]=t}function bo(e){return go[e]||yo[e.toLowerCase()]}class wo extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){return e?(e=bo(e))&&t?e.querySelector(t):e:null}attributeChangedCallback(e,t,n,i){t!==n&&this.register()}get assetpath(){var e;return this.__assetpath||(e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=Xr(this.getAttribute("assetpath")||"",e.baseURI),this.__assetpath=Jr(e)),this.__assetpath}register(e){if(e=e||this.id){if(io&&void 0!==bo(e))throw vo(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);vo(this.id=e,this),this.querySelector("style")&&console.warn("dom-module %s has style outside template",this.id)}}}wo.prototype.modules=go,customElements.define("dom-module",wo);const _o="link[rel=import][type~=css]",xo="include",Co="shady-unscoped";function Po(e){return wo.import(e)}function Eo(e){var e=Zr((e.body||e).textContent,e.baseURI),t=document.createElement("style");return t.textContent=e,t}function To(e){var t=e.trim().split(/\s+/),n=[];for(let e=0;e<t.length;e++)n.push(...function(e){var t=Po(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const e=[];e.push(...Mo(t));var n=t.querySelector("template");n&&e.push(...Ao(n,t.assetpath)),t._styles=e}return t._styles}(t[e]));return n}function Ao(e,t){if(!e._styles){var n=[],i=e.content.querySelectorAll("style");for(let e=0;e<i.length;e++){var r=i[e],o=r.getAttribute(xo);o&&n.push(...To(o).filter(function(e,t,n){return n.indexOf(e)===t})),t&&(r.textContent=Zr(r.textContent,t)),n.push(r)}e._styles=n}return e._styles}function Mo(t){const n=[],i=t.querySelectorAll(_o);for(let e=0;e<i.length;e++){var r=i[e];if(r.import){const t=r.import,i=r.hasAttribute(Co);if(i&&!t._unscopedStyle){const n=Eo(t);n.setAttribute(Co,""),t._unscopedStyle=n}else t._style||(t._style=Eo(t));n.push(i?t._unscopedStyle:t._style)}}return n}const So="include",Do=window.ShadyCSS.CustomStyleInterface;class Bo extends HTMLElement{constructor(){super(),this._style=null,Do.addCustomStyle(this)}getStyle(){if(!this._style){var e=this.querySelector("style");if(!e)return null;var i=(this._style=e).getAttribute(So);i&&(e.removeAttribute(So),e.textContent=function(){let t=i.trim().split(/\s+/),n="";for(let e=0;e<t.length;e++)n+=function(e){var o=Po(e);if(o&&void 0===o._cssText){let e=function(){let t="",n=Mo(o);for(let e=0;e<n.length;e++)t+=n[e].textContent;return t}(),r=o.querySelector("template");r&&(e+=function(){let t="";var n=Ao(r,o.assetpath);for(let e=0;e<n.length;e++){var i=n[e];i.parentNode&&i.parentNode.removeChild(i),t+=i.textContent}return t}()),o._cssText=e||null}return o||console.warn("Could not find style data in module named",e),o&&o._cssText||""}(t[e]);return n}()+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this)}return this._style}}window.customElements.define("custom-style",Bo);In=document.createElement("template"),In.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(In.content),Ln=document.createElement("template"),Ln.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(Ln.content),$n=document.createElement("template"),$n.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($n.content),Nn=document.createElement("template"),Nn.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(Nn.content),On=document.createElement("template"),On.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(On.content),e=document.createElement("template"),e.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(e.content),In=document.createElement("template");In.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(In.content);const ko=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:e=>e});function Io(e){throw class{},new Error("non-literal value passed to Polymer's htmlLiteral function: "+e)}function Lo(i,...e){$o(i,e);var t=document.createElement("template");let n=e.reduce((e,t,n)=>e+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(!1)return Io(e);throw new Error("non-template value passed to Polymer's html function: "+e)}(t)+i[n+1],i[0]);return ko&&(n=ko.createHTML(n)),t.innerHTML=n,t}const $o=(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")},No=Lo`<dom-module id="lumo-date-picker-overlay" theme-for="vaadin-date-picker-overlay">
|
|
3
|
+
}`,s=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_`+s,p=M(e),{stylesheet:h,rules:m}=B.get(p)||(p=p,u={stylesheet:(u=e,m=mn("style"),u=M(u),h=m,dn(u.head||u,h),h.sheet,m.sheet),rules:{}},B.set(p,u),u),p=(m[s]||(m[s]=!0,h.insertRule(`@keyframes ${s} `+d,h.cssRules.length)),e.style.animation||"");return e.style.animation=(p?p+", ":"")+s+` ${i}ms linear ${r}ms 1 both`,I+=1,s}function N(e){k=e}function de(e){!function(){if(k)return k;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const F=[],pe=[];let O=[];const R=[],H=Promise.resolve();let z=!1;function re(){z||(z=!0,H.then(p))}function Pn(e){O.push(e)}const Y=new Set;let U,G=0;function p(){if(0===G){const i=k;do{try{for(;G<F.length;){const i=F[G];G++,N(i),e=t=void 0;var e,t=i.$$;null!==t.fragment&&(t.update(),un(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Pn))}}catch(i){throw F.length=0,G=0,i}for(N(null),F.length=0,G=0;pe.length;)pe.pop()();for(let e=0;e<O.length;e+=1){var n=O[e];Y.has(n)||(Y.add(n),n())}}while(O.length=0,F.length);for(;R.length;)R.pop()();z=!1,Y.clear(),N(i)}}function q(e,t,n){var i;e.dispatchEvent(([e,{bubbles:t=!1,cancelable:n=!1}={}]=[(t?"intro":"outro")+n],(i=document.createEvent("CustomEvent")).initCustomEvent(e,t,n,void 0),i))}const X=new Set;let Z;function J(){Z={r:0,c:[],p:Z}}function K(){Z.r||un(Z.c),Z=Z.p}function Q(e,t){e&&e.i&&(X.delete(e),e.i(t))}function ee(e,t,n,i){e&&e.o?X.has(e)||(X.add(e),Z.c.push(()=>{X.delete(e),i&&(n&&e.d(1),i())}),e.o(t)):i&&i()}const te={duration:0};function ne(l,e,t,n){const i={direction:"both"};let c=e(l,t,i),u=n?0:1,d=null,p=null,h=null;function m(){var e,t,n,i;h&&(e=l,t=h,n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),!(n=n.length-i.length)||(e.style.animation=i.join(", "),I-=n)||E(()=>{I||(B.forEach(e=>{e=e.stylesheet.ownerNode;e&&hn(e)}),B.clear())}))}function f(e,t){var n=e.b-u;return t*=Math.abs(n),{a:u,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function r(e){const{delay:t=0,duration:n=300,easing:i=w,tick:r=se,css:o}=c||te,a={start:P()+t,b:e};if(e||((a.group=Z).r+=1),d||p)p=a;else{o&&(m(),h=L(l,u,e,n,t,i,o)),e&&r(0,1),d=f(a,n),Pn(()=>q(l,e,"start"));{var s=e=>{if(p&&e>p.start&&(d=f(p,n),p=null,q(l,d.b,"start"),o)&&(m(),h=L(l,u,d.b,d.duration,0,i,c.css)),d)if(e>=d.end)r(u=d.b,1-u),q(l,d.b,"end"),p||(d.b?m():--d.group.r||un(d.group.c)),d=null;else if(e>=d.start){const l=e-d.start;u=d.a+d.d*i(l/d.duration),r(u,1-u)}return!(!d&&!p)};let t;0===T.size&&E(A),new Promise(e=>{T.add(t={c:s,f:e})})}}}return{run(e){ge(c)?(U||(U=Promise.resolve()).then(()=>{U=null}),U.then(()=>{c=c(i),r(e)})):r(e)},end(){m(),d=p=null}}}function r(i,e,t,n,r,o,a,s=[-1]){var l=k;N(i);const c=i.$$={fragment:null,ctx:[],props:o,update:se,not_equal:r,bound:m(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:m(),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,...n)=>{var n=n.length?n[0]:t;return c.ctx&&r(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),u)&&(n=e,-1===(e=i).$$.dirty[0]&&(F.push(e),re(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31),t}):[],c.update(),u=!0,un(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){o=e.target;const i=Array.from(o.childNodes);c.fragment&&c.fragment.l(i),i.forEach(hn)}else c.fragment&&c.fragment.c();e.intro&&Q(i.$$.fragment);var d=i,s=e.target,a=e.anchor,t=e.customElement,{fragment:n,after_update:o}=d.$$;n&&n.m(s,a),t||Pn(()=>{var e=d.$$.on_mount.map(h).filter(ge);d.$$.on_destroy?d.$$.on_destroy.push(...e):un(e),d.$$.on_mount=[]}),o.forEach(Pn),p()}N(l)}let t;"function"==typeof HTMLElement&&(t=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(h).filter(ge);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){un(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;const i=[],r=[];O.forEach(e=>(-1===n.indexOf(e)?i:r).push(e)),r.forEach(e=>e()),O=i}un(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=se}$on(e,t){if(!ge(t))return se;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var ie,oe,ae="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},ce="URLSearchParams"in ae,ve="Symbol"in ae&&"iterator"in Symbol,be="FileReader"in ae&&"Blob"in ae&&function(){try{return new Blob,!0}catch(e){return!1}}(),we="FormData"in ae,_e="ArrayBuffer"in ae;function xe(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Ce(e){return e="string"!=typeof e?String(e):e}function Pe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ve&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Ee(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Te(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Ae(e){var t=new FileReader,n=Te(t);return t.readAsArrayBuffer(e),n}function Me(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function Se(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:be&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:we&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ce&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():_e&&be&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Me(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):_e&&(ArrayBuffer.prototype.isPrototypeOf(e)||oe(e))?this._bodyArrayBuffer=Me(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ce&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},be&&(this.blob=function(){var e=Ee(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Ee(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(be)return this.blob().then(Ae);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,i=Ee(this);if(i)return i;if(this._bodyBlob)return i=this._bodyBlob,e=new FileReader,t=Te(e),n=(n=/charset=([A-Za-z0-9_-]+)/.exec(i.type))?n[1]:"utf-8",e.readAsText(i,n),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},we&&(this.formData=function(){return this.text().then(ke)}),this.json=function(){return this.text().then(JSON.parse)},this}_e&&(ie=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],oe=ArrayBuffer.isView||function(e){return e&&-1<ie.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=xe(e),t=Ce(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[xe(e)]},l.prototype.get=function(e){return e=xe(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(xe(e))},l.prototype.set=function(e,t){this.map[xe(e)]=Ce(t)},l.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},l.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),Pe(n)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Pe(t)},l.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),Pe(n)},ve&&(l.prototype[Symbol.iterator]=l.prototype.entries);var De=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Be(e,t){if(!(this instanceof Be))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(t=t||{}).body;if(e instanceof Be){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(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 l(t.headers)),this.method=(n=(e=t.method||this.method||"GET").toUpperCase(),-1<De.indexOf(n)?n:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in ae)return(new AbortController).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||((n=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(n,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ke(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Ie(e,t){if(!(this instanceof Ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}Be.prototype.clone=function(){return new Be(this,{body:this._bodyInit})},Se.call(Be.prototype),Se.call(Ie.prototype),Ie.prototype.clone=function(){return new Ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},Ie.error=function(){var e=new Ie(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Le=[301,302,303,307,308],$e=(Ie.redirect=function(e,t){if(-1===Le.indexOf(t))throw new RangeError("Invalid status code");return new Ie(null,{status:t,headers:{location:e}})},ae.DOMException);try{new $e}catch(c){($e=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),$e.prototype.constructor=$e}function Ne(r,s){return new Promise(function(o,e){var t=new Be(r,s);if(t.signal&&t.signal.aborted)return e(new $e("Aborted","AbortError"));var n,a=new XMLHttpRequest;function i(){a.abort()}a.onload=function(){var e=a.getAllResponseHeaders(),t=a.getResponseHeader("set-cookie");t&&(e=e.replace(t,t.replace(/\r?\n/g,", ")));var i,n={status:a.status,statusText:a.statusText,headers:(t=e||"",i=new l,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),n=t.shift().trim();if(n){t=t.join(":").trim();try{i.append(n,t)}catch(e){console.warn("Response "+e.message)}}}),i)},r=(n.url="responseURL"in a?a.responseURL:n.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){o(new Ie(r,n))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){e(new $e("Aborted","AbortError"))},0)},a.open(t.method,function(t){try{return""===t&&ae.location.href?ae.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?a.withCredentials=!0:"omit"===t.credentials&&(a.withCredentials=!1),"responseType"in a&&(be?a.responseType="blob":_e&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof l||ae.Headers&&s.headers instanceof ae.Headers)?(n=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){n.push(xe(e)),a.setRequestHeader(e,Ce(s.headers[e]))}),t.headers.forEach(function(e,t){-1===n.indexOf(t)&&a.setRequestHeader(t,e)})):t.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),t.signal&&(t.signal.addEventListener("abort",i),a.onreadystatechange=function(){4===a.readyState&&t.signal.removeEventListener("abort",i)}),a.send(void 0===t._bodyInit?null:t._bodyInit)})}function Bn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ne.polyfill=!0,ae.fetch||(ae.fetch=Ne,ae.Headers=l,ae.Request=Be,ae.Response=Ie),self.fetch.bind(self);var Fe=function(e,t){return(Fe=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function Oe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Fe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Re(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.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 He(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function ze(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function We(e){return"function"==typeof e}function Ye(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var je=Ye(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 Ue(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}qe.prototype.unsubscribe=function(){var e,t,n,i,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=Re(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(We(o))try{o()}catch(e){r=e instanceof je?e.errors:[e]}o=this._finalizers;if(o){this._finalizers=null;try{for(var l=Re(o),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ze(u)}catch(e){r=null!=r?r:[],e instanceof je?r=ze(ze([],He(r)),He(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(r)throw new je(r)}},qe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ze(e);else{if(e instanceof qe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},qe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},qe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},qe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ue(t,e)},qe.prototype.remove=function(e){var t=this._finalizers;t&&Ue(t,e),e instanceof qe&&e._removeParent(this)},qe.EMPTY=((e=new qe).closed=!0,e);var Ge=qe,Ve=Ge.EMPTY;function qe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Xe(e){return e instanceof Ge||e&&"closed"in e&&We(e.remove)&&We(e.add)&&We(e.unsubscribe)}function Ze(e){We(e)?e():e.unsubscribe()}var Je=void 0,Ke=!1,Qe=!1,et={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=et.delegate;return null!=r&&r.setTimeout?r.setTimeout.apply(r,ze([e,t],He(n))):setTimeout.apply(void 0,ze([e,t],He(n)))},clearTimeout:function(e){var t=et.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function tt(){}var nt=null;function it(e){if(Ke){var t=!nt;if(t&&(nt={errorThrown:!1,error:null}),e(),t){var t=nt,n=t.errorThrown,t=t.error;if(nt=null,n)throw t}}else e()}Oe(st,rt=Ge),st.create=function(e,t,n){return new dt(e,t,n)},st.prototype.next=function(e){this.isStopped||this._next(e)},st.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},st.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},st.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,rt.prototype.unsubscribe.call(this),this.destination=null)},st.prototype._next=function(e){this.destination.next(e)},st.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},st.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var rt,ot=st,at=Function.prototype.bind;function st(e){var t=rt.call(this)||this;return t.isStopped=!1,e?Xe(t.destination=e)&&e.add(t):t.destination=ft,t}function lt(e,t){return at.call(e,t)}ht.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){mt(e)}},ht.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){mt(e)}else mt(e)},ht.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){mt(e)}};var ct,ut=ht,dt=(Oe(pt,ct=ot),pt);function pt(e,t,n){var i=ct.call(this)||this,n=We(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0}:i&&Qe?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&<(e.next,t),error:e.error&<(e.error,t),complete:e.complete&<(e.complete,t)}):e;return i.destination=new ut(n),i}function ht(e){this.partialObserver=e}function mt(e){var t=e;et.setTimeout(function(){throw t})}var ft={closed:!0,next:tt,error:function(e){throw e},complete:tt},e="function"==typeof Symbol&&Symbol.observable||"@@observable";yt.prototype.lift=function(e){var t=new yt;return t.source=this,t.operator=e,t},yt.prototype.subscribe=function(e,t,n){var i,r=this,o=(i=e)&&i instanceof ot||i&&We(i.next)&&We(i.error)&&We(i.complete)&&Xe(i)?e:new dt(e,t,n);return it(function(){var e=r.operator,t=r.source;o.add(e?e.call(o,t):t?r._subscribe(o):r._trySubscribe(o))}),o},yt.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},yt.prototype.forEach=function(i,e){var r=this;return new(e=vt(e))(function(e,t){var n=new dt({next:function(e){try{i(e)}catch(e){t(e),n.unsubscribe()}},error:t,complete:e});r.subscribe(n)})},yt.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},yt.prototype[e]=function(){return this},yt.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},yt.prototype.toPromise=function(e){var i=this;return new(e=vt(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},yt.create=function(e){return new yt(e)};var gt=yt;function yt(e){e&&(this._subscribe=e)}function vt(e){return null!=(e=null!=e?e:Je)?e:Promise}var bt,wt,_t,xt=Ye(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e=(Oe(Mt,_t=gt),Mt.prototype.lift=function(e){var t=new Ct(this,this);return t.operator=e,t},Mt.prototype._throwIfClosed=function(){if(this.closed)throw new xt},Mt.prototype.next=function(r){var o=this;it(function(){var t,e;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var n=Re(o.currentObservers),i=n.next();!i.done;i=n.next())i.value.next(r)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Mt.prototype.error=function(t){var n=this;it(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},Mt.prototype.complete=function(){var t=this;it(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Mt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(Mt.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),Mt.prototype._trySubscribe=function(e){return this._throwIfClosed(),_t.prototype._trySubscribe.call(this,e)},Mt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Mt.prototype._innerSubscribe=function(e){var t=this,n=this.hasError,i=this.isStopped,r=this.observers;return n||i?Ve:(this.currentObservers=null,r.push(e),new Ge(function(){t.currentObservers=null,Ue(r,e)}))},Mt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},Mt.prototype.asObservable=function(){var e=new gt;return e.source=this,e},Mt.create=function(e,t){return new Ct(e,t)},Mt),Ct=(Oe(At,wt=e),At.prototype.next=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.next)&&n.call(t,e)},At.prototype.error=function(e){var t,n;null!=(n=null==(t=this.destination)?void 0:t.error)&&n.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:Ve},At),Pt={now:function(){return(Pt.delegate||Date).now()},delegate:void 0},Et=(Oe(Tt,bt=e),Tt.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,r=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(i.push(e),r)||i.push(o.now()+t),this._trimBuffer(),bt.prototype.next.call(this,e)},Tt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},Tt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var o=t.now(),a=0,s=1;s<n.length&&n[s]<=o;s+=2)a=s;a&&n.splice(0,a+1)}},Tt);function Tt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Pt);var i=bt.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,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 n=wt.call(this)||this;return n.destination=e,n.source=t,n}function Mt(){var e=_t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let St=[],Dt={};const Bt=[];function kt(i,r=se){let o;const a=new Set;function s(e){if(n(i,e)&&(i=e,o)){const e=!Bt.length;for(const e of a)e[1](),Bt.push(e,i);if(e){for(let e=0;e<Bt.length;e+=2)Bt[e][0](Bt[e+1]);Bt.length=0}}}return{set:s,update:function(e){s(e(i))},subscribe:function(e,t=se){const n=[e,t];return a.add(n),1===a.size&&(o=r(s)||se),e(i),()=>{a.delete(n),0===a.size&&o&&(o(),o=null)}}}}function It(e,s,t){const l=!Array.isArray(e),c=l?[e]:e,u=s.length<2;return{subscribe:kt(t,t=>{let n=!1;const i=[];let r=0,o=se;const a=()=>{var e;r||(o(),e=s(l?i[0]:i,t),u?t(e):o=ge(e)?e:se)},e=c.map((e,t)=>d(e,e=>{i[t]=e,r&=~(1<<t),n&&a()},()=>{r|=1<<t}));return n=!0,a(),function(){un(e),o(),n=!1}}).subscribe}}function Lt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===$t);var t}var $t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Nt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?zt(Array.isArray(e)?[]:{},e,t):e}function Ft(e,t,n){return e.concat(t).map(function(e){return Nt(e,n)})}function Ot(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Rt(e,t){try{return t in e}catch(e){return!1}}function Ht(i,r,o){var a={};return o.isMergeableObject(i)&&Ot(i).forEach(function(e){a[e]=Nt(i[e],o)}),Ot(r).forEach(function(e){var t,n;(!Rt(t=i,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Rt(i,e)&&o.isMergeableObject(r[e])?a[e]=((t=o).customMerge&&"function"==typeof(t=t.customMerge(e))?t:zt)(i[e],r[e],o):a[e]=Nt(r[e],o))}),a}function zt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ft,n.isMergeableObject=n.isMergeableObject||Lt,n.cloneUnlessOtherwiseSpecified=Nt;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):Ht(e,t,n):Nt(t,n)}zt.all=function(e,n){if(Array.isArray(e))return e.reduce(function(e,t){return zt(e,t,n)},{});throw new Error("first argument should be an array")};var Wt=zt,Yt=function(e,t){return(Yt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};function jt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Yt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var f,y,Ut,g=function(){return(g=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Gt(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||((i=i||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function Vt(e){return e.type===y.literal}function qt(e){return e.type===y.number}function Xt(e){return e.type===y.date}function Zt(e){return e.type===y.time}function Jt(e){return e.type===y.select}function Kt(e){return e.type===y.plural}function Qt(e){return e.type===y.tag}function en(e){return e&&"object"==typeof e&&e.type===Ut.number}function tn(e){return e&&"object"==typeof e&&e.type===Ut.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=Ut=Ut||{})[e.number=0]="number",e[e.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,nn=/(?:[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 rn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,on=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,an=/^(@+)?(\+|#+)?[rs]?$/g,sn=/(\*)(0+)|(#+)(0+)|(0+)/g,ln=/^(0+)$/;function cn(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(an,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function En(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 Tn(e){return En(e)||{}}function An(e){for(var a={},t=0,n=e;t<n.length;t++){var i,r=n[t];switch(r.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=r.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),r.options.reduce(function(e,t){return g(g({},e),Tn(t))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),r.options.reduce(function(e,t){return g(g({},e),Tn(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(sn,function(e,t,n,i,r,o){if(t)a.minimumIntegerDigits=n.length;else{if(i&&r)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ln.test(r.stem))a.minimumIntegerDigits=r.stem.length;else if(on.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(on,function(e,t,n,i,r,o){return"*"===n?a.minimumFractionDigits=t.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:r&&o?(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var o=r.options[0];"w"===o?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):o&&(a=g(g({},a),cn(o)))}else an.test(r.stem)?a=g(g({},a),cn(r.stem)):((o=En(r.stem))&&(a=g(g({},a),o)),(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 n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!ln.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(a=g(g({},a),i)))}return a}var Mn={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 Sn=new RegExp("^".concat(e.source,"*")),Dn=new RegExp("".concat(e.source,"*$"));function v(e,t){return{start:e,end:t}}var e=!!String.prototype.startsWith,kn=!!String.fromCodePoint,In=!!Object.fromEntries,Ln=!!String.prototype.codePointAt,$n=!!String.prototype.trimStart,Nn=!!String.prototype.trimEnd,Fn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},On=!0;try{On="a"===(null==(oi=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:oi[0])}catch(c){On=!1}var Rn,Hn,zn=e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Wn=kn?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,o=0;o<r;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},Yn=In?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],o=r[0],r=r[1];t[o]=r}return t},jn=Ln?function(e,t){return e.codePointAt(t)}:function(e,t){var n,i=e.length;if(!(t<0||i<=t))return(n=e.charCodeAt(t))<55296||56319<n||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?n:i-56320+(n-55296<<10)+65536},Un=$n?function(e){return e.trimStart()}:function(e){return e.replace(Sn,"")},Gn=Nn?function(e){return e.trimEnd()}:function(e){return e.replace(Dn,"")};function Vn(e,t){return new RegExp(e,t)}Hn=On?(Rn=Vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Rn.lastIndex=t,null!=(t=Rn.exec(e)[1])?t:""}):function(e,t){for(var n,i=[];;){var r=jn(e,t);if(void 0===r||Zn(r)||33<=(n=r)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094)break;i.push(r),t+=65536<=r?2:1}return Wn.apply(void 0,i)};o.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},o.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(e,n)).err)return r;i.push(r.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(f.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Xn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r}else if((r=this.parseLiteral(e,t)).err)return r;i.push(r.val)}else{o=this.clonePosition();this.bump(),i.push({type:y.pound,location:v(o,this.clonePosition())})}}}return{val:i,err:null}},o.prototype.parseTag=function(e,t){var n,i=this.clonePosition(),r=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(r,"/>"),location:v(i,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Xn(this.char())?this.error(f.INVALID_TAG,v(e,this.clonePosition())):(n=this.clonePosition(),r!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,v(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:r,children:t,location:v(i,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,v(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,v(i,this.clonePosition()))):this.error(f.INVALID_TAG,v(i,this.clonePosition()))},o.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())},o.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{r=this.tryParseUnquoted(e,t);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=v(n,this.clonePosition());return{val:{type:y.literal,value:i,location:n},err:null}},o.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Xn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},o.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 n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Wn.apply(void 0,t)},o.prototype.tryParseUnquoted=function(e,t){var n;return this.isEOF()||60===(n=this.char())||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Wn(n))},o.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,v(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(f.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(f.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},o.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Hn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:v(e,this.clonePosition())}},o.prototype.parseArgumentOptions=function(e,t,n,i){var r,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,v(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=Gn(d.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(i)).err?c:(h=v(i,this.clonePosition()),l&&zn(null==l?void 0:l.style,"::",0)?(m=Un(l.style.slice(2)),"number"===a?(d=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?d:{val:{type:y.number,value:n,location:h,style:d.val},err:null}:0===m.length?this.error(f.EXPECT_DATE_TIME_SKELETON,h):(u=m,this.locale&&(u=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if("j"===r){for(var o=0;i+1<e.length&&e.charAt(i+1)===r;)o++,i++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=function(e){var t,n=e.hourCycle;if(n=void 0===n&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(n=e.language)&&(t=e.maximize().region),(Mn[t||""]||Mn[n||""]||Mn["".concat(n,"-001")]||Mn["001"])[0]}(t);for("H"!=l&&"k"!=l||(s=0);0<s--;)n+="a";for(;0<a--;)n=l+n}else n+="J"===r?"H":r}return n}(m,this.locale)),p={type:Ut.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},u.replace(nn,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}},{val:{type:"date"===a?y.date:y.time,value:n,location:h,style:p},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:n,location:h,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,g({},u)));this.bumpSpace();var d,p=this.parseIdentifierIfPossible(),h=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),p=this.parseIdentifierIfPossible(),h=d.val}var m,l=this.tryParsePluralOrSelectOptions(e,a,t,p);return l.err?l:(c=this.tryParseArgumentClose(i)).err?c:(m=v(i,this.clonePosition()),"select"===a?{val:{type:y.select,value:n,options:Yn(l.val),location:m},err:null}:{val:{type:y.plural,value:n,options:Yn(l.val),offset:h,pluralType:"plural"===a?"cardinal":"ordinal",location:m},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,v(o,s))}},o.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},o.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(n,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}},o.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(rn).filter(function(e){return 0<e.length});n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],r=r.slice(1),a=0,s=r;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:r})}return t}(e)}catch(e){return this.error(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ut.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?An(n):{}},err:null}},o.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var r=!1,o=[],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=v(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&&(r=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;o.push([s,{value:c.val,location:v(u,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(f.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:o,err:null}},o.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;r=!0,o=10*o+(a-48),this.bump()}i=v(i,this.clonePosition());return r?Fn(o*=n)?{val:o,err:null}:this.error(t,i):this.error(e,i)},o.prototype.offset=function(){return this.position.offset},o.prototype.isEOF=function(){return this.offset()===this.message.length},o.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},o.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=jn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},o.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},o.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))},o.prototype.bumpIf=function(e){if(zn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},o.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)},o.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}},o.prototype.bumpSpace=function(){for(;!this.isEOF()&&Zn(this.char());)this.bump()},o.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var qn=o;function o(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 Xn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Zn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Jn(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n,e=new qn(e,t).parse();if(e.err)throw(n=SyntaxError(f[e.err.kind])).location=e.err.location,n.originalMessage=e.err.message,n;return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Jt(e)||Kt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else qt(e)&&en(e.style)||(Xt(e)||Zt(e))&&tn(e.style)?delete e.style.location:Qt(e)&&n(e.children)})}(e.val),e.val}function Kn(e,t){var n=t&&t.cache?t.cache:ai,i=t&&t.serializer?t.serializer:ni;return(t&&t.strategy?t.strategy:function(e,t){return ti(e,this,1===e.length?Qn:ei,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function Qn(e,t,n,i){var n=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),r=t.get(n);return void 0===r&&(r=e.call(this,i),t.set(n,r)),r}function ei(e,t,n){var i=Array.prototype.slice.call(arguments,3),n=n(i),r=t.get(n);return void 0===r&&(r=e.apply(this,i),t.set(n,r)),r}function ti(e,t,n,i,r){return n.bind(t,e,i,r)}var ni=function(){return JSON.stringify(arguments)};function ii(){this.cache=Object.create(null)}ii.prototype.get=function(e){return this.cache[e]},ii.prototype.set=function(e,t){this.cache[e]=t};var ri,oi,ai={create:function(){return new ii}},si={variadic:function(e,t){return ti(e,this,ei,t.cache.create(),t.serializer)},monadic:function(e,t){return ti(e,this,Qn,t.cache.create(),t.serializer)}};(oi=ri=ri||{}).MISSING_VALUE="MISSING_VALUE",oi.INVALID_VALUE="INVALID_VALUE",oi.MISSING_INTL_API="MISSING_INTL_API";jt(wi,pi=Error),wi.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var li,ci,ui,di,pi,hi=wi,mi=(jt(bi,di=hi),bi),fi=(jt(vi,ui=hi),vi),gi=(jt(yi,ci=hi),yi);function yi(e,t){return ci.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),ri.MISSING_VALUE,t)||this}function vi(e,t,n){return ui.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),ri.INVALID_VALUE,n)||this}function bi(e,t,n,i){return di.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ri.INVALID_VALUE,i)||this}function wi(e,t,n){e=pi.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function _i(e,t,n,i,r,o,a){if(1===e.length&&Vt(e[0]))return[{type:li.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Vt(u))s.push({type:li.literal,value:u.value});else if(u.type===y.pound)"number"==typeof o&&s.push({type:li.literal,value:n.getNumberFormat(t).format(o)});else{var d=u.value;if(!(r&&d in r))throw new gi(d,a);d=r[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?li.literal:li.object,value:d});else if(Xt(u)){var p="string"==typeof u.style?i.date[u.style]:tn(u.style)?u.style.parsedOptions:void 0;s.push({type:li.literal,value:n.getDateTimeFormat(t,p).format(d)})}else if(Zt(u))p="string"==typeof u.style?i.time[u.style]:tn(u.style)?u.style.parsedOptions:i.time.medium,s.push({type:li.literal,value:n.getDateTimeFormat(t,p).format(d)});else if(qt(u))(p="string"==typeof u.style?i.number[u.style]:en(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(d*=p.scale||1),s.push({type:li.literal,value:n.getNumberFormat(t,p).format(d)});else{if(Qt(u)){var h=u.children,m=u.value,f=r[m];if("function"!=typeof f)throw new fi(m,"function",a);m=f(_i(h,t,n,i,r,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),s.push.apply(s,m.map(function(e){return{type:"string"==typeof e?li.literal:li.object,value:e}}))}if(Jt(u)){if(!(g=u.options[d]||u.options.other))throw new mi(u.value,d,Object.keys(u.options),a);s.push.apply(s,_i(g.value,t,n,i,r))}else if(Kt(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new hi('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ri.MISSING_INTL_API,a);var f=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new mi(u.value,d,Object.keys(u.options),a);s.push.apply(s,_i(g.value,t,n,i,r,d-(u.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===li.literal&&t.type===li.literal?n.value+=t.value:e.push(t),e},[])}function xi(n){return{create:function(){return{get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=li=li||{})[e.literal=0]="literal",e[e.object=1]="object",Object.defineProperty(Pi,"defaultLocale",{get:function(){return Pi.memoizedDefaultLocale||(Pi.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Pi.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Pi.memoizedDefaultLocale=null,Pi.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])},Pi.__parse=Jn,Pi.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 Ci=Pi;function Pi(e,t,n,i){var r,o,a=this;if(void 0===t&&(t=Pi.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===li.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return _i(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=Pi.resolveLocale(t),"string"==typeof e){if(this.message=e,!Pi.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Pi.__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=(r=Pi.formats,(o=n)?Object.keys(r).reduce(function(e,t){var n,i;return e[t]=(n=r[t],(i=o[t])?g(g(g({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=g(g({},n[t]),i[t]||{}),e},{})):n),e},g({},r)):r),this.formatters=i&&i.formatters||{getNumberFormat:Kn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Gt([void 0],t,!1)))},{cache:xi((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:si.variadic}),getDateTimeFormat:Kn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Gt([void 0],t,!1)))},{cache:xi(t.dateTime),strategy:si.variadic}),getPluralRules:Kn(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Gt([void 0],t,!1)))},{cache:xi(t.pluralRules),strategy:si.variadic})}}const Ei={},Ti=(e,t,n)=>n&&(t in Ei||(Ei[t]={}),e in Ei[t]||(Ei[t][e]=n),n),Ai=(t,n)=>{if(null!=n){if(n in Ei&&t in Ei[n])return Ei[n][t];var i=zi(n);for(let e=0;e<i.length;e++){var r=function(e,t){if(!Di(e))return null;e=function(e){return Mi[e]||null}(e);{var n=t;if(null!=n){if(n in e)return e[n];var i=n.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const n=i.slice(e,i.length).join(".");if(n in t){t=t[n];break}}t=t[i[e]]}else t=void 0;return t}}}(i[e],t);if(r)return Ti(t,n,r)}}};let Mi;const Si=kt({});function Di(e){return e in Mi}function a(t,...n){delete Ei[t],Si.update(e=>(e[t]=Wt.all([e[t]||{},...n]),e))}It([Si],([e])=>Object.keys(e)),Si.subscribe(e=>Mi=e);const Bi={};function ki(e){return Bi[e]}function Ii(e){return null!=e&&zi(e).some(e=>{return null==(e=ki(e))?void 0:e.size})}const Li={};function $i(e){var t;return Ii(e)?(t=zi(e).map(e=>{var t=ki(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Li[e]=Promise.all(t.map(([e,t])=>{return i=e,Promise.all(t.map(e=>{return t=i,n=e,Bi[t].delete(n),0===Bi[t].size&&delete Bi[t],e().then(e=>e.default||e);var t,n})).then(e=>a(i,...e));var i})).then(()=>{if(Ii(e))return $i(e);delete Li[e]}),Li[e]):e in Li?Li[e]:Promise.resolve()}const Ni={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 Fi=kt(!1);let Oi;const Ri=kt(null);function Hi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function zi(e,t=Ni.fallbackLocale){e=Hi(e);return t?[...new Set([...e,...Hi(t)])]:e}function Wi(){return null!=Oi?Oi:void 0}Ri.subscribe(e=>{Oi=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const he={...Ri,set:t=>{if(t&&function(e){if(null!=e){var t=zi(e);for(let e=0;e<t.length;e++){var n=t[e];if(Di(n))return n}}}(t)&&Ii(t)){var n=Ni["loadingDelay"];let e;return"undefined"!=typeof window&&null!=Wi()&&n?e=window.setTimeout(()=>Fi.set(!0),n):Fi.set(!0),$i(t).then(()=>{Ri.set(t)}).finally(()=>{clearTimeout(e),Fi.set(!1)})}return Ri.set(t)}},Yi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},ji=(e,t)=>{var n=Ni["formats"];if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ui=Yi(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=ji("number",t)),new Intl.NumberFormat(e,n)}),Gi=Yi(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=ji("date",t):0===Object.keys(n).length&&(n=ji("date","short")),new Intl.DateTimeFormat(e,n)}),Vi=Yi(({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=ji("time",t):0===Object.keys(n).length&&(n=ji("time","short")),new Intl.DateTimeFormat(e,n)}),qi=Yi((e,t=Wi())=>new Ci(e,t,Ni.formats,{ignoreTag:Ni.ignoreTag})),me=It([he,Si],()=>(e,t={})=>{var n,i;let r=t;"object"==typeof e&&(e=(r=e).id);var{values:o,locale:a=Wi(),default:s}=r;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ai(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!=(n=null==(n=(i=Ni).handleMissingMessage)?void 0:n.call(i,{locale:a,id:e,defaultValue:s}))?n:s)?i:e;if(!o)return l;let c=l;try{c=qi(l,a).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),fe=(It([he],()=>(e,t)=>{return[{locale:t=Wi(),...n}={}]=[t],Vi({locale:t,...n}).format(e);var n}),It([he],()=>(e,t)=>{return[{locale:t=Wi(),...n}={}]=[t],Gi({locale:t,...n}).format(e);var n}),It([he],()=>(e,t)=>{return[{locale:t=Wi(),...n}={}]=[t],Ui({locale:t,...n}).format(e);var n}),It([he,Si],()=>(e,t=Wi())=>Ai(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==St.indexOf(e)&&(t=new Et(t),Dt[e]=t,St.push(e)),Dt[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");function Xi(e,t){a(e,t)}const Zi={en:{profileUpdateSuccess:"Profile updated!",timeoutSuccess:"Timeout active",selfExclusionSuccess:"Self exclusion active",accountClosureSuccess:"Account closed",limitsUpdateSuccess:"Limits updated",limitsDeleteSuccess:"Limits deleted",passwordChangedSuccess:"Password changed successfully",realityCheckSuccess:"Reality check options saved"},"zh-hk":{profileUpdateSuccess:"資料更新!",timeoutSuccess:"超時有效",selfExclusionSuccess:"自我排斥活躍",accountClosureSuccess:"賬戶關閉",limitsUpdateSuccess:"限制已更新",limitsDeleteSuccess:"已刪除限制",passwordChangedSuccess:"密碼修改成功",realityCheckSuccess:"現實檢查選項已保存"},fr:{profileUpdateSuccess:"Mise à jour du profil!",timeoutSuccess:"Délai d'attente actif",selfExclusionSuccess:"Auto exclusion active",accountClosureSuccess:"Compte fermé",limitsUpdateSuccess:"Limites des mises à jour",limitsDeleteSuccess:"Limites supprimées",passwordChangedSuccess:"Le mot de passe a été modifié avec succés",realityCheckSuccess:"Options de contrôle de la réalité sauvegardées"},ro:{profileUpdateSuccess:"Profil updatat!",timeoutSuccess:"Timeout activ",selfExclusionSuccess:"Auto-excludere activa",accountClosureSuccess:"Cont inchis",limitsUpdateSuccess:"Limite updatate",limitsDeleteSuccess:"Limite sterse",passwordChangedSuccess:"Parola schimbata cu success",realityCheckSuccess:"Optiunile de verificare de timp salvate"},es:{profileUpdateSuccess:"Perfil actualizado!",timeoutSuccess:"Pausa activa",selfExclusionSuccess:"Auto Exclusión activa.",accountClosureSuccess:"Cuenta cerrada",limitsUpdateSuccess:"Limites actualizados",limitsDeleteSuccess:"Limites delegados",passwordChangedSuccess:"Cambio de Contraseña satisfactorio",realityCheckSuccess:"Opciones de verificación de realidad guardadas"},pt:{profileUpdateSuccess:"Perfil atualizado!",timeoutSuccess:"Tempo Limite ativo",selfExclusionSuccess:"Autoexclusão ativa",accountClosureSuccess:"Conta encerrada",limitsUpdateSuccess:"Limites atualizados",limitsDeleteSuccess:"Limites excluídos",passwordChangedSuccess:"Senha alterada com sucesso",realityCheckSuccess:"Opções de verificação de realidade salvas"}};function Ji(e,t){a(e,t)}const Ki={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"}};function Qi(e,t){a(e,t)}const er={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"}};function tr(n){let i,r,o,a,s,l,c=n[2]("logoutButton")+"";return{c(){i=mn("div"),r=mn("button"),o=mn("span"),a=gn(c),bn(i,"class","GeneralLogout"),bn(i,"part","GeneralLogout")},m(e,t){pn(e,i,t),dn(i,r),dn(r,o),dn(o,a),s||(l=vn(r,"click",n[13]),s=!0)},p(e,t){4&t&&c!==(c=e[2]("logoutButton")+"")&&wn(a,c)},d(e){e&&hn(i),s=!1,l()}}}function nr(o){let n,i,r,a,s,l,c,u,d,p,h,m=!o[3]&&function(){let n,i,r=o[2]("logoutButton")+"";return{c(){n=mn("span"),i=gn(r),bn(n,"class","PlayerLogoutText"),bn(n,"part","PlayerLogoutText")},m(e,t){pn(e,n,t),dn(n,i)},p(e,t){4&t&&r!==(r=e[2]("logoutButton")+"")&&wn(i,r)},d(e){e&&hn(n)}}}();return{c(){n=mn("p"),i=mn("span"),r=fn("svg"),a=fn("defs"),s=fn("style"),l=gn(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"),c=fn("path"),u=fn("path"),d=yn(),m&&m.c(),bn(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),bn(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"),bn(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),bn(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"),bn(r,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),bn(r,"data-name","Layer 1"),bn(r,"xmlns","http://www.w3.org/2000/svg"),bn(r,"viewBox","0 0 150 150"),S(i,"width",o[3]?o[4].matches?"50px":"24px":"20px"),bn(n,"class","PlayerAccountMenuItemBox "+(o[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(o[4].matches&&o[3]?"PlayerAccountMenuItemBoxTablet":"")),bn(n,"part","PlayerAccountMenuItemBox "+(o[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(o[4].matches&&o[3]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){pn(e,n,t),dn(n,i),dn(i,r),dn(r,a),dn(a,s),dn(s,l),dn(r,c),dn(r,u),dn(n,d),m&&m.m(n,null),p||(h=vn(n,"click",o[12]),p=!0)},p(e,t){e[3]||m.p(e,t)},d(e){e&&hn(n),m&&m.d(),p=!1,h()}}}function ir(n){let i;function r(e){return"PlayerAccountMenu"===e[0]?nr:tr}let o=r(n),a=o(n);return{c(){i=mn("div"),a.c(),this.c=se},m(e,t){pn(e,i,t),a.m(i,null),n[14](i)},p(e,[t]){o===(o=r(e))&&a?a.p(e,t):(a.d(1),(a=o(e))&&(a.c(),a.m(i,null)))},i:se,o:se,d(e){e&&hn(i),a.d(),n[14](null)}}}function rr(t,e,n){let i;ue(t,me,e=>n(2,i=e));let r,{endpoint:o=""}=e,{session:a=""}=e,{buttonlocation:s=""}=e,{lang:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,{translationurl:d=""}=e,p="",h=!1,m=window.navigator.userAgent,f="PC"!==fe(m);e=window.matchMedia("(min-width: 768px)");Object.keys(er).forEach(e=>{Qi(e,er[e])});const g=()=>{var e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",a),fetch(o+"/player/session/player",{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"})})};return t.$$set=e=>{"endpoint"in e&&n(6,o=e.endpoint),"session"in e&&n(7,a=e.session),"buttonlocation"in e&&n(0,s=e.buttonlocation),"lang"in e&&n(8,l=e.lang),"clientstyling"in e&&n(9,c=e.clientstyling),"clientstylingurl"in e&&n(10,u=e.clientstylingurl),"translationurl"in e&&n(11,d=e.translationurl)},t.$$.update=()=>{if(193&t.$$.dirty&&o&&a&&s&&(o||(p="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",h=!0,console.error(p)),a||(p="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",h=!0,console.error(p))),256&t.$$.dirty&&l&&(e=l,he.set(e)),514&t.$$.dirty&&c&&r&&((e=document.createElement("style")).innerHTML=c,r.appendChild(e)),1026&t.$$.dirty&&u&&r){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e;2048&t.$$.dirty&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Qi(e,t[e])})}).catch(e=>{console.log(e)})},[s,r,i,f,e,g,o,a,l,c,u,d,()=>g(),()=>g(),function(e){pe[e?"unshift":"push"](()=>{r=e,n(1,r)})}]}function or(e,t,n){e=e.slice();return e[32]=t[n],e}function ar(n){let i,r,o,a,s,l,c,u,d,p,h,m,f=n[32].label+"";function g(){return n[19](n[32])}return{c(){i=mn("div"),r=mn("p"),o=mn("img"),s=yn(),l=mn("span"),c=gn(f),u=yn(),bn(o,"class","PlayerAccountMenuItemIcon "+(n[10]?"PlayerAccountMenuItemIconMobile":"")),bn(o,"part","PlayerAccountMenuItemIcon "+(n[10]?"PlayerAccountMenuItemIconMobile":"")),_(o.src,a=n[32].img)||bn(o,"src",a),bn(l,"class","PlayerAccountMenuItemTitle"),bn(l,"part","PlayerAccountMenuItemTitle"),bn(r,"class","PlayerAccountMenuItemWrapper"),bn(r,"part","PlayerAccountMenuItemWrapper"),bn(i,"class",d="PlayerAccountMenuItemBox "+(n[6]!==n[32].id||n[10]?"":"PlayerAccountMenuActiveItemBox")),bn(i,"part",p="PlayerAccountMenuItemBox "+(n[6]!==n[32].id||n[10]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){pn(e,i,t),dn(i,r),dn(r,o),dn(r,s),dn(r,l),dn(l,c),dn(i,u),h||(m=vn(i,"click",g),h=!0)},p(e,t){n=e,32&t[0]&&!_(o.src,a=n[32].img)&&bn(o,"src",a),32&t[0]&&f!==(f=n[32].label+"")&&wn(c,f),96&t[0]&&d!==(d="PlayerAccountMenuItemBox "+(n[6]!==n[32].id||n[10]?"":"PlayerAccountMenuActiveItemBox"))&&bn(i,"class",d),96&t[0]&&p!==(p="PlayerAccountMenuItemBox "+(n[6]!==n[32].id||n[10]?"":"PlayerAccountMenuActiveItemBox"))&&bn(i,"part",p)},d(e){e&&hn(i),h=!1,m()}}}function sr(n){let i,r=function(t){let n,i,r,o,a,s,l,c,u,d,p,h,m=t[10]&&function(n){let i,r,o,a,s,l,c,u,d,p,h,m,f,g=n[9]("title")+"";return{c(){i=mn("div"),r=fn("svg"),o=fn("defs"),a=fn("style"),s=gn(".aaa{fill:var(--emfe-w-color-white, #FFFFFF);}"),l=fn("g"),c=fn("g"),u=fn("path"),d=yn(),p=mn("h3"),h=gn(g),bn(u,"class","aaa"),bn(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),bn(u,"transform","translate(15 15) rotate(180)"),bn(c,"transform","translate(20 158)"),bn(l,"transform","translate(-20 -158)"),bn(r,"xmlns","http://www.w3.org/2000/svg"),bn(r,"width","15"),bn(r,"height","15"),bn(r,"viewBox","0 0 15 15"),bn(p,"class","PlayerAccountMenuCategoryTitle"),bn(p,"part","PlayerAccountMenuCategoryTitle"),bn(i,"class","PlayerAccountMenuCategoryWrapper"),bn(i,"part","PlayerAccountMenuCategoryWrapper")},m(e,t){pn(e,i,t),dn(i,r),dn(r,o),dn(o,a),dn(a,s),dn(r,l),dn(l,c),dn(c,u),dn(i,d),dn(i,p),dn(p,h),m||(f=[vn(r,"click",n[12]),vn(p,"click",n[12])],m=!0)},p(e,t){512&t[0]&&g!==(g=e[9]("title")+"")&&wn(h,g)},d(e){e&&hn(i),m=!1,un(f)}}}(t),f=t[10]&&function(e){let n,i;return{c(){n=mn("div"),le(i=mn("general-logout"),"endpoint",e[1]),le(i,"session",e[0]),le(i,"buttonlocation","PlayerAccountMenu"),le(i,"clientstyling",e[2]),le(i,"clientstylingurl",e[3]),bn(n,"class","PlayerAccountLogOutArea"),bn(n,"part","PlayerAccountLogOutArea")},m(e,t){pn(e,n,t),dn(n,i)},p(e,t){2&t[0]&&le(i,"endpoint",e[1]),1&t[0]&&le(i,"session",e[0]),4&t[0]&&le(i,"clientstyling",e[2]),8&t[0]&&le(i,"clientstylingurl",e[3])},d(e){e&&hn(n)}}}(t),g=t[5],y=[];for(let e=0;e<g.length;e+=1)y[e]=ar(or(t,g,e));let v=!t[10]&&function(e){let n,i;return{c(){n=mn("div"),le(i=mn("general-logout"),"endpoint",e[1]),le(i,"session",e[0]),le(i,"buttonlocation","PlayerAccountMenu"),le(i,"clientstyling",e[2]),le(i,"clientstylingurl",e[3]),bn(n,"class","PlayerAccountLogOutArea"),bn(n,"part","PlayerAccountLogOutArea")},m(e,t){pn(e,n,t),dn(n,i)},p(e,t){2&t[0]&&le(i,"endpoint",e[1]),1&t[0]&&le(i,"session",e[0]),4&t[0]&&le(i,"clientstyling",e[2]),8&t[0]&&le(i,"clientstylingurl",e[3])},d(e){e&&hn(n)}}}(t);return{c(){n=mn("div"),i=mn("div"),m&&m.c(),r=yn(),o=mn("p"),a=gn(t[7]),s=yn(),l=mn("p"),c=gn(t[8]),u=yn(),f&&f.c(),d=yn(),p=mn("div");for(let e=0;e<y.length;e+=1)y[e].c();h=yn(),v&&v.c(),bn(o,"class","PlayerAccountMenuUser"),bn(o,"part","PlayerAccountMenuUser"),bn(l,"class","PlayerAccountMenuEmail"),bn(l,"part","PlayerAccountMenuEmail"),bn(i,"class","PlayerAccountMenuHeader "+(t[10]?"PlayerAccountMenuHeaderMobile":"")),bn(i,"part","PlayerAccountMenuHeader"),bn(p,"class","PlayerAccountMenuList"),bn(p,"part","PlayerAccountMenuList"),bn(n,"class","PlayerAccountMenuContainer "+(t[10]?"PlayerAccountMobileContainer":"")+" "+(t[11].matches&&t[10]?"PlayerAccountTabletContainer":"")),bn(n,"part","PlayerAccountMenuContainer "+(t[10]?"PlayerAccountMobileContainer":"")+" "+(t[11].matches&&t[10]?"PlayerAccountTabletContainer":""))},m(e,t){pn(e,n,t),dn(n,i),m&&m.m(i,null),dn(i,r),dn(i,o),dn(o,a),dn(i,s),dn(i,l),dn(l,c),dn(i,u),f&&f.m(i,null),dn(n,d),dn(n,p);for(let e=0;e<y.length;e+=1)y[e]&&y[e].m(p,null);dn(n,h),v&&v.m(n,null)},p(t,n){if(t[10]&&m.p(t,n),128&n[0]&&wn(a,t[7]),256&n[0]&&wn(c,t[8]),t[10]&&f.p(t,n),9312&n[0]){let e;for(g=t[5],e=0;e<g.length;e+=1){var i=or(t,g,e);y[e]?y[e].p(i,n):(y[e]=ar(i),y[e].c(),y[e].m(p,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[10]||v.p(t,n)},d(e){e&&hn(n),m&&m.d(),f&&f.d(),_n(y,e),v&&v.d()}}}(n);return{c(){i=mn("div"),r.c(),this.c=se},m(e,t){pn(e,i,t),r.m(i,null),n[20](i)},p(e,t){r.p(e,t)},i:se,o:se,d(e){e&&hn(i),r.d(),n[20](null)}}}function lr(n,e,i){let t;ue(n,me,e=>i(9,t=e));let r,o,{endpoint:a=""}=e,{session:s=""}=e,{playerid:l=""}=e,{lang:c="en"}=e,{selecteditem:u=""}=e,{userroles:d=""}=e,{clientstyling:p=""}=e,{clientstylingurl:h=""}=e,{translationurl:m=""}=e,f=[],g=window.navigator.userAgent,y="PC"!==fe(g),v="",b="";e=window.matchMedia("(min-width: 768px)");Object.keys(Ki).forEach(e=>{Ji(e,Ki[e])});const w=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":i(5,f=e.data.accountMenuInfo);break;case"UserSessionID":i(0,s=e.data.session);break;case"ChangeAccountPage":x()}},_=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),i(6,o=e.id)},x=()=>{i(6,o=u)};return de(()=>(window.addEventListener("message",w,!1),()=>{window.removeEventListener("message",w)})),n.$$set=e=>{"endpoint"in e&&i(1,a=e.endpoint),"session"in e&&i(0,s=e.session),"playerid"in e&&i(14,l=e.playerid),"lang"in e&&i(15,c=e.lang),"selecteditem"in e&&i(16,u=e.selecteditem),"userroles"in e&&i(17,d=e.userroles),"clientstyling"in e&&i(2,p=e.clientstyling),"clientstylingurl"in e&&i(3,h=e.clientstylingurl),"translationurl"in e&&i(18,m=e.translationurl)},n.$$.update=()=>{if(32768&n.$$.dirty[0]&&c&&(t=c,he.set(t)),49155&n.$$.dirty[0]&&a&&s&&l&&c&&((t=new URL(`${a}/player/${l}/profile`)).searchParams.append("userRoles",d),e={method:"GET",headers:{"X-SessionID":s}},fetch(t.href,e).then(e=>e.json()).then(e=>{i(7,v=e.username),i(8,b=e.email)},e=>{console.error(e)})),65536&n.$$.dirty[0]&&u&&x(),24&n.$$.dirty[0]&&h&&r){let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e,t;20&n.$$.dirty[0]&&p&&r&&((e=document.createElement("style")).innerHTML=p,r.appendChild(e)),262144&n.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ji(e,t[e])})}).catch(e=>{console.log(e)})},[s,a,p,h,r,f,o,v,b,t,y,e,()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},_,l,c,u,d,m,e=>_(e),function(e){pe[e?"unshift":"push"](()=>{r=e,i(4,r)})}]}function cr(e,t,n){e=e.slice();return e[14]=t[n],e}function ur(t){let r,o=t[1],a=[];for(let e=0;e<o.length;e+=1)a[e]=dr(cr(t,o,e));return{c(){r=mn("div");for(let e=0;e<a.length;e+=1)a[e].c();bn(r,"class","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":"")),bn(r,"part","PlayerAccountNotificationsContainer "+(t[2]&&t[3].matches?"PlayerAccountNotificationsTabletContainer":t[2]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){pn(e,r,t);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(r,null)},p(t,n){if(2&n){let e;for(o=t[1],e=0;e<o.length;e+=1){var i=cr(t,o,e);a[e]?a[e].p(i,n):(a[e]=dr(i),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&hn(r),_n(a,e)}}}function dr(e){let n,i,r,o,a,s,l,c,u,d,p,h=e[14].title+"",m=e[14].description+"";return{c(){n=mn("div"),i=mn("div"),r=mn("img"),s=yn(),l=mn("p"),c=gn(h),u=yn(),d=mn("p"),p=yn(),bn(r,"class","PlayerAccountNotificationIcon"),bn(r,"part","PlayerAccountNotificationIcon"),_(r.src,o=e[14].icon)||bn(r,"src",o),bn(r,"alt",a=e[14].title),bn(l,"class","PlayerAccountNotificationTitle"),bn(l,"part","PlayerAccountNotificationTitle"),bn(i,"class","PlayerAccountNotificationBoxHeader"),bn(i,"part","PlayerAccountNotificationBoxHeader"),bn(d,"class","PlayerAccountNotificationText"),bn(d,"part","PlayerAccountNotificationText"),bn(n,"class","PlayerAccountNotificationBox"),bn(n,"part","PlayerAccountNotificationBox"),S(n,"background",e[14].backgroundColor)},m(e,t){pn(e,n,t),dn(n,i),dn(i,r),dn(i,s),dn(i,l),dn(l,c),dn(n,u),dn(n,d),d.innerHTML=m,dn(n,p)},p(e,t){2&t&&!_(r.src,o=e[14].icon)&&bn(r,"src",o),2&t&&a!==(a=e[14].title)&&bn(r,"alt",a),2&t&&h!==(h=e[14].title+"")&&wn(c,h),2&t&&m!==(m=e[14].description+"")&&(d.innerHTML=m),2&t&&S(n,"background",e[14].backgroundColor)},d(e){e&&hn(n)}}}function pr(n){let i;function r(e){if(e[1].length)return ur}let o=r(n),a=o&&o(n);return{c(){i=mn("div"),a&&a.c(),this.c=se},m(e,t){pn(e,i,t),a&&a.m(i,null),n[7](i)},p(e,[t]){o===(o=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=o&&o(e))&&(a.c(),a.m(i,null)))},i:se,o:se,d(e){e&&hn(i),a&&a.d(),n[7](null)}}}function hr(t,e,n){let i,{customnotif:r=""}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,s=window.navigator.userAgent,l="PC"!==fe(s),c=[],u=[];const d=window.matchMedia("(min-width: 768px)"),p=e=>{e.data&&"NotificationsDetails"===e.data.type&&(n(1,c=e.data.notificationsInfo),c.forEach(e=>{u.length&&(e.backgroundColor=u[0],u.shift())}))},h=()=>{r.replace(" ",""),u=r.split(",")};return de(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)})),t.$$set=e=>{"customnotif"in e&&n(4,r=e.customnotif),"clientstyling"in e&&n(5,o=e.clientstyling),"clientstylingurl"in e&&n(6,a=e.clientstylingurl)},t.$$.update=()=>{if(16&t.$$.dirty&&r&&h(),2&t.$$.dirty&&c&&h(),65&t.$$.dirty&&a&&i){let e=new URL(a),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;33&t.$$.dirty&&o&&i&&((e=document.createElement("style")).innerHTML=o,i.appendChild(e))},[i,c,l,d,r,o,a,function(e){pe[e?"unshift":"push"](()=>{i=e,n(0,i)})}]}function mr(e,t){a(e,t)}customElements.get("general-logout")||customElements.define("general-logout",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox: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)}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},rr,ir,n,{endpoint:6,session:7,buttonlocation:0,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&pn(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","buttonlocation","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),p()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),p()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),p()}}),customElements.get("player-account-menu")||customElements.define("player-account-menu",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".PlayerAccountMenuContainer{color:var(--emfe-w-color-white, #FFFFFF);position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b}.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}.PlayerAccountMenuHeaderMobile{color:var(--emfe-w-color-white, #FFFFFF)}.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{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;border-top:1px solid var(--emfe-w-color-gray-150, #828282)}.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;border-top:0}.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}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},lr,sr,n,{endpoint:1,session:0,playerid:14,lang:15,selecteditem:16,userroles:17,clientstyling:2,clientstylingurl:3,translationurl:18},null,[-1,-1]),e&&(e.target&&pn(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["endpoint","session","playerid","lang","selecteditem","userroles","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),p()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),p()}get playerid(){return this.$$.ctx[14]}set playerid(e){this.$$set({playerid:e}),p()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),p()}get selecteditem(){return this.$$.ctx[16]}set selecteditem(e){this.$$set({selecteditem:e}),p()}get userroles(){return this.$$.ctx[17]}set userroles(e){this.$$set({userroles:e}),p()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),p()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}',this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},hr,pr,n,{customnotif:4,clientstyling:5,clientstylingurl:6},null),e&&(e.target&&pn(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["customnotif","clientstyling","clientstylingurl"]}get customnotif(){return this.$$.ctx[4]}set customnotif(e){this.$$set({customnotif:e}),p()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}});const fr={en:{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"},"zh-hk":{title:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",cooloff24:"冷卻 24 小時",cooloff7:"冷卻 7 天",cooloff30:"冷卻 30 天",cooloff3:"冷靜3個月",cooloff24Text:"24小時",cooloff7Text:"7天",cooloff30Text:"30天",cooloff3Text:"3個月"},fr:{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:{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:{title:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",cooloff24:"CoolOffPor24Horas",cooloff7:"CoolOffPor7Días",cooloff30:"CoolOffPor30Días",cooloff3:"CoolOffPor3Meses",cooloff24Text:"24 horas",cooloff7Text:"7 días",cooloff30Text:"30 días",cooloff3Text:"3 meses"},pt:{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 gr(e,t,n){e=e.slice();return e[21]=t[n].value,e[22]=t[n].text,e}function yr(e){let n,i,t=e[22]+"";return{c(){n=mn("option"),i=gn(t),n.__value=e[21],n.value=n.__value},m(e,t){pn(e,n,t),dn(n,i)},p:se,d(e){e&&hn(n)}}}function vr(n){let i,r,o,a,s,l,c,u,d,p,h,m,f,g,y,v,b,w,_,x,C,e=n[3]("title")+"",P=n[3]("timeoutTextFirst",{values:{operatorname:n[0]}})+"",E=n[3]("timeoutTextSecondary")+"",T=n[3]("save")+"",A=n[4]&&function(n){let i,r,o,a,s,l,c,u,d,p,h,m,f,g=n[3]("title")+"";return{c(){i=mn("div"),r=fn("svg"),o=fn("defs"),a=fn("style"),s=gn(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=fn("g"),c=fn("g"),u=fn("path"),d=yn(),p=mn("h2"),h=gn(g),bn(u,"class","aaa"),bn(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),bn(u,"transform","translate(15 15) rotate(180)"),bn(c,"transform","translate(20 158)"),bn(l,"transform","translate(-20 -158)"),bn(r,"xmlns","http://www.w3.org/2000/svg"),bn(r,"width","15"),bn(r,"height","15"),bn(r,"viewBox","0 0 15 15"),bn(p,"class","TimeoutTitleMobile"),bn(p,"part","TimeoutTitleMobile"),bn(i,"class","MenuReturnButton"),bn(i,"part","MenuReturnButton")},m(e,t){pn(e,i,t),dn(i,r),dn(r,o),dn(o,a),dn(a,s),dn(r,l),dn(l,c),dn(c,u),dn(i,d),dn(i,p),dn(p,h),m||(f=vn(i,"click",n[12]),m=!0)},p(e,t){8&t&&g!==(g=e[3]("title")+"")&&wn(h,g)},d(e){e&&hn(i),m=!1,f()}}}(n),M=n[5],S=[];for(let e=0;e<M.length;e+=1)S[e]=yr(gr(n,M,e));return{c(){i=mn("div"),r=mn("form"),A&&A.c(),o=yn(),a=mn("h2"),s=gn(e),l=yn(),c=mn("div"),u=mn("p"),d=gn(P),p=yn(),h=mn("p"),m=gn(E),f=yn(),g=mn("div"),y=mn("select");for(let e=0;e<S.length;e+=1)S[e].c();v=yn(),b=mn("div"),w=mn("button"),_=gn(T),this.c=se,bn(a,"class","TimeoutTitle "+(n[4]?"TimeoutTitleNone":"")),bn(a,"part","TimeoutTitle "+(n[4]?"TimeoutTitleNone":"")),bn(c,"class","TimeoutDescription "+(n[4]?"TimeoutDescriptionMobile":"")),bn(c,"part","TimeoutDescription "+(n[4]?"TimeoutDescriptionMobile":"")),bn(y,"class","TimeoutSelect "+(n[4]?"TimeoutSelectMobile":"")),bn(y,"part","TimeoutSelect "+(n[4]?"TimeoutSelectMobile":"")),void 0===n[2]&&Pn(()=>n[13].call(y)),bn(g,"class","TimeoutSelectWrapper"),bn(g,"part","TimeoutSelectWrapper"),bn(w,"class","TimeoutSave"),bn(w,"part","TimeoutSave"),bn(b,"class","TimeoutActionButtons "+(n[4]?"TimeoutActionButtonsMobile":"")),bn(b,"part","TimeoutActionButtons "+(n[4]?"TimeoutActionButtonsMobile":"")),bn(r,"class","TimeoutWrapper "+(n[4]?"TimeoutWrapperMobile":"")),bn(r,"part","TimeoutWrapper "+(n[4]?"TimeoutWrapperMobile":""))},m(e,t){pn(e,i,t),dn(i,r),A&&A.m(r,null),dn(r,o),dn(r,a),dn(a,s),dn(r,l),dn(r,c),dn(c,u),dn(u,d),dn(c,p),dn(c,h),dn(h,m),dn(r,f),dn(r,g),dn(g,y);for(let e=0;e<S.length;e+=1)S[e]&&S[e].m(y,null);Cn(y,n[2],!0),dn(r,v),dn(r,b),dn(b,w),dn(w,_),n[15](i),x||(C=[vn(y,"change",n[13]),vn(w,"click",n[14])],x=!0)},p(t,[n]){if(t[4]&&A.p(t,n),8&n&&e!==(e=t[3]("title")+"")&&wn(s,e),9&n&&P!==(P=t[3]("timeoutTextFirst",{values:{operatorname:t[0]}})+"")&&wn(d,P),8&n&&E!==(E=t[3]("timeoutTextSecondary")+"")&&wn(m,E),32&n){let e;for(M=t[5],e=0;e<M.length;e+=1){var i=gr(t,M,e);S[e]?S[e].p(i,n):(S[e]=yr(i),S[e].c(),S[e].m(y,null))}for(;e<S.length;e+=1)S[e].d(1);S.length=M.length}36&n&&Cn(y,t[2]),8&n&&T!==(T=t[3]("save")+"")&&wn(_,T)},i:se,o:se,d(e){e&&hn(i),A&&A.d(),_n(S,e),n[15](null),x=!1,un(C)}}}function br(t,e,n){let i;ue(t,me,e=>n(3,i=e));let r,{operator:o="Everymatrix"}=e,{lang:a="en"}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{translationurl:c=""}=e,u=window.navigator.userAgent,d="PC"!==fe(u),p=(Object.keys(fr).forEach(e=>{mr(e,fr[e])}),[{value:i("cooloff24"),text:i("cooloff24Text")},{value:i("cooloff7"),text:i("cooloff7Text")},{value:i("cooloff30"),text:i("cooloff30Text")},{value:i("cooloff3"),text:i("cooloff3Text")}]),h=p[0].value;const m=e=>{e.preventDefault(),window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:h},window.location.href)},f=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:d},window.location.href)};return t.$$set=e=>{"operator"in e&&n(0,o=e.operator),"lang"in e&&n(8,a=e.lang),"clientstyling"in e&&n(9,s=e.clientstyling),"clientstylingurl"in e&&n(10,l=e.clientstylingurl),"translationurl"in e&&n(11,c=e.translationurl)},t.$$.update=()=>{if(256&t.$$.dirty&&a&&(e=a,he.set(e)),1026&t.$$.dirty&&l&&r){let e=new URL(l),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e;514&t.$$.dirty&&s&&r&&((e=document.createElement("style")).innerHTML=s,r.appendChild(e)),2048&t.$$.dirty&&c&&fetch(c).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{mr(e,t[e])})}).catch(e=>{console.log(e)})},[o,r,h,i,d,p,m,f,a,s,l,c,()=>f(),function(){h=ye(this),n(2,h),n(5,p)},e=>m(e),function(e){pe[e?"unshift":"push"](()=>{r=e,n(1,r)})}]}customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".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}",this.shadowRoot.appendChild(t),r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},br,vr,n,{operator:0,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},null),e&&(e.target&&pn(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}static get observedAttributes(){return["operator","lang","clientstyling","clientstylingurl","translationurl"]}get operator(){return this.$$.ctx[0]}set operator(e){this.$$set({operator:e}),p()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),p()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),p()}});_r=wr={path:void 0,exports:{},require:function(e,t){return Bn(null==t&&wr.path)}},wr.exports,_r.exports=function(){var N;function m(){return N.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function O(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function R(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function H(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function z(e,t){for(var n=[],i=e.length,r=0;r<i;++r)n.push(t(e[r],r));return n}function W(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,i){return Bt(e,t,n,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),n=U.call(t.parsedDateParts,function(e){return null!=e}),n=!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&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function j(e){var t=c(NaN);return null!=e?W(g(t),e):g(t).userInvalidated=!0,t}var U=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;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 n,i,r,o=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<o)for(n=0;n<o;n++)s(r=t[i=G[n]])||(e[i]=r);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(o,a){var s=!0;return W(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),s){for(var e,t,n=[],i=arguments.length,r=0;r<i;r++){if(e="","object"==typeof arguments[r]){for(t in e+="\n["+r+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[r];n.push(e)}Z(o+"\nArguments: "+Array.prototype.slice.call(n).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 n,i=W({},e);for(n in t)f(t,n)&&(F(e[n])&&F(t[n])?(i[n]={},W(i[n],e[n]),W(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)f(e,n)&&!f(t,n)&&F(e[n])&&(i[n]=W({},i[n]));return i}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};function o(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var ne=/(\[[^\[]*\])|(\\)?([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,re={},oe={};function i(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(oe[e]=r),t&&(oe[t[0]]=function(){return o(r.apply(this,arguments),t[1],t[2])}),n&&(oe[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=se(t,e.localeData()),re[t]=re[t]||function(i){for(var e,r=i.match(ne),t=0,o=r.length;t<o;t++)oe[r[t]]?r[t]=oe[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=u(r[n])?r[n].call(e,i):r[n];return t}}(t),re[t](e)):e.localeData().invalidDate()}function se(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=n&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--n;return e}var le={};function t(e,t){var n=e.toLowerCase();le[n]=le[n+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,n,i={};for(n in e)f(e,n)&&(t=d(n))&&(i[t]=e[n]);return i}var ue={};function n(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,n){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,n),this):he(this,t)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(n=h(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Le(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var r=/\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+/,Ee=/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,n,i){Me[e]=u(n)?n:function(e,t){return e&&i?i:n}}function Ae(e,t){return f(Me,e)?Me[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={},Se={};function x(e,n){var t,i,r=n;for("string"==typeof e&&(e=[e]),R(n)&&(r=function(e,t){t[n]=h(e)}),i=e.length,t=0;t<i;t++)Se[e[t]]=r}function De(e,r){x(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var C,P=0,E=1,T=2,A=3,M=4,S=5,Be=6,ke=7,Ie=8;function Le(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?de(e)?29:28:31-n%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"),n("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[E]=h(e)-1}),x(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[E]=i:g(n).invalidMonth=e});var $e="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oe=b,Re=b;function He(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=h(t);else if(!R(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),Le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function ze(e){return null!=e?(He(this,e),m.updateOffset(this,!0),this):he(this,"Month")}function We(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],o=0;o<12;o++)t=c([2e3,o]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),o=0;o<12;o++)n[o]=_(n[o]),i[o]=_(i[o]);for(o=0;o<24;o++)r[o]=_(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ye(e){return de(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?o(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"),n("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 je=pe("FullYear",!0);function Ue(e,t,n,i,r,o,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,o,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,n){n=7+t-n;return-(7+Ge(e,0,n).getUTCDay()-t)%7+n-1}function qe(e,t,n,i,r){var o,t=1+7*(t-1)+(7+n-i)%7+Ve(e,i,r),n=t<=0?Ye(o=e-1)+t:t>Ye(e)?(o=e+1,t-Ye(e)):(o=e,t);return{year:o,dayOfYear:n}}function Xe(e,t,n){var i,r,o=Ve(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?i=o+D(r=e.year()-1,t,n):o>D(e.year(),t,n)?(i=o-D(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function D(e,t,n){var i=Ve(e,t,n),t=Ve(e+1,t,n);return(Ye(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),De(["w","ww","W","WW"],function(e,t,n,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"),n("day",11),n("weekday",11),n("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,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e}),De(["d","e","E"],function(e,t,n,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,nt=b;function it(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],o=[],a=[],s=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=_(this.weekdaysMin(i,"")),n=_(this.weekdaysShort(i,"")),i=_(this.weekdays(i,"")),r.push(t),o.push(n),a.push(i),s.push(t),s.push(n),s.push(i);r.sort(e),o.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function rt(){return this.hours()%12||12}function ot(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,rt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+rt.apply(this)+o(this.minutes(),2)}),i("hmmss",0,0,function(){return""+rt.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),t("hour","h"),n("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"],A),x(["k","kk"],function(e,t,n){e=h(e);t[A]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[A]=h(e),g(n).bigHour=!0}),x("hmm",function(e,t,n){var i=e.length-2;t[A]=h(e.substr(0,i)),t[M]=h(e.substr(i)),g(n).bigHour=!0}),x("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[A]=h(e.substr(0,i)),t[M]=h(e.substr(i,2)),t[S]=h(e.substr(r)),g(n).bigHour=!0}),x("Hmm",function(e,t,n){var i=e.length-2;t[A]=h(e.substr(0,i)),t[M]=h(e.substr(i))}),x("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[A]=h(e.substr(0,i)),t[M]=h(e.substr(i,2)),t[S]=h(e.substr(r))});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:$e,monthsShort:Ne,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:Qe,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},B={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=ut(e[o]).split("-")).length,n=(n=ut(e[o+1]))?n.split("-"):null;0<t;){if(i=pt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}o++}return st}function pt(t){var e;if(void 0===B[t]&&_r&&_r.exports&&null!=t.match("^[^/\\\\]*$"))try{e=st._abbr,Bn(),ht(e)}catch(e){B[t]=null}return B[t]}function ht(e,t){return e&&((t=s(t)?k(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 B[e],null;var n,i=lt;if(t.abbr=e,null!=B[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=B[e]._config;else if(null!=t.parentLocale)if(null!=B[t.parentLocale])i=B[t.parentLocale]._config;else{if(null==(n=pt(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=n._config}return B[e]=new ee(Q(i,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),ht(e),B[e]}function k(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[E]<0||11<t[E]?E:t[T]<1||t[T]>Le(t[P],t[E])?T:t[A]<0||24<t[A]||24===t[A]&&(0!==t[M]||0!==t[S]||0!==t[Be])?A:t[M]<0||59<t[M]?M:t[S]<0||59<t[S]?S:t[Be]<0||999<t[Be]?Be:-1,g(e)._overflowDayOfYear&&(t<P||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=ke),g(e)._overflowWeekday&&-1===t&&(t=Ie),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,n,i,r,o,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,n=s;t<n;t++)if(bt[t][1].exec(l[1])){r=bt[t][0],i=!1!==bt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,n=c;t<n;t++)if(wt[t][1].exec(l[3])){o=(l[2]||" ")+wt[t][0];break}if(null==o)return e._isValid=!1}if(!i&&null!=o)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=r+(o||"")+(a||""),St(e)}else e._isValid=!1}function Et(e,t,n,i,r,o){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ne.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&e.push(parseInt(o,10)),e}function Tt(e){var t,n,i,r,o=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Et(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],i=t,r=e,n&&Ke.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(g(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(n=o[8],i=o[9],r=o[10],n?Ct[n]:i?0:((n=parseInt(r,10))-(i=n%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 At(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,i,r,o,a,s,l,c,u,d,p=[];if(!e._d){for(u=e,d=new Date(m.now()),n=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[E]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(a=1,s=4,i=At(d.GG,u._a[P],Xe(I(),1,4).year),r=At(d.W,1),((o=At(d.E,1))<1||7<o)&&(l=!0)):(a=u._locale._week.dow,s=u._locale._week.doy,c=Xe(I(),a,s),i=At(d.gg,u._a[P],c.year),r=At(d.w,c.week),null!=d.d?((o=d.d)<0||6<o)&&(l=!0):null!=d.e?(o=d.e+a,(d.e<0||6<d.e)&&(l=!0)):o=a),r<1||r>D(i,a,s)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=qe(i,r,o,a,s),u._a[P]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=At(e._a[P],n[P]),(e._dayOfYear>Ye(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ge(d,0,e._dayOfYear),e._a[E]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=p[t]=n[t];for(;t<7;t++)e._a[t]=p[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[A]&&0===e._a[M]&&0===e._a[S]&&0===e._a[Be]&&(e._nextDay=!0,e._a[A]=0),e._d=(e._useUTC?Ge:Ue).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[A]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function St(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,n,i,r=""+e._i,o=r.length,a=0,s=(n=se(e._f,e._locale).match(ne)||[]).length,l=0;l<s;l++)i=n[l],(t=(r.match(Ae(i,e))||[])[0])&&(0<(d=r.substr(0,r.indexOf(t))).length&&g(e).unusedInput.push(d),r=r.slice(r.indexOf(t)+t.length),a+=t.length),oe[i]?(t?g(e).empty=!1:g(e).unusedTokens.push(i),d=i,h=e,null!=(p=t)&&f(Se,d)&&Se[d](p,h._a,h,d)):e._strict&&!t&&g(e).unusedTokens.push(i);g(e).charsLeftOver=o-a,0<r.length&&g(e).unusedInput.push(r),e._a[A]<=12&&!0===g(e).bigHour&&0<e._a[A]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[A]=(o=e._locale,c=e._a[A],null==(u=e._meridiem)?c:null!=o.meridiemHour?o.meridiemHour(c,u):null!=o.isPM?((o=o.isPM(u))&&c<12&&(c+=12),c=o||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[P]=e._locale.erasConvertYear(u,e._a[P])),Mt(e),ft(e)}else Tt(e);else Pt(e);var c,u,d,p,h}function Dt(e){var t,n=e._i,i=e._f;{var r,o;return(e._locale=e._locale||k(e._l),null===n||void 0===i&&""===n)?j({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),l(n)?new X(ft(n)):(H(n)?e._d=n:a(i)?function(e){var t,n,i,r,o,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<l;r++)o=0,a=!1,t=q({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],St(t),Y(t)&&(a=!0),o=(o+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=o,s?o<i&&(i=o,n=t):(null==i||o<i||a)&&(i=o,n=t,a)&&(s=!0);W(e,n||t)}(e):i?St(e):s(i=(n=e)._i)?n._d=new Date(m.now()):H(i)?n._d=new Date(i.valueOf()):"string"==typeof i?(r=n,null===(o=_t.exec(r._i))?(Pt(r),!1===r._isValid&&(delete r._isValid,Tt(r),!1===r._isValid)&&(delete r._isValid,r._strict?r._isValid=!1:m.createFromInputFallback(r))):r._d=new Date(+o[1])):a(i)?(n._a=z(i.slice(0),function(e){return parseInt(e,10)}),Mt(n)):F(i)?(r=n)._d||(t=void 0===(o=ce(r._i)).day?o.date:o.day,r._a=z([o.year,o.month,t,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),Mt(r)):R(i)?n._d=new Date(i):m.createFromInputFallback(n),Y(e)||(e._d=null),e))}}function Bt(e,t,n,i,r){var o={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(F(e)&&O(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=e,o._f=t,o._strict=i,(r=new X(ft(Dt(r=o))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function I(e,t,n,i){return Bt(e,t,n,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=I.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:j()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:j()});function kt(e,t){var n,i;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return I();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Lt(e){var e=ce(e),t=e.year||0,n=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,o=e.day||0,a=e.hour||0,s=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=It.length;for(t in e)if(f(e,t)&&(-1===C.call(It,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[It[n]]){if(i)return!1;parseFloat(e[It[n]])!==h(e[It[n]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*s+1e3*a*60*60,this._days=+o+7*r,this._months=+i+3*n+12*t,this._data={},this._locale=k(),this._bubble()}function $t(e){return e instanceof Lt}function Nt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+n+o(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),w("Z",Te),w("ZZ",Te),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Rt(Te,e)});var Ot=/([\+\-]|\d\d)/gi;function Rt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ot)||["-",0,0])[1]+h(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var n;return t._isUTC?(t=t.clone(),n=(l(e)||H(e)?e:I(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):I(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*)?)?$/,jt=/^(-|\+)?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 n,i,r=e;return $t(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:R(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=Yt.exec(e))?(n="-"===t[1]?-1:1,r={y:0,d:h(t[T])*n,h:h(t[A])*n,m:h(t[M])*n,s:h(t[S])*n,ms:h(Nt(1e3*t[Be]))*n}):(t=jt.exec(e))?(n="-"===t[1]?-1:1,r={y:Ut(t[2],n),M:Ut(t[3],n),w:Ut(t[4],n),d:Ut(t[5],n),h:Ut(t[6],n),m:Ut(t[7],n),s:Ut(t[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=I(r.from),n=I(r.to),t=t.isValid()&&n.isValid()?(n=Ht(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},(r={}).ms=t.milliseconds,r.M=t.months),i=new Lt(r),$t(e)&&f(e,"_locale")&&(i._locale=e._locale),$t(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function Ut(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Gt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(K(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),qt(this,L(e,t),i),this}}function qt(e,t,n,i){var r=t._milliseconds,o=Nt(t._days),t=Nt(t._months);e.isValid()&&(i=null==i||i,t&&He(e,he(e,"Month")+t*n),o&&me(e,"Date",he(e,"Date")+o*n),r&&e._d.setTime(e._d.valueOf()+r*n),i)&&m.updateOffset(e,o||t)}L.fn=Lt.prototype,L.invalid=function(){return L(NaN)};$e=Vt(1,"add"),Je=Vt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function Zt(e){return l(e)||H(e)||Xt(e)||R(e)||(n=a(t=e),i=!1,n&&(i=0===t.filter(function(e){return!R(e)&&Xt(t)}).length),n&&i)||function(e){var t,n,i=F(e)&&!O(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)n=o[t],r=r||f(e,n);return i&&r}(e)||null==e;var t,n,i}function Jt(e,t){var n,i;return e.date()<t.date()?-Jt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(i=e.clone().add(n,"months"))<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function Kt(e){return void 0===e?this._locale._abbr:(null!=(e=k(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 en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){for(var e=[],t=[],n=[],i=[],r=this.eras(),o=0,a=r.length;o<a;++o)t.push(_(r[o].name)),e.push(_(r[o].abbr)),n.push(_(r[o].narrow)),i.push(_(r[o].name)),i.push(_(r[o].abbr)),i.push(_(r[o].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("^("+n.join("|")+")","i")}function sn(e,t){i(0,[e,e.length],0,t)}function ln(e,t,n,i,r){var o;return null==e?Xe(this,i,r).year:(t>(o=D(e,i,r))&&(t=o),function(e,t,n,i,r){e=qe(e,t,n,i,r),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,n,i,r))}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",on),w("NN",on),w("NNN",on),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,n,i){i=n._locale.erasParse(e,i,n._strict);i?g(n).era=i:g(n).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,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[P]=n._locale.eraYearOrdinalParse(e,r):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}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("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,n,i){t[i.substr(0,2)]=h(e)}),De(["gg","GG"],function(e,t,n,i){t[i]=m.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),w("Q",r),x("Q",function(e,t){t[E]=3*(h(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),n("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"),n("dayOfYear",4),w("DDD",we),w("DDDD",fe),x(["DDD","DDDD"],function(e,t,n){n._dayOfYear=h(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),w("m",v),w("mm",v,y),x(["m","mm"],M);ge=pe("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),n("second",15),w("s",v),w("ss",v,y),x(["s","ss"],S);var cn,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"),n("millisecond",16),w("S",we,r),w("SS",we,y),w("SSS",we,fe),cn="SSSS";cn.length<=9;cn+="S")w(cn,Ce);function un(e,t){t[Be]=h(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")x(cn,un);ye=pe("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");r=X.prototype;function dn(e){return e}r.add=$e,r.calendar=function(e,t){1===arguments.length&&(arguments[0]?Zt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=F(e)&&!O(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||f(e,i[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||I(),n=Ht(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(u(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,I(e)))},r.clone=function(){return new X(this)},r.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Ht(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=d(t)){case"year":o=Jt(this,i)/12;break;case"month":o=Jt(this,i);break;case"quarter":o=Jt(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:p(o)},r.endOf=function(e){var t,n;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),m.updateOffset(this,!0)}return this},r.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},r.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?L({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.fromNow=function(e){return this.from(I(),e)},r.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||I(e).isValid())?L({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},r.toNow=function(e){return this.to(I(),e)},r.get=function(e){return u(this[e=d(e)])?this[e]():this},r.invalidAt=function(){return g(this).overflow},r.isAfter=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},r.isBefore=function(e,t){return e=l(e)?e:I(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},r.isBetween=function(e,t,n,i){return e=l(e)?e:I(e),t=l(t)?t:I(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},r.isSame=function(e,t){var e=l(e)?e:I(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},r.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},r.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},r.isValid=function(){return Y(this)},r.lang=Qe,r.locale=Kt,r.localeData=Qt,r.max=be,r.min=ve,r.parsingFlags=function(){return W({},g(this))},r.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)f(e,t)&&n.push({unit:t,priority:ue[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ce(e)),i=n.length,r=0;r<i;r++)this[n[r].unit](e[n[r].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},r.startOf=function(e){var t,n;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},r.subtract=Je,r.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},r.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},r.toDate=function(){return new Date(this.valueOf())},r.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):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"):null},r.inspect=function(){var e,t,n;return this.isValid()?(t="moment",n="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(r[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},r.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},r.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},r.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},r.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},r.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-m(n[i].since).year())*e+n[i].offset;return this.year()},r.year=je,r.isLeapYear=function(){return de(this.year())},r.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},r.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},r.quarter=r.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},r.month=ze,r.daysInMonth=function(){return Le(this.year(),this.month())},r.week=r.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},r.isoWeek=r.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},r.weeksInYear=function(){var e=this.localeData()._week;return D(this.year(),e.dow,e.doy)},r.weeksInWeekYear=function(){var e=this.localeData()._week;return D(this.weekYear(),e.dow,e.doy)},r.isoWeeksInYear=function(){return D(this.year(),1,4)},r.isoWeeksInISOWeekYear=function(){return D(this.isoWeekYear(),1,4)},r.date=_e,r.day=r.days=function(e){var t,n,i;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,i=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=i.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},r.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},r.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},r.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")},r.hour=r.hours=b,r.minute=r.minutes=ge,r.second=r.seconds=xe,r.millisecond=r.milliseconds=ye,r.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:zt(this);if("string"==typeof e){if(null===(e=Rt(Te,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=zt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?qt(this,L(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},r.utc=function(e){return this.utcOffset(0,e)},r.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(zt(this),"m"),this},r.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(Ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},r.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60==0)},r.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},r.isLocal=function(){return!!this.isValid()&&!this._isUTC},r.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},r.isUtc=Wt,r.isUTC=Wt,r.zoneAbbr=function(){return this._isUTC?"UTC":""},r.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},r.dates=e("dates accessor is deprecated. Use date instead.",_e),r.months=e("months accessor is deprecated. Use month instead",ze),r.years=e("years accessor is deprecated. Use year instead",je),r.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()}),r.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return s(this._isDSTShifted)&&(q(t={},this),(t=Dt(t))._a?(e=(t._isUTC?c:I)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,a=0;a<i;a++)(n&&e[a]!==t[a]||!n&&h(e[a])!==h(t[a]))&&o++;return o+r}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function pn(e,t,n,i){var r=k(),i=c().set(i,t);return r[n](i,e)}function hn(e,t,n){if(R(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function mn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),R(t)&&(n=t,t=void 0),t||"");var r,o=k(),a=e?o._week.dow:0,s=[];if(null!=n)return pn(t,(n+a)%7,i,"day");for(r=0;r<7;r++)s[r]=pn(t,(r+a)%7,i,"day");return s}y.calendar=function(e,t,n){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ne).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=dn,y.postformat=dn,y.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return u(r)?r(e,t,n,i):r.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,n;for(n in e)f(e,n)&&(u(t=e[n])?this[n]=t:this["_"+n]=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 n,i=this._eras||k("en")._eras,r=0,o=i.length;r<o;++r)switch("string"==typeof i[r].since&&(n=m(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=m(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},y.erasParse=function(e,t,n){var i,r,o,a,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(o=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[i];break;case"NNNN":if(o===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[o,a,s].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},y.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return f(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Fe).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[Fe.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=C.call(this._shortMonthsParse,e))||-1!==(r=C.call(this._longMonthsParse,e))?r:null:-1!==(r=C.call(this._longMonthsParse,e))||-1!==(r=C.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&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=Re),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=Oe),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,n){var i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=C.call(this._shortWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._minWeekdaysParse,e))?r:null:-1!==(r=C.call(this._minWeekdaysParse,e))||-1!==(r=C.call(this._weekdaysParse,e))||-1!==(r=C.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=c([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&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=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"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.",k);var fn=Math.abs;function gn(e,t,n,i){t=L(t,n);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function vn(e){return 4800*e/146097}function bn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}we=wn("ms"),fe=wn("s"),$e=wn("m"),be=wn("h"),ve=wn("d"),Je=wn("w"),b=wn("M"),ge=wn("Q"),xe=wn("y");function _n(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=_n("milliseconds"),_e=_n("seconds"),je=_n("minutes"),y=_n("hours"),xn=_n("days"),Cn=_n("months"),Pn=_n("years");var En=Math.round,Tn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function An(e,t,n,i){var r=L(e).abs(),o=En(r.as("s")),a=En(r.as("m")),s=En(r.as("h")),l=En(r.as("d")),c=En(r.as("M")),u=En(r.as("w")),r=En(r.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||(a<=1?["m"]:a<n.m&&["mm",a])||(s<=1?["h"]:s<n.h&&["hh",s])||(l<=1?["d"]:l<n.d&&["dd",l]);return(o=(o=null!=n.w?o||(u<=1?["w"]:u<n.w&&["ww",u]):o)||(c<=1?["M"]:c<n.M&&["MM",c])||(r<=1?["y"]:["yy",r]))[2]=t,o[3]=0<+e,o[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,o)}var Mn=Math.abs;function Sn(e){return(0<e)-(e<0)||+e}function Dn(){var e,t,n,i,r,o,a,s,l,c,u;return this.isValid()?(s=Mn(this._milliseconds)/1e3,l=Mn(this._days),c=Mn(this._months),(u=this.asSeconds())?(e=p(s/60),t=p(e/60),s%=60,e%=60,n=p(c/12),c%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Sn(this._months)!==Sn(u)?"-":"",o=Sn(this._days)!==Sn(u)?"-":"",a=Sn(this._milliseconds)!==Sn(u)?"-":"",(u<0?"-":"")+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(l?o+l+"D":"")+(t||e||s?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(s?a+i+"S":"")):"P0D"):this.localeData().invalidDate()}var $=Lt.prototype;return $.isValid=function(){return this._isValid},$.abs=function(){var e=this._data;return this._milliseconds=fn(this._milliseconds),this._days=fn(this._days),this._months=fn(this._months),e.milliseconds=fn(e.milliseconds),e.seconds=fn(e.seconds),e.minutes=fn(e.minutes),e.hours=fn(e.hours),e.months=fn(e.months),e.years=fn(e.years),this},$.add=function(e,t){return gn(this,e,t,1)},$.subtract=function(e,t){return gn(this,e,t,-1)},$.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+vn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(bn(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)}},$.asMilliseconds=we,$.asSeconds=fe,$.asMinutes=$e,$.asHours=be,$.asDays=ve,$.asWeeks=Je,$.asMonths=b,$.asQuarters=ge,$.asYears=xe,$.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*h(this._months/12):NaN},$._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*yn(bn(n)+t),n=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),n+=e=p(vn(t)),t-=yn(bn(e)),e=p(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},$.clone=function(){return L(this)},$.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},$.milliseconds=ye,$.seconds=_e,$.minutes=je,$.hours=y,$.days=xn,$.weeks=function(){return p(this.days()/7)},$.months=Cn,$.years=Pn,$.humanize=function(e,t){var n,i;return this.isValid()?(n=!1,i=Tn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Tn,t),null!=t.s)&&null==t.ss&&(i.ss=t.s-1),t=An(this,!n,i,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},$.toISOString=Dn,$.toString=Dn,$.toJSON=Dn,$.locale=Kt,$.localeData=Qt,$.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),$.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,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(h(e))}),m.version="2.29.4",N=I,m.fn=r,m.min=function(){return kt("isBefore",[].slice.call(arguments,0))},m.max=function(){return kt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return I(1e3*e)},m.months=function(e,t){return hn(e,t,"months")},m.isDate=H,m.locale=ht,m.invalid=j,m.duration=L,m.isMoment=l,m.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},m.parseZone=function(){return I.apply(null,arguments).parseZone()},m.localeData=k,m.isDuration=$t,m.monthsShort=function(e,t){return hn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var n,i;return null!=t?(i=lt,null!=B[e]&&null!=B[e].parentLocale?B[e].set(Q(B[e]._config,t)):(t=Q(i=null!=(n=pt(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new ee(t)).parentLocale=B[e],B[e]=i),ht(e)):null!=B[e]&&(null!=B[e].parentLocale?(B[e]=B[e].parentLocale,e===ht()&&ht(e)):null!=B[e]&&delete B[e]),B[e]},m.locales=function(){return te(B)},m.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?En:"function"==typeof e&&(En=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Tn[e]&&(void 0===t?Tn[e]:(Tn[e]=t,"s"===e&&(Tn.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=r,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 wr,_r,W=wr.exports;function xr(e,t){a(e,t)}const Cr={en:{title:"Self-Exclusion",selfExclusionText1:"We 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 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."},"zh-hk":{title:"自我排斥",selfExclusionText1:"我們認識到賭博會導致成癮,為了防止這些問題,我們為用戶提供了在一段時間內排除我們網站上所有形式的投注的能力。",selfExclusionText2:"自我排除從您選擇的時間段設置的時間開始生效。 在下方選擇一個時間範圍,然後單擊“確認”。",selfExclusionText3:"在自我排除期間,您將無法訪問您的 帳戶。 在永久自我排除的情況下,只有在書面請求後才能撤銷自我排除,並且只有在首次申請後 6 個月內。 請注意,請求自我排除的另一種方法是聯繫客戶服務,如下所示:",selfExclusionText4:"電子郵件:",duration:"期間:",forever:"永遠",save:"節省",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。"},fr:{title:"Auto exclusion",selfExclusionText1:"reconnait que le jeu peut conduire à l'addition et dans notre effort pour prévenir ces problèmes, nous offrons à nos utilisateurs la possibilité d'exclure toutes les formes de paris sur notre site pour une certaine période de temps indéfinie.",selfExclusionText2:'L\'auto exclusion prend effet à partir du moment où elle est fixée pour la période que vous choisissez. Sélectionnez une periode ci-dessous puis cliquez sur "confirmer".',selfExclusionText3:"Pendant l'auto exclusion ,vous ne pourrez pas accéder à votre compte .dans le cas d'une auto exclusion permanente ,il est seulement possible de révoquer l'auto exclusion sur demande écrit et seulement 6 mois après sa demande initiale. veuillez noter qu'une manière alternative de demander l'auto exclusion est de contacter le service client comme suit:",selfExclusionText4:"E-mail:",duration:"Durée:",forever:"Tout le temps",save:"Sauvez",temporarySelfExclusion:"Votre période d'auto exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto exclusion sera permanente."},ro:{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:{title:"Autoexclusición",selfExclusionText1:"Reconocemos que el juego puedo conducir a la adicción y en nuestro esfuerzo por prevenir estos problemas",selfExclusionText2:'La autoexclusición surte efecto desde el momento en que se establece para el periodo que elijas. Seleccione un período de tiempo a continuación y luego haga clic en "Confirmar".',selfExclusionText3:"Durante la autoexclusión, no podrá acceder a su cuenta de {operator}. En el caso de autoexclusión permanente, solo es posible revocar la autoexclusión previa solicitud por escrito y solo 6 meses después de su solicitud inicial. Ten en cuenta que una forma alternativa de solicitar la autoexclusión es ponerse en contacto con el Servicio de Atención al Cliente de la siguiente manera: Correo electrónico:",selfExclusionText4:"Email",duration:"Duración:",forever:"Para siempre",save:"Guardar",temporarySelfExclusion:"Tu periodo de autoexclusión durará hasta el {date} 23:59. .",permanentSelfExclusion:"Tu periodo de autoexclusión será permanente."},pt:{title:"Auto-exclusão",selfExclusionText1:"reconhece que o jogo pode levar ao vício e em nosso esforço para evitar esses problemas, oferecemos aos nossos usuários a capacidade de excluir todas as formas de apostas em nosso site por um período de tempo indefinido.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é definida para o período que você escolher. Selecione um período de tempo abaixo e clique em "Confirmar".',selfExclusionText3:"Durante a autoexclusão, você não poderá acessar sua conta . No caso de autoexclusão permanente, só é possível revogar a Autoexclusão mediante pedido escrito e apenas 6 meses após a sua aplicação inicial. Observe que uma forma alternativa de solicitar a autoexclusão é entrar em contato com o Atendimento ao Cliente da seguinte forma:",selfExclusionText4:"E-mail:",duration:"Duração:",forever:"Para sempre",save:"Guardar",temporarySelfExclusion:"Seu período de autoexclusão durará até {data} 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente."}};class Pr extends HTMLElement{static get version(){return"1.6.1"}}customElements.define("vaadin-lumo-styles",Pr);let Er,Tr=null,Ar=window.HTMLImports&&window.HTMLImports.whenReady||null;function Mr(e){requestAnimationFrame(function(){Ar?Ar(e):(Tr||(Tr=new Promise(e=>{Er=e}),"complete"===document.readyState?Er():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&Er()})),Tr.then(function(){e&&e()}))})}const Sr="__seenByShadyCSS",Dr="__shadyCSSCachedStyle";let Br=null,kr=null;class Ir{constructor(){this.customStyles=[],this.enqueued=!1,Mr(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&kr&&(this.enqueued=!0,Mr(kr))}addCustomStyle(e){e[Sr]||(e[Sr]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[Dr]||(e.getStyle?e.getStyle():e)}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){var n=t[e];if(!n[Dr]){var i=this.getStyleForCustomStyle(n);if(i){const t=i.__appliedElement||i;Br&&Br(t),n[Dr]=t}}}return t}}Object.defineProperties(Ir.prototype,{transformCallback:{get:()=>Br,set(e){Br=e}},validateCallback:{get:()=>kr,set(e){let t=!1;kr||(t=!0),kr=e,t&&this.enqueueDocumentValidation()}}});const Lr=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,$r=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Nr=/@media\s(.*)/;function Fr(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}function Or(e,t){e=window.getComputedStyle(e).getPropertyValue(t);return e?e.trim():""}const Rr=!(window.ShadyDOM&&window.ShadyDOM.inUse);let Hr,zr;function Wr(e){Hr=(!e||!e.shimcssproperties)&&(Rr||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&&(zr=window.ShadyCSS.cssBuild);kn=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Hr=window.ShadyCSS.nativeCss:window.ShadyCSS?(Wr(window.ShadyCSS),window.ShadyCSS=void 0):Wr(window.WebComponents&&window.WebComponents.flags);const Yr=Hr,jr=new Ir;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,n){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,n){},styleSubtree(e,t){jr.processStyles(),Fr(e,t)},styleElement(e){jr.processStyles()},styleDocument(e){jr.processStyles(),Fr(document.body,e)},getComputedStyleValue:(e,t)=>Or(e,t),flushCustomStyles(){},nativeCss:Yr,nativeShadow:Rr,cssBuild:zr,disableRuntime:kn}),window.ShadyCSS.CustomStyleInterface=jr,window.JSCompiler_renameProperty=function(e,t){return e};let Ur,Gr,Vr=/(url\()([^)]*)(\))/g,qr=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function Xr(e,t){if(e&&qr.test(e))return e;if("//"===e)return e;if(void 0===Ur){Ur=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",Ur="http://a/c%20d"===e.href}catch(e){}}if(t=t||document.baseURI||window.location.href,Ur)try{return new URL(e,t).href}catch(t){return e}return Gr||((Gr=document.implementation.createHTMLDocument("temp")).base=Gr.createElement("base"),Gr.head.appendChild(Gr.base),Gr.anchor=Gr.createElement("a"),Gr.body.appendChild(Gr.anchor)),Gr.base.href=t,Gr.anchor.href=e,Gr.anchor.href||e}function Zr(e,r){return e.replace(Vr,function(e,t,n,i){return t+"'"+Xr(n.replace(/["']/g,""),r)+"'"+i})}function Jr(e){return e.substring(0,e.lastIndexOf("/")+1)}const Kr=!window.ShadyDOM||!window.ShadyDOM.inUse,Qr=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),Kr&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{var 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 eo=window.Polymer&&window.Polymer.rootPath||Jr(document.baseURI||window.location.href),to=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,no=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1,io=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,ro=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,oo=window.Polymer&&window.Polymer.legacyOptimizations||!1,ao=window.Polymer&&window.Polymer.legacyWarnings||!1,so=window.Polymer&&window.Polymer.syncInitialRender||!1,lo=window.Polymer&&window.Polymer.legacyUndefined||!1,co=window.Polymer&&window.Polymer.orderedComputed||!1,uo=window.Polymer&&window.Polymer.removeNestedTemplates||!1,po=window.Polymer&&window.Polymer.fastDomIf||!1,ho=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,mo=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1,fo=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1,go={},yo={};function vo(e,t){go[e]=yo[e.toLowerCase()]=t}function bo(e){return go[e]||yo[e.toLowerCase()]}class wo extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){return e?(e=bo(e))&&t?e.querySelector(t):e:null}attributeChangedCallback(e,t,n,i){t!==n&&this.register()}get assetpath(){var e;return this.__assetpath||(e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=Xr(this.getAttribute("assetpath")||"",e.baseURI),this.__assetpath=Jr(e)),this.__assetpath}register(e){if(e=e||this.id){if(io&&void 0!==bo(e))throw vo(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);vo(this.id=e,this),this.querySelector("style")&&console.warn("dom-module %s has style outside template",this.id)}}}wo.prototype.modules=go,customElements.define("dom-module",wo);const _o="link[rel=import][type~=css]",xo="include",Co="shady-unscoped";function Po(e){return wo.import(e)}function Eo(e){var e=Zr((e.body||e).textContent,e.baseURI),t=document.createElement("style");return t.textContent=e,t}function To(e){var t=e.trim().split(/\s+/),n=[];for(let e=0;e<t.length;e++)n.push(...function(e){var t=Po(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const e=[];e.push(...Mo(t));var n=t.querySelector("template");n&&e.push(...Ao(n,t.assetpath)),t._styles=e}return t._styles}(t[e]));return n}function Ao(e,t){if(!e._styles){var n=[],i=e.content.querySelectorAll("style");for(let e=0;e<i.length;e++){var r=i[e],o=r.getAttribute(xo);o&&n.push(...To(o).filter(function(e,t,n){return n.indexOf(e)===t})),t&&(r.textContent=Zr(r.textContent,t)),n.push(r)}e._styles=n}return e._styles}function Mo(t){const n=[],i=t.querySelectorAll(_o);for(let e=0;e<i.length;e++){var r=i[e];if(r.import){const t=r.import,i=r.hasAttribute(Co);if(i&&!t._unscopedStyle){const n=Eo(t);n.setAttribute(Co,""),t._unscopedStyle=n}else t._style||(t._style=Eo(t));n.push(i?t._unscopedStyle:t._style)}}return n}const So="include",Do=window.ShadyCSS.CustomStyleInterface;class Bo extends HTMLElement{constructor(){super(),this._style=null,Do.addCustomStyle(this)}getStyle(){if(!this._style){var e=this.querySelector("style");if(!e)return null;var i=(this._style=e).getAttribute(So);i&&(e.removeAttribute(So),e.textContent=function(){let t=i.trim().split(/\s+/),n="";for(let e=0;e<t.length;e++)n+=function(e){var o=Po(e);if(o&&void 0===o._cssText){let e=function(){let t="",n=Mo(o);for(let e=0;e<n.length;e++)t+=n[e].textContent;return t}(),r=o.querySelector("template");r&&(e+=function(){let t="";var n=Ao(r,o.assetpath);for(let e=0;e<n.length;e++){var i=n[e];i.parentNode&&i.parentNode.removeChild(i),t+=i.textContent}return t}()),o._cssText=e||null}return o||console.warn("Could not find style data in module named",e),o&&o._cssText||""}(t[e]);return n}()+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this)}return this._style}}window.customElements.define("custom-style",Bo);In=document.createElement("template"),In.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(In.content),Ln=document.createElement("template"),Ln.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(Ln.content),$n=document.createElement("template"),$n.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($n.content),Nn=document.createElement("template"),Nn.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(Nn.content),On=document.createElement("template"),On.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(On.content),e=document.createElement("template"),e.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(e.content),In=document.createElement("template");In.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(In.content);const ko=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:e=>e});function Io(e){throw class{},new Error("non-literal value passed to Polymer's htmlLiteral function: "+e)}function Lo(i,...e){$o(i,e);var t=document.createElement("template");let n=e.reduce((e,t,n)=>e+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(!1)return Io(e);throw new Error("non-template value passed to Polymer's html function: "+e)}(t)+i[n+1],i[0]);return ko&&(n=ko.createHTML(n)),t.innerHTML=n,t}const $o=(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")},No=Lo`<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"] {
|
|
@@ -1275,7 +1275,7 @@
|
|
|
1275
1275
|
}
|
|
1276
1276
|
</style>
|
|
1277
1277
|
</template>
|
|
1278
|
-
</dom-module>`;document.head.appendChild($n.content);class dl{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""}}function pl(e){return function i(n,r){let o=r.substring(n.start,n.end-1);if(n.parsedCssText=n.cssText=o.trim(),n.parent){let e=n.previous?n.previous.end:n.parent.start,t=(o=(o=(o=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,function(){let e=arguments[1],t=6-e.length;for(;t--;)e="0"+e;return"\\"+e})}(o=r.substring(e,n.start-1))).replace(gl.multipleSpaces," ")).substring(o.lastIndexOf(";")+1),n.parsedSelector=n.selector=o.trim());n.atRule=0===t.indexOf(bl),n.atRule?0===t.indexOf(vl)?n.type=hl.MEDIA_RULE:t.match(gl.keyframesRule)&&(n.type=hl.KEYFRAMES_RULE,n.keyframesName=n.selector.split(gl.multipleSpaces).pop()):0===t.indexOf(yl)?n.type=hl.MIXIN_RULE:n.type=hl.STYLE_RULE}let a=n.rules;if(a)for(let e,t=0,n=a.length;t<n&&(e=a[t]);t++)i(e,r);return n}(function(n){var i,r,o=new dl;o.start=0,o.end=n.length;let a=o;for(let e=0,t=n.length;e<t;e++)n[e]===ml?(a.rules||(a.rules=[]),r=(i=a).rules[i.rules.length-1]||null,(a=new dl).start=e+1,a.parent=i,a.previous=r,i.rules.push(a)):n[e]===fl&&(a.end=e+1,a=a.parent||o);return o}(e=e.replace(gl.comments,"").replace(gl.port,"")),e)}const hl={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},ml="{",fl="}",gl={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},yl="--",vl="@media",bl="@",wl=new Set;function _l(e,t){return e?("string"==typeof e&&(e=pl(e)),t&&Cl(e,t),function i(e,r,t=""){let o="";if(e.cssText||e.rules){var a=e.rules;if(!a||(n=a[0],Boolean(n)&&Boolean(n.selector)&&0===n.selector.indexOf(yl)))o=(o=(o=r?e.cssText:e.cssText.replace(gl.customProp,"").replace(gl.mixinProp,"").replace(gl.mixinApply,"").replace(gl.varApply,"")).trim())&&" "+o+"\n";else for(let e,t=0,n=a.length;t<n&&(e=a[t]);t++)o=i(e,r,o)}var n;return o&&(e.selector&&(t+=e.selector+" "+ml+"\n"),t+=o,e.selector)&&(t+=fl+"\n\n"),t}(e,Yr)):""}function xl(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=pl(e.textContent)),e.__cssRules||null}function Cl(n,i,r,o){if(n){let e=!1,t=n.type;o&&t===hl.MEDIA_RULE&&(a=n.selector.match(Nr))&&!window.matchMedia(a[1]).matches&&(e=!0),t===hl.STYLE_RULE?i(n):r&&t===hl.KEYFRAMES_RULE?r(n):t===hl.MIXIN_RULE&&(e=!0);var a,s=n.rules;if(s&&!e)for(let e,t=0,n=s.length;t<n&&(e=s[t]);t++)Cl(e,i,r,o)}}window.ShadyDOM&&window.ShadyDOM.wrap;const Pl="css-build";function El(e){return""!==(e=e,void 0!==zr?zr:(void 0===e.__cssBuild&&((t=e.getAttribute(Pl))?e.__cssBuild=t:(""!==(t=function(e){var t=("template"===e.localName?e.content:e).firstChild;if(t instanceof Comment){const e=t.textContent.trim().split(":");if(e[0]===Pl)return e[1]}return""}(e))&&(n=("template"===e.localName?e.content:e).firstChild).parentNode.removeChild(n),e.__cssBuild=t)),e.__cssBuild||""));var t,n}const Tl=/;\s*/m,Al=/^\s*(initial)|(inherit)\s*$/,Ml=/\s*!important/;class Sl{constructor(){this._map={}}set(e,t){e=e.trim(),this._map[e]={properties:t,dependants:{}}}get(e){return e=e.trim(),this._map[e]||null}}let Dl=null;class Bl{constructor(){this._currentElement=null,this._measureElement=null,this._map=new Sl}detectMixin(e){return e=$r.test(e)||Lr.test(e),$r.lastIndex=0,Lr.lastIndex=0,e}gatherStyles(e){var t,n=function(){var t=[],n=e.content.querySelectorAll("style");for(let e=0;e<n.length;e++){var i=n[e];if(i.hasAttribute("shady-unscoped")){if(!Rr){{r=void 0;o=void 0;var r=i;var o=r.textContent;if(!wl.has(o)){wl.add(o);const r=document.createElement("style");r.setAttribute("shady-unscoped",""),r.textContent=o,document.head.appendChild(r)}}i.parentNode.removeChild(i)}}else t.push(i.textContent),i.parentNode.removeChild(i)}return t.join("").trim()}();return n?((t=document.createElement("style")).textContent=n,e.content.insertBefore(t,e.content.firstChild),t):null}transformTemplate(e,t){void 0===e._gatheredStyle&&(e._gatheredStyle=this.gatherStyles(e));e=e._gatheredStyle;return e?this.transformStyle(e,t):null}transformStyle(e,t=""){var n=xl(e);return this.transformRules(n,t),e.textContent=_l(n),n}transformCustomStyle(e){var t=xl(e);return Cl(t,e=>{":root"===e.selector&&(e.selector="html"),this.transformRule(e)}),e.textContent=_l(t),t}transformRules(e,t){this._currentElement=t,Cl(e,e=>{this.transformRule(e)}),this._currentElement=null}transformRule(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}transformCssText(e,r){return e=e.replace(Lr,(e,t,n,i)=>this._produceCssProperties(e,t,n,i,r)),this._consumeCssProperties(e,r)}_getInitialValueForProperty(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}_fallbacksFromPreviousRules(t){let e=t;for(;e.parent;)e=e.parent;const n={};let i=!1;return Cl(e,e=>{(i=i||e===t)||e.selector===t.selector&&Object.assign(n,this._cssTextToMap(e.parsedCssText))}),n}_consumeCssProperties(e,t){for(;r=$r.exec(e);){var n=r[0],i=r[1],r=r.index,o=r+n.indexOf("@apply"),n=r+n.length,o=e.slice(0,o),n=e.slice(n),a=t?this._fallbacksFromPreviousRules(t):{},i=(Object.assign(a,this._cssTextToMap(o)),this._atApplyToCssProperties(i,a));e=""+o+i+n,$r.lastIndex=r+i.length}return e}_atApplyToCssProperties(i,r){i=i.replace(Tl,"");let o=[],a=this._map.get(i);if(a||(this._map.set(i,{}),a=this._map.get(i)),a){let e,t,n;this._currentElement&&(a.dependants[this._currentElement]=!0);var s=a.properties;for(e in s)n=r&&r[e],t=[e,": var(",i,"_-_",e],n&&t.push(",",n.replace(Ml,"")),t.push(")"),Ml.test(s[e])&&t.push(" !important"),o.push(t.join(""))}return o.join("; ")}_replaceInitialOrInherit(e,t){var n=Al.exec(t);return t=n?n[1]?this._getInitialValueForProperty(e):"apply-shim-inherit":t}_cssTextToMap(e,i=!1){let r,o,a=e.split(";"),s={};for(let e,t,n=0;n<a.length;n++)(e=a[n])&&1<(t=e.split(":")).length&&(r=t[0].trim(),o=t.slice(1).join(":"),i&&(o=this._replaceInitialOrInherit(r,o)),s[r]=o);return s}_invalidateMixinEntry(e){if(Dl)for(var t in e.dependants)t!==this._currentElement&&Dl(t)}_produceCssProperties(e,t,n,i,r){if(n&&function e(t,n){var i,r,o,a=t.indexOf("var(");return-1===a?n(t,"","",""):(o=function(n){let i=0;for(let e=a+3,t=n.length;e<t;e++)if("("===n[e])i++;else if(")"===n[e]&&0==--i)return e;return-1}(t),i=t.substring(a+4,o),r=t.substring(0,a),t=e(t.substring(o+1),n),-1===(o=i.indexOf(","))?n(r,i.trim(),"",t):n(r,i.substring(0,o).trim(),i.substring(o+1).trim(),t))}(n,(e,t)=>{t&&this._map.get(t)&&(i=`@apply ${t};`)}),!i)return e;let o=this._consumeCssProperties(""+i,r),a=e.slice(0,e.indexOf("--")),s=this._cssTextToMap(o,!0),l=s,c=this._map.get(t),u=c&&c.properties;u?l=Object.assign(Object.create(u),s):this._map.set(t,l);let d,p,h=[],m=!1;for(d in l)p=s[d],void 0===p&&(p="initial"),!u||d in u||(m=!0),h.push(`${t}_-_${d}: `+p);return m&&this._invalidateMixinEntry(c),c&&(c.properties=l),""+(a=n?e+";"+a:a)+h.join("; ")+";"}}Bl.prototype._separator="_-_",Object.defineProperty(Bl.prototype,"invalidCallback",{get:()=>Dl,set(e){Dl=e}});const kl={},Il="_applyShimCurrentVersion",Ll="_applyShimNextVersion",$l="_applyShimValidatingVersion",Nl=Promise.resolve();function Fl(e){var e=kl[e];e&&((e=e)[Il]=e[Il]||0,e[$l]=e[$l]||0,e[Ll]=(e[Ll]||0)+1)}function Ol(e){return e[Il]===e[Ll]}const Rl=new Bl;if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){const c=new class{constructor(){this.customStyleInterface=null,Rl.invalidCallback=Fl}ensure(){this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=e=>{Rl.transformCustomStyle(e)},this.customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{this.customStyleInterface.enqueued&&this.flushCustomStyles()})})}prepareTemplate(e,t){this.ensure(),El(e)||(kl[t]=e,t=Rl.transformTemplate(e,t),e._styleAst=t)}flushCustomStyles(){if(this.ensure(),this.customStyleInterface){var t=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(let e=0;e<t.length;e++){var n=t[e],n=this.customStyleInterface.getStyleForCustomStyle(n);n&&Rl.transformCustomStyle(n)}this.customStyleInterface.enqueued=!1}}}styleSubtree(e,t){if(this.ensure(),t&&Fr(e,t),e.shadowRoot){this.styleElement(e);var n=e.shadowRoot.children||e.shadowRoot.childNodes;for(let e=0;e<n.length;e++)this.styleSubtree(n[e])}else{var i=e.children||e.childNodes;for(let e=0;e<i.length;e++)this.styleSubtree(i[e])}}styleElement(e){this.ensure();var t,n,i=function(e){let t=e.localName,n="",i="";return t?n=-1<t.indexOf("-")?t:(i=t,e.getAttribute&&e.getAttribute("is")||""):(n=e.is,i=e.extends),{is:n,typeExtension:i}}(e)["is"],r=kl[i];r&&El(r)||!r||Ol(r)||(!Ol(n=r)&&n[$l]===n[Ll]||(this.prepareTemplate(r,i),(t=r)[$l]=t[Ll],t._validating)||(t._validating=!0,Nl.then(function(){t[Il]=t[Ll],t._validating=!1})),(n=e.shadowRoot)&&(i=n.querySelector("style"))&&(i.__cssRules=r._styleAst,i.textContent=_l(r._styleAst)))}styleDocument(e){this.ensure(),this.styleSubtree(document.body,e)}};Nn=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate(e,t,n){c.flushCustomStyles(),c.prepareTemplate(e,t)},prepareTemplateStyles(e,t,n){window.ShadyCSS.prepareTemplate(e,t,n)},prepareTemplateDom(e,t){},styleSubtree(e,t){c.flushCustomStyles(),c.styleSubtree(e,t)},styleElement(e){c.flushCustomStyles(),c.styleElement(e)},styleDocument(e){c.flushCustomStyles(),c.styleDocument(e)},getComputedStyleValue:(e,t)=>Or(e,t),flushCustomStyles(){c.flushCustomStyles()},nativeCss:Yr,nativeShadow:Rr,cssBuild:zr,disableRuntime:kn},Nn&&(window.ShadyCSS.CustomStyleInterface=Nn)}window.ShadyCSS.ApplyShim=Rl;const Hl=/:host\(:dir\((ltr|rtl)\)\)/g,zl=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g,Wl=/:dir\((?:ltr|rtl)\)/,Yl=Boolean(window.ShadyDOM&&window.ShadyDOM.inUse),jl=[];let Ul=null,Gl="";function Vl(){Gl=document.documentElement.getAttribute("dir")}function ql(e){e.__autoDirOptOut||e.setAttribute("dir",Gl)}function Xl(){Vl(),Gl=document.documentElement.getAttribute("dir");for(let e=0;e<jl.length;e++)ql(jl[e])}const Zl=Oo(e=>{Yl||Ul||(Vl(),(Ul=new MutationObserver(Xl)).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));const n=fa(e);class t extends n{static _processStyleText(e,t){return e=n._processStyleText.call(this,e,t),!Yl&&Wl.test(e)&&(e=this._replaceDirInCssText(e),this.__activateDir=!0),e}static _replaceDirInCssText(e){let t=e;return t=(t=t.replace(Hl,':host([dir="$1"])')).replace(zl,':host([dir="$2"]) $1')}constructor(){super(),this.__autoDirOptOut=!1}ready(){super.ready(),this.__autoDirOptOut=this.hasAttribute("dir")}connectedCallback(){n.prototype.connectedCallback&&super.connectedCallback(),this.constructor.__activateDir&&(Ul&&Ul.takeRecords().length&&Xl(),jl.push(this),ql(this))}disconnectedCallback(){var e;n.prototype.disconnectedCallback&&super.disconnectedCallback(),this.constructor.__activateDir&&-1<(e=jl.indexOf(this))&&jl.splice(e,1)}}return t.__activateDir=!1,t});let Jl=!1,Kl=[],Ql=[];function ec(){Jl=!0,requestAnimationFrame(function(){Jl=!1;for(var e=Kl;e.length;)tc(e.shift());setTimeout(function(){var n=Ql;for(let e=0,t=n.length;e<t;e++)tc(n.shift())})})}function tc(e){var t=e[0],n=e[1],i=e[2];try{n.apply(t,i)}catch(e){setTimeout(()=>{throw e})}}function nc(e,t,n){Jl||ec(),Ql.push([e,t,n])}function ic(){document.body.removeAttribute("unresolved")}function rc(e,t,n){return{index:e,removed:t,addedCount:n}}"interactive"===document.readyState||"complete"===document.readyState?ic():window.addEventListener("DOMContentLoaded",ic);const oc=0,ac=1,sc=2,lc=3;function cc(s,l){{var c=s,u=0,d=s.length,p=l,h=0,m=l.length;let t,e=0,n=0,i=Math.min(d-u,m-h);if(0==u&&0==h&&(e=function(t,n,i){for(let e=0;e<i;e++)if(t[e]!==n[e])return e;return i}(c,p,i)),d==c.length&&m==p.length&&(n=function(e,t,n){let i=e.length,r=t.length,o=0;for(;o<n&&e[--i]===t[--r];)o++;return o}(c,p,i-e)),h+=e,m-=n,(d-=n)-(u+=e)==0&&m-h==0)return[];if(u==d){for(t=rc(u,[],0);h<m;)t.removed.push(p[h++]);return[t]}if(h==m)return[rc(u,[],d-u)];var f=function(e){let t=e.length-1,n=e[0].length-1,i=e[t][n],r=[];for(;0<t||0<n;){var o,a,s,l;0==t?(r.push(sc),n--):0==n?(r.push(lc),t--):(o=e[t-1][n-1],(l=(a=e[t-1][n])<(s=e[t][n-1])?a<o?a:o:s<o?s:o)==o?(o==i?r.push(oc):(r.push(ac),i=o),t--,n--):i=l==a?(r.push(lc),t--,a):(r.push(sc),n--,s))}return r.reverse(),r}(function(n,i,r,o){var a,s,l=m-o+1,c=d-i+1,u=new Array(l);for(let e=0;e<l;e++)u[e]=new Array(c),u[e][0]=e;for(let e=0;e<c;e++)u[0][e]=e;for(let t=1;t<l;t++)for(let e=1;e<c;e++)n[i+e-1]===r[o+t-1]?u[t][e]=u[t-1][e-1]:(a=u[t-1][e]+1,s=u[t][e-1]+1,u[t][e]=a<s?a:s);return u}(c,u,p,h));t=void 0;let r=[],o=u,a=h;for(let e=0;e<f.length;e++)switch(f[e]){case oc:t&&(r.push(t),t=void 0),o++,a++;break;case ac:(t=t||rc(o,[],0)).addedCount++,o++,t.removed.push(p[a]),a++;break;case sc:(t=t||rc(o,[],0)).addedCount++,o++;break;case lc:(t=t||rc(o,[],0)).removed.push(p[a]),a++}return t&&r.push(t),r}}function uc(e){return"slot"===e.localName}let dc=class{static getFlattenedNodes(e){var t=b(e);return uc(e)?t.assignedNodes({flatten:!0}):Array.from(t.childNodes).map(e=>uc(e)?b(e).assignedNodes({flatten:!0}):[e]).reduce((e,t)=>e.concat(t),[])}constructor(e,t){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=e,this.callback=t,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){uc(this._target)?this._listenSlots([this._target]):b(this._target).children&&(this._listenSlots(b(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,e=>{this._processMutations(e)}):(this._nativeChildrenObserver=new MutationObserver(e=>{this._processMutations(e)}),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){uc(this._target)?this._unlistenSlots([this._target]):b(this._target).children&&(this._unlistenSlots(b(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,la.run(()=>this.flush()))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(t){if(t)for(let e=0;e<t.length;e++){var n=t[e];n.addedNodes&&this._listenSlots(n.addedNodes),n.removedNodes&&this._unlistenSlots(n.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;var i={target:this._target,addedNodes:[],removedNodes:[]},n=this.constructor.getFlattenedNodes(this._target),r=cc(n,this._effectiveNodes);for(let n,e=0;e<r.length&&(n=r[e]);e++)for(let e,t=0;t<n.removed.length&&(e=n.removed[t]);t++)i.removedNodes.push(e);for(let t,e=0;e<r.length&&(t=r[e]);e++)for(let e=t.index;e<t.index+t.addedCount;e++)i.addedNodes.push(n[e]);this._effectiveNodes=n;let e=!1;return(i.addedNodes.length||i.removedNodes.length)&&(e=!0,this.callback.call(this._target,i)),e}_listenSlots(t){for(let e=0;e<t.length;e++){var n=t[e];uc(n)&&n.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(t){for(let e=0;e<t.length;e++){var n=t[e];uc(n)&&n.removeEventListener("slotchange",this._boundSchedule)}}};function pc(e,t){return mc.call(e,t)}const hc=Element.prototype,mc=hc.matches||hc.matchesSelector||hc.mozMatchesSelector||hc.msMatchesSelector||hc.oMatchesSelector||hc.webkitMatchesSelector;class l{constructor(e){window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.patch(e),this.node=e}observeNodes(e){return new dc(this.node,e)}unobserveNodes(e){e.disconnect()}notifyObserver(){}deepContains(e){if(b(this.node).contains(e))return!0;let t=e,n=e.ownerDocument;for(;t&&t!==n&&t!==this.node;)t=b(t).parentNode||b(t).host;return t===this.node}getOwnerRoot(){return b(this.node).getRootNode()}getDistributedNodes(){return"slot"===this.node.localName?b(this.node).assignedNodes({flatten:!0}):[]}getDestinationInsertionPoints(){let e=[],t=b(this.node).assignedSlot;for(;t;)e.push(t),t=b(t).assignedSlot;return e}importNode(e,t){var n=this.node instanceof Document?this.node:this.node.ownerDocument;return b(n).importNode(e,t)}getEffectiveChildNodes(){return dc.getFlattenedNodes(this.node)}queryDistributedElements(i){var r=this.getEffectiveChildNodes(),o=[];for(let e,t=0,n=r.length;t<n&&(e=r[t]);t++)e.nodeType===Node.ELEMENT_NODE&&pc(e,i)&&o.push(e);return o}get activeElement(){var e=this.node;return void 0!==e._activeElement?e._activeElement:e.activeElement}}function fc(n,i){for(let t=0;t<i.length;t++){let e=i[t];Object.defineProperty(n,e,{get:function(){return this.node[e]},configurable:!0})}}class gc{constructor(e){this.event=e}get rootTarget(){return this.path[0]}get localTarget(){return this.event.target}get path(){return this.event.composedPath()}}l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l;let yc=l;if(window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.noPatch&&window.ShadyDOM.Wrapper){class c extends window.ShadyDOM.Wrapper{}Object.getOwnPropertyNames(l.prototype).forEach(e=>{"activeElement"!=e&&(c.prototype[e]=l.prototype[e])}),fc(c.prototype,["classList"]),yc=c,Object.defineProperties(gc.prototype,{localTarget:{get(){var e=this.event.currentTarget,t=e&&xc(e).getOwnerRoot(),n=this.path;for(let e=0;e<n.length;e++){var i=n[e];if(xc(i).getOwnerRoot()===t)return i}},configurable:!0},path:{get(){return window.ShadyDOM.composedPath(this.event)},configurable:!0}})}else{{var vc=l.prototype;var bc=["cloneNode","appendChild","insertBefore","removeChild","replaceChild","setAttribute","removeAttribute","querySelector","querySelectorAll","attachShadow"];for(let t=0;t<bc.length;t++){let e=bc[t];vc[e]=function(){return this.node[e].apply(this.node,arguments)}}}fc(l.prototype,["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling","childNodes","children","classList","shadowRoot"]);{var wc=l.prototype;var _c=["textContent","innerHTML","className"];for(let e=0;e<_c.length;e++){let t=_c[e];Object.defineProperty(wc,t,{get:function(){return this.node[t]},set:function(e){this.node[t]=e},configurable:!0})}}}const xc=function(e){if((e=e||document)instanceof yc)return e;if(e instanceof gc)return e;let t=e.__domApi;return t||(t=new(e instanceof Event?gc:yc)(e),e.__domApi=t),t},Cc=window.ShadyDOM,Pc=window.ShadyCSS;function Ec(e,t){return b(e).getRootNode()===t}const Tc="disable-upgrade",Ac=e=>{for(;e;){var t=Object.getOwnPropertyDescriptor(e,"observedAttributes");if(t)return t.get;e=Object.getPrototypeOf(e.prototype).constructor}return()=>[]},Mc=Oo(e=>{e=es(e);let t=Ac(e);return class extends e{constructor(){super(),this.__isUpgradeDisabled}static get observedAttributes(){return t.call(this).concat(Tc)}_initializeProperties(){this.hasAttribute(Tc)?this.__isUpgradeDisabled=!0:super._initializeProperties()}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(e){return super._canApplyPropertyDefault(e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))}attributeChangedCallback(e,t,n,i){e==Tc?this.__isUpgradeDisabled&&null==n&&(super._initializeProperties(),this.__isUpgradeDisabled=!1,b(this).isConnected)&&super.connectedCallback():super.attributeChangedCallback(e,t,n,i)}connectedCallback(){this.__isUpgradeDisabled||super.connectedCallback()}disconnectedCallback(){this.__isUpgradeDisabled||super.disconnectedCallback()}}}),Sc="disable-upgrade";let Dc=window.ShadyCSS;const Bc=Oo(e=>{const t=Hs(es(e)),n=Qa?t:Zl(t),i=Ac(n),r={x:"pan-x",y:"pan-y",none:"none",all:"auto"};class o extends n{constructor(){super(),this.isAttached,this.__boundListeners,this._debouncers,this.__isUpgradeDisabled,this.__needsAttributesAtConnected,this._legacyForceObservedAttributes}static get importMeta(){return this.prototype.importMeta}created(){}__attributeReaction(e,t,n){(this.__dataAttributes&&this.__dataAttributes[e]||e===Sc)&&this.attributeChangedCallback(e,t,n,null)}setAttribute(e,t){var n;mo&&!this._legacyForceObservedAttributes?(n=this.getAttribute(e),super.setAttribute(e,t),this.__attributeReaction(e,n,String(t))):super.setAttribute(e,t)}removeAttribute(e){var t;mo&&!this._legacyForceObservedAttributes?(t=this.getAttribute(e),super.removeAttribute(e),this.__attributeReaction(e,t,null)):super.removeAttribute(e)}static get observedAttributes(){return mo&&!this.prototype._legacyForceObservedAttributes?(this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))||(this.__observedAttributes=[],this.prototype),this.__observedAttributes):i.call(this).concat(Sc)}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(e){return super._canApplyPropertyDefault(e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))}connectedCallback(){this.__needsAttributesAtConnected&&this._takeAttributes(),this.__isUpgradeDisabled||(super.connectedCallback(),this.isAttached=!0,this.attached())}attached(){}disconnectedCallback(){this.__isUpgradeDisabled||(super.disconnectedCallback(),this.isAttached=!1,this.detached())}detached(){}attributeChangedCallback(e,t,n,i){t!==n&&(e==Sc?this.__isUpgradeDisabled&&null==n&&(this._initializeProperties(),this.__isUpgradeDisabled=!1,b(this).isConnected)&&this.connectedCallback():(super.attributeChangedCallback(e,t,n,i),this.attributeChanged(e,t,n)))}attributeChanged(e,t,n){}_initializeProperties(){var e;oo&&this.hasAttribute(Sc)?this.__isUpgradeDisabled=!0:((e=Object.getPrototypeOf(this)).hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",e))||(this._registered(),e.__hasRegisterFinished=!0),super._initializeProperties(),(this.root=this).created(),mo&&!this._legacyForceObservedAttributes&&(this.hasAttributes()?this._takeAttributes():this.parentNode||(this.__needsAttributesAtConnected=!0)),this._applyListeners())}_takeAttributes(){var n=this.attributes;for(let e=0,t=n.length;e<t;e++){var i=n[e];this.__attributeReaction(i.name,null,i.value)}}_registered(){}ready(){this._ensureAttributes(),super.ready()}_ensureAttributes(){}_applyListeners(){}serialize(e){return this._serializeValue(e)}deserialize(e,t){return this._deserializeValue(e,t)}reflectPropertyToAttribute(e,t,n){this._propertyToAttribute(e,t,n)}serializeValueToAttribute(e,t,n){this._valueToNodeAttribute(n||this,e,t)}extend(n,i){if(!n||!i)return n||i;var r=Object.getOwnPropertyNames(i);for(let e,t=0;t<r.length&&(e=r[t]);t++){var o=Object.getOwnPropertyDescriptor(i,e);o&&Object.defineProperty(n,e,o)}return n}mixin(e,t){for(var n in t)e[n]=t[n];return e}chainObject(e,t){return e&&t&&e!==t&&(e.__proto__=t),e}instanceTemplate(e){e=this.constructor._contentForTemplate(e);return document.importNode(e,!0)}fire(e,t,n){n=n||{},t=null==t?{}:t;e=new Event(e,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed}),e.detail=t,t=n.node||this;return b(t).dispatchEvent(e),e}listen(e,t,n){e=e||this;let i=this.__boundListeners||(this.__boundListeners=new WeakMap),r=i.get(e);r||(r={},i.set(e,r));var o=t+n;r[o]||(r[o]=this._addMethodEventListenerToNode(e,t,n,this))}unlisten(e,t,n){e=e||this;var i=this.__boundListeners&&this.__boundListeners.get(e),n=t+n,r=i&&i[n];r&&(this._removeEventListenerFromNode(e,t,r),i[n]=null)}setScrollDirection(e,t){Is(t||this,r[e]||"auto")}$$(e){return this.root.querySelector(e)}get domHost(){var e=b(this).getRootNode();return e instanceof DocumentFragment?e.host:e}distributeContent(){var e=xc(this);window.ShadyDOM&&e.shadowRoot&&ShadyDOM.flush()}getEffectiveChildNodes(){return xc(this).getEffectiveChildNodes()}queryDistributedElements(e){return xc(this).queryDistributedElements(e)}getEffectiveChildren(){return this.getEffectiveChildNodes().filter(function(e){return e.nodeType===Node.ELEMENT_NODE})}getEffectiveTextContent(){var n=this.getEffectiveChildNodes(),i=[];for(let e,t=0;e=n[t];t++)e.nodeType!==Node.COMMENT_NODE&&i.push(e.textContent);return i.join("")}queryEffectiveChildren(e){e=this.queryDistributedElements(e);return e&&e[0]}queryAllEffectiveChildren(e){return this.queryDistributedElements(e)}getContentChildNodes(e){e=this.root.querySelector(e||"slot");return e?xc(e).getDistributedNodes():[]}getContentChildren(e){return this.getContentChildNodes(e).filter(function(e){return e.nodeType===Node.ELEMENT_NODE})}isLightDescendant(e){return this!==e&&b(this).contains(e)&&b(this).getRootNode()===b(e).getRootNode()}isLocalDescendant(e){return this.root===b(e).getRootNode()}scopeSubtree(e,t=!1){var[e,n=!1]=[e,t];if(Cc&&Pc&&Cc.handlesDynamicScoping){const r=Pc.ScopingShim;if(r){const o=r.scopeForNode(e),a=b(e).getRootNode(),s=e=>{if(Ec(e,a)){var t=Array.from(Cc.nativeMethods.querySelectorAll.call(e,"*"));t.push(e);for(let e=0;e<t.length;e++){var n,i=t[e];Ec(i,a)&&(n=r.currentScopeForNode(i))!==o&&(""!==n&&r.unscopeNode(i,n),r.scopeNode(i,o))}}};if(s(e),n){const n=new MutationObserver(t=>{for(let e=0;e<t.length;e++){var n=t[e];for(let e=0;e<n.addedNodes.length;e++){var i=n.addedNodes[e];i.nodeType===Node.ELEMENT_NODE&&s(i)}}});return n.observe(e,{childList:!0,subtree:!0}),n}}}return null}getComputedStyleValue(e){return Dc.getComputedStyleValue(this,e)}debounce(e,t,n){return this._debouncers=this._debouncers||{},this._debouncers[e]=ns.debounce(this._debouncers[e],0<n?oa.after(n):la,t.bind(this))}isDebouncerActive(e){this._debouncers=this._debouncers||{};e=this._debouncers[e];return!(!e||!e.isActive())}flushDebouncer(e){this._debouncers=this._debouncers||{};e=this._debouncers[e];e&&e.flush()}cancelDebouncer(e){this._debouncers=this._debouncers||{};e=this._debouncers[e];e&&e.cancel()}async(e,t){return 0<t?oa.run(e.bind(this),t):~la.run(e.bind(this))}cancelAsync(e){e<0?la.cancel(~e):oa.cancel(e)}create(e,t){var n=document.createElement(e);if(t)if(n.setProperties)n.setProperties(t);else for(var i in t)n[i]=t[i];return n}elementMatches(e,t){return pc(t||this,e)}toggleAttribute(e,t){let n=3===arguments.length?arguments[2]:this;return(t=1==arguments.length?!n.hasAttribute(e):t)?(b(n).setAttribute(e,""),!0):(b(n).removeAttribute(e),!1)}toggleClass(e,t,n){n=n||this,(t=1==arguments.length?!n.classList.contains(e):t)?n.classList.add(e):n.classList.remove(e)}transform(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}translate3d(e,t,n,i){this.transform("translate3d("+e+","+t+","+n+")",i=i||this)}arrayDelete(e,t){let n;if(Array.isArray(e)){if(0<=(n=e.indexOf(t)))return e.splice(n,1)}else if(0<=(n=Go(this,e).indexOf(t)))return this.splice(e,n,1);return null}_logger(e,t){switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":console[e](...t)}}_log(...e){this._logger("log",e)}_warn(...e){this._logger("warn",e)}_error(...e){this._logger("error",e)}_logf(e,...t){return["[%s::%s]",this.is,e,...t]}}return o.prototype.is="",o}),kc={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,listeners:!0,hostAttributes:!0},Ic={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0,_noAccessors:!0},Lc=Object.assign({listeners:!0,hostAttributes:!0,properties:!0,observers:!0},Ic);function $c(e,t,n,i){var r,o=t,a=e,s=i,l=o._noAccessors,c=Object.getOwnPropertyNames(o);for(let e=0;e<c.length;e++){var u,d=c[e];d in s||(l?a[d]=o[d]:(u=Object.getOwnPropertyDescriptor(o,d))&&(u.configurable=!0,Object.defineProperty(a,d,u)))}for(r in kc)t[r]&&(n[r]=n[r]||[],n[r].push(t[r]))}function Nc(e,t){for(const r in t){var n=e[r],i=t[r];e[r]=!("value"in i)&&n&&"value"in n?Object.assign({value:n.value},i):i}}const Fc=Bc(HTMLElement);function Oc(r,e,t){let o;const a={};class i extends e{static _finalizeClass(){if(this.hasOwnProperty(JSCompiler_renameProperty("generatedFrom",this))){if(o)for(let e,t=0;t<o.length;t++)(e=o[t]).properties&&this.createProperties(e.properties),e.observers&&this.createObservers(e.observers,e.properties);r.properties&&this.createProperties(r.properties),r.observers&&this.createObservers(r.observers,r.properties),this._prepareTemplate()}else e._finalizeClass.call(this)}static get properties(){var t={};if(o)for(let e=0;e<o.length;e++)Nc(t,o[e].properties);return Nc(t,r.properties),t}static get observers(){let n=[];if(o)for(let e,t=0;t<o.length;t++)(e=o[t]).observers&&(n=n.concat(e.observers));return n=r.observers?n.concat(r.observers):n}created(){super.created();var t=a.created;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}_registered(){var e=i.prototype;if(!e.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",e))){e.__hasRegisterFinished=!0,super._registered(),oo&&s(e);var n=Object.getPrototypeOf(this);let t=a.beforeRegister;if(t)for(let e=0;e<t.length;e++)t[e].call(n);if(t=a.registered)for(let e=0;e<t.length;e++)t[e].call(n)}}_applyListeners(){super._applyListeners();var t=a.listeners;if(t)for(let e=0;e<t.length;e++){var n=t[e];if(n)for(var i in n)this._addMethodEventListenerToNode(this,i,n[i])}}_ensureAttributes(){var t=a.hostAttributes;if(t)for(let e=t.length-1;0<=e;e--){var n,i=t[e];for(n in i)this._ensureAttribute(n,i[n])}super._ensureAttributes()}ready(){super.ready();var t=a.ready;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}attached(){super.attached();var t=a.attached;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}detached(){super.detached();var t=a.detached;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}attributeChanged(t,n,i){super.attributeChanged();var r=a.attributeChanged;if(r)for(let e=0;e<r.length;e++)r[e].call(this,t,n,i)}}var n;t&&(Array.isArray(t)||(t=[t]),n=e.prototype.behaviors,o=function t(n,i,r){i=i||[];for(let e=n.length-1;0<=e;e--){var o=n[e];o?Array.isArray(o)?t(o,i):i.indexOf(o)<0&&(!r||r.indexOf(o)<0)&&i.unshift(o):console.warn("behavior is null, check for missing or 404 import")}return i}(t,null,n),i.prototype.behaviors=n?n.concat(t):o);const s=e=>{if(o){var t=e,n=o,i=a;for(let e=0;e<n.length;e++)$c(t,n[e],i,Lc)}$c(e,r,a,Ic)};return oo||s(i.prototype),i.generatedFrom=r,i}function Rc(e){var t="function"==typeof e?e:Rc.Class(e);return e._legacyForceObservedAttributes&&(t.prototype._legacyForceObservedAttributes=e._legacyForceObservedAttributes),customElements.define(t.is,t),t}function Hc(e,t,n,i,r){let o;r=(i=r&&(o="object"==typeof n&&null!==n)?e.__dataTemp[t]:i)!==n&&(i==i||n==n);return o&&r&&(e.__dataTemp[t]=n),r}Rc.Class=function(e,t){e||console.warn("Polymer.Class requires `info` argument");t=t?t(Fc):Fc;return(t=Oc(e,t,e.behaviors)).is=t.prototype.is=e.is,t};On=Oo(e=>class extends e{_shouldPropertyChange(e,t,n){return Hc(this,e,t,n,!0)}}),e=Oo(e=>class extends e{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(e,t,n){return Hc(this,e,t,n,this.mutableData)}});On._mutablePropertyChange=Hc;let zc=null;function Wc(){return zc}Wc.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:Wc,writable:!0}});const Yc=Za(Wc),jc=On(Yc);function Uc(t,n){for(let e=0;e<n.length;e++){var i=n[e];if(Boolean(t)!=Boolean(i.__hideTemplateChildren__))if(i.nodeType===Node.TEXT_NODE)t?(i.__polymerTextContent__=i.textContent,i.textContent=""):i.textContent=i.__polymerTextContent__;else if("slot"===i.localName)if(t)i.__polymerReplaced__=document.createComment("hidden-slot"),b(b(i).parentNode).replaceChild(i.__polymerReplaced__,i);else{const t=i.__polymerReplaced__;t&&b(b(t).parentNode).replaceChild(i,t)}else i.style&&(t?(i.__polymerDisplay__=i.style.display,i.style.display="none"):i.style.display=i.__polymerDisplay__);i.__hideTemplateChildren__=t,i._showHideChildren&&i._showHideChildren(t)}}class Gc extends Za(class{}){constructor(e){super(),this._configureProperties(e),this.root=this._stampTemplate(this.__dataHost);var t=[];this.children=t;for(let e=this.root.firstChild;e;e=e.nextSibling)t.push(e),e.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);var n=this.__templatizeOptions;(e&&n.instanceProps||!n.instanceProps)&&this._enableProperties()}_configureProperties(e){if(this.__templatizeOptions.forwardHostProp)for(var t in this.__hostProps)this._setPendingProperty(t,this.__dataHost["_host_"+t]);for(var n in e)this._setPendingProperty(n,e[n])}forwardHostProp(e,t){this._setPendingPropertyOrPath(e,t,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(e,t,n){var i;this._methodHost&&this.__templatizeOptions.parentModel?this._methodHost._addEventListenerToNode(e,t,e=>{e.model=this,n(e)}):(i=this.__dataHost.__dataHost)&&i._addEventListenerToNode(e,t,n)}_showHideChildren(e){Uc(e,this.children)}_setUnmanagedPropertyToNode(e,t,n){e.__hideTemplateChildren__&&e.nodeType==Node.TEXT_NODE&&"textContent"==t?e.__polymerTextContent__=n:super._setUnmanagedPropertyToNode(e,t,n)}get parentModel(){let e=this.__parentModel;if(!e){var t;for(e=this;(t=(e=e.__dataHost.__dataHost).__templatizeOptions)&&!t.parentModel;);this.__parentModel=e}return e}dispatchEvent(e){return!0}}Gc.prototype.__dataHost,Gc.prototype.__templatizeOptions,Gc.prototype._methodHost,Gc.prototype.__templatizeOwner,Gc.prototype.__hostProps;const Vc=On(Gc);function qc(e){e=e.__dataHost;return e&&e._methodHost||e}function Xc(e,t,n){let i=n.mutableData?Vc:Gc;var r,o=class extends(i=Jc.mixin?Jc.mixin(i):i){},a=(o.prototype.__templatizeOptions=n,o.prototype._bindTemplate(e),o),s=t,l=n,c=s.hostProps||{};for(r in l.instanceProps){delete c[r];var u=l.notifyInstanceProp;u&&a.prototype._addPropertyEffect(r,a.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:function(i){return function(e,t,n){i.call(e.__templatizeOwner,e,t,n[t])}}((r,u))})}if(l.forwardHostProp&&e.__dataHost)for(var d in c)s.hasHostProps||(s.hasHostProps=!0),a.prototype._addPropertyEffect(d,a.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:function(e,t,n){e.__dataHost._setPendingPropertyOrPath("_host_"+t,n[t],!0,!0)}});return o}function Zc(t,n,i,r){var o=i.forwardHostProp;if(o&&n.hasHostProps){var a,s="template"==t.localName;let e=n.templatizeTemplateClass;if(!e){if(s){class r extends(i.mutableData?jc:Yc){}e=n.templatizeTemplateClass=r}else{const i=t.constructor;class r extends i{}e=n.templatizeTemplateClass=r}for(a in n.hostProps)e.prototype._addPropertyEffect("_host_"+a,e.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:function(i){return function(e,t,n){i.call(e.__templatizeOwner,t.substring(6),n[t])}}((a,o))}),e.prototype._createNotifyingProperty("_host_"+a);if(ao&&r){var l=i;const d=r.constructor._properties,p=n["propertyEffects"],h=l["instanceProps"];for(var c in p)if(!(d[c]||h&&h[c])){const l=p[c];for(let e=0;e<l.length;e++){const d=l[e].info["part"];if(!d.signature||!d.signature.static){console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}}if(t.__dataProto&&Object.assign(t.__data,t.__dataProto),s)i=e,zc=t,Object.setPrototypeOf(t,i.prototype),new i,zc=null,t.__dataTemp={},t.__dataPending=null,t.__dataOld=null,t._enableProperties();else{Object.setPrototypeOf(t,e.prototype);const i=n.hostProps;for(var u in i)if(u="_host_"+u,u in t){const i=t[u];delete t[u],t.__data[u]=i}}}}function Jc(e,t,n){if(io&&!qc(e))throw new Error("strictTemplatePolicy: template owner not trusted");if(n=n||{},e.__templatizeOwner)throw new Error("A <template> can only be templatized once");let i=((e.__templatizeOwner=t)?t.constructor:Gc)._parseTemplate(e),r=i.templatizeInstanceClass;r||(r=Xc(e,i,n),i.templatizeInstanceClass=r);var o=qc(e),n=(Zc(e,i,n,o),class extends r{});return n.prototype._methodHost=o,n.prototype.__dataHost=e,n.prototype.__templatizeOwner=t,n.prototype.__hostProps=i.hostProps,n}let Kc=!1;function Qc(){var e;return oo&&!Kr&&(Kc||(Kc=!0,(e=document.createElement("style")).textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(e)),1)}In=Hs(e(Za(HTMLElement))),customElements.define("dom-bind",class extends In{static get observedAttributes(){return["mutable-data"]}constructor(){if(super(),io)throw new Error("strictTemplatePolicy: dom-bind not allowed");this.root=null,this.$=null,this.__children=null}attributeChangedCallback(e,t,n,i){this.mutableData=!0}connectedCallback(){Qc()||(this.style.display="none"),this.render()}disconnectedCallback(){this.__removeChildren()}__insertChildren(){b(b(this).parentNode).insertBefore(this.root,this)}__removeChildren(){if(this.__children)for(let e=0;e<this.__children.length;e++)this.root.appendChild(this.__children[e])}render(){let t;if(!this.__children){if(!(t=t||this.querySelector("template"))){let e=new MutationObserver(()=>{if(!(t=this.querySelector("template")))throw new Error("dom-bind requires a <template> child");e.disconnect(),this.render()});return void e.observe(this,{childList:!0})}this.root=this._stampTemplate(t),this.$=this.root.$,this.__children=[];for(let e=this.root.firstChild;e;e=e.nextSibling)this.__children[this.__children.length]=e;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}}),Ln=e(ts);class eu extends Ln{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!ho,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let e=0;e<this.__instances.length;e++)this.__detachInstance(e);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),Qc()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;var t=b(b(this).parentNode);for(let e=0;e<this.__instances.length;e++)this.__attachInstance(e,t);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){var e=this.template=this._templateInfo?this:this.querySelector("template");if(!e){let e=new MutationObserver(()=>{if(!this.querySelector("template"))throw new Error("dom-repeat requires a <template> child");e.disconnect(),this.__render()});return e.observe(this,{childList:!0}),!1}var t={};t[this.as]=!0,t[this.indexAs]=!0,t[this.itemsIndexAs]=!0,this.__ctor=Jc(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:t,forwardHostProp:function(n,i){var r=this.__instances;for(let e,t=0;t<r.length&&(e=r[t]);t++)e.forwardHostProp(n,i)},notifyInstanceProp:function(e,t,n){var i,r;((i=this.as)===(r=t)||zo(i,r)||Wo(i,r))&&(i=e[this.itemsIndexAs],t==this.as&&(this.items[i]=n),r=Yo(this.as,JSCompiler_renameProperty("items",this)+"."+i,t),this.notifyPath(r,n))}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(n){if("string"!=typeof n)return n;{let e=n,t=this.__getMethodHost();return function(){return t[e].apply(t,arguments)}}}__sortChanged(e){this.__sortFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__filterChanged(e){this.__filterFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(e){return Math.ceil(1e3/e)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(t){if(this.__sortFn||this.__filterFn)if(t){if(this.__observePaths){var n=this.__observePaths;for(let e=0;e<n.length;e++)0===t.indexOf(n[e])&&this.__debounceRender(this.__render,this.delay)}}else this.__debounceRender(this.__render,this.delay)}__itemsChanged(e){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(e.path,e.value)||("items"===e.path&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(e,t=0){this.__renderDebouncer=ns.debounce(this.__renderDebouncer,0<t?oa.after(t):la,e.bind(this)),rs(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),js()}__render(){var e,t,n;this.__ensureTemplatized()&&(e=this.items||[],t=this.__sortAndFilterItems(e),n=this.__calculateLimit(t.length),this.__updateInstances(e,n,t),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame(()=>{this.__chunkingId=null,this.__continueChunking()})),this._setRenderedItemCount(this.__instances.length),ho&&!this.notifyDomChange||this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})))}__sortAndFilterItems(i){let t=new Array(i.length);for(let e=0;e<i.length;e++)t[e]=e;return this.__filterFn&&(t=t.filter((e,t,n)=>this.__filterFn(i[e],t,n))),this.__sortFn&&t.sort((e,t)=>this.__sortFn(i[e],i[t])),t}__calculateLimit(t){let n=t;var i=this.__instances.length;if(this.initialCount){let e;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(n=Math.min(t,this.initialCount),e=Math.max(n-i,0),this.__chunkCount=e||1):(e=Math.min(Math.max(t-i,0),this.__chunkCount),n=Math.min(i+e,t)),this.__shouldMeasureChunk=e===this.__chunkCount,this.__shouldContinueChunking=n<t,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,n}__continueChunking(){var e;this.__shouldMeasureChunk&&(e=performance.now()-this.__renderStartTime,e=this._targetFrameTime/e,this.__chunkCount=Math.round(this.__chunkCount*e)||1),this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(e,t,n){var i=this.__itemsIdxToInstIdx={};let r;for(r=0;r<t;r++){var o=this.__instances[r],a=n[r],s=e[a];i[a]=r,o?(o._setPendingProperty(this.as,s),o._setPendingProperty(this.indexAs,r),o._setPendingProperty(this.itemsIndexAs,a),o._flushProperties()):this.__insertInstance(s,r,a)}for(let e=this.__instances.length-1;e>=r;e--)this.__detachAndRemoveInstance(e)}__detachInstance(e){var t=this.__instances[e],n=b(t.root);for(let e=0;e<t.children.length;e++){var i=t.children[e];n.appendChild(i)}return t}__attachInstance(e,t){e=this.__instances[e];t.insertBefore(e.root,this)}__detachAndRemoveInstance(e){this.__detachInstance(e),this.__instances.splice(e,1)}__stampInstance(e,t,n){var i={};return i[this.as]=e,i[this.indexAs]=t,i[this.itemsIndexAs]=n,new this.__ctor(i)}__insertInstance(e,t,n){e=this.__stampInstance(e,t,n),n=this.__instances[t+1],n=n?n.children[0]:this;return b(b(this).parentNode).insertBefore(e.root,n),this.__instances[t]=e}_showHideChildren(t){for(let e=0;e<this.__instances.length;e++)this.__instances[e]._showHideChildren(t)}__handleItemPath(e,t){var e=e.slice(6),n=e.indexOf("."),i=n<0?e:e.substring(0,n);if(i==parseInt(i,10))return e=n<0?"":e.substring(n+1),this.__handleObservedPaths(e),n=this.__itemsIdxToInstIdx[i],(i=this.__instances[n])&&(n=this.as+(e?"."+e:""),i._setPendingPropertyOrPath(n,t,!1,!0),i._flushProperties()),!0}itemForElement(e){e=this.modelForElement(e);return e&&e[this.as]}indexForElement(e){e=this.modelForElement(e);return e&&e[this.indexAs]}modelForElement(e){for(var t,n=this.template,i=e;i;)if(t=i.__dataHost?i:i.__templatizeInstance){if(t.__dataHost==n)return t;i=t.__dataHost}else i=b(i).parentNode;return null}}customElements.define(eu.is,eu);class tu extends ts{static get is(){return"dom-if"}static get template(){return null}static get properties(){return{if:{type:Boolean,observer:"__debounceRender"},restamp:{type:Boolean,observer:"__debounceRender"},notifyDomChange:{type:Boolean}}}constructor(){super(),this.__renderDebouncer=null,this._lastIf=!1,this.__hideTemplateChildren__=!1,this.__template,this._templateInfo}__debounceRender(){this.__renderDebouncer=ns.debounce(this.__renderDebouncer,la,()=>this.__render()),rs(this.__renderDebouncer)}disconnectedCallback(){super.disconnectedCallback();var e=b(this).parentNode;e&&(e.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||b(e).host)||this.__teardownInstance()}connectedCallback(){super.connectedCallback(),Qc()||(this.style.display="none"),this.if&&this.__debounceRender()}__ensureTemplate(){if(!this.__template){var e=this._templateInfo?this:b(this).querySelector("template");if(!e){let e=new MutationObserver(()=>{if(!b(this).querySelector("template"))throw new Error("dom-if requires a <template> child");e.disconnect(),this.__render()});return e.observe(this,{childList:!0}),!1}this.__template=e}return!0}__ensureInstance(){var n=b(this).parentNode;if(this.__hasInstance()){var i=this.__getInstanceNodes();if(i&&i.length&&b(this).previousSibling!==i[i.length-1])for(let e,t=0;t<i.length&&(e=i[t]);t++)b(n).insertBefore(e,this)}else{if(!n)return!1;if(!this.__ensureTemplate())return!1;this.__createAndInsertInstance(n)}return!0}render(){js()}__render(){if(this.if){if(!this.__ensureInstance())return}else this.restamp&&this.__teardownInstance();this._showHideChildren(),ho&&!this.notifyDomChange||this.if==this._lastIf||(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)}__hasInstance(){}__getInstanceNodes(){}__createAndInsertInstance(e){}__teardownInstance(){}_showHideChildren(){}}$n=po?class extends tu{constructor(){super(),this.__instance=null,this.__syncInfo=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.templateInfo.childNodes}__createAndInsertInstance(e){var t=this.__dataHost||this;if(io&&!this.__dataHost)throw new Error("strictTemplatePolicy: template owner not trusted");var n=t._bindTemplate(this.__template,!0);n.runEffects=(e,t,n)=>{let i=this.__syncInfo;if(this.if)i&&(this.__syncInfo=null,this._showHideChildren(),t=Object.assign(i.changedProps,t)),e(t,n);else if(this.__instance)if(i=i||(this.__syncInfo={runEffects:e,changedProps:{}}),n)for(const e in t){const t=Ho(e);i.changedProps[t]=this.__dataHost[t]}else Object.assign(i.changedProps,t)},this.__instance=t._stampTemplate(this.__template,n),b(e).insertBefore(this.__instance,this)}__syncHostProperties(){var e=this.__syncInfo;e&&(this.__syncInfo=null,e.runEffects(e.changedProps,!1))}__teardownInstance(){var e=this.__dataHost||this;this.__instance&&(e._removeBoundDom(this.__instance),this.__instance=null,this.__syncInfo=null)}_showHideChildren(){var e=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==e&&Uc(this.__instance.__hidden=e,this.__instance.templateInfo.childNodes),e||this.__syncHostProperties()}}:class extends tu{constructor(){super(),this.__ctor=null,this.__instance=null,this.__invalidProps=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.children}__createAndInsertInstance(e){this.__ctor||(this.__ctor=Jc(this.__template,this,{mutableData:!0,forwardHostProp:function(e,t){this.__instance&&(this.if?this.__instance.forwardHostProp(e,t):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[Ho(e)]=!0))}})),this.__instance=new this.__ctor,b(e).insertBefore(this.__instance.root,this)}__teardownInstance(){if(this.__instance){var n=this.__instance.children;if(n&&n.length){var i=b(n[0]).parentNode;if(i){i=b(i);for(let e,t=0;t<n.length&&(e=n[t]);t++)i.removeChild(e)}}this.__invalidProps=null,this.__instance=null}}__syncHostProperties(){var e=this.__invalidProps;if(e){for(var t in this.__invalidProps=null,e)this.__instance._setPendingProperty(t,this.__dataHost[t]);this.__instance._flushProperties()}}_showHideChildren(){var e=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==e&&(this.__instance.__hidden=e,this.__instance._showHideChildren(e)),e||this.__syncHostProperties()}};customElements.define($n.is,$n);class nu extends Oo(e=>{return class extends es(e){static get properties(){return{items:{type:Array},multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}static get observers(){return["__updateSelection(multi, items.*)"]}constructor(){super(),this.__lastItems=null,this.__lastMulti=null,this.__selectedMap=null}__updateSelection(e,t){var n,i,r=t.path;r==JSCompiler_renameProperty("items",this)?(i=t.base||[],n=this.__lastItems,e!==this.__lastMulti&&this.clearSelection(),n&&(n=cc(i,n),this.__applySplices(n)),this.__lastItems=i,this.__lastMulti=e):t.path==JSCompiler_renameProperty("items",this)+".splices"?this.__applySplices(t.value.indexSplices):(n=r.slice((JSCompiler_renameProperty("items",this)+".").length),i=parseInt(n,10),n.indexOf(".")<0&&n==i&&this.__deselectChangedIdx(i))}__applySplices(t){let i=this.__selectedMap;for(let e=0;e<t.length;e++){let n=t[e];i.forEach((e,t)=>{e<n.index||(e>=n.index+n.removed.length?i.set(t,e+n.addedCount-n.removed.length):i.set(t,-1))});for(let e=0;e<n.addedCount;e++){var r=n.index+e;i.has(this.items[r])&&i.set(this.items[r],r)}}this.__updateLinks();let n=0;i.forEach((e,t)=>{e<0?(this.multi?this.splice(JSCompiler_renameProperty("selected",this),n,1):this.selected=this.selectedItem=null,i.delete(t)):n++})}__updateLinks(){if(this.__dataLinkedPaths={},this.multi){let t=0;this.__selectedMap.forEach(e=>{0<=e&&this.linkPaths(JSCompiler_renameProperty("items",this)+"."+e,JSCompiler_renameProperty("selected",this)+"."+t++)})}else this.__selectedMap.forEach(e=>{this.linkPaths(JSCompiler_renameProperty("selected",this),JSCompiler_renameProperty("items",this)+"."+e),this.linkPaths(JSCompiler_renameProperty("selectedItem",this),JSCompiler_renameProperty("items",this)+"."+e)})}clearSelection(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}isSelected(e){return this.__selectedMap.has(e)}isIndexSelected(e){return this.isSelected(this.items[e])}__deselectChangedIdx(e){let i=this.__selectedIndexForItemIndex(e);if(0<=i){let n=0;this.__selectedMap.forEach((e,t)=>{i==n++&&this.deselect(t)})}}__selectedIndexForItemIndex(e){e=this.__dataLinkedPaths[JSCompiler_renameProperty("items",this)+"."+e];if(e)return parseInt(e.slice((JSCompiler_renameProperty("selected",this)+".").length),10)}deselect(t){var n=this.__selectedMap.get(t);if(0<=n){let e;this.__selectedMap.delete(t),this.multi&&(e=this.__selectedIndexForItemIndex(n)),this.__updateLinks(),this.multi?this.splice(JSCompiler_renameProperty("selected",this),e,1):this.selected=this.selectedItem=null}}deselectIndex(e){this.deselect(this.items[e])}select(e){this.selectIndex(this.items.indexOf(e))}selectIndex(e){var t=this.items[e];this.isSelected(t)?this.toggle&&this.deselectIndex(e):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(t,e),this.__updateLinks(),this.multi?this.push(JSCompiler_renameProperty("selected",this),t):this.selected=this.selectedItem=t)}}})(ts){static get is(){return"array-selector"}static get template(){return null}}customElements.define(nu.is,nu),Bc(HTMLElement).prototype,Rc({is:"iron-media-query",properties:{queryMatches:{type:Boolean,value:!1,readOnly:!0,notify:!0},query:{type:String,observer:"queryChanged"},full:{type:Boolean,value:!1},_boundMQHandler:{value:function(){return this.queryHandler.bind(this)}},_mq:{value:null}},attached:function(){this.style.display="none",this.queryChanged()},detached:function(){this._remove()},_add:function(){this._mq&&this._mq.addListener(this._boundMQHandler)},_remove:function(){this._mq&&this._mq.removeListener(this._boundMQHandler),this._mq=null},queryChanged:function(){this._remove();var e=this.query;e&&(this.full||"("===e[0]||(e="("+e+")"),this._mq=window.matchMedia(e),this._add(),this.queryHandler(this._mq))},queryHandler:function(e){this._setQueryMatches(e.matches)}});const iu=Element.prototype,ru=iu.matches||iu.matchesSelector||iu.mozMatchesSelector||iu.msMatchesSelector||iu.oMatchesSelector||iu.webkitMatchesSelector;class ou{static getTabbableNodes(e){var t=[];return this._collectTabbableNodes(e,t)?this._sortByTabIndex(t):t}static isFocusable(e){return ru.call(e,"input, select, textarea, button, object")?ru.call(e,":not([disabled])"):ru.call(e,"a[href], area[href], iframe, [tabindex], [contentEditable]")}static isTabbable(e){return this.isFocusable(e)&&ru.call(e,':not([tabindex="-1"])')&&this._isVisible(e)}static _normalizedTabIndex(e){return this.isFocusable(e)?(e=e.getAttribute("tabindex")||0,Number(e)):-1}static _collectTabbableNodes(e,t){if(e.nodeType!==Node.ELEMENT_NODE||!this._isVisible(e))return!1;var n=this._normalizedTabIndex(e);let i,r=0<n;if(0<=n&&t.push(e),i="slot"===e.localName?e.assignedNodes({flatten:!0}):(e.shadowRoot||e).children)for(let e=0;e<i.length;e++)r=this._collectTabbableNodes(i[e],t)||r;return r}static _isVisible(e){var t=e.style;return"hidden"!==t.visibility&&"none"!==t.display&&"hidden"!==(t=window.getComputedStyle(e)).visibility&&"none"!==t.display}static _sortByTabIndex(e){var t,n=e.length;return n<2?e:(n=Math.ceil(n/2),t=this._sortByTabIndex(e.slice(0,n)),e=this._sortByTabIndex(e.slice(n)),this._mergeSortByTabIndex(t,e))}static _mergeSortByTabIndex(e,t){for(var n=[];0<e.length&&0<t.length;)this._hasLowerTabOrder(e[0],t[0])?n.push(t.shift()):n.push(e.shift());return n.concat(e,t)}static _hasLowerTabOrder(e,t){e=Math.max(e.tabIndex,0),t=Math.max(t.tabIndex,0);return 0===e||0===t?e<t:t<e}}let au=0;const su={};class lu extends Ws(Js(ts)){static get template(){return Lo`
|
|
1278
|
+
</dom-module>`;document.head.appendChild($n.content);class dl{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""}}function pl(e){return function i(n,r){let o=r.substring(n.start,n.end-1);if(n.parsedCssText=n.cssText=o.trim(),n.parent){let e=n.previous?n.previous.end:n.parent.start,t=(o=(o=(o=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,function(){let e=arguments[1],t=6-e.length;for(;t--;)e="0"+e;return"\\"+e})}(o=r.substring(e,n.start-1))).replace(gl.multipleSpaces," ")).substring(o.lastIndexOf(";")+1),n.parsedSelector=n.selector=o.trim());n.atRule=0===t.indexOf(bl),n.atRule?0===t.indexOf(vl)?n.type=hl.MEDIA_RULE:t.match(gl.keyframesRule)&&(n.type=hl.KEYFRAMES_RULE,n.keyframesName=n.selector.split(gl.multipleSpaces).pop()):0===t.indexOf(yl)?n.type=hl.MIXIN_RULE:n.type=hl.STYLE_RULE}let a=n.rules;if(a)for(let e,t=0,n=a.length;t<n&&(e=a[t]);t++)i(e,r);return n}(function(n){var i,r,o=new dl;o.start=0,o.end=n.length;let a=o;for(let e=0,t=n.length;e<t;e++)n[e]===ml?(a.rules||(a.rules=[]),r=(i=a).rules[i.rules.length-1]||null,(a=new dl).start=e+1,a.parent=i,a.previous=r,i.rules.push(a)):n[e]===fl&&(a.end=e+1,a=a.parent||o);return o}(e=e.replace(gl.comments,"").replace(gl.port,"")),e)}const hl={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},ml="{",fl="}",gl={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},yl="--",vl="@media",bl="@",wl=new Set;function _l(e,t){return e?("string"==typeof e&&(e=pl(e)),t&&Cl(e,t),function i(e,r,t=""){let o="";if(e.cssText||e.rules){var a=e.rules;if(!a||(n=a[0],Boolean(n)&&Boolean(n.selector)&&0===n.selector.indexOf(yl)))o=(o=(o=r?e.cssText:e.cssText.replace(gl.customProp,"").replace(gl.mixinProp,"").replace(gl.mixinApply,"").replace(gl.varApply,"")).trim())&&" "+o+"\n";else for(let e,t=0,n=a.length;t<n&&(e=a[t]);t++)o=i(e,r,o)}var n;return o&&(e.selector&&(t+=e.selector+" "+ml+"\n"),t+=o,e.selector)&&(t+=fl+"\n\n"),t}(e,Yr)):""}function xl(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=pl(e.textContent)),e.__cssRules||null}function Cl(n,i,r,o){if(n){let e=!1,t=n.type;o&&t===hl.MEDIA_RULE&&(a=n.selector.match(Nr))&&!window.matchMedia(a[1]).matches&&(e=!0),t===hl.STYLE_RULE?i(n):r&&t===hl.KEYFRAMES_RULE?r(n):t===hl.MIXIN_RULE&&(e=!0);var a,s=n.rules;if(s&&!e)for(let e,t=0,n=s.length;t<n&&(e=s[t]);t++)Cl(e,i,r,o)}}window.ShadyDOM&&window.ShadyDOM.wrap;const Pl="css-build";function El(e){return""!==(e=e,void 0!==zr?zr:(void 0===e.__cssBuild&&((t=e.getAttribute(Pl))?e.__cssBuild=t:(""!==(t=function(e){var t=("template"===e.localName?e.content:e).firstChild;if(t instanceof Comment){const e=t.textContent.trim().split(":");if(e[0]===Pl)return e[1]}return""}(e))&&(n=("template"===e.localName?e.content:e).firstChild).parentNode.removeChild(n),e.__cssBuild=t)),e.__cssBuild||""));var t,n}const Tl=/;\s*/m,Al=/^\s*(initial)|(inherit)\s*$/,Ml=/\s*!important/;class Sl{constructor(){this._map={}}set(e,t){e=e.trim(),this._map[e]={properties:t,dependants:{}}}get(e){return e=e.trim(),this._map[e]||null}}let Dl=null;class Bl{constructor(){this._currentElement=null,this._measureElement=null,this._map=new Sl}detectMixin(e){return e=$r.test(e)||Lr.test(e),$r.lastIndex=0,Lr.lastIndex=0,e}gatherStyles(e){var t,n=function(){var t=[],n=e.content.querySelectorAll("style");for(let e=0;e<n.length;e++){var i=n[e];if(i.hasAttribute("shady-unscoped")){if(!Rr){{r=void 0;o=void 0;var r=i;var o=r.textContent;if(!wl.has(o)){wl.add(o);const r=document.createElement("style");r.setAttribute("shady-unscoped",""),r.textContent=o,document.head.appendChild(r)}}i.parentNode.removeChild(i)}}else t.push(i.textContent),i.parentNode.removeChild(i)}return t.join("").trim()}();return n?((t=document.createElement("style")).textContent=n,e.content.insertBefore(t,e.content.firstChild),t):null}transformTemplate(e,t){void 0===e._gatheredStyle&&(e._gatheredStyle=this.gatherStyles(e));e=e._gatheredStyle;return e?this.transformStyle(e,t):null}transformStyle(e,t=""){var n=xl(e);return this.transformRules(n,t),e.textContent=_l(n),n}transformCustomStyle(e){var t=xl(e);return Cl(t,e=>{":root"===e.selector&&(e.selector="html"),this.transformRule(e)}),e.textContent=_l(t),t}transformRules(e,t){this._currentElement=t,Cl(e,e=>{this.transformRule(e)}),this._currentElement=null}transformRule(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}transformCssText(e,r){return e=e.replace(Lr,(e,t,n,i)=>this._produceCssProperties(e,t,n,i,r)),this._consumeCssProperties(e,r)}_getInitialValueForProperty(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}_fallbacksFromPreviousRules(t){let e=t;for(;e.parent;)e=e.parent;const n={};let i=!1;return Cl(e,e=>{(i=i||e===t)||e.selector===t.selector&&Object.assign(n,this._cssTextToMap(e.parsedCssText))}),n}_consumeCssProperties(e,t){for(;r=$r.exec(e);){var n=r[0],i=r[1],r=r.index,o=r+n.indexOf("@apply"),n=r+n.length,o=e.slice(0,o),n=e.slice(n),a=t?this._fallbacksFromPreviousRules(t):{},i=(Object.assign(a,this._cssTextToMap(o)),this._atApplyToCssProperties(i,a));e=""+o+i+n,$r.lastIndex=r+i.length}return e}_atApplyToCssProperties(i,r){i=i.replace(Tl,"");let o=[],a=this._map.get(i);if(a||(this._map.set(i,{}),a=this._map.get(i)),a){let e,t,n;this._currentElement&&(a.dependants[this._currentElement]=!0);var s=a.properties;for(e in s)n=r&&r[e],t=[e,": var(",i,"_-_",e],n&&t.push(",",n.replace(Ml,"")),t.push(")"),Ml.test(s[e])&&t.push(" !important"),o.push(t.join(""))}return o.join("; ")}_replaceInitialOrInherit(e,t){var n=Al.exec(t);return t=n?n[1]?this._getInitialValueForProperty(e):"apply-shim-inherit":t}_cssTextToMap(e,i=!1){let r,o,a=e.split(";"),s={};for(let e,t,n=0;n<a.length;n++)(e=a[n])&&1<(t=e.split(":")).length&&(r=t[0].trim(),o=t.slice(1).join(":"),i&&(o=this._replaceInitialOrInherit(r,o)),s[r]=o);return s}_invalidateMixinEntry(e){if(Dl)for(var t in e.dependants)t!==this._currentElement&&Dl(t)}_produceCssProperties(e,t,n,i,r){if(n&&function e(t,n){var i,r,o,a=t.indexOf("var(");return-1===a?n(t,"","",""):(o=function(n){let i=0;for(let e=a+3,t=n.length;e<t;e++)if("("===n[e])i++;else if(")"===n[e]&&0==--i)return e;return-1}(t),i=t.substring(a+4,o),r=t.substring(0,a),t=e(t.substring(o+1),n),-1===(o=i.indexOf(","))?n(r,i.trim(),"",t):n(r,i.substring(0,o).trim(),i.substring(o+1).trim(),t))}(n,(e,t)=>{t&&this._map.get(t)&&(i=`@apply ${t};`)}),!i)return e;let o=this._consumeCssProperties(""+i,r),a=e.slice(0,e.indexOf("--")),s=this._cssTextToMap(o,!0),l=s,c=this._map.get(t),u=c&&c.properties;u?l=Object.assign(Object.create(u),s):this._map.set(t,l);let d,p,h=[],m=!1;for(d in l)p=s[d],void 0===p&&(p="initial"),!u||d in u||(m=!0),h.push(`${t}_-_${d}: `+p);return m&&this._invalidateMixinEntry(c),c&&(c.properties=l),""+(a=n?e+";"+a:a)+h.join("; ")+";"}}Bl.prototype._separator="_-_",Object.defineProperty(Bl.prototype,"invalidCallback",{get:()=>Dl,set(e){Dl=e}});const kl={},Il="_applyShimCurrentVersion",Ll="_applyShimNextVersion",$l="_applyShimValidatingVersion",Nl=Promise.resolve();function Fl(e){var e=kl[e];e&&((e=e)[Il]=e[Il]||0,e[$l]=e[$l]||0,e[Ll]=(e[Ll]||0)+1)}function Ol(e){return e[Il]===e[Ll]}const Rl=new Bl;if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){const c=new class{constructor(){this.customStyleInterface=null,Rl.invalidCallback=Fl}ensure(){this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=e=>{Rl.transformCustomStyle(e)},this.customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{this.customStyleInterface.enqueued&&this.flushCustomStyles()})})}prepareTemplate(e,t){this.ensure(),El(e)||(kl[t]=e,t=Rl.transformTemplate(e,t),e._styleAst=t)}flushCustomStyles(){if(this.ensure(),this.customStyleInterface){var t=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(let e=0;e<t.length;e++){var n=t[e],n=this.customStyleInterface.getStyleForCustomStyle(n);n&&Rl.transformCustomStyle(n)}this.customStyleInterface.enqueued=!1}}}styleSubtree(e,t){if(this.ensure(),t&&Fr(e,t),e.shadowRoot){this.styleElement(e);var n=e.shadowRoot.children||e.shadowRoot.childNodes;for(let e=0;e<n.length;e++)this.styleSubtree(n[e])}else{var i=e.children||e.childNodes;for(let e=0;e<i.length;e++)this.styleSubtree(i[e])}}styleElement(e){this.ensure();var t,n,i=function(e){let t=e.localName,n="",i="";return t?n=-1<t.indexOf("-")?t:(i=t,e.getAttribute&&e.getAttribute("is")||""):(n=e.is,i=e.extends),{is:n,typeExtension:i}}(e)["is"],r=kl[i];r&&El(r)||!r||Ol(r)||(!Ol(n=r)&&n[$l]===n[Ll]||(this.prepareTemplate(r,i),(t=r)[$l]=t[Ll],t._validating)||(t._validating=!0,Nl.then(function(){t[Il]=t[Ll],t._validating=!1})),(n=e.shadowRoot)&&(i=n.querySelector("style"))&&(i.__cssRules=r._styleAst,i.textContent=_l(r._styleAst)))}styleDocument(e){this.ensure(),this.styleSubtree(document.body,e)}};Nn=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate(e,t,n){c.flushCustomStyles(),c.prepareTemplate(e,t)},prepareTemplateStyles(e,t,n){window.ShadyCSS.prepareTemplate(e,t,n)},prepareTemplateDom(e,t){},styleSubtree(e,t){c.flushCustomStyles(),c.styleSubtree(e,t)},styleElement(e){c.flushCustomStyles(),c.styleElement(e)},styleDocument(e){c.flushCustomStyles(),c.styleDocument(e)},getComputedStyleValue:(e,t)=>Or(e,t),flushCustomStyles(){c.flushCustomStyles()},nativeCss:Yr,nativeShadow:Rr,cssBuild:zr,disableRuntime:kn},Nn&&(window.ShadyCSS.CustomStyleInterface=Nn)}window.ShadyCSS.ApplyShim=Rl;const Hl=/:host\(:dir\((ltr|rtl)\)\)/g,zl=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g,Wl=/:dir\((?:ltr|rtl)\)/,Yl=Boolean(window.ShadyDOM&&window.ShadyDOM.inUse),jl=[];let Ul=null,Gl="";function Vl(){Gl=document.documentElement.getAttribute("dir")}function ql(e){e.__autoDirOptOut||e.setAttribute("dir",Gl)}function Xl(){Vl(),Gl=document.documentElement.getAttribute("dir");for(let e=0;e<jl.length;e++)ql(jl[e])}const Zl=Oo(e=>{Yl||Ul||(Vl(),(Ul=new MutationObserver(Xl)).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));const n=fa(e);class t extends n{static _processStyleText(e,t){return e=n._processStyleText.call(this,e,t),!Yl&&Wl.test(e)&&(e=this._replaceDirInCssText(e),this.__activateDir=!0),e}static _replaceDirInCssText(e){let t=e;return t=(t=t.replace(Hl,':host([dir="$1"])')).replace(zl,':host([dir="$2"]) $1')}constructor(){super(),this.__autoDirOptOut=!1}ready(){super.ready(),this.__autoDirOptOut=this.hasAttribute("dir")}connectedCallback(){n.prototype.connectedCallback&&super.connectedCallback(),this.constructor.__activateDir&&(Ul&&Ul.takeRecords().length&&Xl(),jl.push(this),ql(this))}disconnectedCallback(){var e;n.prototype.disconnectedCallback&&super.disconnectedCallback(),this.constructor.__activateDir&&-1<(e=jl.indexOf(this))&&jl.splice(e,1)}}return t.__activateDir=!1,t});let Jl=!1,Kl=[],Ql=[];function ec(){Jl=!0,requestAnimationFrame(function(){Jl=!1;for(var e=Kl;e.length;)tc(e.shift());setTimeout(function(){var n=Ql;for(let e=0,t=n.length;e<t;e++)tc(n.shift())})})}function tc(e){var t=e[0],n=e[1],i=e[2];try{n.apply(t,i)}catch(e){setTimeout(()=>{throw e})}}function nc(e,t,n){Jl||ec(),Ql.push([e,t,n])}function ic(){document.body.removeAttribute("unresolved")}function rc(e,t,n){return{index:e,removed:t,addedCount:n}}"interactive"===document.readyState||"complete"===document.readyState?ic():window.addEventListener("DOMContentLoaded",ic);const oc=0,ac=1,sc=2,lc=3;function cc(s,l){{var c=s,u=0,d=s.length,p=l,h=0,m=l.length;let t,e=0,n=0,i=Math.min(d-u,m-h);if(0==u&&0==h&&(e=function(t,n,i){for(let e=0;e<i;e++)if(t[e]!==n[e])return e;return i}(c,p,i)),d==c.length&&m==p.length&&(n=function(e,t,n){let i=e.length,r=t.length,o=0;for(;o<n&&e[--i]===t[--r];)o++;return o}(c,p,i-e)),h+=e,m-=n,(d-=n)-(u+=e)==0&&m-h==0)return[];if(u==d){for(t=rc(u,[],0);h<m;)t.removed.push(p[h++]);return[t]}if(h==m)return[rc(u,[],d-u)];var f=function(e){let t=e.length-1,n=e[0].length-1,i=e[t][n],r=[];for(;0<t||0<n;){var o,a,s,l;0==t?(r.push(sc),n--):0==n?(r.push(lc),t--):(o=e[t-1][n-1],(l=(a=e[t-1][n])<(s=e[t][n-1])?a<o?a:o:s<o?s:o)==o?(o==i?r.push(oc):(r.push(ac),i=o),t--,n--):i=l==a?(r.push(lc),t--,a):(r.push(sc),n--,s))}return r.reverse(),r}(function(n,i,r,o){var a,s,l=m-o+1,c=d-i+1,u=new Array(l);for(let e=0;e<l;e++)u[e]=new Array(c),u[e][0]=e;for(let e=0;e<c;e++)u[0][e]=e;for(let t=1;t<l;t++)for(let e=1;e<c;e++)n[i+e-1]===r[o+t-1]?u[t][e]=u[t-1][e-1]:(a=u[t-1][e]+1,s=u[t][e-1]+1,u[t][e]=a<s?a:s);return u}(c,u,p,h));t=void 0;let r=[],o=u,a=h;for(let e=0;e<f.length;e++)switch(f[e]){case oc:t&&(r.push(t),t=void 0),o++,a++;break;case ac:(t=t||rc(o,[],0)).addedCount++,o++,t.removed.push(p[a]),a++;break;case sc:(t=t||rc(o,[],0)).addedCount++,o++;break;case lc:(t=t||rc(o,[],0)).removed.push(p[a]),a++}return t&&r.push(t),r}}function uc(e){return"slot"===e.localName}let dc=class{static getFlattenedNodes(e){var t=b(e);return uc(e)?t.assignedNodes({flatten:!0}):Array.from(t.childNodes).map(e=>uc(e)?b(e).assignedNodes({flatten:!0}):[e]).reduce((e,t)=>e.concat(t),[])}constructor(e,t){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=e,this.callback=t,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){uc(this._target)?this._listenSlots([this._target]):b(this._target).children&&(this._listenSlots(b(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,e=>{this._processMutations(e)}):(this._nativeChildrenObserver=new MutationObserver(e=>{this._processMutations(e)}),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){uc(this._target)?this._unlistenSlots([this._target]):b(this._target).children&&(this._unlistenSlots(b(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,la.run(()=>this.flush()))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(t){if(t)for(let e=0;e<t.length;e++){var n=t[e];n.addedNodes&&this._listenSlots(n.addedNodes),n.removedNodes&&this._unlistenSlots(n.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;var i={target:this._target,addedNodes:[],removedNodes:[]},n=this.constructor.getFlattenedNodes(this._target),r=cc(n,this._effectiveNodes);for(let n,e=0;e<r.length&&(n=r[e]);e++)for(let e,t=0;t<n.removed.length&&(e=n.removed[t]);t++)i.removedNodes.push(e);for(let t,e=0;e<r.length&&(t=r[e]);e++)for(let e=t.index;e<t.index+t.addedCount;e++)i.addedNodes.push(n[e]);this._effectiveNodes=n;let e=!1;return(i.addedNodes.length||i.removedNodes.length)&&(e=!0,this.callback.call(this._target,i)),e}_listenSlots(t){for(let e=0;e<t.length;e++){var n=t[e];uc(n)&&n.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(t){for(let e=0;e<t.length;e++){var n=t[e];uc(n)&&n.removeEventListener("slotchange",this._boundSchedule)}}};function pc(e,t){return mc.call(e,t)}const hc=Element.prototype,mc=hc.matches||hc.matchesSelector||hc.mozMatchesSelector||hc.msMatchesSelector||hc.oMatchesSelector||hc.webkitMatchesSelector;class s{constructor(e){window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.patch(e),this.node=e}observeNodes(e){return new dc(this.node,e)}unobserveNodes(e){e.disconnect()}notifyObserver(){}deepContains(e){if(b(this.node).contains(e))return!0;let t=e,n=e.ownerDocument;for(;t&&t!==n&&t!==this.node;)t=b(t).parentNode||b(t).host;return t===this.node}getOwnerRoot(){return b(this.node).getRootNode()}getDistributedNodes(){return"slot"===this.node.localName?b(this.node).assignedNodes({flatten:!0}):[]}getDestinationInsertionPoints(){let e=[],t=b(this.node).assignedSlot;for(;t;)e.push(t),t=b(t).assignedSlot;return e}importNode(e,t){var n=this.node instanceof Document?this.node:this.node.ownerDocument;return b(n).importNode(e,t)}getEffectiveChildNodes(){return dc.getFlattenedNodes(this.node)}queryDistributedElements(i){var r=this.getEffectiveChildNodes(),o=[];for(let e,t=0,n=r.length;t<n&&(e=r[t]);t++)e.nodeType===Node.ELEMENT_NODE&&pc(e,i)&&o.push(e);return o}get activeElement(){var e=this.node;return void 0!==e._activeElement?e._activeElement:e.activeElement}}function fc(n,i){for(let t=0;t<i.length;t++){let e=i[t];Object.defineProperty(n,e,{get:function(){return this.node[e]},configurable:!0})}}class gc{constructor(e){this.event=e}get rootTarget(){return this.path[0]}get localTarget(){return this.event.target}get path(){return this.event.composedPath()}}s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s;let yc=s;if(window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.noPatch&&window.ShadyDOM.Wrapper){class c extends window.ShadyDOM.Wrapper{}Object.getOwnPropertyNames(s.prototype).forEach(e=>{"activeElement"!=e&&(c.prototype[e]=s.prototype[e])}),fc(c.prototype,["classList"]),yc=c,Object.defineProperties(gc.prototype,{localTarget:{get(){var e=this.event.currentTarget,t=e&&xc(e).getOwnerRoot(),n=this.path;for(let e=0;e<n.length;e++){var i=n[e];if(xc(i).getOwnerRoot()===t)return i}},configurable:!0},path:{get(){return window.ShadyDOM.composedPath(this.event)},configurable:!0}})}else{{var vc=s.prototype;var bc=["cloneNode","appendChild","insertBefore","removeChild","replaceChild","setAttribute","removeAttribute","querySelector","querySelectorAll","attachShadow"];for(let t=0;t<bc.length;t++){let e=bc[t];vc[e]=function(){return this.node[e].apply(this.node,arguments)}}}fc(s.prototype,["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling","childNodes","children","classList","shadowRoot"]);{var wc=s.prototype;var _c=["textContent","innerHTML","className"];for(let e=0;e<_c.length;e++){let t=_c[e];Object.defineProperty(wc,t,{get:function(){return this.node[t]},set:function(e){this.node[t]=e},configurable:!0})}}}const xc=function(e){if((e=e||document)instanceof yc)return e;if(e instanceof gc)return e;let t=e.__domApi;return t||(t=new(e instanceof Event?gc:yc)(e),e.__domApi=t),t},Cc=window.ShadyDOM,Pc=window.ShadyCSS;function Ec(e,t){return b(e).getRootNode()===t}const Tc="disable-upgrade",Ac=e=>{for(;e;){var t=Object.getOwnPropertyDescriptor(e,"observedAttributes");if(t)return t.get;e=Object.getPrototypeOf(e.prototype).constructor}return()=>[]},Mc=Oo(e=>{e=es(e);let t=Ac(e);return class extends e{constructor(){super(),this.__isUpgradeDisabled}static get observedAttributes(){return t.call(this).concat(Tc)}_initializeProperties(){this.hasAttribute(Tc)?this.__isUpgradeDisabled=!0:super._initializeProperties()}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(e){return super._canApplyPropertyDefault(e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))}attributeChangedCallback(e,t,n,i){e==Tc?this.__isUpgradeDisabled&&null==n&&(super._initializeProperties(),this.__isUpgradeDisabled=!1,b(this).isConnected)&&super.connectedCallback():super.attributeChangedCallback(e,t,n,i)}connectedCallback(){this.__isUpgradeDisabled||super.connectedCallback()}disconnectedCallback(){this.__isUpgradeDisabled||super.disconnectedCallback()}}}),Sc="disable-upgrade";let Dc=window.ShadyCSS;const Bc=Oo(e=>{const t=Hs(es(e)),n=Qa?t:Zl(t),i=Ac(n),r={x:"pan-x",y:"pan-y",none:"none",all:"auto"};class o extends n{constructor(){super(),this.isAttached,this.__boundListeners,this._debouncers,this.__isUpgradeDisabled,this.__needsAttributesAtConnected,this._legacyForceObservedAttributes}static get importMeta(){return this.prototype.importMeta}created(){}__attributeReaction(e,t,n){(this.__dataAttributes&&this.__dataAttributes[e]||e===Sc)&&this.attributeChangedCallback(e,t,n,null)}setAttribute(e,t){var n;mo&&!this._legacyForceObservedAttributes?(n=this.getAttribute(e),super.setAttribute(e,t),this.__attributeReaction(e,n,String(t))):super.setAttribute(e,t)}removeAttribute(e){var t;mo&&!this._legacyForceObservedAttributes?(t=this.getAttribute(e),super.removeAttribute(e),this.__attributeReaction(e,t,null)):super.removeAttribute(e)}static get observedAttributes(){return mo&&!this.prototype._legacyForceObservedAttributes?(this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))||(this.__observedAttributes=[],this.prototype),this.__observedAttributes):i.call(this).concat(Sc)}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(e){return super._canApplyPropertyDefault(e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))}connectedCallback(){this.__needsAttributesAtConnected&&this._takeAttributes(),this.__isUpgradeDisabled||(super.connectedCallback(),this.isAttached=!0,this.attached())}attached(){}disconnectedCallback(){this.__isUpgradeDisabled||(super.disconnectedCallback(),this.isAttached=!1,this.detached())}detached(){}attributeChangedCallback(e,t,n,i){t!==n&&(e==Sc?this.__isUpgradeDisabled&&null==n&&(this._initializeProperties(),this.__isUpgradeDisabled=!1,b(this).isConnected)&&this.connectedCallback():(super.attributeChangedCallback(e,t,n,i),this.attributeChanged(e,t,n)))}attributeChanged(e,t,n){}_initializeProperties(){var e;oo&&this.hasAttribute(Sc)?this.__isUpgradeDisabled=!0:((e=Object.getPrototypeOf(this)).hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",e))||(this._registered(),e.__hasRegisterFinished=!0),super._initializeProperties(),(this.root=this).created(),mo&&!this._legacyForceObservedAttributes&&(this.hasAttributes()?this._takeAttributes():this.parentNode||(this.__needsAttributesAtConnected=!0)),this._applyListeners())}_takeAttributes(){var n=this.attributes;for(let e=0,t=n.length;e<t;e++){var i=n[e];this.__attributeReaction(i.name,null,i.value)}}_registered(){}ready(){this._ensureAttributes(),super.ready()}_ensureAttributes(){}_applyListeners(){}serialize(e){return this._serializeValue(e)}deserialize(e,t){return this._deserializeValue(e,t)}reflectPropertyToAttribute(e,t,n){this._propertyToAttribute(e,t,n)}serializeValueToAttribute(e,t,n){this._valueToNodeAttribute(n||this,e,t)}extend(n,i){if(!n||!i)return n||i;var r=Object.getOwnPropertyNames(i);for(let e,t=0;t<r.length&&(e=r[t]);t++){var o=Object.getOwnPropertyDescriptor(i,e);o&&Object.defineProperty(n,e,o)}return n}mixin(e,t){for(var n in t)e[n]=t[n];return e}chainObject(e,t){return e&&t&&e!==t&&(e.__proto__=t),e}instanceTemplate(e){e=this.constructor._contentForTemplate(e);return document.importNode(e,!0)}fire(e,t,n){n=n||{},t=null==t?{}:t;e=new Event(e,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed}),e.detail=t,t=n.node||this;return b(t).dispatchEvent(e),e}listen(e,t,n){e=e||this;let i=this.__boundListeners||(this.__boundListeners=new WeakMap),r=i.get(e);r||(r={},i.set(e,r));var o=t+n;r[o]||(r[o]=this._addMethodEventListenerToNode(e,t,n,this))}unlisten(e,t,n){e=e||this;var i=this.__boundListeners&&this.__boundListeners.get(e),n=t+n,r=i&&i[n];r&&(this._removeEventListenerFromNode(e,t,r),i[n]=null)}setScrollDirection(e,t){Is(t||this,r[e]||"auto")}$$(e){return this.root.querySelector(e)}get domHost(){var e=b(this).getRootNode();return e instanceof DocumentFragment?e.host:e}distributeContent(){var e=xc(this);window.ShadyDOM&&e.shadowRoot&&ShadyDOM.flush()}getEffectiveChildNodes(){return xc(this).getEffectiveChildNodes()}queryDistributedElements(e){return xc(this).queryDistributedElements(e)}getEffectiveChildren(){return this.getEffectiveChildNodes().filter(function(e){return e.nodeType===Node.ELEMENT_NODE})}getEffectiveTextContent(){var n=this.getEffectiveChildNodes(),i=[];for(let e,t=0;e=n[t];t++)e.nodeType!==Node.COMMENT_NODE&&i.push(e.textContent);return i.join("")}queryEffectiveChildren(e){e=this.queryDistributedElements(e);return e&&e[0]}queryAllEffectiveChildren(e){return this.queryDistributedElements(e)}getContentChildNodes(e){e=this.root.querySelector(e||"slot");return e?xc(e).getDistributedNodes():[]}getContentChildren(e){return this.getContentChildNodes(e).filter(function(e){return e.nodeType===Node.ELEMENT_NODE})}isLightDescendant(e){return this!==e&&b(this).contains(e)&&b(this).getRootNode()===b(e).getRootNode()}isLocalDescendant(e){return this.root===b(e).getRootNode()}scopeSubtree(e,t=!1){var[e,n=!1]=[e,t];if(Cc&&Pc&&Cc.handlesDynamicScoping){const r=Pc.ScopingShim;if(r){const o=r.scopeForNode(e),a=b(e).getRootNode(),s=e=>{if(Ec(e,a)){var t=Array.from(Cc.nativeMethods.querySelectorAll.call(e,"*"));t.push(e);for(let e=0;e<t.length;e++){var n,i=t[e];Ec(i,a)&&(n=r.currentScopeForNode(i))!==o&&(""!==n&&r.unscopeNode(i,n),r.scopeNode(i,o))}}};if(s(e),n){const n=new MutationObserver(t=>{for(let e=0;e<t.length;e++){var n=t[e];for(let e=0;e<n.addedNodes.length;e++){var i=n.addedNodes[e];i.nodeType===Node.ELEMENT_NODE&&s(i)}}});return n.observe(e,{childList:!0,subtree:!0}),n}}}return null}getComputedStyleValue(e){return Dc.getComputedStyleValue(this,e)}debounce(e,t,n){return this._debouncers=this._debouncers||{},this._debouncers[e]=ns.debounce(this._debouncers[e],0<n?oa.after(n):la,t.bind(this))}isDebouncerActive(e){this._debouncers=this._debouncers||{};e=this._debouncers[e];return!(!e||!e.isActive())}flushDebouncer(e){this._debouncers=this._debouncers||{};e=this._debouncers[e];e&&e.flush()}cancelDebouncer(e){this._debouncers=this._debouncers||{};e=this._debouncers[e];e&&e.cancel()}async(e,t){return 0<t?oa.run(e.bind(this),t):~la.run(e.bind(this))}cancelAsync(e){e<0?la.cancel(~e):oa.cancel(e)}create(e,t){var n=document.createElement(e);if(t)if(n.setProperties)n.setProperties(t);else for(var i in t)n[i]=t[i];return n}elementMatches(e,t){return pc(t||this,e)}toggleAttribute(e,t){let n=3===arguments.length?arguments[2]:this;return(t=1==arguments.length?!n.hasAttribute(e):t)?(b(n).setAttribute(e,""),!0):(b(n).removeAttribute(e),!1)}toggleClass(e,t,n){n=n||this,(t=1==arguments.length?!n.classList.contains(e):t)?n.classList.add(e):n.classList.remove(e)}transform(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}translate3d(e,t,n,i){this.transform("translate3d("+e+","+t+","+n+")",i=i||this)}arrayDelete(e,t){let n;if(Array.isArray(e)){if(0<=(n=e.indexOf(t)))return e.splice(n,1)}else if(0<=(n=Go(this,e).indexOf(t)))return this.splice(e,n,1);return null}_logger(e,t){switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":console[e](...t)}}_log(...e){this._logger("log",e)}_warn(...e){this._logger("warn",e)}_error(...e){this._logger("error",e)}_logf(e,...t){return["[%s::%s]",this.is,e,...t]}}return o.prototype.is="",o}),kc={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,listeners:!0,hostAttributes:!0},Ic={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0,_noAccessors:!0},Lc=Object.assign({listeners:!0,hostAttributes:!0,properties:!0,observers:!0},Ic);function $c(e,t,n,i){var r,o=t,a=e,s=i,l=o._noAccessors,c=Object.getOwnPropertyNames(o);for(let e=0;e<c.length;e++){var u,d=c[e];d in s||(l?a[d]=o[d]:(u=Object.getOwnPropertyDescriptor(o,d))&&(u.configurable=!0,Object.defineProperty(a,d,u)))}for(r in kc)t[r]&&(n[r]=n[r]||[],n[r].push(t[r]))}function Nc(e,t){for(const r in t){var n=e[r],i=t[r];e[r]=!("value"in i)&&n&&"value"in n?Object.assign({value:n.value},i):i}}const Fc=Bc(HTMLElement);function Oc(r,e,t){let o;const a={};class i extends e{static _finalizeClass(){if(this.hasOwnProperty(JSCompiler_renameProperty("generatedFrom",this))){if(o)for(let e,t=0;t<o.length;t++)(e=o[t]).properties&&this.createProperties(e.properties),e.observers&&this.createObservers(e.observers,e.properties);r.properties&&this.createProperties(r.properties),r.observers&&this.createObservers(r.observers,r.properties),this._prepareTemplate()}else e._finalizeClass.call(this)}static get properties(){var t={};if(o)for(let e=0;e<o.length;e++)Nc(t,o[e].properties);return Nc(t,r.properties),t}static get observers(){let n=[];if(o)for(let e,t=0;t<o.length;t++)(e=o[t]).observers&&(n=n.concat(e.observers));return n=r.observers?n.concat(r.observers):n}created(){super.created();var t=a.created;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}_registered(){var e=i.prototype;if(!e.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",e))){e.__hasRegisterFinished=!0,super._registered(),oo&&s(e);var n=Object.getPrototypeOf(this);let t=a.beforeRegister;if(t)for(let e=0;e<t.length;e++)t[e].call(n);if(t=a.registered)for(let e=0;e<t.length;e++)t[e].call(n)}}_applyListeners(){super._applyListeners();var t=a.listeners;if(t)for(let e=0;e<t.length;e++){var n=t[e];if(n)for(var i in n)this._addMethodEventListenerToNode(this,i,n[i])}}_ensureAttributes(){var t=a.hostAttributes;if(t)for(let e=t.length-1;0<=e;e--){var n,i=t[e];for(n in i)this._ensureAttribute(n,i[n])}super._ensureAttributes()}ready(){super.ready();var t=a.ready;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}attached(){super.attached();var t=a.attached;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}detached(){super.detached();var t=a.detached;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}attributeChanged(t,n,i){super.attributeChanged();var r=a.attributeChanged;if(r)for(let e=0;e<r.length;e++)r[e].call(this,t,n,i)}}var n;t&&(Array.isArray(t)||(t=[t]),n=e.prototype.behaviors,o=function t(n,i,r){i=i||[];for(let e=n.length-1;0<=e;e--){var o=n[e];o?Array.isArray(o)?t(o,i):i.indexOf(o)<0&&(!r||r.indexOf(o)<0)&&i.unshift(o):console.warn("behavior is null, check for missing or 404 import")}return i}(t,null,n),i.prototype.behaviors=n?n.concat(t):o);const s=e=>{if(o){var t=e,n=o,i=a;for(let e=0;e<n.length;e++)$c(t,n[e],i,Lc)}$c(e,r,a,Ic)};return oo||s(i.prototype),i.generatedFrom=r,i}function Rc(e){var t="function"==typeof e?e:Rc.Class(e);return e._legacyForceObservedAttributes&&(t.prototype._legacyForceObservedAttributes=e._legacyForceObservedAttributes),customElements.define(t.is,t),t}function Hc(e,t,n,i,r){let o;r=(i=r&&(o="object"==typeof n&&null!==n)?e.__dataTemp[t]:i)!==n&&(i==i||n==n);return o&&r&&(e.__dataTemp[t]=n),r}Rc.Class=function(e,t){e||console.warn("Polymer.Class requires `info` argument");t=t?t(Fc):Fc;return(t=Oc(e,t,e.behaviors)).is=t.prototype.is=e.is,t};On=Oo(e=>class extends e{_shouldPropertyChange(e,t,n){return Hc(this,e,t,n,!0)}}),e=Oo(e=>class extends e{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(e,t,n){return Hc(this,e,t,n,this.mutableData)}});On._mutablePropertyChange=Hc;let zc=null;function Wc(){return zc}Wc.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:Wc,writable:!0}});const Yc=Za(Wc),jc=On(Yc);function Uc(t,n){for(let e=0;e<n.length;e++){var i=n[e];if(Boolean(t)!=Boolean(i.__hideTemplateChildren__))if(i.nodeType===Node.TEXT_NODE)t?(i.__polymerTextContent__=i.textContent,i.textContent=""):i.textContent=i.__polymerTextContent__;else if("slot"===i.localName)if(t)i.__polymerReplaced__=document.createComment("hidden-slot"),b(b(i).parentNode).replaceChild(i.__polymerReplaced__,i);else{const t=i.__polymerReplaced__;t&&b(b(t).parentNode).replaceChild(i,t)}else i.style&&(t?(i.__polymerDisplay__=i.style.display,i.style.display="none"):i.style.display=i.__polymerDisplay__);i.__hideTemplateChildren__=t,i._showHideChildren&&i._showHideChildren(t)}}class Gc extends Za(class{}){constructor(e){super(),this._configureProperties(e),this.root=this._stampTemplate(this.__dataHost);var t=[];this.children=t;for(let e=this.root.firstChild;e;e=e.nextSibling)t.push(e),e.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);var n=this.__templatizeOptions;(e&&n.instanceProps||!n.instanceProps)&&this._enableProperties()}_configureProperties(e){if(this.__templatizeOptions.forwardHostProp)for(var t in this.__hostProps)this._setPendingProperty(t,this.__dataHost["_host_"+t]);for(var n in e)this._setPendingProperty(n,e[n])}forwardHostProp(e,t){this._setPendingPropertyOrPath(e,t,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(e,t,n){var i;this._methodHost&&this.__templatizeOptions.parentModel?this._methodHost._addEventListenerToNode(e,t,e=>{e.model=this,n(e)}):(i=this.__dataHost.__dataHost)&&i._addEventListenerToNode(e,t,n)}_showHideChildren(e){Uc(e,this.children)}_setUnmanagedPropertyToNode(e,t,n){e.__hideTemplateChildren__&&e.nodeType==Node.TEXT_NODE&&"textContent"==t?e.__polymerTextContent__=n:super._setUnmanagedPropertyToNode(e,t,n)}get parentModel(){let e=this.__parentModel;if(!e){var t;for(e=this;(t=(e=e.__dataHost.__dataHost).__templatizeOptions)&&!t.parentModel;);this.__parentModel=e}return e}dispatchEvent(e){return!0}}Gc.prototype.__dataHost,Gc.prototype.__templatizeOptions,Gc.prototype._methodHost,Gc.prototype.__templatizeOwner,Gc.prototype.__hostProps;const Vc=On(Gc);function qc(e){e=e.__dataHost;return e&&e._methodHost||e}function Xc(e,t,n){let i=n.mutableData?Vc:Gc;var r,o=class extends(i=Jc.mixin?Jc.mixin(i):i){},a=(o.prototype.__templatizeOptions=n,o.prototype._bindTemplate(e),o),s=t,l=n,c=s.hostProps||{};for(r in l.instanceProps){delete c[r];var u=l.notifyInstanceProp;u&&a.prototype._addPropertyEffect(r,a.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:function(i){return function(e,t,n){i.call(e.__templatizeOwner,e,t,n[t])}}((r,u))})}if(l.forwardHostProp&&e.__dataHost)for(var d in c)s.hasHostProps||(s.hasHostProps=!0),a.prototype._addPropertyEffect(d,a.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:function(e,t,n){e.__dataHost._setPendingPropertyOrPath("_host_"+t,n[t],!0,!0)}});return o}function Zc(t,n,i,r){var o=i.forwardHostProp;if(o&&n.hasHostProps){var a,s="template"==t.localName;let e=n.templatizeTemplateClass;if(!e){if(s){class r extends(i.mutableData?jc:Yc){}e=n.templatizeTemplateClass=r}else{const i=t.constructor;class r extends i{}e=n.templatizeTemplateClass=r}for(a in n.hostProps)e.prototype._addPropertyEffect("_host_"+a,e.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:function(i){return function(e,t,n){i.call(e.__templatizeOwner,t.substring(6),n[t])}}((a,o))}),e.prototype._createNotifyingProperty("_host_"+a);if(ao&&r){var l=i;const d=r.constructor._properties,p=n["propertyEffects"],h=l["instanceProps"];for(var c in p)if(!(d[c]||h&&h[c])){const l=p[c];for(let e=0;e<l.length;e++){const d=l[e].info["part"];if(!d.signature||!d.signature.static){console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}}if(t.__dataProto&&Object.assign(t.__data,t.__dataProto),s)i=e,zc=t,Object.setPrototypeOf(t,i.prototype),new i,zc=null,t.__dataTemp={},t.__dataPending=null,t.__dataOld=null,t._enableProperties();else{Object.setPrototypeOf(t,e.prototype);const i=n.hostProps;for(var u in i)if(u="_host_"+u,u in t){const i=t[u];delete t[u],t.__data[u]=i}}}}function Jc(e,t,n){if(io&&!qc(e))throw new Error("strictTemplatePolicy: template owner not trusted");if(n=n||{},e.__templatizeOwner)throw new Error("A <template> can only be templatized once");let i=((e.__templatizeOwner=t)?t.constructor:Gc)._parseTemplate(e),r=i.templatizeInstanceClass;r||(r=Xc(e,i,n),i.templatizeInstanceClass=r);var o=qc(e),n=(Zc(e,i,n,o),class extends r{});return n.prototype._methodHost=o,n.prototype.__dataHost=e,n.prototype.__templatizeOwner=t,n.prototype.__hostProps=i.hostProps,n}let Kc=!1;function Qc(){var e;return oo&&!Kr&&(Kc||(Kc=!0,(e=document.createElement("style")).textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(e)),1)}In=Hs(e(Za(HTMLElement))),customElements.define("dom-bind",class extends In{static get observedAttributes(){return["mutable-data"]}constructor(){if(super(),io)throw new Error("strictTemplatePolicy: dom-bind not allowed");this.root=null,this.$=null,this.__children=null}attributeChangedCallback(e,t,n,i){this.mutableData=!0}connectedCallback(){Qc()||(this.style.display="none"),this.render()}disconnectedCallback(){this.__removeChildren()}__insertChildren(){b(b(this).parentNode).insertBefore(this.root,this)}__removeChildren(){if(this.__children)for(let e=0;e<this.__children.length;e++)this.root.appendChild(this.__children[e])}render(){let t;if(!this.__children){if(!(t=t||this.querySelector("template"))){let e=new MutationObserver(()=>{if(!(t=this.querySelector("template")))throw new Error("dom-bind requires a <template> child");e.disconnect(),this.render()});return void e.observe(this,{childList:!0})}this.root=this._stampTemplate(t),this.$=this.root.$,this.__children=[];for(let e=this.root.firstChild;e;e=e.nextSibling)this.__children[this.__children.length]=e;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}}),Ln=e(ts);class eu extends Ln{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!ho,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let e=0;e<this.__instances.length;e++)this.__detachInstance(e);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),Qc()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;var t=b(b(this).parentNode);for(let e=0;e<this.__instances.length;e++)this.__attachInstance(e,t);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){var e=this.template=this._templateInfo?this:this.querySelector("template");if(!e){let e=new MutationObserver(()=>{if(!this.querySelector("template"))throw new Error("dom-repeat requires a <template> child");e.disconnect(),this.__render()});return e.observe(this,{childList:!0}),!1}var t={};t[this.as]=!0,t[this.indexAs]=!0,t[this.itemsIndexAs]=!0,this.__ctor=Jc(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:t,forwardHostProp:function(n,i){var r=this.__instances;for(let e,t=0;t<r.length&&(e=r[t]);t++)e.forwardHostProp(n,i)},notifyInstanceProp:function(e,t,n){var i,r;((i=this.as)===(r=t)||zo(i,r)||Wo(i,r))&&(i=e[this.itemsIndexAs],t==this.as&&(this.items[i]=n),r=Yo(this.as,JSCompiler_renameProperty("items",this)+"."+i,t),this.notifyPath(r,n))}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(n){if("string"!=typeof n)return n;{let e=n,t=this.__getMethodHost();return function(){return t[e].apply(t,arguments)}}}__sortChanged(e){this.__sortFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__filterChanged(e){this.__filterFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(e){return Math.ceil(1e3/e)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(t){if(this.__sortFn||this.__filterFn)if(t){if(this.__observePaths){var n=this.__observePaths;for(let e=0;e<n.length;e++)0===t.indexOf(n[e])&&this.__debounceRender(this.__render,this.delay)}}else this.__debounceRender(this.__render,this.delay)}__itemsChanged(e){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(e.path,e.value)||("items"===e.path&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(e,t=0){this.__renderDebouncer=ns.debounce(this.__renderDebouncer,0<t?oa.after(t):la,e.bind(this)),rs(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),js()}__render(){var e,t,n;this.__ensureTemplatized()&&(e=this.items||[],t=this.__sortAndFilterItems(e),n=this.__calculateLimit(t.length),this.__updateInstances(e,n,t),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame(()=>{this.__chunkingId=null,this.__continueChunking()})),this._setRenderedItemCount(this.__instances.length),ho&&!this.notifyDomChange||this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})))}__sortAndFilterItems(i){let t=new Array(i.length);for(let e=0;e<i.length;e++)t[e]=e;return this.__filterFn&&(t=t.filter((e,t,n)=>this.__filterFn(i[e],t,n))),this.__sortFn&&t.sort((e,t)=>this.__sortFn(i[e],i[t])),t}__calculateLimit(t){let n=t;var i=this.__instances.length;if(this.initialCount){let e;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(n=Math.min(t,this.initialCount),e=Math.max(n-i,0),this.__chunkCount=e||1):(e=Math.min(Math.max(t-i,0),this.__chunkCount),n=Math.min(i+e,t)),this.__shouldMeasureChunk=e===this.__chunkCount,this.__shouldContinueChunking=n<t,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,n}__continueChunking(){var e;this.__shouldMeasureChunk&&(e=performance.now()-this.__renderStartTime,e=this._targetFrameTime/e,this.__chunkCount=Math.round(this.__chunkCount*e)||1),this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(e,t,n){var i=this.__itemsIdxToInstIdx={};let r;for(r=0;r<t;r++){var o=this.__instances[r],a=n[r],s=e[a];i[a]=r,o?(o._setPendingProperty(this.as,s),o._setPendingProperty(this.indexAs,r),o._setPendingProperty(this.itemsIndexAs,a),o._flushProperties()):this.__insertInstance(s,r,a)}for(let e=this.__instances.length-1;e>=r;e--)this.__detachAndRemoveInstance(e)}__detachInstance(e){var t=this.__instances[e],n=b(t.root);for(let e=0;e<t.children.length;e++){var i=t.children[e];n.appendChild(i)}return t}__attachInstance(e,t){e=this.__instances[e];t.insertBefore(e.root,this)}__detachAndRemoveInstance(e){this.__detachInstance(e),this.__instances.splice(e,1)}__stampInstance(e,t,n){var i={};return i[this.as]=e,i[this.indexAs]=t,i[this.itemsIndexAs]=n,new this.__ctor(i)}__insertInstance(e,t,n){e=this.__stampInstance(e,t,n),n=this.__instances[t+1],n=n?n.children[0]:this;return b(b(this).parentNode).insertBefore(e.root,n),this.__instances[t]=e}_showHideChildren(t){for(let e=0;e<this.__instances.length;e++)this.__instances[e]._showHideChildren(t)}__handleItemPath(e,t){var e=e.slice(6),n=e.indexOf("."),i=n<0?e:e.substring(0,n);if(i==parseInt(i,10))return e=n<0?"":e.substring(n+1),this.__handleObservedPaths(e),n=this.__itemsIdxToInstIdx[i],(i=this.__instances[n])&&(n=this.as+(e?"."+e:""),i._setPendingPropertyOrPath(n,t,!1,!0),i._flushProperties()),!0}itemForElement(e){e=this.modelForElement(e);return e&&e[this.as]}indexForElement(e){e=this.modelForElement(e);return e&&e[this.indexAs]}modelForElement(e){for(var t,n=this.template,i=e;i;)if(t=i.__dataHost?i:i.__templatizeInstance){if(t.__dataHost==n)return t;i=t.__dataHost}else i=b(i).parentNode;return null}}customElements.define(eu.is,eu);class tu extends ts{static get is(){return"dom-if"}static get template(){return null}static get properties(){return{if:{type:Boolean,observer:"__debounceRender"},restamp:{type:Boolean,observer:"__debounceRender"},notifyDomChange:{type:Boolean}}}constructor(){super(),this.__renderDebouncer=null,this._lastIf=!1,this.__hideTemplateChildren__=!1,this.__template,this._templateInfo}__debounceRender(){this.__renderDebouncer=ns.debounce(this.__renderDebouncer,la,()=>this.__render()),rs(this.__renderDebouncer)}disconnectedCallback(){super.disconnectedCallback();var e=b(this).parentNode;e&&(e.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||b(e).host)||this.__teardownInstance()}connectedCallback(){super.connectedCallback(),Qc()||(this.style.display="none"),this.if&&this.__debounceRender()}__ensureTemplate(){if(!this.__template){var e=this._templateInfo?this:b(this).querySelector("template");if(!e){let e=new MutationObserver(()=>{if(!b(this).querySelector("template"))throw new Error("dom-if requires a <template> child");e.disconnect(),this.__render()});return e.observe(this,{childList:!0}),!1}this.__template=e}return!0}__ensureInstance(){var n=b(this).parentNode;if(this.__hasInstance()){var i=this.__getInstanceNodes();if(i&&i.length&&b(this).previousSibling!==i[i.length-1])for(let e,t=0;t<i.length&&(e=i[t]);t++)b(n).insertBefore(e,this)}else{if(!n)return!1;if(!this.__ensureTemplate())return!1;this.__createAndInsertInstance(n)}return!0}render(){js()}__render(){if(this.if){if(!this.__ensureInstance())return}else this.restamp&&this.__teardownInstance();this._showHideChildren(),ho&&!this.notifyDomChange||this.if==this._lastIf||(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)}__hasInstance(){}__getInstanceNodes(){}__createAndInsertInstance(e){}__teardownInstance(){}_showHideChildren(){}}$n=po?class extends tu{constructor(){super(),this.__instance=null,this.__syncInfo=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.templateInfo.childNodes}__createAndInsertInstance(e){var t=this.__dataHost||this;if(io&&!this.__dataHost)throw new Error("strictTemplatePolicy: template owner not trusted");var n=t._bindTemplate(this.__template,!0);n.runEffects=(e,t,n)=>{let i=this.__syncInfo;if(this.if)i&&(this.__syncInfo=null,this._showHideChildren(),t=Object.assign(i.changedProps,t)),e(t,n);else if(this.__instance)if(i=i||(this.__syncInfo={runEffects:e,changedProps:{}}),n)for(const e in t){const t=Ho(e);i.changedProps[t]=this.__dataHost[t]}else Object.assign(i.changedProps,t)},this.__instance=t._stampTemplate(this.__template,n),b(e).insertBefore(this.__instance,this)}__syncHostProperties(){var e=this.__syncInfo;e&&(this.__syncInfo=null,e.runEffects(e.changedProps,!1))}__teardownInstance(){var e=this.__dataHost||this;this.__instance&&(e._removeBoundDom(this.__instance),this.__instance=null,this.__syncInfo=null)}_showHideChildren(){var e=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==e&&Uc(this.__instance.__hidden=e,this.__instance.templateInfo.childNodes),e||this.__syncHostProperties()}}:class extends tu{constructor(){super(),this.__ctor=null,this.__instance=null,this.__invalidProps=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.children}__createAndInsertInstance(e){this.__ctor||(this.__ctor=Jc(this.__template,this,{mutableData:!0,forwardHostProp:function(e,t){this.__instance&&(this.if?this.__instance.forwardHostProp(e,t):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[Ho(e)]=!0))}})),this.__instance=new this.__ctor,b(e).insertBefore(this.__instance.root,this)}__teardownInstance(){if(this.__instance){var n=this.__instance.children;if(n&&n.length){var i=b(n[0]).parentNode;if(i){i=b(i);for(let e,t=0;t<n.length&&(e=n[t]);t++)i.removeChild(e)}}this.__invalidProps=null,this.__instance=null}}__syncHostProperties(){var e=this.__invalidProps;if(e){for(var t in this.__invalidProps=null,e)this.__instance._setPendingProperty(t,this.__dataHost[t]);this.__instance._flushProperties()}}_showHideChildren(){var e=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==e&&(this.__instance.__hidden=e,this.__instance._showHideChildren(e)),e||this.__syncHostProperties()}};customElements.define($n.is,$n);class nu extends Oo(e=>{return class extends es(e){static get properties(){return{items:{type:Array},multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}static get observers(){return["__updateSelection(multi, items.*)"]}constructor(){super(),this.__lastItems=null,this.__lastMulti=null,this.__selectedMap=null}__updateSelection(e,t){var n,i,r=t.path;r==JSCompiler_renameProperty("items",this)?(i=t.base||[],n=this.__lastItems,e!==this.__lastMulti&&this.clearSelection(),n&&(n=cc(i,n),this.__applySplices(n)),this.__lastItems=i,this.__lastMulti=e):t.path==JSCompiler_renameProperty("items",this)+".splices"?this.__applySplices(t.value.indexSplices):(n=r.slice((JSCompiler_renameProperty("items",this)+".").length),i=parseInt(n,10),n.indexOf(".")<0&&n==i&&this.__deselectChangedIdx(i))}__applySplices(t){let i=this.__selectedMap;for(let e=0;e<t.length;e++){let n=t[e];i.forEach((e,t)=>{e<n.index||(e>=n.index+n.removed.length?i.set(t,e+n.addedCount-n.removed.length):i.set(t,-1))});for(let e=0;e<n.addedCount;e++){var r=n.index+e;i.has(this.items[r])&&i.set(this.items[r],r)}}this.__updateLinks();let n=0;i.forEach((e,t)=>{e<0?(this.multi?this.splice(JSCompiler_renameProperty("selected",this),n,1):this.selected=this.selectedItem=null,i.delete(t)):n++})}__updateLinks(){if(this.__dataLinkedPaths={},this.multi){let t=0;this.__selectedMap.forEach(e=>{0<=e&&this.linkPaths(JSCompiler_renameProperty("items",this)+"."+e,JSCompiler_renameProperty("selected",this)+"."+t++)})}else this.__selectedMap.forEach(e=>{this.linkPaths(JSCompiler_renameProperty("selected",this),JSCompiler_renameProperty("items",this)+"."+e),this.linkPaths(JSCompiler_renameProperty("selectedItem",this),JSCompiler_renameProperty("items",this)+"."+e)})}clearSelection(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}isSelected(e){return this.__selectedMap.has(e)}isIndexSelected(e){return this.isSelected(this.items[e])}__deselectChangedIdx(e){let i=this.__selectedIndexForItemIndex(e);if(0<=i){let n=0;this.__selectedMap.forEach((e,t)=>{i==n++&&this.deselect(t)})}}__selectedIndexForItemIndex(e){e=this.__dataLinkedPaths[JSCompiler_renameProperty("items",this)+"."+e];if(e)return parseInt(e.slice((JSCompiler_renameProperty("selected",this)+".").length),10)}deselect(t){var n=this.__selectedMap.get(t);if(0<=n){let e;this.__selectedMap.delete(t),this.multi&&(e=this.__selectedIndexForItemIndex(n)),this.__updateLinks(),this.multi?this.splice(JSCompiler_renameProperty("selected",this),e,1):this.selected=this.selectedItem=null}}deselectIndex(e){this.deselect(this.items[e])}select(e){this.selectIndex(this.items.indexOf(e))}selectIndex(e){var t=this.items[e];this.isSelected(t)?this.toggle&&this.deselectIndex(e):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(t,e),this.__updateLinks(),this.multi?this.push(JSCompiler_renameProperty("selected",this),t):this.selected=this.selectedItem=t)}}})(ts){static get is(){return"array-selector"}static get template(){return null}}customElements.define(nu.is,nu),Bc(HTMLElement).prototype,Rc({is:"iron-media-query",properties:{queryMatches:{type:Boolean,value:!1,readOnly:!0,notify:!0},query:{type:String,observer:"queryChanged"},full:{type:Boolean,value:!1},_boundMQHandler:{value:function(){return this.queryHandler.bind(this)}},_mq:{value:null}},attached:function(){this.style.display="none",this.queryChanged()},detached:function(){this._remove()},_add:function(){this._mq&&this._mq.addListener(this._boundMQHandler)},_remove:function(){this._mq&&this._mq.removeListener(this._boundMQHandler),this._mq=null},queryChanged:function(){this._remove();var e=this.query;e&&(this.full||"("===e[0]||(e="("+e+")"),this._mq=window.matchMedia(e),this._add(),this.queryHandler(this._mq))},queryHandler:function(e){this._setQueryMatches(e.matches)}});const iu=Element.prototype,ru=iu.matches||iu.matchesSelector||iu.mozMatchesSelector||iu.msMatchesSelector||iu.oMatchesSelector||iu.webkitMatchesSelector;class ou{static getTabbableNodes(e){var t=[];return this._collectTabbableNodes(e,t)?this._sortByTabIndex(t):t}static isFocusable(e){return ru.call(e,"input, select, textarea, button, object")?ru.call(e,":not([disabled])"):ru.call(e,"a[href], area[href], iframe, [tabindex], [contentEditable]")}static isTabbable(e){return this.isFocusable(e)&&ru.call(e,':not([tabindex="-1"])')&&this._isVisible(e)}static _normalizedTabIndex(e){return this.isFocusable(e)?(e=e.getAttribute("tabindex")||0,Number(e)):-1}static _collectTabbableNodes(e,t){if(e.nodeType!==Node.ELEMENT_NODE||!this._isVisible(e))return!1;var n=this._normalizedTabIndex(e);let i,r=0<n;if(0<=n&&t.push(e),i="slot"===e.localName?e.assignedNodes({flatten:!0}):(e.shadowRoot||e).children)for(let e=0;e<i.length;e++)r=this._collectTabbableNodes(i[e],t)||r;return r}static _isVisible(e){var t=e.style;return"hidden"!==t.visibility&&"none"!==t.display&&"hidden"!==(t=window.getComputedStyle(e)).visibility&&"none"!==t.display}static _sortByTabIndex(e){var t,n=e.length;return n<2?e:(n=Math.ceil(n/2),t=this._sortByTabIndex(e.slice(0,n)),e=this._sortByTabIndex(e.slice(n)),this._mergeSortByTabIndex(t,e))}static _mergeSortByTabIndex(e,t){for(var n=[];0<e.length&&0<t.length;)this._hasLowerTabOrder(e[0],t[0])?n.push(t.shift()):n.push(e.shift());return n.concat(e,t)}static _hasLowerTabOrder(e,t){e=Math.max(e.tabIndex,0),t=Math.max(t.tabIndex,0);return 0===e||0===t?e<t:t<e}}let au=0;const su={};class lu extends Ws(Js(ts)){static get template(){return Lo`
|
|
1279
1279
|
<style>
|
|
1280
1280
|
:host {
|
|
1281
1281
|
z-index: 200;
|