@everymatrix/player-account-controller 0.0.198 → 0.0.199

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@everymatrix/player-profile-info/PlayerProfileInfo.svelte")):"function"==typeof define&&define.amd?define(["@everymatrix/player-profile-info/PlayerProfileInfo.svelte"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function yt(){}const f=e=>e;function d(e){return e()}function u(){return Object.create(null)}function _t(e){e.forEach(d)}function ne(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function h(e,...t){if(null==e)return yt;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function R(e,t,n){e.$$.on_destroy.push(h(t,n))}var e="undefined"!=typeof window;let g=e?()=>window.performance.now():()=>Date.now(),y=e?e=>requestAnimationFrame(e):yt;const _=new Set;function b(t){_.forEach(e=>{e.c(t)||(_.delete(e),e.f())}),0!==_.size&&y(b)}function bt(e,t){e.appendChild(t)}function vt(e,t,n){e.insertBefore(t,n||null)}function wt(e){e.parentNode.removeChild(e)}function xt(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Ct(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Pt(e){return document.createTextNode(e)}function At(){return Pt(" ")}function k(){return Pt("")}function Tt(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function G(t){return function(e){return e.preventDefault(),t.call(this,e)}}function St(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function V(e,t,n){t in e?e[t]=n:St(e,t,n)}function F(e){return""===e?null:+e}function q(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Et(e,t){e.value=null==t?"":t}function v(e,t,n,i){e.style.setProperty(t,n,i?"important":"")}function Mt(t,n){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===n)return i.selected=!0,0}}function X(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const w=new Set;let p,x=0;function C(e,t,n,i,o,r,s,a=0){var l=16.666/i;let c="{\n";for(let e=0;e<=1;e+=l){const i=t+(n-t)*r(e);c+=100*e+`%{${s(i,1-i)}}\n`}const d=c+`100% {${s(n,1-n)}}\n}`,u=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_${a}`,h=e.ownerDocument;w.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(Ct("style")).sheet),m=h.__svelte_rules||(h.__svelte_rules={});m[u]||(m[u]=!0,p.insertRule(`@keyframes ${u} ${d}`,p.cssRules.length));a=e.style.animation||"";return e.style.animation=`${a?`${a}, `:""}${u} ${i}ms linear ${o}ms 1 both`,x+=1,u}function m(e){p=e}function Z(e){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(e)}const P=[],J=[],o=[],r=[],s=Promise.resolve();let a=!1;function A(){a||(a=!0,s.then(T))}function H(){return A(),s}function Dt(e){o.push(e)}let l=!1;const c=new Set;function T(){if(!l){l=!0;do{for(let e=0;e<P.length;e+=1){var t=P[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),_t(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Dt))}}(t.$$)}for(m(null),P.length=0;J.length;)J.pop()();for(let e=0;e<o.length;e+=1){const n=o[e];c.has(n)||(c.add(n),n())}}while(o.length=0,P.length);for(;r.length;)r.pop()();a=!1,l=!1,c.clear()}}let S;function E(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${n}`))}const M=new Set;let D;function I(e,t){e&&e.i&&(M.delete(e),e.i(t))}function L(e,t,n,i){e&&e.o&&(M.has(e)||(M.add(e),D.c.push(()=>{M.delete(e),i&&(n&&e.d(1),i())}),e.o(t)))}const O={duration:0};function N(a,e,t,n){let l=e(a,t),c=n?0:1,d=null,u=null,h=null;function p(){h&&function(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),o=n.length-i.length;o&&(e.style.animation=i.join(", "),x-=o,x||y(()=>{x||(w.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),w.clear())}))}(a,h)}function m(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:i=f,tick:o=yt,css:r}=l||O,s={start:g()+t,b:e};e||(s.group=D,D.r+=1),d||u?u=s:(r&&(p(),h=C(a,c,e,n,t,i,r)),e&&o(0,1),d=m(s,n),Dt(()=>E(a,e,"start")),function(t){let n;0===_.size&&y(b),new Promise(e=>{_.add(n={c:t,f:e})})}(e=>{return u&&e>u.start&&(d=m(u,n),u=null,E(a,d.b,"start"),r&&(p(),h=C(a,c,d.b,d.duration,0,i,l.css))),d&&(e>=d.end?(o(c=d.b,1-c),E(a,d.b,"end"),u||(d.b?p():--d.group.r||_t(d.group.c)),d=null):e>=d.start&&(e=e-d.start,c=d.a+d.d*i(e/d.duration),o(c,1-c))),!(!d&&!u)}))}return{run(e){ne(l)?(S||(S=Promise.resolve(),S.then(()=>{S=null})),S.then(()=>{l=l(),i(e)})):i(e)},end(){p(),d=u=null}}}function B(i,e,t,n,o,r,s=[-1]){var a=p;m(i);const l=i.$$={fragment:null,ctx:null,props:r,update:yt,not_equal:o,bound:u(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:e.context||[]),callbacks:u(),dirty:s,skip_bound:!1};let c=!1;if(l.ctx=t?t(i,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&o(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=i).$$.dirty[0]&&(P.push(e),A(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,_t(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const yt=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(yt),yt.forEach(wt)}else l.fragment&&l.fragment.c();e.intro&&I(i.$$.fragment),function(t,e,n,i){const{fragment:o,on_mount:r,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,n),i||Dt(()=>{var e=r.map(d).filter(ne);s?s.push(...e):_t(e),t.$$.on_mount=[]}),a.forEach(Dt)}(i,e.target,e.anchor,e.customElement),T()}m(a)}let $;"function"==typeof HTMLElement&&($=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(ne);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){_t(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(_t(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=yt}$on(e,t){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 z,W,Y="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Y&&Y,U="URLSearchParams"in Y,j="Symbol"in Y&&"iterator"in Symbol,K="FileReader"in Y&&"Blob"in Y&&function(){try{return new Blob,!0}catch(e){return!1}}(),Q="FormData"in Y,ee="ArrayBuffer"in Y;function te(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 ie(e){return e="string"!=typeof e?String(e):e}function oe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return j&&(e[Symbol.iterator]=function(){return e}),e}function re(t){this.map={},t instanceof re?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 se(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ae(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function le(e){var t=new FileReader,n=ae(t);return t.readAsArrayBuffer(e),n}function ce(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function de(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:K&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:U&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ee&&K&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ce(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||W(e))?this._bodyArrayBuffer=ce(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):U&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},K&&(this.blob=function(){var e=se(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?se(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(le)}),this.text=function(){var e,t,n=se(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ae(t),t.readAsText(e),n;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)},Q&&(this.formData=function(){return this.text().then(pe)}),this.json=function(){return this.text().then(JSON.parse)},this}ee&&(z=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],W=ArrayBuffer.isView||function(e){return e&&-1<z.indexOf(Object.prototype.toString.call(e))}),re.prototype.append=function(e,t){e=te(e),t=ie(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},re.prototype.delete=function(e){delete this.map[te(e)]},re.prototype.get=function(e){return e=te(e),this.has(e)?this.map[e]:null},re.prototype.has=function(e){return this.map.hasOwnProperty(te(e))},re.prototype.set=function(e,t){this.map[te(e)]=ie(t)},re.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},re.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),oe(n)},re.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),oe(t)},re.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),oe(n)},j&&(re.prototype[Symbol.iterator]=re.prototype.entries);var ue=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function he(e,t){if(!(this instanceof he))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 he){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new re(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 re(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<ue.indexOf(e)?e:n),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||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function pe(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function me(e,t){if(!(this instanceof me))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 re(t.headers),this.url=t.url||"",this._initBody(e)}he.prototype.clone=function(){return new he(this,{body:this._bodyInit})},de.call(he.prototype),de.call(me.prototype),me.prototype.clone=function(){return new me(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new re(this.headers),url:this.url})},me.error=function(){var e=new me(null,{status:0,statusText:""});return e.type="error",e};var fe=[301,302,303,307,308];me.redirect=function(e,t){if(-1===fe.indexOf(t))throw new RangeError("Invalid status code");return new me(null,{status:t,headers:{location:e}})};var ge=Y.DOMException;try{new ge}catch(yt){(ge=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),ge.prototype.constructor=ge}function ye(i,s){return new Promise(function(o,e){var t=new he(i,s);if(t.signal&&t.signal.aborted)return e(new ge("Aborted","AbortError"));var r=new XMLHttpRequest;function n(){r.abort()}r.onload=function(){var e,n,t={status:r.status,statusText:r.statusText,headers:(e=r.getAllResponseHeaders()||"",n=new re,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in r?r.responseURL:t.headers.get("X-Request-URL");var i="response"in r?r.response:r.responseText;setTimeout(function(){o(new me(i,t))},0)},r.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.onabort=function(){setTimeout(function(){e(new ge("Aborted","AbortError"))},0)},r.open(t.method,function(t){try{return""===t&&Y.location.href?Y.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?r.withCredentials=!0:"omit"===t.credentials&&(r.withCredentials=!1),"responseType"in r&&(K?r.responseType="blob":ee&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(r.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof re?t.headers.forEach(function(e,t){r.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){r.setRequestHeader(e,ie(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),r.onreadystatechange=function(){4===r.readyState&&t.signal.removeEventListener("abort",n)}),r.send(void 0===t._bodyInit?null:t._bodyInit)})}function kn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ye.polyfill=!0,Y.fetch||(Y.fetch=ye,Y.Headers=re,Y.Request=he,Y.Response=me),self.fetch.bind(self);var _e=function(e,t){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function be(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}_e(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ve(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 we(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(i=r.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function xe(e,t){for(var n=0,i=t.length,o=e.length;n<i;n++,o++)e[o]=t[n];return e}function Ce(e){return"function"==typeof e}function Pe(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 Ae=Pe(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 Te(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Se=(Me.prototype.unsubscribe=function(){var e,t,n,i,o;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var s=ve(r),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else r.remove(this);r=this.initialTeardown;if(Ce(r))try{r()}catch(e){o=e instanceof Ae?e.errors:[e]}r=this._teardowns;if(r){this._teardowns=null;try{for(var l=ve(r),c=l.next();!c.done;c=l.next()){var d=c.value;try{ke(d)}catch(e){o=null!=o?o:[],e instanceof Ae?o=xe(xe([],we(o)),we(e.errors)):o.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(o)throw new Ae(o)}},Me.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ke(e);else{if(e instanceof Me){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Me.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Me.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Me.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Te(t,e)},Me.prototype.remove=function(e){var t=this._teardowns;t&&Te(t,e),e instanceof Me&&e._removeParent(this)},Me.EMPTY=((pn=new Me).closed=!0,pn),Me),Ee=Se.EMPTY;function Me(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function De(e){return e instanceof Se||e&&"closed"in e&&Ce(e.remove)&&Ce(e.add)&&Ce(e.unsubscribe)}function ke(e){Ce(e)?e():e.unsubscribe()}var Ie=void 0,Le=!1,Oe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,xe([],we(e)))};function Ne(){}function Be(e){e()}var Re,Fe,$e=(be(Ye,Fe=Se),Ye.create=function(e,t,n){return new ze(e,t,n)},Ye.prototype.next=function(e){this.isStopped||this._next(e)},Ye.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ye.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ye.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Fe.prototype.unsubscribe.call(this),this.destination=null)},Ye.prototype._next=function(e){this.destination.next(e)},Ye.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ye.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ye),ze=(be(We,Re=$e),We);function We(e,t,n){var i,o,r=Re.call(this)||this;return Ce(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,r&&Le?(i=Object.create(e)).unsubscribe=function(){return r.unsubscribe()}:i=e,o=null==o?void 0:o.bind(i),t=null==t?void 0:t.bind(i),n=null==n?void 0:n.bind(i)),r.destination={next:o?He(o):Ne,error:He(null!=t?t:Ue),complete:n?He(n):Ne},r}function Ye(e){var t=Fe.call(this)||this;return t.isStopped=!1,e?De(t.destination=e)&&e.add(t):t.destination=je,t}function He(i){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{i.apply(void 0,xe([],we(e)))}catch(e){t=e,Oe(function(){throw t})}}}function Ue(e){throw e}var je={closed:!0,next:Ne,error:Ue,complete:Ne},Ge="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ve(e){return e}var qe=(Xe.prototype.lift=function(e){var t=new Xe;return t.source=this,t.operator=e,t},Xe.prototype.subscribe=function(e,t,n){var i,o=this,r=(i=e)&&i instanceof $e||i&&Ce(i.next)&&Ce(i.error)&&Ce(i.complete)&&De(i)?e:new ze(e,t,n);return Be(function(){var e=o.operator,t=o.source;r.add(e?e.call(r,t):t?o._subscribe(r):o._trySubscribe(r))}),r},Xe.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Xe.prototype.forEach=function(i,e){var o=this;return new(e=Ze(e))(function(e,t){var n=o.subscribe(function(e){try{i(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},Xe.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Xe.prototype[Ge]=function(){return this},Xe.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Ve:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Xe.prototype.toPromise=function(e){var i=this;return new(e=Ze(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Xe.create=function(e){return new Xe(e)},Xe);function Xe(e){e&&(this._subscribe=e)}function Ze(e){return null!==(e=null!=e?e:Ie)&&void 0!==e?e:Promise}var Je,Ke,Qe,et=Pe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),tt=(be(at,Qe=qe),at.prototype.lift=function(e){var t=new nt(this,this);return t.operator=e,t},at.prototype._throwIfClosed=function(){if(this.closed)throw new et},at.prototype.next=function(r){var s=this;Be(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var i=ve(n),o=i.next();!o.done;o=i.next())o.value.next(r)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},at.prototype.error=function(t){var n=this;Be(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)}})},at.prototype.complete=function(){var t=this;Be(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},at.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(at.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),at.prototype._trySubscribe=function(e){return this._throwIfClosed(),Qe.prototype._trySubscribe.call(this,e)},at.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},at.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,i=this.observers;return t||n?Ee:(i.push(e),new Se(function(){return Te(i,e)}))},at.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},at.prototype.asObservable=function(){var e=new qe;return e.source=this,e},at.create=function(e,t){return new nt(e,t)},at),nt=(be(st,Ke=tt),st.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},st.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},st.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},st.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ee},st),it={now:function(){return(it.delegate||Date).now()},delegate:void 0},ot=(be(rt,Je=tt),rt.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,o=t._infiniteTimeWindow,r=t._timestampProvider,t=t._windowTime;n||(i.push(e),o||i.push(r.now()+t)),this._trimBuffer(),Je.prototype.next.call(this,e)},rt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),o=0;o<i.length&&!e.closed;o+=n?1:2)e.next(i[o]);return this._checkFinalizedStatuses(e),t},rt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var r=t.now(),s=0,a=1;a<n.length&&n[a]<=r;a+=2)s=a;s&&n.splice(0,s+1)}},rt);function rt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=it);var i=Je.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 st(e,t){var n=Ke.call(this)||this;return n.destination=e,n.source=t,n}function at(){var e=Qe.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let lt=[],ct={};const dt=[];function ut(i,o=yt){let r;const s=[];function a(e){if(n(i,e)&&(i=e,r)){const e=!dt.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),dt.push(t,i)}if(e){for(let e=0;e<dt.length;e+=2)dt[e][0](dt[e+1]);dt.length=0}}}return{set:a,update:function(e){a(e(i))},subscribe:function(e,t=yt){const n=[e,t];return s.push(n),1===s.length&&(r=o(a)||yt),e(i),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(r(),r=null)}}}}function ht(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,d=a.length<2;return{subscribe:ut(t,t=>{let n=!1;const i=[];let o=0,r=yt;const s=()=>{var e;o||(r(),e=a(l?i[0]:i,t),d?t(e):r=ne(e)?e:yt)},e=c.map((e,t)=>h(e,e=>{i[t]=e,o&=~(1<<t),n&&s()},()=>{o|=1<<t}));return n=!0,s(),function(){_t(e),r()}}).subscribe}}var pt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===mt));var t},mt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ft(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ot(Array.isArray(e)?[]:{},e,t):e}function gt(e,t,n){return e.concat(t).map(function(e){return ft(e,n)})}function kt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function It(e,t){try{return t in e}catch(e){return!1}}function Lt(i,o,r){var s={};return r.isMergeableObject(i)&&kt(i).forEach(function(e){s[e]=ft(i[e],r)}),kt(o).forEach(function(t){var e,n;(!It(e=i,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(It(i,t)&&r.isMergeableObject(o[t])?s[t]=function(){if(!r.customMerge)return Ot;var e=r.customMerge(t);return"function"==typeof e?e:Ot}()(i[t],o[t],r):s[t]=ft(o[t],r))}),s}function Ot(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||gt,n.isMergeableObject=n.isMergeableObject||pt,n.cloneUnlessOtherwiseSpecified=ft;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):Lt(e,t,n):ft(t,n)}Ot.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Ot(e,t,n)},{})};var Nt=Ot,Bt=function(e,t){return(Bt=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 Rt(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}Bt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Ft,$t,zt,Wt=function(){return(Wt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Yt(e,t){for(var n=0,i=t.length,o=e.length;n<i;n++,o++)e[o]=t[n];return e}function Ht(e){return e.type===$t.literal}function Ut(e){return e.type===$t.number}function jt(e){return e.type===$t.date}function Gt(e){return e.type===$t.time}function Vt(e){return e.type===$t.select}function qt(e){return e.type===$t.plural}function Xt(e){return e.type===$t.tag}function Zt(e){return e&&"object"==typeof e&&e.type===zt.number}function Jt(e){return e&&"object"==typeof e&&e.type===zt.dateTime}(mn=Ft=Ft||{})[mn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",mn[mn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",mn[mn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",mn[mn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",mn[mn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",mn[mn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",mn[mn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",mn[mn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",mn[mn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",mn[mn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",mn[mn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",mn[mn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",mn[mn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",mn[mn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",mn[mn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",mn[mn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",mn[mn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",mn[mn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",mn[mn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",mn[mn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",mn[mn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",mn[mn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",mn[mn.INVALID_TAG=23]="INVALID_TAG",mn[mn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",mn[mn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",mn[mn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(fn=$t=$t||{})[fn.literal=0]="literal",fn[fn.argument=1]="argument",fn[fn.number=2]="number",fn[fn.date=3]="date",fn[fn.time=4]="time",fn[fn.select=5]="select",fn[fn.plural=6]="plural",fn[fn.pound=7]="pound",fn[fn.tag=8]="tag",(gn=zt=zt||{})[gn.number=0]="number",gn[gn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Kt=/(?:[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 Qt,en=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,tn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,nn=/^(@+)?(\+|#+)?$/g,on=/(\*)(0+)|(#+)(0+)|(0+)/g,rn=/^(0+)$/;function sn(e){var i={};return e.replace(nn,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 an(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 ln(e){return an(e)||{}}function cn(e){for(var s={},t=0,n=e;t<n.length;t++){var i,o=n[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=Wt(Wt(Wt({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return Wt(Wt({},e),ln(t))},{}));continue;case"engineering":s=Wt(Wt(Wt({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return Wt(Wt({},e),ln(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(on,function(e,t,n,i,o,r){if(t)s.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(r)throw new Error("We currently do not support exact integer digits")}return""});continue}if(rn.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(tn.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(tn,function(e,t,n,i,o,r){return"*"===n?s.minimumFractionDigits=t.length:i&&"#"===i[0]?s.maximumFractionDigits=i.length:o&&r?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+r.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=Wt(Wt({},s),sn(o.options[0])))}else nn.test(o.stem)?s=Wt(Wt({},s),sn(o.stem)):((i=an(o.stem))&&(s=Wt(Wt({},s),i)),(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)),!rn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=Wt(Wt({},s),i)))}return s}var dn=new RegExp("^"+e.source+"*"),un=new RegExp(e.source+"*$");function hn(e,t){return{start:e,end:t}}var pn=!!String.prototype.startsWith,Ge=!!String.fromCodePoint,tt=!!Object.fromEntries,mn=!!String.prototype.codePointAt,fn=!!String.prototype.trimStart,gn=!!String.prototype.trimEnd,yn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(Qt=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Qt?void 0:Qt[0])}catch(yt){e=!1}var _n,bn,vn=pn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},wn=Ge?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",o=e.length,r=0;r<o;){if(1114111<(n=e[r++]))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},xn=tt?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var o=i[n],r=o[0],o=o[1];t[r]=o}return t},Cn=mn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var i,o=e.charCodeAt(t);return o<55296||56319<o||t+1===n||(i=e.charCodeAt(t+1))<56320||57343<i?o:i-56320+(o-55296<<10)+65536}},Pn=fn?function(e){return e.trimStart()}:function(e){return e.replace(dn,"")},An=gn?function(e){return e.trimEnd()}:function(e){return e.replace(un,"")};function Tn(e,t){return new RegExp(e,t)}bn=e?(_n=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return _n.lastIndex=t,null!==(e=_n.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,i=[];;){var o=Cn(e,t);if(void 0===o||Dn(o)||(33<=(n=o)&&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(o),t+=65536<=o?2:1}return wn.apply(void 0,i)};var Sn=(En.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},En.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var o,r=this.char();if(123===r){if((o=this.parseArgument(e,n)).err)return o;i.push(o.val)}else{if(125===r&&0<e)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Ft.UNMATCHED_CLOSING_TAG,hn(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&Mn(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;i.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;i.push(o.val)}}else{r=this.clonePosition();this.bump(),i.push({type:$t.pound,location:hn(r,this.clonePosition())})}}}return{val:i,err:null}},En.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$t.literal,value:"<"+i+"/>",location:hn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Mn(this.char()))return this.error(Ft.INVALID_TAG,hn(t,this.clonePosition()));o=this.clonePosition();return i!==this.parseTagName()?this.error(Ft.UNMATCHED_CLOSING_TAG,hn(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$t.tag,value:i,children:e,location:hn(n,this.clonePosition())},err:null}:this.error(Ft.INVALID_TAG,hn(t,this.clonePosition())))}return this.error(Ft.UNCLOSED_TAG,hn(n,this.clonePosition()))}return this.error(Ft.INVALID_TAG,hn(n,this.clonePosition()))},En.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())},En.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(t);if(o)i+=o;else{o=this.tryParseUnquoted(e,t);if(o)i+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;i+=o}}}n=hn(n,this.clonePosition());return{val:{type:$t.literal,value:i,location:n},err:null}},En.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Mn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},En.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)},En.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),wn(n))},En.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ft.EMPTY_ARGUMENT,hn(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Ft.MALFORMED_ARGUMENT,hn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$t.argument,value:i,location:hn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(Ft.MALFORMED_ARGUMENT,hn(n,this.clonePosition()))}},En.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=bn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:hn(e,this.clonePosition())}},En.prototype.parseArgumentOptions=function(e,t,n,i){var o,r=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Ft.EXPECT_ARGUMENT_TYPE,hn(r,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(u=An(h.val)).length)return this.error(Ft.EXPECT_ARGUMENT_STYLE,hn(this.clonePosition(),this.clonePosition()));l={style:u,styleLocation:hn(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(i)).err)return p;var d=hn(i,this.clonePosition());if(l&&vn(null==l?void 0:l.style,"::",0)){c=Pn(l.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:$t.number,value:n,location:d,style:h.val},err:null};if(0===c.length)return this.error(Ft.EXPECT_DATE_TIME_SKELETON,d);var u={type:zt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(Kt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),o):{}};return{val:{type:"date"===s?$t.date:$t.time,value:n,location:d,style:u},err:null}}return{val:{type:"number"===s?$t.number:"date"===s?$t.date:$t.time,value:n,location:d,style:null!==(d=null==l?void 0:l.style)&&void 0!==d?d:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ft.EXPECT_SELECT_ARGUMENT_OPTIONS,hn(l,Wt({},l)));this.bumpSpace();var h,d=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(Ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,hn(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),d=this.parseIdentifierIfPossible(),l=h.val}d=this.tryParsePluralOrSelectOptions(e,s,t,d);if(d.err)return d;if((p=this.tryParseArgumentClose(i)).err)return p;var p=hn(i,this.clonePosition());return"select"===s?{val:{type:$t.select,value:n,options:xn(d.val),location:p},err:null}:{val:{type:$t.plural,value:n,options:xn(d.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null};default:return this.error(Ft.INVALID_ARGUMENT_TYPE,hn(r,a))}},En.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},En.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(Ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,hn(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}},En.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(en).filter(function(e){return 0<e.length});n<i.length;n++){var o=i[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var r=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:r,options:o})}return t}(e)}catch(e){return this.error(Ft.INVALID_NUMBER_SKELETON,t)}return{val:{type:zt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?cn(n):{}},err:null}},En.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var o=!1,r=[],s=new Set,a=i.value,l=i.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=hn(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?Ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(o=!0),this.bumpSpace();var u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,hn(this.clonePosition(),this.clonePosition()));d=this.parseMessage(e+1,t,n);if(d.err)return d;c=this.tryParseArgumentClose(u);if(c.err)return c;r.push([a,{value:d.val,location:hn(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===r.length?this.error("select"===t?Ft.EXPECT_SELECT_ARGUMENT_SELECTOR:Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,hn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Ft.MISSING_OTHER_CLAUSE,hn(this.clonePosition(),this.clonePosition())):{val:r,err:null}},En.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,r=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,r=10*r+(s-48),this.bump()}i=hn(i,this.clonePosition());return o?yn(r*=n)?{val:r,err:null}:this.error(t,i):this.error(e,i)},En.prototype.offset=function(){return this.position.offset},En.prototype.isEOF=function(){return this.offset()===this.message.length},En.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},En.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Cn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},En.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},En.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))},En.prototype.bumpIf=function(e){if(vn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},En.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},En.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},En.prototype.bumpSpace=function(){for(;!this.isEOF()&&Dn(this.char());)this.bump()},En.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},En);function En(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Mn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Dn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function In(e,t){t=Wt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Sn(e,t).parse();if(n.err){e=SyntaxError(Ft[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Vt(e)||qt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Ut(e)&&Zt(e.style)||(jt(e)||Gt(e))&&Jt(e.style)?delete e.style.location:Xt(e)&&n(e.children)})}(n.val),n.val}function Ln(e,t){var n=t&&t.cache?t.cache:zn,i=t&&t.serializer?t.serializer:Rn;return(t&&t.strategy?t.strategy:function(e,t){return Bn(e,this,1===e.length?On:Nn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function On(e,t,n,i){var o=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),n=t.get(o);return void 0===n&&(n=e.call(this,i),t.set(o,n)),n}function Nn(e,t,n){var i=Array.prototype.slice.call(arguments,3),o=n(i),n=t.get(o);return void 0===n&&(n=e.apply(this,i),t.set(o,n)),n}function Bn(e,t,n,i,o){return n.bind(t,e,i,o)}var Rn=function(){return JSON.stringify(arguments)};function Fn(){this.cache=Object.create(null)}Fn.prototype.has=function(e){return e in this.cache},Fn.prototype.get=function(e){return this.cache[e]},Fn.prototype.set=function(e,t){this.cache[e]=t};var $n,zn={create:function(){return new Fn}},Wn={variadic:function(e,t){return Bn(e,this,Nn,t.cache.create(),t.serializer)},monadic:function(e,t){return Bn(e,this,On,t.cache.create(),t.serializer)}};(gn=$n=$n||{}).MISSING_VALUE="MISSING_VALUE",gn.INVALID_VALUE="INVALID_VALUE",gn.MISSING_INTL_API="MISSING_INTL_API";var Yn,Hn,Un,jn,Gn,Vn=(Rt(ei,Gn=Error),ei.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},ei),qn=(Rt(Qn,jn=Vn),Qn),Xn=(Rt(Kn,Un=Vn),Kn),Zn=(Rt(Jn,Hn=Vn),Jn);function Jn(e,t){return Hn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',$n.MISSING_VALUE,t)||this}function Kn(e,t,n){return Un.call(this,'Value for "'+e+'" must be of type '+t,$n.INVALID_VALUE,n)||this}function Qn(e,t,n,i){return jn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',$n.INVALID_VALUE,i)||this}function ei(e,t,n){e=Gn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function ti(e,t,n,i,o,r,s){if(1===e.length&&Ht(e[0]))return[{type:Yn.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var d=c[l];if(Ht(d))a.push({type:Yn.literal,value:d.value});else if(d.type===$t.pound)"number"==typeof r&&a.push({type:Yn.literal,value:n.getNumberFormat(t).format(r)});else{var u=d.value;if(!(o&&u in o))throw new Zn(u,s);var h=o[u];if(d.type===$t.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?Yn.literal:Yn.object,value:h});else if(jt(d)){var p="string"==typeof d.style?i.date[d.style]:Jt(d.style)?d.style.parsedOptions:void 0;a.push({type:Yn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(Gt(d))p="string"==typeof d.style?i.time[d.style]:Jt(d.style)?d.style.parsedOptions:void 0,a.push({type:Yn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(Ut(d))(p="string"==typeof d.style?i.number[d.style]:Zt(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:Yn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(Xt(d)){var m=d.children,f=d.value,u=o[f];if("function"!=typeof u)throw new Xn(f,"function",s);m=u(ti(m,t,n,i,o,r).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?Yn.literal:Yn.object,value:e}}))}if(Vt(d)){if(!(g=d.options[h]||d.options.other))throw new qn(d.value,h,Object.keys(d.options),s);a.push.apply(a,ti(g.value,t,n,i,o))}else if(qt(d)){if(!(g=d.options["="+h])){if(!Intl.PluralRules)throw new Vn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',$n.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:d.pluralType}).select(h-(d.offset||0)),g=d.options[m]||d.options.other}if(!g)throw new qn(d.value,h,Object.keys(d.options),s);a.push.apply(a,ti(g.value,t,n,i,o,h-(d.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Yn.literal&&t.type===Yn.literal?n.value+=t.value:e.push(t),e},[])}function ni(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=Yn=Yn||{})[e.literal=0]="literal",e[e.object=1]="object";var ii=(Object.defineProperty(oi,"defaultLocale",{get:function(){return oi.memoizedDefaultLocale||(oi.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),oi.memoizedDefaultLocale},enumerable:!1,configurable:!0}),oi.memoizedDefaultLocale=null,oi.__parse=In,oi.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"}}},oi);function oi(e,t,n,i){var o,r,s=this;if(void 0===t&&(t=oi.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Yn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return ti(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!oi.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=oi.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=oi.formats,(r=n)?Object.keys(o).reduce(function(e,t){var n,i;return e[t]=(n=o[t],(i=r[t])?Wt(Wt(Wt({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=Wt(Wt({},n[t]),i[t]||{}),e},{})):n),e},Wt({},o)):o),this.locales=t,this.formatters=i&&i.formatters||{getNumberFormat:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Yt([void 0],t)))},{cache:ni((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:Wn.variadic}),getDateTimeFormat:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Yt([void 0],t)))},{cache:ni(i.dateTime),strategy:Wn.variadic}),getPluralRules:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Yt([void 0],t)))},{cache:ni(i.pluralRules),strategy:Wn.variadic})}}const ri={},si=(t,n)=>{if(null!=n){if(n in ri&&t in ri[n])return ri[n][t];var i,o,r=xi(n);for(let e=0;e<r.length;e++){var s=(i=r[e],o=t,ci(i)?function(e,t){if(t in e)return e[t];const n=t.split(".");let i=e;for(let e=0;e<n.length;e++)if("object"==typeof i){if(0<e){const t=n.slice(e,n.length).join(".");if(t in i){i=i[t];break}}i=i[n[e]]}else i=void 0;return i}(function(e){return ai[e]||null}(i),o):null);if(s)return i=t,o=n,(s=s)&&(o in ri||(ri[o]={}),i in ri[o]||(ri[o][i]=s),s)}}};let ai;const li=ut({});function ci(e){return e in ai}function di(t,...n){delete ri[t],li.update(e=>(e[t]=Nt.all([e[t]||{},...n]),e))}ht([li],([e])=>Object.keys(e)),li.subscribe(e=>ai=e);const ui={};function hi(e){return ui[e]}function pi(e){return xi(e).some(e=>{return null===(e=hi(e))||void 0===e?void 0:e.size})}const mi={};function fi(e){if(!pi(e))return e in mi?mi[e]:void 0;const t=xi(e).map(e=>{var t=hi(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return mi[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){ui[e].delete(t),0===ui[e].size&&delete ui[e]}(t,e),e().then(e=>e.default||e)))).then(e=>di(t,...e))}(e))).then(()=>pi(e)?fi(e):void delete mi[e]),mi[e]}function gi(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}const yi={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const _i=ut(!1);let bi;const vi=ut(null);function wi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function xi(e,t=yi.fallbackLocale){e=wi(e);return t?[...new Set([...e,...wi(t)])]:e}vi.subscribe(e=>{bi=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Ci=vi.set;vi.set=t=>{if(function(e){if(null!=e){var t=xi(e);for(let e=0;e<t.length;e++){var n=t[e];if(ci(n))return n}}}(t)&&pi(t)){var{loadingDelay:n}=yi;let e;return"undefined"!=typeof window&&null!=bi&&n?e=window.setTimeout(()=>_i.set(!0),n):_i.set(!0),fi(t).then(()=>{Ci(t)}).finally(()=>{clearTimeout(e),_i.set(!1)})}return Ci(t)},vi.update=e=>Ci(e(bi));const Pi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},Ai=(e,t)=>{var{formats:n}=yi;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ti=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Ai("number",n)),new Intl.NumberFormat(t,e)}),Si=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Ai("date",n):0===Object.keys(e).length&&(e=Ai("date","short")),new Intl.DateTimeFormat(t,e)}),Ei=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Ai("time",n):0===Object.keys(e).length&&(e=Ai("time","short")),new Intl.DateTimeFormat(t,e)}),Mi=Pi((e,t=bi)=>new ii(e,t,yi.formats,{ignoreTag:yi.ignoreTag})),Di=ht([vi,li],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:i=bi,default:o}=t;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let r=si(e,i);if(r){if("string"!=typeof r)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof r}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),r}else yi.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${xi(i).join('", "')}".${pi(bi)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),r=o||e;if(!n)return r;let s=r;try{s=Mi(r,i).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Ei(Object.assign({locale:t},e))})(t).format(e)),ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Si(Object.assign({locale:t},e))})(t).format(e)),ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Ti(Object.assign({locale:t},e))})(t).format(e)),ht([vi,li],()=>(e,t=bi)=>si(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==lt.indexOf(e)&&(t=new ot(t),ct[e]=t,lt.push(e)),ct[e]}};const ki=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Ii='<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 1280.000000 1216.000000"\npreserveAspectRatio="xMidYMid meet">\n<g transform="translate(0.000000,1216.000000) scale(0.100000,-0.100000)" fill="#fff" stroke="none">\n<path d="M6177 12145 c-48 -8 -350 -84 -670 -170 l-582 -155 -610 0 c-679 0-725 -3 -920 -65 -264 -82 -511 -256 -677 -475 l-49 -65 -287 -76 c-1001 -267\n-1397 -375 -1472 -401 -388 -136 -713 -468 -839 -856 -51 -158 -66 -258 -65-437 1 -112 6 -196 17 -245 8 -41 77 -304 152 -585 267 -998 355 -1327 505\n-1885 83 -311 200 -747 260 -970 60 -223 168 -625 240 -895 72 -269 180 -672 240 -895 60 -223 177 -659 260 -970 83 -311 209 -781 280 -1045 71 -264 160\n-597 199 -740 38 -143 81 -291 95 -329 119 -316 375 -594 681 -742 124 -59 230 -95 355 -121 107 -22 373 -24 475 -4 65 12 684 176 2078 549 l557 150 143\n-38 c78 -22 464 -125 857 -230 393 -105 899 -241 1125 -301 526 -142 533 -143 735 -143 241 0 387 33 605 138 254 122 478 338 608 585 86 163 30 -33 607\n2121 60 223 177 659 260 970 83 311 200 747 260 970 318 1187 597 2228 755 2815 303 1132 415 1555 427 1620 7 39 13 142 13 230 0 221 -36 383 -130 581\n-152 324 -439 583 -775 702 -72 25 -568 160 -1546 421 l-211 56 -61 76 c-183 231 -403 383 -679 469 -183 56 -237 60 -909 60 l-610 0 -545 146 c-299 80\n-584 155 -634 165 -122 27 -396 34 -518 14z m-1127 -1167 c0 -10 -70 -274 -314 -1183 -124 -463 -364 -1358 -517 -1930 -233 -869 -374 -1393 -498 -1857\n-71 -266 -173 -645 -226 -843 -53 -198 -98 -364 -100 -370 -2 -5 -3 1122 -2 2505 l2 2515 22 90 c63 265 185 487 368 670 231 232 511 367 835 404 120 13\n430 13 430 -1z m2140 -127 c47 -10 202 -51 345 -90 224 -60 1099 -295 2790 -747 475 -128 514 -140 632 -194 398 -185 684 -558 769 -1005 23 -122 23 -350\n0 -469 -9 -49 -49 -206 -87 -350 -124 -463 -367 -1368 -499 -1861 -71 -264 -197 -734 -280 -1045 -83 -311 -200 -747 -260 -970 -497 -1855 -508 -1897\n-537 -1970 -126 -317 -382 -592 -686 -735 -182 -86 -331 -123 -528 -132 -239 -10 -190 -21 -1424 310 -776 208 -1457 391 -2045 548 -493 132 -625 176 -750\n249 -407 238 -665 661 -686 1125 -11 228 -11 229 250 1200 76 281 205 762 287 1070 83 308 200 745 260 970 61 226 168 626 239 890 71 264 197 734 280 1045\n83 311 191 714 240 895 48 182 99 359 113 395 35 94 102 223 160 310 63 95 259 290 357 355 159 105 354 185 540 219 119 22 402 15 520 -13z m-4750 -3698\nc0 -1697 -3 -3084 -6 -3081 -3 3 -32 106 -65 229 -133 496 -367 1367 -469 1749 -221 825 -375 1398 -507 1890 -200 743 -185 672 -187 900 -1 156 3 212\n18 279 112 511 459 894 946 1044 119 37 249 75 263 76 4 1 7 -1388 7 -3086z"/>\n<path d="M8960 9889 c-40 -111 -149 -350 -236 -518 -430 -831 -1050 -1573 -1649 -1976 -303 -203 -564 -310 -862 -350 -250 -35 -420 -122 -600 -308 -179\n-185 -305 -425 -369 -702 -27 -113 -27 -404 0 -525 117 -536 530 -939 1063 -1036 115 -20 339 -20 458 1 176 31 368 111 522 217 43 29 124 98 179 154\nl101 100 -55 -105 c-300 -573 -638 -1052 -1021 -1443 -63 -65 -113 -120 -110 -122 2 -2 347 -96 767 -208 536 -144 762 -200 762 -191 0 7 -11 55 -25 106\n-76 289 -135 658 -166 1047 -12 164 -13 753 0 845 5 33 9 47 10 30 2 -56 50 -223 90 -314 182 -424 547 -711 1000 -786 123 -21 364 -16 476 8 461 103 835\n434 979 867 115 346 99 745 -42 1025 -72 144 -133 214 -302 351 -216 172 -367 359 -514 636 -201 378 -351 874 -431 1431 -46 319 -59 516 -59 892 -1 355 8\n505 45 784 10 80 17 146 15 148 -2 2 -13 -24 -26 -58z"/>\n</g>\n</svg>';function Li(n){let i,o,r,s;return{c(){i=Ct("div"),o=Ct("button"),o.innerHTML="<span>Logout</span>",St(i,"class","GeneralLogout")},m(e,t){vt(e,i,t),bt(i,o),r||(s=Tt(o,"click",n[7]),r=!0)},p:yt,d(e){e&&wt(i),r=!1,s()}}}function Oi(n){let i,o,r,s,a,l,c,d,u,h,p,m=!n[1]&&function(){let n;return{c(){n=Ct("span"),n.textContent="Logout",St(n,"class","PlayerLogoutText")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}();return{c(){i=Ct("p"),o=Ct("span"),r=t("svg"),s=t("defs"),a=t("style"),l=Pt(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:#fff;}"),c=t("path"),d=t("path"),u=At(),m&&m.c(),St(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),St(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"),St(d,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),St(d,"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"),St(r,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),St(r,"data-name","Layer 1"),St(r,"xmlns","http://www.w3.org/2000/svg"),St(r,"viewBox","0 0 150 150"),v(o,"width",n[1]?n[2].matches?"50px":"24px":"20px"),St(i,"class","PlayerAccountMenuItemBox "+(n[1]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[2].matches&&n[1]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(a,l),bt(r,c),bt(r,d),bt(i,u),m&&m.m(i,null),h||(p=Tt(i,"click",n[6]),h=!0)},p:yt,d(e){e&&wt(i),m&&m.d(),h=!1,p()}}}function Ni(e){let n;function i(e){return"PlayerAccountMenu"===e[0]?Oi:Li}let o=i(e),r=o(e);return{c(){r.c(),n=k(),this.c=yt},m(e,t){r.m(e,t),vt(e,n,t)},p(e,[t]){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},i:yt,o:yt,d(e){r.d(e),e&&wt(n)}}}function Bi(e,t,n){let{endpoint:i=""}=t,{session:o=""}=t,{buttonlocation:r=""}=t,s=!1,a=window.navigator.userAgent,l="PC"!==ki(a);const c=window.matchMedia("(min-width: 768px)"),d=()=>{let e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",o),fetch(`${i}/player/session/player`,{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"})})};return e.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"buttonlocation"in e&&n(0,r=e.buttonlocation)},e.$$.update=()=>{49&e.$$.dirty&&i&&o&&r&&(i||(error="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",s=!0,console.error(error)),o||(error="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",s=!0,console.error(error)))},[r,l,c,d,i,o,()=>d(),()=>d()]}function Ri(e,t,n){const i=e.slice();return i[20]=t[n],i}function Fi(e){let n,i;return{c(){n=Ct("img"),St(n,"class","PlayerAccountMenuItemIcon "+(e[7]?"PlayerAccountMenuItemIconMobile":"")),n.src!==(i=e[20].menu_item_icon)&&St(n,"src",i)},m(e,t){vt(e,n,t)},p(e,t){4&t&&n.src!==(i=e[20].menu_item_icon)&&St(n,"src",i)},d(e){e&&wt(n)}}}function $i(e){let n,i=e[20].menu_item_icon+"";return{c(){n=Ct("span"),v(n,"width",e[7]?e[8].matches?"80px":"30px":"20px"),v(n,"height",e[7]?e[8].matches?"80px":"40px":"20px")},m(e,t){vt(e,n,t),n.innerHTML=i},p(e,t){4&t&&i!==(i=e[20].menu_item_icon+"")&&(n.innerHTML=i)},d(e){e&&wt(n)}}}function zi(n){let i,o,r,s,a,l,c,d,u,h=n[20].title+"";function p(e){return e[4]?$i:Fi}let m=p(n),f=m(n);function g(){return n[11](n[20])}return{c(){i=Ct("div"),o=Ct("p"),f.c(),r=At(),s=Ct("span"),a=Pt(h),l=At(),St(s,"class","PlayerAccountMenuItemTitle"),St(o,"class","PlayerAccountMenuItemWrapper"),St(i,"class",c="PlayerAccountMenuItemBox "+(n[3]!==n[20].ID||n[7]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){vt(e,i,t),bt(i,o),f.m(o,null),bt(o,r),bt(o,s),bt(s,a),bt(i,l),d||(u=Tt(i,"click",g),d=!0)},p(e,t){m===(m=p(n=e))&&f?f.p(n,t):(f.d(1),f=m(n),f&&(f.c(),f.m(o,r))),4&t&&h!==(h=n[20].title+"")&&q(a,h),12&t&&c!==(c="PlayerAccountMenuItemBox "+(n[3]!==n[20].ID||n[7]?"":"PlayerAccountMenuActiveItemBox"))&&St(i,"class",c)},d(e){e&&wt(i),f.d(),d=!1,u()}}}function Wi(e){let n,i=function(t){let n,i,o,r,s,a,l,c,d,u,h,p,m=t[7]&&function(){let n;return{c(){n=Ct("h3"),n.textContent="My Account",St(n,"class","PlayerAccountMenuCategoryTitle")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}(),f=t[7]&&function(e){let n,i;return{c(){n=Ct("div"),i=Ct("general-logout"),V(i,"endpoint",e[1]),V(i,"session",e[0]),V(i,"buttonlocation","PlayerAccountMenu"),St(n,"class","PlayerAccountLogOutArea")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&V(i,"endpoint",e[1]),1&t&&V(i,"session",e[0])},d(e){e&&wt(n)}}}(t),g=t[2],y=[];for(let e=0;e<g.length;e+=1)y[e]=zi(Ri(t,g,e));let _=!t[7]&&function(e){let n,i;return{c(){n=Ct("div"),i=Ct("general-logout"),V(i,"endpoint",e[1]),V(i,"session",e[0]),V(i,"buttonlocation","PlayerAccountMenu"),St(n,"class","PlayerAccountLogOutArea")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&V(i,"endpoint",e[1]),1&t&&V(i,"session",e[0])},d(e){e&&wt(n)}}}(t);return{c(){n=Ct("div"),i=Ct("div"),m&&m.c(),o=At(),r=Ct("p"),s=Pt(t[5]),a=At(),l=Ct("p"),c=Pt(t[6]),d=At(),f&&f.c(),u=At(),h=Ct("div");for(let e=0;e<y.length;e+=1)y[e].c();p=At(),_&&_.c(),St(r,"class","PlayerAccountMenuUser"),St(l,"class","PlayerAccountMenuEmail"),St(i,"class","PlayerAccountMenuHeader"),St(h,"class","PlayerAccountMenuList"),St(n,"class","PlayerAccountMenuContainer "+(t[7]?"PlayerAccountMobileContainer":"")+" "+(t[8].matches&&t[7]?"PlayerAccountTabletContainer":""))},m(e,t){vt(e,n,t),bt(n,i),m&&m.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(i,d),f&&f.m(i,null),bt(n,u),bt(n,h);for(let e=0;e<y.length;e+=1)y[e].m(h,null);bt(n,p),_&&_.m(n,null)},p(t,n){if(32&n&&q(s,t[5]),64&n&&q(c,t[6]),t[7]&&f.p(t,n),924&n){let e;for(g=t[2],e=0;e<g.length;e+=1){var i=Ri(t,g,e);y[e]?y[e].p(i,n):(y[e]=zi(i),y[e].c(),y[e].m(h,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[7]||_.p(t,n)},d(e){e&&wt(n),m&&m.d(),f&&f.d(),xt(y,e),_&&_.d()}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,[t]){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function Yi(e,t,n){let{endpoint:i=""}=t,{session:o=""}=t,{playerid:r=""}=t,s=[],a=0,l=window.navigator.userAgent,c="PC"!==ki(l),d=[],u=!0,h="",p="";t=window.matchMedia("(min-width: 768px)");Z(()=>(window.addEventListener("message",m,!1),()=>{window.removeEventListener("message",m)}));const m=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":n(2,s=e.data.accountMenuInfo),n(3,a=s[0].ID),f();break;case"UserSessionID":n(0,o=e.data.session)}},f=()=>{s.length?n(4,u=!1):(n(2,s=d),n(4,u=!0))},g=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),n(3,a=e.ID)};return e.$$set=e=>{"endpoint"in e&&n(1,i=e.endpoint),"session"in e&&n(0,o=e.session),"playerid"in e&&n(10,r=e.playerid)},e.$$.update=()=>{1027&e.$$.dirty&&i&&o&&r&&(d=[{ID:0,title:"Profile Info",menu_item_icon:Ii},{ID:1,title:"Account Security",menu_item_icon:Ii},{ID:2,title:"Deposit",menu_item_icon:Ii},{ID:3,title:"Withdrawal",menu_item_icon:Ii},{ID:4,title:"Active Bonuses",menu_item_icon:Ii},{ID:5,title:"Self-Exclusion",menu_item_icon:Ii},{ID:6,title:"Account Closure",menu_item_icon:Ii}],fetch(`${i}/player/${r}/profile`,{method:"GET",headers:{playerId:r,"X-SessionID":o}}).then(e=>e.json()).then(e=>{n(5,h=e.username),n(6,p=e.email)},e=>{console.error(e)}))},[o,i,s,a,u,h,p,c,t,g,r,e=>g(e)]}function Hi(e,t,n){const i=e.slice();return i[8]=t[n],i}function Ui(t){let o,r=t[0],s=[];for(let e=0;e<r.length;e+=1)s[e]=ji(Hi(t,r,e));return{c(){o=Ct("div");for(let e=0;e<s.length;e+=1)s[e].c();St(o,"class","PlayerAccountNotificationsContainer "+(t[1]&&t[2].matches?"PlayerAccountNotificationsTabletContainer":t[1]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){vt(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,n){if(1&n){let e;for(r=t[0],e=0;e<r.length;e+=1){var i=Hi(t,r,e);s[e]?s[e].p(i,n):(s[e]=ji(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){e&&wt(o),xt(s,e)}}}function ji(e){let n,i,o,r,s,a,l,c,d,u,h,p,m=e[8].title+"",f=e[8].description+"";return{c(){n=Ct("a"),i=Ct("div"),o=Ct("img"),a=At(),l=Ct("p"),c=Pt(m),d=At(),u=Ct("p"),h=At(),St(o,"class","PlayerAccountNotificationIcon"),o.src!==(r=e[8].icon.url)&&St(o,"src",r),St(o,"alt",s=e[8].title),St(l,"class","PlayerAccountNotificationTitle"),St(i,"class","PlayerAccountNotificationBoxHeader"),St(u,"class","PlayerAccountNotificationText"),St(n,"class","PlayerAccountNotificationBox"),v(n,"background",e[8].backgroundColor),St(n,"href",p=e[8].icon.link)},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(i,a),bt(i,l),bt(l,c),bt(n,d),bt(n,u),u.innerHTML=f,bt(n,h)},p(e,t){1&t&&o.src!==(r=e[8].icon.url)&&St(o,"src",r),1&t&&s!==(s=e[8].title)&&St(o,"alt",s),1&t&&m!==(m=e[8].title+"")&&q(c,m),1&t&&f!==(f=e[8].description+"")&&(u.innerHTML=f),1&t&&v(n,"background",e[8].backgroundColor),1&t&&p!==(p=e[8].icon.link)&&St(n,"href",p)},d(e){e&&wt(n)}}}function Gi(e){let n;function i(e){if(e[0].length)return Ui}let o=i(e),r=o&&o(e);return{c(){r&&r.c(),n=k(),this.c=yt},m(e,t){r&&r.m(e,t),vt(e,n,t)},p(e,[t]){o===(o=i(e))&&r?r.p(e,t):(r&&r.d(1),r=o&&o(e),r&&(r.c(),r.m(n.parentNode,n)))},i:yt,o:yt,d(e){r&&r.d(e),e&&wt(n)}}}function Vi(e,t,n){let{customnotif:i=""}=t,o=window.navigator.userAgent,r="PC"!==ki(o),s=[],a=[];const l=window.matchMedia("(min-width: 768px)"),c=e=>{e.data&&"NotificationsDetails"===e.data.type&&(n(0,s=e.data.notificationsInfo),s.forEach(e=>{a.length&&(e.backgroundColor=a[0],a.shift())}))},d=()=>{i.replace(" ",""),a=i.split(",")};return Z(()=>(window.addEventListener("message",c,!1),()=>{window.removeEventListener("message",c)})),e.$$set=e=>{"customnotif"in e&&n(3,i=e.customnotif)},e.$$.update=()=>{8&e.$$.dirty&&i&&d(),1&e.$$.dirty&&s&&d()},[s,r,l,i]}function qi(e,t,n){const i=e.slice();return i[9]=t[n].value,i[10]=t[n].text,i}function Xi(e){let n,i,t=e[10]+"";return{c(){n=Ct("option"),i=Pt(t),n.__value=e[9],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function Zi(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v=n[1]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="TimeoutTitleMobile">Timeout</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[5]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n),w=n[2],x=[];for(let e=0;e<w.length;e+=1)x[e]=Xi(qi(n,w,e));return{c(){i=Ct("div"),v&&v.c(),o=At(),r=Ct("h2"),s=Pt("Timeout"),a=At(),l=Ct("div"),c=Ct("p"),c.textContent="Everymatrix 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.",d=At(),u=Ct("p"),u.textContent='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.',h=At(),p=Ct("div"),m=Ct("select");for(let e=0;e<x.length;e+=1)x[e].c();f=At(),g=Ct("div"),y=Ct("button"),y.textContent="Save",this.c=yt,St(r,"class","TimeoutTitle "+(n[1]?"TimeoutTitleNone":"")),St(l,"class","TimeoutDescription "+(n[1]?"TimeoutDescriptionMobile":"")),St(m,"class","TimeoutSelect "+(n[1]?"TimeoutSelectMobile":"")),void 0===n[0]&&Dt(()=>n[6].call(m)),St(p,"class","TimeoutSelectWrapper"),St(y,"class","TimeoutSave"),St(g,"class","TimeoutActionButtons "+(n[1]?"TimeoutActionButtonsMobile":"")),St(i,"class","TimeoutWrapper "+(n[1]?"TimeoutWrapperMobile":""))},m(e,t){vt(e,i,t),v&&v.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(l,d),bt(l,u),bt(i,h),bt(i,p),bt(p,m);for(let e=0;e<x.length;e+=1)x[e].m(m,null);Mt(m,n[0]),bt(i,f),bt(i,g),bt(g,y),_||(b=[Tt(m,"change",n[6]),Tt(y,"click",n[7])],_=!0)},p(t,[n]){if(t[1]&&v.p(t,n),4&n){let e;for(w=t[2],e=0;e<w.length;e+=1){var i=qi(t,w,e);x[e]?x[e].p(i,n):(x[e]=Xi(i),x[e].c(),x[e].m(m,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}5&n&&Mt(m,t[0])},i:yt,o:yt,d(e){e&&wt(i),v&&v.d(),xt(x,e),_=!1,_t(b)}}}function Ji(e,t,n){let i=window.navigator.userAgent,o="PC"!==ki(i),r=[{value:"CoolOffFor24Hours",text:"24 hours"},{value:"CoolOffFor7Days",text:"7 days"},{value:"CoolOffFor30Days",text:"30 days"},{value:"CoolOffFor3Months",text:"3 months"}],s=r[0].value;const a=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:s},window.location.href)},l=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)};return[s,o,r,a,l,()=>l(),function(){s=X(this),n(0,s),n(2,r)},()=>a()]}customElements.get("general-logout")||customElements.define("general-logout",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox svg{fill:#fff}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:#fff}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Bi,Ni,n,{endpoint:4,session:5,buttonlocation:0}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","buttonlocation"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$set({buttonlocation:e}),T()}}),customElements.get("player-account-menu")||customElements.define("player-account-menu",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountMenuContainer{color:#fff;position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:#FFF;flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;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 #696972}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c9c9c9 #58586B}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:#58586B}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:#c9c9c9}.PlayerAccountLogOutArea{background:#58586B;color:#fff;width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:#D0046C;color:#FFF}.PlayerAccountMobileContainer{height:unset;color:#07072A}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin-top: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 #2F313E;border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:#D0046C;border-bottom:1px solid #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:#FFF}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Yi,Wi,n,{endpoint:1,session:0,playerid:10}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[0]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountNotificationsContainer{padding:0 5.008px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:#58586B;color:#fff;box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:\"nav main aside\";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Vi,Gi,n,{customnotif:3}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["customnotif"]}get customnotif(){return this.$$.ctx[3]}set customnotif(e){this.$set({customnotif:e}),T()}}),customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.TimeoutWrapper{color:#07072A;padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:#D0046C}.TimeoutTitle{font-size:26px;color:#D0046C;font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:#58586B;line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:19.2px}.TimeoutSelectWrapper{color:#58586B;display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;padding:5px;font-size:14px;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 #FFF;background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #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:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ji,Zi,n,{}),e&&e.target&&vt(e.target,this,e.anchor)}});var Ki,Qi,eo=(Qi=Ki={path:void 0,exports:{},require:function(e,t){return kn(null==t&&Ki.path)}},Ki.exports,Qi.exports=function(){var e;function m(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function r(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function i(e,t){for(var n=[],i=0;i<e.length;++i)n.push(t(e[i],i));return n}function d(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,i){return Mt(e,t,n,i,!0).utc()}function f(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 h(e){if(null==e._isValid){var t=f(e),n=y.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 g(e){var t=u(NaN);return null!=e?d(f(t),e):f(t).userInvalidated=!0,t}var y=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},_=m.momentProperties=[],t=!1;function b(e,t){var n,i,o;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=f(t)),r(t._locale)||(e._locale=t._locale),0<_.length)for(n=0;n<_.length;n++)r(o=t[i=_[n]])||(e[i]=o);return e}function v(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function w(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function x(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(o,r){var s=!0;return d(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),s){for(var e,t,n=[],i=0;i<arguments.length;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}x(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return r.apply(this,arguments)},r)}var C={};function P(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),C[e]||(x(t),C[e]=!0)}function A(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,i=d({},e);for(n in t)p(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},d(i[n],e[n]),d(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)p(e,n)&&!p(t,n)&&a(e[n])&&(i[n]=d({},i[n]));return i}function S(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var E=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function M(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 D=/(\[[^\[]*\])|(\\)?([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,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},L={};function O(e,t,n,i){var o="string"==typeof i?function(){return this[i]()}:i;e&&(L[e]=o),t&&(L[t[0]]=function(){return M(o.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=B(t,e.localeData()),I[t]=I[t]||function(i){for(var e,o=i.match(D),t=0,r=o.length;t<r;t++)L[o[t]]?o[t]=L[o[t]]:o[t]=(e=o[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=A(o[n])?o[n].call(e,i):o[n];return t}}(t),I[t](e)):e.localeData().invalidDate()}function B(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(k.lastIndex=0;0<=n&&k.test(e);)e=e.replace(k,i),k.lastIndex=0,--n;return e}var R={};function F(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function $(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function z(e){var t,n,i={};for(n in e)p(e,n)&&(t=$(n))&&(i[t]=e[n]);return i}var W={};function Y(e,t){W[e]=t}function H(e){return e%4==0&&e%100!=0||e%400==0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function j(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?U(t):e}function G(t,n){return function(e){return null!=e?(q(this,t,e),m.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=j(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ee(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,Z=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,oe=/\d{1,4}/,re=/[+-]?\d{1,6}/,se=/\d+/,ae=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[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 ue(e,n,i){me[e]=A(n)?n:function(e,t){return e&&i?i:n}}function he(e,t){return p(me,e)?me[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,o){return t||n||i||o})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},fe={};function ge(e,n){var t,i=n;for("string"==typeof e&&(e=[e]),c(n)&&(i=function(e,t){t[n]=j(e)}),t=0;t<e.length;t++)fe[e[t]]=i}function ye(e,o){ge(e,function(e,t,n,i){n._w=n._w||{},o(e,n._w,n,i)})}var _e,be=0,ve=1,we=2,xe=3,Ce=4,Pe=5,Ae=6,Te=7,Se=8;function Ee(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?H(e)?29:28:31-n%7%2}_e=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),O("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),Y("month",8),ue("M",ee),ue("MM",ee,Z),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[ve]=j(e)-1}),ge(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[ve]=i:f(n).invalidMonth=e});var Me="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=de,Le=de;function Oe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=j(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ee(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ne(e){return null!=e?(Oe(this,e),m.updateOffset(this,!0),this):V(this,"Month")}function Be(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],o=[],r=0;r<12;r++)t=u([2e3,r]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),o.push(this.months(t,"")),o.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),o.sort(e),r=0;r<12;r++)n[r]=pe(n[r]),i[r]=pe(i[r]);for(r=0;r<24;r++)o[r]=pe(o[r]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Re(e){return H(e)?366:365}O("Y",0,0,function(){var e=this.year();return e<=9999?M(e,4):"+"+e}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),F("year","y"),Y("year",1),ue("Y",ae),ue("YY",ee,Z),ue("YYYY",oe,K),ue("YYYYY",re,Q),ue("YYYYYY",re,Q),ge(["YYYYY","YYYYYY"],be),ge("YYYY",function(e,t){t[be]=2===e.length?m.parseTwoDigitYear(e):j(e)}),ge("YY",function(e,t){t[be]=m.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[be]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return j(e)+(68<j(e)?1900:2e3)};var Fe=G("FullYear",!0);function $e(e,t,n,i,o,r,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,i,o,r,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,o,r,s),a}function ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,n){n=7+t-n;return-(7+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ye(e,t,n,i,o){var r,o=1+7*(t-1)+(7+n-i)%7+We(e,i,o),o=o<=0?Re(r=e-1)+o:o>Re(e)?(r=e+1,o-Re(e)):(r=e,o);return{year:r,dayOfYear:o}}function He(e,t,n){var i,o,r=We(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?i=r+Ue(o=e.year()-1,t,n):r>Ue(e.year(),t,n)?(i=r-Ue(e.year(),t,n),o=e.year()+1):(o=e.year(),i=r),{week:i,year:o}}function Ue(e,t,n){var i=We(e,t,n),n=We(e+1,t,n);return(Re(e)-i+n)/7}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),Y("week",5),Y("isoWeek",5),ue("w",ee),ue("ww",ee,Z),ue("W",ee),ue("WW",ee,Z),ye(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=j(e)});function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),Y("day",11),Y("weekday",11),Y("isoWeekday",11),ue("d",ee),ue("e",ee),ue("E",ee),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,i){t[i]=j(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=de,Ze=de,Je=de;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,i,o=[],r=[],s=[],a=[],l=0;l<7;l++)i=u([2e3,1]).day(l),t=pe(this.weekdaysMin(i,"")),n=pe(this.weekdaysShort(i,"")),i=pe(this.weekdays(i,"")),o.push(t),r.push(n),s.push(i),a.push(t),a.push(n),a.push(i);o.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,Qe),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+Qe.apply(this)+M(this.minutes(),2)}),O("hmmss",0,0,function(){return""+Qe.apply(this)+M(this.minutes(),2)+M(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+M(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+M(this.minutes(),2)+M(this.seconds(),2)}),et("a",!0),et("A",!1),F("hour","h"),Y("hour",13),ue("a",tt),ue("A",tt),ue("H",ee),ue("h",ee),ue("k",ee),ue("HH",ee,Z),ue("hh",ee,Z),ue("kk",ee,Z),ue("hmm",te),ue("hmmss",ne),ue("Hmm",te),ue("Hmmss",ne),ge(["H","HH"],xe),ge(["k","kk"],function(e,t,n){e=j(e);t[xe]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[xe]=j(e),f(n).bigHour=!0}),ge("hmm",function(e,t,n){var i=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i)),f(n).bigHour=!0}),ge("hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i,2)),t[Pe]=j(e.substr(o)),f(n).bigHour=!0}),ge("Hmm",function(e,t,n){var i=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i))}),ge("Hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i,2)),t[Pe]=j(e.substr(o))});var nt=G("Hours",!0);var it,ot={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:Me,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:qe,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},rt={},st={};function at(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,i,o,r=0;r<e.length;){for(t=(o=at(e[r]).split("-")).length,n=(n=at(e[r+1]))?n.split("-"):null;0<t;){if(i=ct(o.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}(o,n)>=t-1)break;t--}r++}return it}function ct(t){var e;if(void 0===rt[t]&&Qi&&Qi.exports)try{e=it._abbr,kn(),dt(e)}catch(e){rt[t]=null}return rt[t]}function dt(e,t){return e&&((t=r(t)?ht(e):ut(e,t))?it=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),it._abbr}function ut(e,t){if(null===t)return delete rt[e],null;var n,i=ot;if(t.abbr=e,null!=rt[e])P("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=rt[e]._config;else if(null!=t.parentLocale)if(null!=rt[t.parentLocale])i=rt[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;i=n._config}return rt[e]=new S(T(i,t)),st[e]&&st[e].forEach(function(e){ut(e.name,e.config)}),dt(e),rt[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return it;if(!s(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function pt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[ve]<0||11<t[ve]?ve:t[we]<1||t[we]>Ee(t[be],t[ve])?we:t[xe]<0||24<t[xe]||24===t[xe]&&(0!==t[Ce]||0!==t[Pe]||0!==t[Ae])?xe:t[Ce]<0||59<t[Ce]?Ce:t[Pe]<0||59<t[Pe]?Pe:t[Ae]<0||999<t[Ae]?Ae:-1,f(e)._overflowDayOfYear&&(t<be||we<t)&&(t=we),f(e)._overflowWeeks&&-1===t&&(t=Te),f(e)._overflowWeekday&&-1===t&&(t=Se),f(e).overflow=t),e}var mt=/^\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)?)?$/,ft=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],_t=[["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/]],bt=/^\/?Date\((-?\d+)/i,vt=/^(?:(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}))$/,wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,n,i,o,r,s,a=e._i,l=mt.exec(a)||ft.exec(a);if(l){for(f(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){o=yt[t][0],i=!1!==yt[t][2];break}if(null==o)return e._isValid=!1;if(l[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[3])){r=(l[2]||" ")+_t[t][0];break}if(null==r)return e._isValid=!1}if(!i&&null!=r)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=o+(r||"")+(s||""),St(e)}else e._isValid=!1}function Ct(e,t,n,i,o,r){o=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(o,10)];return r&&o.push(parseInt(r,10)),o}function Pt(e){var t,n,i,o,r=vt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=Ct(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],i=t,o=e,n&&Ve.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(o).weekdayMismatch=!0,o._isValid=!1):(e._a=t,e._tzm=(o=r[8],t=r[9],r=r[10],o?wt[o]:t?0:((t=parseInt(r,10))-(r=t%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function At(e,t,n){return null!=e?e:null!=t?t:n}function Tt(e){var t,n,i,o,r,s,a,l,c,d,u,h,p=[];if(!e._d){for(u=e,h=new Date(m.now()),n=u._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[we]&&null==e._a[ve]&&(null!=(u=(o=e)._w).GG||null!=u.W||null!=u.E?(l=1,c=4,r=At(u.GG,o._a[be],He(Dt(),1,4).year),s=At(u.W,1),((a=At(u.E,1))<1||7<a)&&(d=!0)):(l=o._locale._week.dow,c=o._locale._week.doy,h=He(Dt(),l,c),r=At(u.gg,o._a[be],h.year),s=At(u.w,h.week),null!=u.d?((a=u.d)<0||6<a)&&(d=!0):null!=u.e?(a=u.e+l,(u.e<0||6<u.e)&&(d=!0)):a=l),s<1||s>Ue(r,l,c)?f(o)._overflowWeeks=!0:null!=d?f(o)._overflowWeekday=!0:(c=Ye(r,s,a,l,c),o._a[be]=c.year,o._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(i=At(e._a[be],n[be]),(e._dayOfYear>Re(i)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),i=ze(i,0,e._dayOfYear),e._a[ve]=i.getUTCMonth(),e._a[we]=i.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[xe]&&0===e._a[Ce]&&0===e._a[Pe]&&0===e._a[Ae]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?ze:$e).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[xe]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(f(e).weekdayMismatch=!0)}}function St(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,i=""+e._i,o=i.length,r=0,s=B(e._f,e._locale).match(D)||[],a=0;a<s.length;a++)n=s[a],(t=(i.match(he(n,e))||[])[0])&&(0<(u=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(u),i=i.slice(i.indexOf(t)+t.length),r+=t.length),L[n]?(t?f(e).empty=!1:f(e).unusedTokens.push(n),d=n,h=e,null!=(u=t)&&p(fe,d)&&fe[d](u,h._a,h,d)):e._strict&&!t&&f(e).unusedTokens.push(n);f(e).charsLeftOver=o-r,0<i.length&&f(e).unusedInput.push(i),e._a[xe]<=12&&!0===f(e).bigHour&&0<e._a[xe]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[xe]=(l=e._locale,c=e._a[xe],null==(o=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,o):null!=l.isPM?((o=l.isPM(o))&&c<12&&(c+=12),c=o||12!==c?c:0):c),null!==(c=f(e).era)&&(e._a[be]=e._locale.erasConvertYear(c,e._a[be])),Tt(e),pt(e)}else Pt(e);else xt(e);var l,c,d,u,h}function Et(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new v(pt(t)):(o(t)?e._d=t:s(n)?function(e){var t,n,i,o,r,s,a=!1;if(0===e._f.length)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(o=0;o<e._f.length;o++)r=0,s=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],St(t),h(t)&&(s=!0),r+=f(t).charsLeftOver,r+=10*f(t).unusedTokens.length,f(t).score=r,a?r<i&&(i=r,n=t):(null==i||r<i||s)&&(i=r,n=t,s&&(a=!0));d(e,n||t)}(e):n?St(e):r(n=(t=e)._i)?t._d=new Date(m.now()):o(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=bt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Pt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(n)?(t._a=i(n.slice(0),function(e){return parseInt(e,10)}),Tt(t)):a(n)?function(e){var t,n;e._d||(n=void 0===(t=z(e._i)).day?t.date:t.day,e._a=i([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Tt(e))}(t):c(n)?t._d=new Date(n):m.createFromInputFallback(t),h(e)||(e._d=null),e))}function Mt(e,t,n,i,o){var r={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=o,r._l=n,r._i=e,r._f=t,r._strict=i,(r=new v(pt(Et(r=r))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Dt(e,t,n,i){return Mt(e,t,n,i,!1)}m.createFromInputFallback=n("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(){};var kt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),It=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Lt(e,t){var n,i;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return Dt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=z(e),n=t.year||0,i=t.quarter||0,o=t.month||0,r=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,i=!1;for(t in e)if(p(e,t)&&(-1===_e.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ot.length;++n)if(e[Ot[n]]){if(i)return!1;parseFloat(e[Ot[n]])!==j(e[Ot[n]])&&(i=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*a*60*60,this._days=+s+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=ht(),this._bubble()}function Bt(e){return e instanceof Nt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){O(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+M(~~(e/60),2)+n+M(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),ue("Z",ce),ue("ZZ",ce),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=zt(ce,e)});var $t=/([\+\-]|\d\d)/gi;function zt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+j(e[2]))?0:"+"===e[0]?t:-t}function Wt(e,t){var n;return t._isUTC?(n=t.clone(),t=(w(e)||o(e)?e:Dt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Dt(e).local()}function Yt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\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 Gt(e,t){var n,i,o=e,r=null;return Bt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(r=Ut.exec(e))?(n="-"===r[1]?-1:1,o={y:0,d:j(r[we])*n,h:j(r[xe])*n,m:j(r[Ce])*n,s:j(r[Pe])*n,ms:j(Rt(1e3*r[Ae]))*n}):(r=jt.exec(e))?(n="-"===r[1]?-1:1,o={y:Vt(r[2],n),M:Vt(r[3],n),w:Vt(r[4],n),d:Vt(r[5],n),h:Vt(r[6],n),m:Vt(r[7],n),s:Vt(r[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Dt(o.from),n=Dt(o.to),i=r.isValid()&&n.isValid()?(n=Wt(n,r),r.isBefore(n)?i=qt(r,n):((i=qt(n,r)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(o={}).ms=i.milliseconds,o.M=i.months),o=new Nt(o),Bt(e)&&p(e,"_locale")&&(o._locale=e._locale),Bt(e)&&p(e,"_isValid")&&(o._isValid=e._isValid),o}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function qt(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 Xt(i,o){return function(e,t){var n;return null===t||isNaN(+t)||(P(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,Gt(e,t),i),this}}function Zt(e,t,n,i){var o=t._milliseconds,r=Rt(t._days),t=Rt(t._months);e.isValid()&&(i=null==i||i,t&&Oe(e,V(e,"Month")+t*n),r&&q(e,"Date",V(e,"Date")+r*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&m.updateOffset(e,r||t))}Gt.fn=Nt.prototype,Gt.invalid=function(){return Gt(NaN)};var Jt=Xt(1,"add"),de=Xt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return w(e)||o(e)||Kt(e)||c(e)||(n=s(t=e),i=!1,n&&(i=0===t.filter(function(e){return!c(e)&&Kt(t)}).length),n&&i)||function(e){var t,n,i=a(e)&&!l(e),o=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<r.length;t+=1)n=r[t],o=o||p(e,n);return i&&o}(e)||null==e;var t,n,i}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("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 nn(){return this._locale}var on=126227808e5;function rn(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-on:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-on:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],i=[],o=this.eras(),r=0,s=o.length;r<s;++r)t.push(pe(o[r].name)),e.push(pe(o[r].abbr)),n.push(pe(o[r].narrow)),i.push(pe(o[r].name)),i.push(pe(o[r].abbr)),i.push(pe(o[r].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 dn(e,t){O(0,[e,e.length],0,t)}function un(e,t,n,i,o){var r;return null==e?He(this,i,o).year:(t>(r=Ue(e,i,o))&&(t=r),function(e,t,n,i,o){o=Ye(e,t,n,i,o),o=ze(o.year,0,o.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,e,t,n,i,o))}O("N",0,0,"eraAbbr"),O("NN",0,0,"eraAbbr"),O("NNN",0,0,"eraAbbr"),O("NNNN",0,0,"eraName"),O("NNNNN",0,0,"eraNarrow"),O("y",["y",1],"yo","eraYear"),O("y",["yy",2],0,"eraYear"),O("y",["yyy",3],0,"eraYear"),O("y",["yyyy",4],0,"eraYear"),ue("N",ln),ue("NN",ln),ue("NNN",ln),ue("NNNN",function(e,t){return t.erasNameRegex(e)}),ue("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?f(n).era=i:f(n).invalidEra=e}),ue("y",se),ue("yy",se),ue("yyy",se),ue("yyyy",se),ue("yo",function(e,t){return t._eraYearOrdinalRegex||se}),ge(["y","yy","yyy","yyyy"],be),ge(["yo"],function(e,t,n,i){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[be]=n._locale.eraYearOrdinalParse(e,o):t[be]=parseInt(e,10)}),O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),Y("weekYear",1),Y("isoWeekYear",1),ue("G",ae),ue("g",ae),ue("GG",ee,Z),ue("gg",ee,Z),ue("GGGG",oe,K),ue("gggg",oe,K),ue("GGGGG",re,Q),ue("ggggg",re,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=j(e)}),ye(["gg","GG"],function(e,t,n,i){t[i]=m.parseTwoDigitYear(e)}),O("Q",0,"Qo","quarter"),F("quarter","Q"),Y("quarter",7),ue("Q",X),ge("Q",function(e,t){t[ve]=3*(j(e)-1)}),O("D",["DD",2],"Do","date"),F("date","D"),Y("date",9),ue("D",ee),ue("DD",ee,Z),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],we),ge("Do",function(e,t){t[we]=j(e.match(ee)[0])});ne=G("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),Y("dayOfYear",4),ue("DDD",ie),ue("DDDD",J),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=j(e)}),O("m",["mm",2],0,"minute"),F("minute","m"),Y("minute",14),ue("m",ee),ue("mm",ee,Z),ge(["m","mm"],Ce);Me=G("Minutes",!1);O("s",["ss",2],0,"second"),F("second","s"),Y("second",15),ue("s",ee),ue("ss",ee,Z),ge(["s","ss"],Pe);var hn,Ge=G("Seconds",!1);for(O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),Y("millisecond",16),ue("S",ie,X),ue("SS",ie,Z),ue("SSS",ie,J),hn="SSSS";hn.length<=9;hn+="S")ue(hn,se);function pn(e,t){t[Ae]=j(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ge(hn,pn);qe=G("Milliseconds",!1),O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");oe=v.prototype;function mn(e){return e}oe.add=Jt,oe.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!l(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o=0;o<i.length;o+=1)n=n||p(e,i[o]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Dt(),e=Wt(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(A(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Dt(n)))},oe.clone=function(){return new v(this)},oe.diff=function(e,t,n){var i,o,r;if(!this.isValid())return NaN;if(!(i=Wt(e,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),t=$(t)){case"year":r=en(this,i)/12;break;case"month":r=en(this,i);break;case"quarter":r=en(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-o)/864e5;break;case"week":r=(this-i-o)/6048e5;break;default:r=this-i}return n?r:U(r)},oe.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,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-rn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-rn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-rn(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},oe.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=N(this,e),this.localeData().postformat(e)},oe.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Dt(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oe.fromNow=function(e){return this.from(Dt(),e)},oe.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Dt(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oe.toNow=function(e){return this.to(Dt(),e)},oe.get=function(e){return A(this[e=$(e)])?this[e]():this},oe.invalidAt=function(){return f(this).overflow},oe.isAfter=function(e,t){return e=w(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},oe.isBefore=function(e,t){return e=w(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},oe.isBetween=function(e,t,n,i){return e=w(e)?e:Dt(e),t=w(t)?t:Dt(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))},oe.isSame=function(e,t){var e=w(e)?e:Dt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},oe.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},oe.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},oe.isValid=function(){return h(this)},oe.lang=te,oe.locale=tn,oe.localeData=nn,oe.max=It,oe.min=kt,oe.parsingFlags=function(){return d({},f(this))},oe.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:W[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=z(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(A(this[e=$(e)]))return this[e](t);return this},oe.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,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-=rn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=rn(t,6e4);break;case"second":t=this._d.valueOf(),t-=rn(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},oe.subtract=de,oe.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},oe.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},oe.toDate=function(){return new Date(this.valueOf())},oe.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?N(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(e,"Z")):N(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},oe.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(oe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},oe.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},oe.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""},oe.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""},oe.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""},oe.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,o=n.length;i<o;++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()},oe.year=Fe,oe.isLeapYear=function(){return H(this.year())},oe.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},oe.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},oe.quarter=oe.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},oe.month=Ne,oe.daysInMonth=function(){return Ee(this.year(),this.month())},oe.week=oe.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},oe.isoWeek=oe.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},oe.weeksInYear=function(){var e=this.localeData()._week;return Ue(this.year(),e.dow,e.doy)},oe.weeksInWeekYear=function(){var e=this.localeData()._week;return Ue(this.weekYear(),e.dow,e.doy)},oe.isoWeeksInYear=function(){return Ue(this.year(),1,4)},oe.isoWeeksInISOWeekYear=function(){return Ue(this.isoWeekYear(),1,4)},oe.date=ne,oe.day=oe.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},oe.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},oe.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},oe.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")},oe.hour=oe.hours=nt,oe.minute=oe.minutes=Me,oe.second=oe.seconds=Ge,oe.millisecond=oe.milliseconds=qe,oe.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?o:Yt(this);if("string"==typeof e){if(null===(e=zt(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Yt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Zt(this,Gt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},oe.utc=function(e){return this.utcOffset(0,e)},oe.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Yt(this),"m")),this},oe.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=zt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},oe.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Dt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},oe.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},oe.isLocal=function(){return!!this.isValid()&&!this._isUTC},oe.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},oe.isUtc=Ht,oe.isUTC=Ht,oe.zoneAbbr=function(){return this._isUTC?"UTC":""},oe.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},oe.dates=n("dates accessor is deprecated. Use date instead.",ne),oe.months=n("months accessor is deprecated. Use month instead",Ne),oe.years=n("years accessor is deprecated. Use year instead",Fe),oe.zone=n("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()}),oe.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Et(t))._a?(e=(t._isUTC?u:Dt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),r=0,s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&j(e[s])!==j(t[s]))&&r++;return r+o}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=S.prototype;function fn(e,t,n,i){var o=ht(),t=u().set(i,t);return o[n](t,e)}function gn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");for(var i=[],o=0;o<12;o++)i[o]=fn(e,o,n,"month");return i}function yn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var o,r=ht(),s=e?r._week.dow:0,a=[];if(null!=n)return fn(t,(n+s)%7,i,"day");for(o=0;o<7;o++)a[o]=fn(t,(o+s)%7,i,"day");return a}K.calendar=function(e,t,n){return A(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=mn,K.postformat=mn,K.relativeTime=function(e,t,n,i){var o=this._relativeTime[n];return A(o)?o(e,t,n,i):o.replace(/%d/i,e)},K.pastFuture=function(e,t){return A(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)p(e,n)&&(A(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)},K.eras=function(e,t){for(var n,i=this._eras||ht("en")._eras,o=0,r=i.length;o<r;++o)switch("string"==typeof i[o].since&&(n=m(i[o].since).startOf("day"),i[o].since=n.valueOf()),typeof i[o].until){case"undefined":i[o].until=1/0;break;case"string":n=m(i[o].until).startOf("day").valueOf(),i[o].until=n.valueOf()}return i},K.erasParse=function(e,t,n){var i,o,r,s,a,l=this.eras();for(e=e.toUpperCase(),i=0,o=l.length;i<o;++i)if(r=l[i].name.toUpperCase(),s=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[i];break;case"NNNN":if(r===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if(0<=[r,s,a].indexOf(e))return l[i]},K.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},K.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return p(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[ke.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var i,o;if(this._monthsParseExact)return function(e,t,n){var i,o,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=u([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,e))?o:null:-1!==(o=_e.call(this._longMonthsParse,e))?o:null:"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,e))||-1!==(o=_e.call(this._longMonthsParse,e))?o:null:-1!==(o=_e.call(this._longMonthsParse,e))||-1!==(o=_e.call(this._shortMonthsParse,e))?o:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=u([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(o.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}},K.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Be.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Be.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return He(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?je(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var i,o;if(this._weekdaysParseExact)return function(e,t,n){var i,o,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=u([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,e))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,e))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._shortWeekdaysParse,e))||-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,e))||-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,e))||-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._shortWeekdaysParse,e))?o:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=u([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),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}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ze),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},dt("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===j(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",dt),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var _n=Math.abs;function bn(e,t,n,i){n=Gt(t,n);return e._milliseconds+=i*n._milliseconds,e._days+=i*n._days,e._months+=i*n._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}re=Cn("ms"),Q=Cn("s"),X=Cn("m"),Z=Cn("h"),ie=Cn("d"),J=Cn("w"),Jt=Cn("M"),It=Cn("Q"),kt=Cn("y");function Pn(e){return function(){return this.isValid()?this._data[e]:NaN}}de=Pn("milliseconds"),nt=Pn("seconds"),Me=Pn("minutes"),Ge=Pn("hours"),qe=Pn("days"),ne=Pn("months"),Fe=Pn("years");var An=Math.round,Tn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Sn(e,t,n,i){var o=Gt(e).abs(),r=An(o.as("s")),s=An(o.as("m")),a=An(o.as("h")),l=An(o.as("d")),c=An(o.as("M")),d=An(o.as("w")),o=An(o.as("y")),l=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||d<=1&&["w"]||d<n.w&&["ww",d]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||o<=1&&["y"]||["yy",o])[2]=t,l[3]=0<+e,l[4]=i,function(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}.apply(null,l)}var En=Math.abs;function Mn(e){return(0<e)-(e<0)||+e}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,o,r,s,a=En(this._milliseconds)/1e3,l=En(this._days),c=En(this._months),d=this.asSeconds();return d?(e=U(a/60),t=U(e/60),a%=60,e%=60,n=U(c/12),c%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",o=Mn(this._months)!==Mn(d)?"-":"",r=Mn(this._days)!==Mn(d)?"-":"",s=Mn(this._milliseconds)!==Mn(d)?"-":"",(d<0?"-":"")+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(l?r+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+i+"S":"")):"P0D"}K=Nt.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},K.add=function(e,t){return bn(this,e,t,1)},K.subtract=function(e,t){return bn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xn(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)}},K.asMilliseconds=re,K.asSeconds=Q,K.asMinutes=X,K.asHours=Z,K.asDays=ie,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=It,K.asYears=kt,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*j(this._months/12):NaN},K._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*vn(xn(n)+t),n=t=0),i.milliseconds=e%1e3,e=U(e/1e3),i.seconds=e%60,e=U(e/60),i.minutes=e%60,e=U(e/60),i.hours=e%24,t+=U(e/24),n+=e=U(wn(t)),t-=vn(xn(e)),e=U(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},K.clone=function(){return Gt(this)},K.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=de,K.seconds=nt,K.minutes=Me,K.hours=Ge,K.days=qe,K.weeks=function(){return U(this.days()/7)},K.months=ne,K.years=Fe,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Tn;return"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)),i=Sn(this,!n,i,t=this.localeData()),n&&(i=t.pastFuture(+this,i)),t.postformat(i)},K.toISOString=Dn,K.toString=Dn,K.toJSON=Dn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),K.lang=te,O("X",0,0,"unix"),O("x",0,0,"valueOf"),ue("x",ae),ue("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(j(e))}),m.version="2.29.1",e=Dt,m.fn=oe,m.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=u,m.unix=function(e){return Dt(1e3*e)},m.months=function(e,t){return gn(e,t,"months")},m.isDate=o,m.locale=dt,m.invalid=g,m.duration=Gt,m.isMoment=w,m.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},m.parseZone=function(){return Dt.apply(null,arguments).parseZone()},m.localeData=ht,m.isDuration=Bt,m.monthsShort=function(e,t){return gn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},m.defineLocale=ut,m.updateLocale=function(e,t){var n,i;return null!=t?(i=ot,null!=rt[e]&&null!=rt[e].parentLocale?rt[e].set(T(rt[e]._config,t)):(t=T(i=null!=(n=ct(e))?n._config:i,t),null==n&&(t.abbr=e),(t=new S(t)).parentLocale=rt[e],rt[e]=t),dt(e)):null!=rt[e]&&(null!=rt[e].parentLocale?(rt[e]=rt[e].parentLocale,e===dt()&&dt(e)):null!=rt[e]&&delete rt[e]),rt[e]},m.locales=function(){return E(rt)},m.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},m.normalizeUnits=$,m.relativeTimeRounding=function(e){return void 0===e?An:"function"==typeof e&&(An=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(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=oe,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}(),Ki.exports);class to extends HTMLElement{static get version(){return"1.6.1"}}customElements.define("vaadin-lumo-styles",to);let no,io=null,oo=window.HTMLImports&&window.HTMLImports.whenReady||null;function ro(e){requestAnimationFrame(function(){oo?oo(e):(io||(io=new Promise(e=>{no=e}),"complete"===document.readyState?no():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&no()})),io.then(function(){e&&e()}))})}const so="__seenByShadyCSS",ao="__shadyCSSCachedStyle";let lo=null,co=null;class uo{constructor(){this.customStyles=[],this.enqueued=!1,ro(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&co&&(this.enqueued=!0,ro(co))}addCustomStyle(e){e[so]||(e[so]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[ao]||(e.getStyle?e.getStyle():e)}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const i=t[e];if(!i[ao]){var n=this.getStyleForCustomStyle(i);if(n){const t=n.__appliedElement||n;lo&&lo(t),i[ao]=t}}}return t}}Object.defineProperties(uo.prototype,{transformCallback:{get:()=>lo,set(e){lo=e}},validateCallback:{get:()=>co,set(e){let t=!1;co||(t=!0),co=e,t&&this.enqueueDocumentValidation()}}});const ho=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,po=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,mo=/@media\s(.*)/;function fo(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}function go(e,t){const n=window.getComputedStyle(e).getPropertyValue(t);return n?n.trim():""}const yo=!(window.ShadyDOM&&window.ShadyDOM.inUse);let _o,bo;function vo(e){_o=(!e||!e.shimcssproperties)&&(yo||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&&(bo=window.ShadyCSS.cssBuild);gn=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?_o=window.ShadyCSS.nativeCss:window.ShadyCSS?(vo(window.ShadyCSS),window.ShadyCSS=void 0):vo(window.WebComponents&&window.WebComponents.flags);const wo=_o,xo=new uo;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,n){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,n){},styleSubtree(e,t){xo.processStyles(),fo(e,t)},styleElement(e){xo.processStyles()},styleDocument(e){xo.processStyles(),fo(document.body,e)},getComputedStyleValue:(e,t)=>go(e,t),flushCustomStyles(){},nativeCss:wo,nativeShadow:yo,cssBuild:bo,disableRuntime:gn}),window.ShadyCSS.CustomStyleInterface=xo,window.JSCompiler_renameProperty=function(e,t){return e};let Co,Po,Ao=/(url\()([^)]*)(\))/g,To=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function So(e,t){if(e&&To.test(e))return e;if("//"===e)return e;if(void 0===Co){Co=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",Co="http://a/c%20d"===e.href}catch(e){}}if(t=t||(document.baseURI||window.location.href),Co)try{return new URL(e,t).href}catch(t){return e}return Po||(Po=document.implementation.createHTMLDocument("temp"),Po.base=Po.createElement("base"),Po.head.appendChild(Po.base),Po.anchor=Po.createElement("a"),Po.body.appendChild(Po.anchor)),Po.base.href=t,Po.anchor.href=e,Po.anchor.href||e}function Eo(e,o){return e.replace(Ao,function(e,t,n,i){return t+"'"+So(n.replace(/["']/g,""),o)+"'"+i})}function Mo(e){return e.substring(0,e.lastIndexOf("/")+1)}const Do=!window.ShadyDOM||!window.ShadyDOM.inUse;Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss);const ko=Do&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet;e.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})();let Io=window.Polymer&&window.Polymer.rootPath||Mo(document.baseURI||window.location.href),Lo=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,Oo=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1,No=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,Bo=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,Ro=window.Polymer&&window.Polymer.legacyOptimizations||!1,Fo=window.Polymer&&window.Polymer.legacyWarnings||!1,$o=window.Polymer&&window.Polymer.syncInitialRender||!1,zo=window.Polymer&&window.Polymer.legacyUndefined||!1,Wo=window.Polymer&&window.Polymer.orderedComputed||!1,Yo=window.Polymer&&window.Polymer.removeNestedTemplates||!1,Ho=window.Polymer&&window.Polymer.fastDomIf||!1,Uo=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,jo=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1,Go=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1,Vo={},qo={};function Xo(e,t){Vo[e]=qo[e.toLowerCase()]=t}function Zo(e){return Vo[e]||qo[e.toLowerCase()]}class Jo extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,n){if(t){let e=Zo(t);return e&&n?e.querySelector(n):e}return 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=So(this.getAttribute("assetpath")||"",e.baseURI),this.__assetpath=Mo(e)),this.__assetpath}register(e){if(e=e||this.id){if(No&&void 0!==Zo(e))throw Xo(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);Xo(this.id=e,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}}}Jo.prototype.modules=Vo,customElements.define("dom-module",Jo);const Ko="shady-unscoped";function Qo(e){return Jo.import(e)}function er(e){const t=Eo((e.body||e).textContent,e.baseURI),n=document.createElement("style");return n.textContent=t,n}function tr(e){const t=e.trim().split(/\s+/),n=[];for(let e=0;e<t.length;e++)n.push(...function(e){const t=Qo(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const n=[];n.push(...ir(t));e=t.querySelector("template");e&&n.push(...nr(e,t.assetpath)),t._styles=n}return t._styles}(t[e]));return n}function nr(e,i){if(!e._styles){const o=[],r=e.content.querySelectorAll("style");for(let n=0;n<r.length;n++){let e=r[n],t=e.getAttribute("include");t&&o.push(...tr(t).filter(function(e,t,n){return n.indexOf(e)===t})),i&&(e.textContent=Eo(e.textContent,i)),o.push(e)}e._styles=o}return e._styles}function ir(n){const i=[],o=n.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<o.length;t++){let e=o[t];if(e.import){const n=e.import,o=e.hasAttribute(Ko);if(o&&!n._unscopedStyle){const i=er(n);i.setAttribute(Ko,""),n._unscopedStyle=i}else n._style||(n._style=er(n));i.push(o?n._unscopedStyle:n._style)}}return i}const or="include",rr=window.ShadyCSS.CustomStyleInterface;class sr extends HTMLElement{constructor(){super(),this._style=null,rr.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const e=this.querySelector("style");if(!e)return null;this._style=e;var i=e.getAttribute(or);return i&&(e.removeAttribute(or),e.textContent=function(){let t=i.trim().split(/\s+/),n="";for(let e=0;e<t.length;e++)n+=function(e){let o=Qo(e);if(o&&void 0===o._cssText){let e=function(){let t="",n=ir(o);for(let e=0;e<n.length;e++)t+=n[e].textContent;return t}(),t=o.querySelector("template");t&&(e+=function(){let n="";var i=nr(t,o.assetpath);for(let t=0;t<i.length;t++){let e=i[t];e.parentNode&&e.parentNode.removeChild(e),n+=e.textContent}return n}()),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),this._style}}window.customElements.define("custom-style",sr);const ar=document.createElement("template");ar.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(ar.content);const lr=document.createElement("template");lr.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(lr.content);const cr=document.createElement("template");cr.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(cr.content);const dr=document.createElement("template");dr.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(dr.content);const ur=document.createElement("template");ur.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(ur.content);const hr=document.createElement("template");hr.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(hr.content);const pr=document.createElement("template");pr.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(pr.content);class mr{constructor(e){this.value=e.toString()}toString(){return this.value}}const fr=function(i,...e){const t=document.createElement("template");return t.innerHTML=e.reduce((e,t,n)=>e+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof mr)return function(e){if(e instanceof mr)return e.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${e}`)}(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}(t)+i[n+1],i[0]),t},gr=fr`<dom-module id="lumo-date-picker-overlay" theme-for="vaadin-date-picker-overlay">
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function yt(){}const f=e=>e;function d(e){return e()}function u(){return Object.create(null)}function _t(e){e.forEach(d)}function ne(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function h(e,...t){if(null==e)return yt;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function R(e,t,n){e.$$.on_destroy.push(h(t,n))}var e="undefined"!=typeof window;let g=e?()=>window.performance.now():()=>Date.now(),y=e?e=>requestAnimationFrame(e):yt;const _=new Set;function b(t){_.forEach(e=>{e.c(t)||(_.delete(e),e.f())}),0!==_.size&&y(b)}function bt(e,t){e.appendChild(t)}function vt(e,t,n){e.insertBefore(t,n||null)}function wt(e){e.parentNode.removeChild(e)}function xt(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function Ct(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Pt(e){return document.createTextNode(e)}function At(){return Pt(" ")}function k(){return Pt("")}function Tt(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function G(t){return function(e){return e.preventDefault(),t.call(this,e)}}function St(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function V(e,t,n){t in e?e[t]=n:St(e,t,n)}function F(e){return""===e?null:+e}function q(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Et(e,t){e.value=null==t?"":t}function v(e,t,n,i){e.style.setProperty(t,n,i?"important":"")}function Mt(t,n){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===n)return i.selected=!0,0}}function X(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const w=new Set;let p,x=0;function C(e,t,n,i,o,r,s,a=0){var l=16.666/i;let c="{\n";for(let e=0;e<=1;e+=l){const i=t+(n-t)*r(e);c+=100*e+`%{${s(i,1-i)}}\n`}const d=c+`100% {${s(n,1-n)}}\n}`,u=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(d)}_${a}`,h=e.ownerDocument;w.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(Ct("style")).sheet),m=h.__svelte_rules||(h.__svelte_rules={});m[u]||(m[u]=!0,p.insertRule(`@keyframes ${u} ${d}`,p.cssRules.length));a=e.style.animation||"";return e.style.animation=`${a?`${a}, `:""}${u} ${i}ms linear ${o}ms 1 both`,x+=1,u}function m(e){p=e}function Z(e){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(e)}const P=[],J=[],o=[],r=[],s=Promise.resolve();let a=!1;function A(){a||(a=!0,s.then(T))}function H(){return A(),s}function Dt(e){o.push(e)}let l=!1;const c=new Set;function T(){if(!l){l=!0;do{for(let e=0;e<P.length;e+=1){var t=P[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),_t(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Dt))}}(t.$$)}for(m(null),P.length=0;J.length;)J.pop()();for(let e=0;e<o.length;e+=1){const n=o[e];c.has(n)||(c.add(n),n())}}while(o.length=0,P.length);for(;r.length;)r.pop()();a=!1,l=!1,c.clear()}}let S;function E(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${n}`))}const M=new Set;let D;function I(e,t){e&&e.i&&(M.delete(e),e.i(t))}function L(e,t,n,i){e&&e.o&&(M.has(e)||(M.add(e),D.c.push(()=>{M.delete(e),i&&(n&&e.d(1),i())}),e.o(t)))}const O={duration:0};function N(a,e,t,n){let l=e(a,t),c=n?0:1,d=null,u=null,h=null;function p(){h&&function(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),o=n.length-i.length;o&&(e.style.animation=i.join(", "),x-=o,x||y(()=>{x||(w.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),w.clear())}))}(a,h)}function m(e,t){var n=e.b-c;return t*=Math.abs(n),{a:c,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:i=f,tick:o=yt,css:r}=l||O,s={start:g()+t,b:e};e||(s.group=D,D.r+=1),d||u?u=s:(r&&(p(),h=C(a,c,e,n,t,i,r)),e&&o(0,1),d=m(s,n),Dt(()=>E(a,e,"start")),function(t){let n;0===_.size&&y(b),new Promise(e=>{_.add(n={c:t,f:e})})}(e=>{return u&&e>u.start&&(d=m(u,n),u=null,E(a,d.b,"start"),r&&(p(),h=C(a,c,d.b,d.duration,0,i,l.css))),d&&(e>=d.end?(o(c=d.b,1-c),E(a,d.b,"end"),u||(d.b?p():--d.group.r||_t(d.group.c)),d=null):e>=d.start&&(e=e-d.start,c=d.a+d.d*i(e/d.duration),o(c,1-c))),!(!d&&!u)}))}return{run(e){ne(l)?(S||(S=Promise.resolve(),S.then(()=>{S=null})),S.then(()=>{l=l(),i(e)})):i(e)},end(){p(),d=u=null}}}function B(i,e,t,n,o,r,s=[-1]){var a=p;m(i);const l=i.$$={fragment:null,ctx:null,props:r,update:yt,not_equal:o,bound:u(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:e.context||[]),callbacks:u(),dirty:s,skip_bound:!1};let c=!1;if(l.ctx=t?t(i,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&o(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=i).$$.dirty[0]&&(P.push(e),A(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,_t(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const yt=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(yt),yt.forEach(wt)}else l.fragment&&l.fragment.c();e.intro&&I(i.$$.fragment),function(t,e,n,i){const{fragment:o,on_mount:r,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,n),i||Dt(()=>{var e=r.map(d).filter(ne);s?s.push(...e):_t(e),t.$$.on_mount=[]}),a.forEach(Dt)}(i,e.target,e.anchor,e.customElement),T()}m(a)}let $;"function"==typeof HTMLElement&&($=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(d).filter(ne);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){_t(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(_t(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=yt}$on(e,t){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 z,W,Y="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Y&&Y,U="URLSearchParams"in Y,j="Symbol"in Y&&"iterator"in Symbol,K="FileReader"in Y&&"Blob"in Y&&function(){try{return new Blob,!0}catch(e){return!1}}(),Q="FormData"in Y,ee="ArrayBuffer"in Y;function te(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 ie(e){return e="string"!=typeof e?String(e):e}function oe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return j&&(e[Symbol.iterator]=function(){return e}),e}function re(t){this.map={},t instanceof re?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 se(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ae(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function le(e){var t=new FileReader,n=ae(t);return t.readAsArrayBuffer(e),n}function ce(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function de(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:K&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:U&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ee&&K&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ce(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ee&&(ArrayBuffer.prototype.isPrototypeOf(e)||W(e))?this._bodyArrayBuffer=ce(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):U&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},K&&(this.blob=function(){var e=se(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?se(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(le)}),this.text=function(){var e,t,n=se(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ae(t),t.readAsText(e),n;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)},Q&&(this.formData=function(){return this.text().then(pe)}),this.json=function(){return this.text().then(JSON.parse)},this}ee&&(z=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],W=ArrayBuffer.isView||function(e){return e&&-1<z.indexOf(Object.prototype.toString.call(e))}),re.prototype.append=function(e,t){e=te(e),t=ie(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},re.prototype.delete=function(e){delete this.map[te(e)]},re.prototype.get=function(e){return e=te(e),this.has(e)?this.map[e]:null},re.prototype.has=function(e){return this.map.hasOwnProperty(te(e))},re.prototype.set=function(e,t){this.map[te(e)]=ie(t)},re.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},re.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),oe(n)},re.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),oe(t)},re.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),oe(n)},j&&(re.prototype[Symbol.iterator]=re.prototype.entries);var ue=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function he(e,t){if(!(this instanceof he))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 he){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new re(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 re(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<ue.indexOf(e)?e:n),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||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function pe(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function me(e,t){if(!(this instanceof me))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 re(t.headers),this.url=t.url||"",this._initBody(e)}he.prototype.clone=function(){return new he(this,{body:this._bodyInit})},de.call(he.prototype),de.call(me.prototype),me.prototype.clone=function(){return new me(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new re(this.headers),url:this.url})},me.error=function(){var e=new me(null,{status:0,statusText:""});return e.type="error",e};var fe=[301,302,303,307,308];me.redirect=function(e,t){if(-1===fe.indexOf(t))throw new RangeError("Invalid status code");return new me(null,{status:t,headers:{location:e}})};var ge=Y.DOMException;try{new ge}catch(yt){(ge=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),ge.prototype.constructor=ge}function ye(i,s){return new Promise(function(o,e){var t=new he(i,s);if(t.signal&&t.signal.aborted)return e(new ge("Aborted","AbortError"));var r=new XMLHttpRequest;function n(){r.abort()}r.onload=function(){var e,n,t={status:r.status,statusText:r.statusText,headers:(e=r.getAllResponseHeaders()||"",n=new re,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in r?r.responseURL:t.headers.get("X-Request-URL");var i="response"in r?r.response:r.responseText;setTimeout(function(){o(new me(i,t))},0)},r.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},r.onabort=function(){setTimeout(function(){e(new ge("Aborted","AbortError"))},0)},r.open(t.method,function(t){try{return""===t&&Y.location.href?Y.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?r.withCredentials=!0:"omit"===t.credentials&&(r.withCredentials=!1),"responseType"in r&&(K?r.responseType="blob":ee&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(r.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof re?t.headers.forEach(function(e,t){r.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){r.setRequestHeader(e,ie(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),r.onreadystatechange=function(){4===r.readyState&&t.signal.removeEventListener("abort",n)}),r.send(void 0===t._bodyInit?null:t._bodyInit)})}function kn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}ye.polyfill=!0,Y.fetch||(Y.fetch=ye,Y.Headers=re,Y.Request=he,Y.Response=me),self.fetch.bind(self);var _e=function(e,t){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function be(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}_e(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ve(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 we(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(i=r.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function xe(e,t){for(var n=0,i=t.length,o=e.length;n<i;n++,o++)e[o]=t[n];return e}function Ce(e){return"function"==typeof e}function Pe(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 Ae=Pe(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 Te(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Se=(Me.prototype.unsubscribe=function(){var e,t,n,i,o;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var s=ve(r),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else r.remove(this);r=this.initialTeardown;if(Ce(r))try{r()}catch(e){o=e instanceof Ae?e.errors:[e]}r=this._teardowns;if(r){this._teardowns=null;try{for(var l=ve(r),c=l.next();!c.done;c=l.next()){var d=c.value;try{ke(d)}catch(e){o=null!=o?o:[],e instanceof Ae?o=xe(xe([],we(o)),we(e.errors)):o.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(o)throw new Ae(o)}},Me.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ke(e);else{if(e instanceof Me){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Me.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Me.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Me.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Te(t,e)},Me.prototype.remove=function(e){var t=this._teardowns;t&&Te(t,e),e instanceof Me&&e._removeParent(this)},Me.EMPTY=((pn=new Me).closed=!0,pn),Me),Ee=Se.EMPTY;function Me(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function De(e){return e instanceof Se||e&&"closed"in e&&Ce(e.remove)&&Ce(e.add)&&Ce(e.unsubscribe)}function ke(e){Ce(e)?e():e.unsubscribe()}var Ie=void 0,Le=!1,Oe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,xe([],we(e)))};function Ne(){}function Be(e){e()}var Re,Fe,$e=(be(Ye,Fe=Se),Ye.create=function(e,t,n){return new ze(e,t,n)},Ye.prototype.next=function(e){this.isStopped||this._next(e)},Ye.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ye.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ye.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Fe.prototype.unsubscribe.call(this),this.destination=null)},Ye.prototype._next=function(e){this.destination.next(e)},Ye.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ye.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ye),ze=(be(We,Re=$e),We);function We(e,t,n){var i,o,r=Re.call(this)||this;return Ce(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,r&&Le?(i=Object.create(e)).unsubscribe=function(){return r.unsubscribe()}:i=e,o=null==o?void 0:o.bind(i),t=null==t?void 0:t.bind(i),n=null==n?void 0:n.bind(i)),r.destination={next:o?He(o):Ne,error:He(null!=t?t:Ue),complete:n?He(n):Ne},r}function Ye(e){var t=Fe.call(this)||this;return t.isStopped=!1,e?De(t.destination=e)&&e.add(t):t.destination=je,t}function He(i){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{i.apply(void 0,xe([],we(e)))}catch(e){t=e,Oe(function(){throw t})}}}function Ue(e){throw e}var je={closed:!0,next:Ne,error:Ue,complete:Ne},Ge="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ve(e){return e}var qe=(Xe.prototype.lift=function(e){var t=new Xe;return t.source=this,t.operator=e,t},Xe.prototype.subscribe=function(e,t,n){var i,o=this,r=(i=e)&&i instanceof $e||i&&Ce(i.next)&&Ce(i.error)&&Ce(i.complete)&&De(i)?e:new ze(e,t,n);return Be(function(){var e=o.operator,t=o.source;r.add(e?e.call(r,t):t?o._subscribe(r):o._trySubscribe(r))}),r},Xe.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Xe.prototype.forEach=function(i,e){var o=this;return new(e=Ze(e))(function(e,t){var n=o.subscribe(function(e){try{i(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},Xe.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Xe.prototype[Ge]=function(){return this},Xe.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Ve:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Xe.prototype.toPromise=function(e){var i=this;return new(e=Ze(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},Xe.create=function(e){return new Xe(e)},Xe);function Xe(e){e&&(this._subscribe=e)}function Ze(e){return null!==(e=null!=e?e:Ie)&&void 0!==e?e:Promise}var Je,Ke,Qe,et=Pe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),tt=(be(at,Qe=qe),at.prototype.lift=function(e){var t=new nt(this,this);return t.operator=e,t},at.prototype._throwIfClosed=function(){if(this.closed)throw new et},at.prototype.next=function(r){var s=this;Be(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var i=ve(n),o=i.next();!o.done;o=i.next())o.value.next(r)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},at.prototype.error=function(t){var n=this;Be(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)}})},at.prototype.complete=function(){var t=this;Be(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},at.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(at.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),at.prototype._trySubscribe=function(e){return this._throwIfClosed(),Qe.prototype._trySubscribe.call(this,e)},at.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},at.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,i=this.observers;return t||n?Ee:(i.push(e),new Se(function(){return Te(i,e)}))},at.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},at.prototype.asObservable=function(){var e=new qe;return e.source=this,e},at.create=function(e,t){return new nt(e,t)},at),nt=(be(st,Ke=tt),st.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},st.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},st.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},st.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ee},st),it={now:function(){return(it.delegate||Date).now()},delegate:void 0},ot=(be(rt,Je=tt),rt.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,o=t._infiniteTimeWindow,r=t._timestampProvider,t=t._windowTime;n||(i.push(e),o||i.push(r.now()+t)),this._trimBuffer(),Je.prototype.next.call(this,e)},rt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),o=0;o<i.length&&!e.closed;o+=n?1:2)e.next(i[o]);return this._checkFinalizedStatuses(e),t},rt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var r=t.now(),s=0,a=1;a<n.length&&n[a]<=r;a+=2)s=a;s&&n.splice(0,s+1)}},rt);function rt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=it);var i=Je.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 st(e,t){var n=Ke.call(this)||this;return n.destination=e,n.source=t,n}function at(){var e=Qe.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let lt=[],ct={};const dt=[];function ut(i,o=yt){let r;const s=[];function a(e){if(n(i,e)&&(i=e,r)){const e=!dt.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),dt.push(t,i)}if(e){for(let e=0;e<dt.length;e+=2)dt[e][0](dt[e+1]);dt.length=0}}}return{set:a,update:function(e){a(e(i))},subscribe:function(e,t=yt){const n=[e,t];return s.push(n),1===s.length&&(r=o(a)||yt),e(i),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(r(),r=null)}}}}function ht(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,d=a.length<2;return{subscribe:ut(t,t=>{let n=!1;const i=[];let o=0,r=yt;const s=()=>{var e;o||(r(),e=a(l?i[0]:i,t),d?t(e):r=ne(e)?e:yt)},e=c.map((e,t)=>h(e,e=>{i[t]=e,o&=~(1<<t),n&&s()},()=>{o|=1<<t}));return n=!0,s(),function(){_t(e),r()}}).subscribe}}var pt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===mt));var t},mt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ft(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ot(Array.isArray(e)?[]:{},e,t):e}function gt(e,t,n){return e.concat(t).map(function(e){return ft(e,n)})}function kt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function It(e,t){try{return t in e}catch(e){return!1}}function Lt(i,o,r){var s={};return r.isMergeableObject(i)&&kt(i).forEach(function(e){s[e]=ft(i[e],r)}),kt(o).forEach(function(t){var e,n;(!It(e=i,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(It(i,t)&&r.isMergeableObject(o[t])?s[t]=function(){if(!r.customMerge)return Ot;var e=r.customMerge(t);return"function"==typeof e?e:Ot}()(i[t],o[t],r):s[t]=ft(o[t],r))}),s}function Ot(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||gt,n.isMergeableObject=n.isMergeableObject||pt,n.cloneUnlessOtherwiseSpecified=ft;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):Lt(e,t,n):ft(t,n)}Ot.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Ot(e,t,n)},{})};var Nt=Ot,Bt=function(e,t){return(Bt=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 Rt(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}Bt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Ft,$t,zt,Wt=function(){return(Wt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Yt(e,t){for(var n=0,i=t.length,o=e.length;n<i;n++,o++)e[o]=t[n];return e}function Ht(e){return e.type===$t.literal}function Ut(e){return e.type===$t.number}function jt(e){return e.type===$t.date}function Gt(e){return e.type===$t.time}function Vt(e){return e.type===$t.select}function qt(e){return e.type===$t.plural}function Xt(e){return e.type===$t.tag}function Zt(e){return e&&"object"==typeof e&&e.type===zt.number}function Jt(e){return e&&"object"==typeof e&&e.type===zt.dateTime}(mn=Ft=Ft||{})[mn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",mn[mn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",mn[mn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",mn[mn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",mn[mn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",mn[mn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",mn[mn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",mn[mn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",mn[mn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",mn[mn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",mn[mn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",mn[mn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",mn[mn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",mn[mn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",mn[mn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",mn[mn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",mn[mn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",mn[mn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",mn[mn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",mn[mn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",mn[mn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",mn[mn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",mn[mn.INVALID_TAG=23]="INVALID_TAG",mn[mn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",mn[mn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",mn[mn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(fn=$t=$t||{})[fn.literal=0]="literal",fn[fn.argument=1]="argument",fn[fn.number=2]="number",fn[fn.date=3]="date",fn[fn.time=4]="time",fn[fn.select=5]="select",fn[fn.plural=6]="plural",fn[fn.pound=7]="pound",fn[fn.tag=8]="tag",(gn=zt=zt||{})[gn.number=0]="number",gn[gn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Kt=/(?:[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 Qt,en=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,tn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,nn=/^(@+)?(\+|#+)?$/g,on=/(\*)(0+)|(#+)(0+)|(0+)/g,rn=/^(0+)$/;function sn(e){var i={};return e.replace(nn,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 an(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 ln(e){return an(e)||{}}function cn(e){for(var s={},t=0,n=e;t<n.length;t++){var i,o=n[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=Wt(Wt(Wt({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return Wt(Wt({},e),ln(t))},{}));continue;case"engineering":s=Wt(Wt(Wt({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return Wt(Wt({},e),ln(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(on,function(e,t,n,i,o,r){if(t)s.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(r)throw new Error("We currently do not support exact integer digits")}return""});continue}if(rn.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(tn.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(tn,function(e,t,n,i,o,r){return"*"===n?s.minimumFractionDigits=t.length:i&&"#"===i[0]?s.maximumFractionDigits=i.length:o&&r?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+r.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=Wt(Wt({},s),sn(o.options[0])))}else nn.test(o.stem)?s=Wt(Wt({},s),sn(o.stem)):((i=an(o.stem))&&(s=Wt(Wt({},s),i)),(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)),!rn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=Wt(Wt({},s),i)))}return s}var dn=new RegExp("^"+e.source+"*"),un=new RegExp(e.source+"*$");function hn(e,t){return{start:e,end:t}}var pn=!!String.prototype.startsWith,Ge=!!String.fromCodePoint,tt=!!Object.fromEntries,mn=!!String.prototype.codePointAt,fn=!!String.prototype.trimStart,gn=!!String.prototype.trimEnd,yn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(Qt=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Qt?void 0:Qt[0])}catch(yt){e=!1}var _n,bn,vn=pn?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},wn=Ge?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",o=e.length,r=0;r<o;){if(1114111<(n=e[r++]))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},xn=tt?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var o=i[n],r=o[0],o=o[1];t[r]=o}return t},Cn=mn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var i,o=e.charCodeAt(t);return o<55296||56319<o||t+1===n||(i=e.charCodeAt(t+1))<56320||57343<i?o:i-56320+(o-55296<<10)+65536}},Pn=fn?function(e){return e.trimStart()}:function(e){return e.replace(dn,"")},An=gn?function(e){return e.trimEnd()}:function(e){return e.replace(un,"")};function Tn(e,t){return new RegExp(e,t)}bn=e?(_n=Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return _n.lastIndex=t,null!==(e=_n.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,i=[];;){var o=Cn(e,t);if(void 0===o||Dn(o)||(33<=(n=o)&&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(o),t+=65536<=o?2:1}return wn.apply(void 0,i)};var Sn=(En.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},En.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var o,r=this.char();if(123===r){if((o=this.parseArgument(e,n)).err)return o;i.push(o.val)}else{if(125===r&&0<e)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Ft.UNMATCHED_CLOSING_TAG,hn(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&Mn(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;i.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;i.push(o.val)}}else{r=this.clonePosition();this.bump(),i.push({type:$t.pound,location:hn(r,this.clonePosition())})}}}return{val:i,err:null}},En.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$t.literal,value:"<"+i+"/>",location:hn(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Mn(this.char()))return this.error(Ft.INVALID_TAG,hn(t,this.clonePosition()));o=this.clonePosition();return i!==this.parseTagName()?this.error(Ft.UNMATCHED_CLOSING_TAG,hn(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$t.tag,value:i,children:e,location:hn(n,this.clonePosition())},err:null}:this.error(Ft.INVALID_TAG,hn(t,this.clonePosition())))}return this.error(Ft.UNCLOSED_TAG,hn(n,this.clonePosition()))}return this.error(Ft.INVALID_TAG,hn(n,this.clonePosition()))},En.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())},En.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(t);if(o)i+=o;else{o=this.tryParseUnquoted(e,t);if(o)i+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;i+=o}}}n=hn(n,this.clonePosition());return{val:{type:$t.literal,value:i,location:n},err:null}},En.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Mn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},En.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)},En.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),wn(n))},En.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ft.EMPTY_ARGUMENT,hn(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Ft.MALFORMED_ARGUMENT,hn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$t.argument,value:i,location:hn(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(Ft.MALFORMED_ARGUMENT,hn(n,this.clonePosition()))}},En.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=bn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:hn(e,this.clonePosition())}},En.prototype.parseArgumentOptions=function(e,t,n,i){var o,r=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Ft.EXPECT_ARGUMENT_TYPE,hn(r,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(u=An(h.val)).length)return this.error(Ft.EXPECT_ARGUMENT_STYLE,hn(this.clonePosition(),this.clonePosition()));l={style:u,styleLocation:hn(c,this.clonePosition())}}if((p=this.tryParseArgumentClose(i)).err)return p;var d=hn(i,this.clonePosition());if(l&&vn(null==l?void 0:l.style,"::",0)){c=Pn(l.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:$t.number,value:n,location:d,style:h.val},err:null};if(0===c.length)return this.error(Ft.EXPECT_DATE_TIME_SKELETON,d);var u={type:zt.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(Kt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),o):{}};return{val:{type:"date"===s?$t.date:$t.time,value:n,location:d,style:u},err:null}}return{val:{type:"number"===s?$t.number:"date"===s?$t.date:$t.time,value:n,location:d,style:null!==(d=null==l?void 0:l.style)&&void 0!==d?d:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ft.EXPECT_SELECT_ARGUMENT_OPTIONS,hn(l,Wt({},l)));this.bumpSpace();var h,d=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(Ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,hn(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),d=this.parseIdentifierIfPossible(),l=h.val}d=this.tryParsePluralOrSelectOptions(e,s,t,d);if(d.err)return d;if((p=this.tryParseArgumentClose(i)).err)return p;var p=hn(i,this.clonePosition());return"select"===s?{val:{type:$t.select,value:n,options:xn(d.val),location:p},err:null}:{val:{type:$t.plural,value:n,options:xn(d.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null};default:return this.error(Ft.INVALID_ARGUMENT_TYPE,hn(r,a))}},En.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Ft.EXPECT_ARGUMENT_CLOSING_BRACE,hn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},En.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(Ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,hn(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}},En.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(en).filter(function(e){return 0<e.length});n<i.length;n++){var o=i[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var r=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:r,options:o})}return t}(e)}catch(e){return this.error(Ft.INVALID_NUMBER_SKELETON,t)}return{val:{type:zt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?cn(n):{}},err:null}},En.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var o=!1,r=[],s=new Set,a=i.value,l=i.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=hn(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?Ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(o=!0),this.bumpSpace();var u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,hn(this.clonePosition(),this.clonePosition()));d=this.parseMessage(e+1,t,n);if(d.err)return d;c=this.tryParseArgumentClose(u);if(c.err)return c;r.push([a,{value:d.val,location:hn(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===r.length?this.error("select"===t?Ft.EXPECT_SELECT_ARGUMENT_SELECTOR:Ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,hn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Ft.MISSING_OTHER_CLAUSE,hn(this.clonePosition(),this.clonePosition())):{val:r,err:null}},En.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,r=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,r=10*r+(s-48),this.bump()}i=hn(i,this.clonePosition());return o?yn(r*=n)?{val:r,err:null}:this.error(t,i):this.error(e,i)},En.prototype.offset=function(){return this.position.offset},En.prototype.isEOF=function(){return this.offset()===this.message.length},En.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},En.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Cn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},En.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},En.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))},En.prototype.bumpIf=function(e){if(vn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},En.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},En.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},En.prototype.bumpSpace=function(){for(;!this.isEOF()&&Dn(this.char());)this.bump()},En.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},En);function En(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Mn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Dn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function In(e,t){t=Wt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Sn(e,t).parse();if(n.err){e=SyntaxError(Ft[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,Vt(e)||qt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Ut(e)&&Zt(e.style)||(jt(e)||Gt(e))&&Jt(e.style)?delete e.style.location:Xt(e)&&n(e.children)})}(n.val),n.val}function Ln(e,t){var n=t&&t.cache?t.cache:zn,i=t&&t.serializer?t.serializer:Rn;return(t&&t.strategy?t.strategy:function(e,t){return Bn(e,this,1===e.length?On:Nn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function On(e,t,n,i){var o=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),n=t.get(o);return void 0===n&&(n=e.call(this,i),t.set(o,n)),n}function Nn(e,t,n){var i=Array.prototype.slice.call(arguments,3),o=n(i),n=t.get(o);return void 0===n&&(n=e.apply(this,i),t.set(o,n)),n}function Bn(e,t,n,i,o){return n.bind(t,e,i,o)}var Rn=function(){return JSON.stringify(arguments)};function Fn(){this.cache=Object.create(null)}Fn.prototype.has=function(e){return e in this.cache},Fn.prototype.get=function(e){return this.cache[e]},Fn.prototype.set=function(e,t){this.cache[e]=t};var $n,zn={create:function(){return new Fn}},Wn={variadic:function(e,t){return Bn(e,this,Nn,t.cache.create(),t.serializer)},monadic:function(e,t){return Bn(e,this,On,t.cache.create(),t.serializer)}};(gn=$n=$n||{}).MISSING_VALUE="MISSING_VALUE",gn.INVALID_VALUE="INVALID_VALUE",gn.MISSING_INTL_API="MISSING_INTL_API";var Yn,Hn,Un,jn,Gn,Vn=(Rt(ei,Gn=Error),ei.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},ei),qn=(Rt(Qn,jn=Vn),Qn),Xn=(Rt(Kn,Un=Vn),Kn),Zn=(Rt(Jn,Hn=Vn),Jn);function Jn(e,t){return Hn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',$n.MISSING_VALUE,t)||this}function Kn(e,t,n){return Un.call(this,'Value for "'+e+'" must be of type '+t,$n.INVALID_VALUE,n)||this}function Qn(e,t,n,i){return jn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',$n.INVALID_VALUE,i)||this}function ei(e,t,n){e=Gn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function ti(e,t,n,i,o,r,s){if(1===e.length&&Ht(e[0]))return[{type:Yn.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var d=c[l];if(Ht(d))a.push({type:Yn.literal,value:d.value});else if(d.type===$t.pound)"number"==typeof r&&a.push({type:Yn.literal,value:n.getNumberFormat(t).format(r)});else{var u=d.value;if(!(o&&u in o))throw new Zn(u,s);var h=o[u];if(d.type===$t.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?Yn.literal:Yn.object,value:h});else if(jt(d)){var p="string"==typeof d.style?i.date[d.style]:Jt(d.style)?d.style.parsedOptions:void 0;a.push({type:Yn.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(Gt(d))p="string"==typeof d.style?i.time[d.style]:Jt(d.style)?d.style.parsedOptions:void 0,a.push({type:Yn.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(Ut(d))(p="string"==typeof d.style?i.number[d.style]:Zt(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:Yn.literal,value:n.getNumberFormat(t,p).format(h)});else{if(Xt(d)){var m=d.children,f=d.value,u=o[f];if("function"!=typeof u)throw new Xn(f,"function",s);m=u(ti(m,t,n,i,o,r).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?Yn.literal:Yn.object,value:e}}))}if(Vt(d)){if(!(g=d.options[h]||d.options.other))throw new qn(d.value,h,Object.keys(d.options),s);a.push.apply(a,ti(g.value,t,n,i,o))}else if(qt(d)){if(!(g=d.options["="+h])){if(!Intl.PluralRules)throw new Vn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',$n.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:d.pluralType}).select(h-(d.offset||0)),g=d.options[m]||d.options.other}if(!g)throw new qn(d.value,h,Object.keys(d.options),s);a.push.apply(a,ti(g.value,t,n,i,o,h-(d.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Yn.literal&&t.type===Yn.literal?n.value+=t.value:e.push(t),e},[])}function ni(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=Yn=Yn||{})[e.literal=0]="literal",e[e.object=1]="object";var ii=(Object.defineProperty(oi,"defaultLocale",{get:function(){return oi.memoizedDefaultLocale||(oi.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),oi.memoizedDefaultLocale},enumerable:!1,configurable:!0}),oi.memoizedDefaultLocale=null,oi.__parse=In,oi.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"}}},oi);function oi(e,t,n,i){var o,r,s=this;if(void 0===t&&(t=oi.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Yn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return ti(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!oi.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=oi.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=oi.formats,(r=n)?Object.keys(o).reduce(function(e,t){var n,i;return e[t]=(n=o[t],(i=r[t])?Wt(Wt(Wt({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=Wt(Wt({},n[t]),i[t]||{}),e},{})):n),e},Wt({},o)):o),this.locales=t,this.formatters=i&&i.formatters||{getNumberFormat:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Yt([void 0],t)))},{cache:ni((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:Wn.variadic}),getDateTimeFormat:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Yt([void 0],t)))},{cache:ni(i.dateTime),strategy:Wn.variadic}),getPluralRules:Ln(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Yt([void 0],t)))},{cache:ni(i.pluralRules),strategy:Wn.variadic})}}const ri={},si=(t,n)=>{if(null!=n){if(n in ri&&t in ri[n])return ri[n][t];var i,o,r=xi(n);for(let e=0;e<r.length;e++){var s=(i=r[e],o=t,ci(i)?function(e,t){if(t in e)return e[t];const n=t.split(".");let i=e;for(let e=0;e<n.length;e++)if("object"==typeof i){if(0<e){const t=n.slice(e,n.length).join(".");if(t in i){i=i[t];break}}i=i[n[e]]}else i=void 0;return i}(function(e){return ai[e]||null}(i),o):null);if(s)return i=t,o=n,(s=s)&&(o in ri||(ri[o]={}),i in ri[o]||(ri[o][i]=s),s)}}};let ai;const li=ut({});function ci(e){return e in ai}function di(t,...n){delete ri[t],li.update(e=>(e[t]=Nt.all([e[t]||{},...n]),e))}ht([li],([e])=>Object.keys(e)),li.subscribe(e=>ai=e);const ui={};function hi(e){return ui[e]}function pi(e){return xi(e).some(e=>{return null===(e=hi(e))||void 0===e?void 0:e.size})}const mi={};function fi(e){if(!pi(e))return e in mi?mi[e]:void 0;const t=xi(e).map(e=>{var t=hi(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return mi[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){ui[e].delete(t),0===ui[e].size&&delete ui[e]}(t,e),e().then(e=>e.default||e)))).then(e=>di(t,...e))}(e))).then(()=>pi(e)?fi(e):void delete mi[e]),mi[e]}function gi(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}const yi={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const _i=ut(!1);let bi;const vi=ut(null);function wi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function xi(e,t=yi.fallbackLocale){e=wi(e);return t?[...new Set([...e,...wi(t)])]:e}vi.subscribe(e=>{bi=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Ci=vi.set;vi.set=t=>{if(function(e){if(null!=e){var t=xi(e);for(let e=0;e<t.length;e++){var n=t[e];if(ci(n))return n}}}(t)&&pi(t)){var{loadingDelay:n}=yi;let e;return"undefined"!=typeof window&&null!=bi&&n?e=window.setTimeout(()=>_i.set(!0),n):_i.set(!0),fi(t).then(()=>{Ci(t)}).finally(()=>{clearTimeout(e),_i.set(!1)})}return Ci(t)},vi.update=e=>Ci(e(bi));const Pi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},Ai=(e,t)=>{var{formats:n}=yi;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ti=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Ai("number",n)),new Intl.NumberFormat(t,e)}),Si=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Ai("date",n):0===Object.keys(e).length&&(e=Ai("date","short")),new Intl.DateTimeFormat(t,e)}),Ei=Pi(e=>{var{locale:t,format:n}=e,e=gi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Ai("time",n):0===Object.keys(e).length&&(e=Ai("time","short")),new Intl.DateTimeFormat(t,e)}),Mi=Pi((e,t=bi)=>new ii(e,t,yi.formats,{ignoreTag:yi.ignoreTag})),Di=ht([vi,li],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:i=bi,default:o}=t;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let r=si(e,i);if(r){if("string"!=typeof r)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof r}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),r}else yi.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${xi(i).join('", "')}".${pi(bi)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),r=o||e;if(!n)return r;let s=r;try{s=Mi(r,i).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Ei(Object.assign({locale:t},e))})(t).format(e)),ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Si(Object.assign({locale:t},e))})(t).format(e)),ht([vi],()=>(e,t)=>((e={})=>{var{locale:t=bi}=e,e=gi(e,["locale"]);return Ti(Object.assign({locale:t},e))})(t).format(e)),ht([vi,li],()=>(e,t=bi)=>si(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==lt.indexOf(e)&&(t=new ot(t),ct[e]=t,lt.push(e)),ct[e]}};const ki=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Ii='<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 1280.000000 1216.000000"\npreserveAspectRatio="xMidYMid meet">\n<g transform="translate(0.000000,1216.000000) scale(0.100000,-0.100000)" fill="#fff" stroke="none">\n<path d="M6177 12145 c-48 -8 -350 -84 -670 -170 l-582 -155 -610 0 c-679 0-725 -3 -920 -65 -264 -82 -511 -256 -677 -475 l-49 -65 -287 -76 c-1001 -267\n-1397 -375 -1472 -401 -388 -136 -713 -468 -839 -856 -51 -158 -66 -258 -65-437 1 -112 6 -196 17 -245 8 -41 77 -304 152 -585 267 -998 355 -1327 505\n-1885 83 -311 200 -747 260 -970 60 -223 168 -625 240 -895 72 -269 180 -672 240 -895 60 -223 177 -659 260 -970 83 -311 209 -781 280 -1045 71 -264 160\n-597 199 -740 38 -143 81 -291 95 -329 119 -316 375 -594 681 -742 124 -59 230 -95 355 -121 107 -22 373 -24 475 -4 65 12 684 176 2078 549 l557 150 143\n-38 c78 -22 464 -125 857 -230 393 -105 899 -241 1125 -301 526 -142 533 -143 735 -143 241 0 387 33 605 138 254 122 478 338 608 585 86 163 30 -33 607\n2121 60 223 177 659 260 970 83 311 200 747 260 970 318 1187 597 2228 755 2815 303 1132 415 1555 427 1620 7 39 13 142 13 230 0 221 -36 383 -130 581\n-152 324 -439 583 -775 702 -72 25 -568 160 -1546 421 l-211 56 -61 76 c-183 231 -403 383 -679 469 -183 56 -237 60 -909 60 l-610 0 -545 146 c-299 80\n-584 155 -634 165 -122 27 -396 34 -518 14z m-1127 -1167 c0 -10 -70 -274 -314 -1183 -124 -463 -364 -1358 -517 -1930 -233 -869 -374 -1393 -498 -1857\n-71 -266 -173 -645 -226 -843 -53 -198 -98 -364 -100 -370 -2 -5 -3 1122 -2 2505 l2 2515 22 90 c63 265 185 487 368 670 231 232 511 367 835 404 120 13\n430 13 430 -1z m2140 -127 c47 -10 202 -51 345 -90 224 -60 1099 -295 2790 -747 475 -128 514 -140 632 -194 398 -185 684 -558 769 -1005 23 -122 23 -350\n0 -469 -9 -49 -49 -206 -87 -350 -124 -463 -367 -1368 -499 -1861 -71 -264 -197 -734 -280 -1045 -83 -311 -200 -747 -260 -970 -497 -1855 -508 -1897\n-537 -1970 -126 -317 -382 -592 -686 -735 -182 -86 -331 -123 -528 -132 -239 -10 -190 -21 -1424 310 -776 208 -1457 391 -2045 548 -493 132 -625 176 -750\n249 -407 238 -665 661 -686 1125 -11 228 -11 229 250 1200 76 281 205 762 287 1070 83 308 200 745 260 970 61 226 168 626 239 890 71 264 197 734 280 1045\n83 311 191 714 240 895 48 182 99 359 113 395 35 94 102 223 160 310 63 95 259 290 357 355 159 105 354 185 540 219 119 22 402 15 520 -13z m-4750 -3698\nc0 -1697 -3 -3084 -6 -3081 -3 3 -32 106 -65 229 -133 496 -367 1367 -469 1749 -221 825 -375 1398 -507 1890 -200 743 -185 672 -187 900 -1 156 3 212\n18 279 112 511 459 894 946 1044 119 37 249 75 263 76 4 1 7 -1388 7 -3086z"/>\n<path d="M8960 9889 c-40 -111 -149 -350 -236 -518 -430 -831 -1050 -1573 -1649 -1976 -303 -203 -564 -310 -862 -350 -250 -35 -420 -122 -600 -308 -179\n-185 -305 -425 -369 -702 -27 -113 -27 -404 0 -525 117 -536 530 -939 1063 -1036 115 -20 339 -20 458 1 176 31 368 111 522 217 43 29 124 98 179 154\nl101 100 -55 -105 c-300 -573 -638 -1052 -1021 -1443 -63 -65 -113 -120 -110 -122 2 -2 347 -96 767 -208 536 -144 762 -200 762 -191 0 7 -11 55 -25 106\n-76 289 -135 658 -166 1047 -12 164 -13 753 0 845 5 33 9 47 10 30 2 -56 50 -223 90 -314 182 -424 547 -711 1000 -786 123 -21 364 -16 476 8 461 103 835\n434 979 867 115 346 99 745 -42 1025 -72 144 -133 214 -302 351 -216 172 -367 359 -514 636 -201 378 -351 874 -431 1431 -46 319 -59 516 -59 892 -1 355 8\n505 45 784 10 80 17 146 15 148 -2 2 -13 -24 -26 -58z"/>\n</g>\n</svg>';function Li(n){let i,o,r,s;return{c(){i=Ct("div"),o=Ct("button"),o.innerHTML="<span>Logout</span>",St(i,"class","GeneralLogout")},m(e,t){vt(e,i,t),bt(i,o),r||(s=Tt(o,"click",n[7]),r=!0)},p:yt,d(e){e&&wt(i),r=!1,s()}}}function Oi(n){let i,o,r,s,a,l,c,d,u,h,p,m=!n[1]&&function(){let n;return{c(){n=Ct("span"),n.textContent="Logout",St(n,"class","PlayerLogoutText")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}();return{c(){i=Ct("p"),o=Ct("span"),r=t("svg"),s=t("defs"),a=t("style"),l=Pt(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:#fff;}"),c=t("path"),d=t("path"),u=At(),m&&m.c(),St(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),St(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"),St(d,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),St(d,"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"),St(r,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),St(r,"data-name","Layer 1"),St(r,"xmlns","http://www.w3.org/2000/svg"),St(r,"viewBox","0 0 150 150"),v(o,"width",n[1]?n[2].matches?"50px":"24px":"20px"),St(i,"class","PlayerAccountMenuItemBox "+(n[1]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[2].matches&&n[1]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){vt(e,i,t),bt(i,o),bt(o,r),bt(r,s),bt(s,a),bt(a,l),bt(r,c),bt(r,d),bt(i,u),m&&m.m(i,null),h||(p=Tt(i,"click",n[6]),h=!0)},p:yt,d(e){e&&wt(i),m&&m.d(),h=!1,p()}}}function Ni(e){let n;function i(e){return"PlayerAccountMenu"===e[0]?Oi:Li}let o=i(e),r=o(e);return{c(){r.c(),n=k(),this.c=yt},m(e,t){r.m(e,t),vt(e,n,t)},p(e,[t]){o===(o=i(e))&&r?r.p(e,t):(r.d(1),r=o(e),r&&(r.c(),r.m(n.parentNode,n)))},i:yt,o:yt,d(e){r.d(e),e&&wt(n)}}}function Bi(e,t,n){let{endpoint:i=""}=t,{session:o=""}=t,{buttonlocation:r=""}=t,s=!1,a=window.navigator.userAgent,l="PC"!==ki(a);const c=window.matchMedia("(min-width: 768px)"),d=()=>{let e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",o),fetch(`${i}/player/session/player`,{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"})})};return e.$$set=e=>{"endpoint"in e&&n(4,i=e.endpoint),"session"in e&&n(5,o=e.session),"buttonlocation"in e&&n(0,r=e.buttonlocation)},e.$$.update=()=>{49&e.$$.dirty&&i&&o&&r&&(i||(error="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",s=!0,console.error(error)),o||(error="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",s=!0,console.error(error)))},[r,l,c,d,i,o,()=>d(),()=>d()]}function Ri(e,t,n){const i=e.slice();return i[20]=t[n],i}function Fi(e){let n,i;return{c(){n=Ct("img"),St(n,"class","PlayerAccountMenuItemIcon "+(e[7]?"PlayerAccountMenuItemIconMobile":"")),n.src!==(i=e[20].menu_item_icon)&&St(n,"src",i)},m(e,t){vt(e,n,t)},p(e,t){4&t&&n.src!==(i=e[20].menu_item_icon)&&St(n,"src",i)},d(e){e&&wt(n)}}}function $i(e){let n,i=e[20].menu_item_icon+"";return{c(){n=Ct("span"),v(n,"width",e[7]?e[8].matches?"80px":"30px":"20px"),v(n,"height",e[7]?e[8].matches?"80px":"40px":"20px")},m(e,t){vt(e,n,t),n.innerHTML=i},p(e,t){4&t&&i!==(i=e[20].menu_item_icon+"")&&(n.innerHTML=i)},d(e){e&&wt(n)}}}function zi(n){let i,o,r,s,a,l,c,d,u,h=n[20].title+"";function p(e){return e[4]?$i:Fi}let m=p(n),f=m(n);function g(){return n[11](n[20])}return{c(){i=Ct("div"),o=Ct("p"),f.c(),r=At(),s=Ct("span"),a=Pt(h),l=At(),St(s,"class","PlayerAccountMenuItemTitle"),St(o,"class","PlayerAccountMenuItemWrapper"),St(i,"class",c="PlayerAccountMenuItemBox "+(n[3]!==n[20].ID||n[7]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){vt(e,i,t),bt(i,o),f.m(o,null),bt(o,r),bt(o,s),bt(s,a),bt(i,l),d||(u=Tt(i,"click",g),d=!0)},p(e,t){m===(m=p(n=e))&&f?f.p(n,t):(f.d(1),f=m(n),f&&(f.c(),f.m(o,r))),4&t&&h!==(h=n[20].title+"")&&q(a,h),12&t&&c!==(c="PlayerAccountMenuItemBox "+(n[3]!==n[20].ID||n[7]?"":"PlayerAccountMenuActiveItemBox"))&&St(i,"class",c)},d(e){e&&wt(i),f.d(),d=!1,u()}}}function Wi(e){let n,i=function(t){let n,i,o,r,s,a,l,c,d,u,h,p,m=t[7]&&function(){let n;return{c(){n=Ct("h3"),n.textContent="My Account",St(n,"class","PlayerAccountMenuCategoryTitle")},m(e,t){vt(e,n,t)},d(e){e&&wt(n)}}}(),f=t[7]&&function(e){let n,i;return{c(){n=Ct("div"),i=Ct("general-logout"),V(i,"endpoint",e[1]),V(i,"session",e[0]),V(i,"buttonlocation","PlayerAccountMenu"),St(n,"class","PlayerAccountLogOutArea")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&V(i,"endpoint",e[1]),1&t&&V(i,"session",e[0])},d(e){e&&wt(n)}}}(t),g=t[2],y=[];for(let e=0;e<g.length;e+=1)y[e]=zi(Ri(t,g,e));let _=!t[7]&&function(e){let n,i;return{c(){n=Ct("div"),i=Ct("general-logout"),V(i,"endpoint",e[1]),V(i,"session",e[0]),V(i,"buttonlocation","PlayerAccountMenu"),St(n,"class","PlayerAccountLogOutArea")},m(e,t){vt(e,n,t),bt(n,i)},p(e,t){2&t&&V(i,"endpoint",e[1]),1&t&&V(i,"session",e[0])},d(e){e&&wt(n)}}}(t);return{c(){n=Ct("div"),i=Ct("div"),m&&m.c(),o=At(),r=Ct("p"),s=Pt(t[5]),a=At(),l=Ct("p"),c=Pt(t[6]),d=At(),f&&f.c(),u=At(),h=Ct("div");for(let e=0;e<y.length;e+=1)y[e].c();p=At(),_&&_.c(),St(r,"class","PlayerAccountMenuUser"),St(l,"class","PlayerAccountMenuEmail"),St(i,"class","PlayerAccountMenuHeader"),St(h,"class","PlayerAccountMenuList"),St(n,"class","PlayerAccountMenuContainer "+(t[7]?"PlayerAccountMobileContainer":"")+" "+(t[8].matches&&t[7]?"PlayerAccountTabletContainer":""))},m(e,t){vt(e,n,t),bt(n,i),m&&m.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(i,d),f&&f.m(i,null),bt(n,u),bt(n,h);for(let e=0;e<y.length;e+=1)y[e].m(h,null);bt(n,p),_&&_.m(n,null)},p(t,n){if(32&n&&q(s,t[5]),64&n&&q(c,t[6]),t[7]&&f.p(t,n),924&n){let e;for(g=t[2],e=0;e<g.length;e+=1){var i=Ri(t,g,e);y[e]?y[e].p(i,n):(y[e]=zi(i),y[e].c(),y[e].m(h,null))}for(;e<y.length;e+=1)y[e].d(1);y.length=g.length}t[7]||_.p(t,n)},d(e){e&&wt(n),m&&m.d(),f&&f.d(),xt(y,e),_&&_.d()}}}(e);return{c(){i.c(),n=k(),this.c=yt},m(e,t){i.m(e,t),vt(e,n,t)},p(e,[t]){i.p(e,t)},i:yt,o:yt,d(e){i.d(e),e&&wt(n)}}}function Yi(e,t,n){let{endpoint:i=""}=t,{session:o=""}=t,{playerid:r=""}=t,s=[],a=0,l=window.navigator.userAgent,c="PC"!==ki(l),d=[],u=!0,h="",p="";t=window.matchMedia("(min-width: 768px)");Z(()=>(window.addEventListener("message",m,!1),()=>{window.removeEventListener("message",m)}));const m=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":n(2,s=e.data.accountMenuInfo),n(3,a=s[0].ID),f();break;case"UserSessionID":n(0,o=e.data.session)}},f=()=>{s.length?n(4,u=!1):(n(2,s=d),n(4,u=!0))},g=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),n(3,a=e.ID)};return e.$$set=e=>{"endpoint"in e&&n(1,i=e.endpoint),"session"in e&&n(0,o=e.session),"playerid"in e&&n(10,r=e.playerid)},e.$$.update=()=>{1027&e.$$.dirty&&i&&o&&r&&(d=[{ID:0,title:"Profile Info",menu_item_icon:Ii},{ID:1,title:"Account Security",menu_item_icon:Ii},{ID:2,title:"Deposit",menu_item_icon:Ii},{ID:3,title:"Withdrawal",menu_item_icon:Ii},{ID:4,title:"Active Bonuses",menu_item_icon:Ii},{ID:5,title:"Self-Exclusion",menu_item_icon:Ii},{ID:6,title:"Account Closure",menu_item_icon:Ii}],fetch(`${i}/player/${r}/profile`,{method:"GET",headers:{playerId:r,"X-SessionID":o}}).then(e=>e.json()).then(e=>{n(5,h=e.username),n(6,p=e.email)},e=>{console.error(e)}))},[o,i,s,a,u,h,p,c,t,g,r,e=>g(e)]}function Hi(e,t,n){const i=e.slice();return i[8]=t[n],i}function Ui(t){let o,r=t[0],s=[];for(let e=0;e<r.length;e+=1)s[e]=ji(Hi(t,r,e));return{c(){o=Ct("div");for(let e=0;e<s.length;e+=1)s[e].c();St(o,"class","PlayerAccountNotificationsContainer "+(t[1]&&t[2].matches?"PlayerAccountNotificationsTabletContainer":t[1]?"PlayerAccountNotificationsMobileContainer":""))},m(e,t){vt(e,o,t);for(let e=0;e<s.length;e+=1)s[e].m(o,null)},p(t,n){if(1&n){let e;for(r=t[0],e=0;e<r.length;e+=1){var i=Hi(t,r,e);s[e]?s[e].p(i,n):(s[e]=ji(i),s[e].c(),s[e].m(o,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=r.length}},d(e){e&&wt(o),xt(s,e)}}}function ji(e){let n,i,o,r,s,a,l,c,d,u,h,p,m=e[8].title+"",f=e[8].description+"";return{c(){n=Ct("a"),i=Ct("div"),o=Ct("img"),a=At(),l=Ct("p"),c=Pt(m),d=At(),u=Ct("p"),h=At(),St(o,"class","PlayerAccountNotificationIcon"),o.src!==(r=e[8].icon.url)&&St(o,"src",r),St(o,"alt",s=e[8].title),St(l,"class","PlayerAccountNotificationTitle"),St(i,"class","PlayerAccountNotificationBoxHeader"),St(u,"class","PlayerAccountNotificationText"),St(n,"class","PlayerAccountNotificationBox"),v(n,"background",e[8].backgroundColor),St(n,"href",p=e[8].icon.link)},m(e,t){vt(e,n,t),bt(n,i),bt(i,o),bt(i,a),bt(i,l),bt(l,c),bt(n,d),bt(n,u),u.innerHTML=f,bt(n,h)},p(e,t){1&t&&o.src!==(r=e[8].icon.url)&&St(o,"src",r),1&t&&s!==(s=e[8].title)&&St(o,"alt",s),1&t&&m!==(m=e[8].title+"")&&q(c,m),1&t&&f!==(f=e[8].description+"")&&(u.innerHTML=f),1&t&&v(n,"background",e[8].backgroundColor),1&t&&p!==(p=e[8].icon.link)&&St(n,"href",p)},d(e){e&&wt(n)}}}function Gi(e){let n;function i(e){if(e[0].length)return Ui}let o=i(e),r=o&&o(e);return{c(){r&&r.c(),n=k(),this.c=yt},m(e,t){r&&r.m(e,t),vt(e,n,t)},p(e,[t]){o===(o=i(e))&&r?r.p(e,t):(r&&r.d(1),r=o&&o(e),r&&(r.c(),r.m(n.parentNode,n)))},i:yt,o:yt,d(e){r&&r.d(e),e&&wt(n)}}}function Vi(e,t,n){let{customnotif:i=""}=t,o=window.navigator.userAgent,r="PC"!==ki(o),s=[],a=[];const l=window.matchMedia("(min-width: 768px)"),c=e=>{e.data&&"NotificationsDetails"===e.data.type&&(n(0,s=e.data.notificationsInfo),s.forEach(e=>{a.length&&(e.backgroundColor=a[0],a.shift())}))},d=()=>{i.replace(" ",""),a=i.split(",")};return Z(()=>(window.addEventListener("message",c,!1),()=>{window.removeEventListener("message",c)})),e.$$set=e=>{"customnotif"in e&&n(3,i=e.customnotif)},e.$$.update=()=>{8&e.$$.dirty&&i&&d(),1&e.$$.dirty&&s&&d()},[s,r,l,i]}function qi(e,t,n){const i=e.slice();return i[9]=t[n].value,i[10]=t[n].text,i}function Xi(e){let n,i,t=e[10]+"";return{c(){n=Ct("option"),i=Pt(t),n.__value=e[9],n.value=n.__value},m(e,t){vt(e,n,t),bt(n,i)},p:yt,d(e){e&&wt(n)}}}function Zi(n){let i,o,r,s,a,l,c,d,u,h,p,m,f,g,y,_,b,v=n[1]&&function(n){let i,o,r;return{c(){i=Ct("div"),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="TimeoutTitleMobile">Timeout</h2>',St(i,"class","MenuReturnButton")},m(e,t){vt(e,i,t),o||(r=Tt(i,"click",n[5]),o=!0)},p:yt,d(e){e&&wt(i),o=!1,r()}}}(n),w=n[2],x=[];for(let e=0;e<w.length;e+=1)x[e]=Xi(qi(n,w,e));return{c(){i=Ct("div"),v&&v.c(),o=At(),r=Ct("h2"),s=Pt("Timeout"),a=At(),l=Ct("div"),c=Ct("p"),c.textContent="Everymatrix 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.",d=At(),u=Ct("p"),u.textContent='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.',h=At(),p=Ct("div"),m=Ct("select");for(let e=0;e<x.length;e+=1)x[e].c();f=At(),g=Ct("div"),y=Ct("button"),y.textContent="Save",this.c=yt,St(r,"class","TimeoutTitle "+(n[1]?"TimeoutTitleNone":"")),St(l,"class","TimeoutDescription "+(n[1]?"TimeoutDescriptionMobile":"")),St(m,"class","TimeoutSelect "+(n[1]?"TimeoutSelectMobile":"")),void 0===n[0]&&Dt(()=>n[6].call(m)),St(p,"class","TimeoutSelectWrapper"),St(y,"class","TimeoutSave"),St(g,"class","TimeoutActionButtons "+(n[1]?"TimeoutActionButtonsMobile":"")),St(i,"class","TimeoutWrapper "+(n[1]?"TimeoutWrapperMobile":""))},m(e,t){vt(e,i,t),v&&v.m(i,null),bt(i,o),bt(i,r),bt(r,s),bt(i,a),bt(i,l),bt(l,c),bt(l,d),bt(l,u),bt(i,h),bt(i,p),bt(p,m);for(let e=0;e<x.length;e+=1)x[e].m(m,null);Mt(m,n[0]),bt(i,f),bt(i,g),bt(g,y),_||(b=[Tt(m,"change",n[6]),Tt(y,"click",n[7])],_=!0)},p(t,[n]){if(t[1]&&v.p(t,n),4&n){let e;for(w=t[2],e=0;e<w.length;e+=1){var i=qi(t,w,e);x[e]?x[e].p(i,n):(x[e]=Xi(i),x[e].c(),x[e].m(m,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}5&n&&Mt(m,t[0])},i:yt,o:yt,d(e){e&&wt(i),v&&v.d(),xt(x,e),_=!1,_t(b)}}}function Ji(e,t,n){let i=window.navigator.userAgent,o="PC"!==ki(i),r=[{value:"CoolOffFor24Hours",text:"24 hours"},{value:"CoolOffFor7Days",text:"7 days"},{value:"CoolOffFor30Days",text:"30 days"},{value:"CoolOffFor3Months",text:"3 months"}],s=r[0].value;const a=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:s},window.location.href)},l=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)};return[s,o,r,a,l,()=>l(),function(){s=X(this),n(0,s),n(2,r)},()=>a()]}customElements.get("general-logout")||customElements.define("general-logout",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox svg{fill:#fff}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:#fff}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Bi,Ni,n,{endpoint:4,session:5,buttonlocation:0}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","buttonlocation"]}get endpoint(){return this.$$.ctx[4]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[5]}set session(e){this.$set({session:e}),T()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$set({buttonlocation:e}),T()}}),customElements.get("player-account-menu")||customElements.define("player-account-menu",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountMenuContainer{color:#fff;position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:#FFF;flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;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 #696972}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c9c9c9 #58586B}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:#58586B}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:#c9c9c9}.PlayerAccountLogOutArea{background:#58586B;color:#fff;width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:#D0046C;color:#FFF}.PlayerAccountMobileContainer{height:unset;color:#07072A}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin-top: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 #2F313E;border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:#D0046C;border-bottom:1px solid #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:#FFF}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Yi,Wi,n,{endpoint:1,session:0,playerid:10}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["endpoint","session","playerid"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$set({endpoint:e}),T()}get session(){return this.$$.ctx[0]}set session(e){this.$set({session:e}),T()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$set({playerid:e}),T()}}),customElements.get("player-account-notifications")||customElements.define("player-account-notifications",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountNotificationsContainer{padding:0 5.008px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:#58586B;color:#fff;box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:\"nav main aside\";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Vi,Gi,n,{customnotif:3}),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),T()))}static get observedAttributes(){return["customnotif"]}get customnotif(){return this.$$.ctx[3]}set customnotif(e){this.$set({customnotif:e}),T()}}),customElements.get("player-account-timeout")||customElements.define("player-account-timeout",class extends ${constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.TimeoutWrapper{color:#07072A;padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:#D0046C}.TimeoutTitle{font-size:26px;color:#D0046C;font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:#58586B;line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:19.2px}.TimeoutSelectWrapper{color:#58586B;display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;padding:5px;font-size:14px;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 #FFF;background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #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:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Ji,Zi,n,{}),e&&e.target&&vt(e.target,this,e.anchor)}});var Ki,Qi,eo=(Qi=Ki={path:void 0,exports:{},require:function(e,t){return kn(null==t&&Ki.path)}},Ki.exports,Qi.exports=function(){var e;function m(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function r(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function i(e,t){for(var n=[],i=0;i<e.length;++i)n.push(t(e[i],i));return n}function d(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,i){return Mt(e,t,n,i,!0).utc()}function f(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 h(e){if(null==e._isValid){var t=f(e),n=y.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 g(e){var t=u(NaN);return null!=e?d(f(t),e):f(t).userInvalidated=!0,t}var y=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},_=m.momentProperties=[],t=!1;function b(e,t){var n,i,o;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=f(t)),r(t._locale)||(e._locale=t._locale),0<_.length)for(n=0;n<_.length;n++)r(o=t[i=_[n]])||(e[i]=o);return e}function v(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function w(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function x(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(o,r){var s=!0;return d(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),s){for(var e,t,n=[],i=0;i<arguments.length;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}x(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return r.apply(this,arguments)},r)}var C={};function P(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),C[e]||(x(t),C[e]=!0)}function A(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,i=d({},e);for(n in t)p(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},d(i[n],e[n]),d(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)p(e,n)&&!p(t,n)&&a(e[n])&&(i[n]=d({},i[n]));return i}function S(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var E=Object.keys||function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};function M(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 D=/(\[[^\[]*\])|(\\)?([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,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},L={};function O(e,t,n,i){var o="string"==typeof i?function(){return this[i]()}:i;e&&(L[e]=o),t&&(L[t[0]]=function(){return M(o.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=B(t,e.localeData()),I[t]=I[t]||function(i){for(var e,o=i.match(D),t=0,r=o.length;t<r;t++)L[o[t]]?o[t]=L[o[t]]:o[t]=(e=o[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=A(o[n])?o[n].call(e,i):o[n];return t}}(t),I[t](e)):e.localeData().invalidDate()}function B(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(k.lastIndex=0;0<=n&&k.test(e);)e=e.replace(k,i),k.lastIndex=0,--n;return e}var R={};function F(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function $(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function z(e){var t,n,i={};for(n in e)p(e,n)&&(t=$(n))&&(i[t]=e[n]);return i}var W={};function Y(e,t){W[e]=t}function H(e){return e%4==0&&e%100!=0||e%400==0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function j(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?U(t):e}function G(t,n){return function(e){return null!=e?(q(this,t,e),m.updateOffset(this,n),this):V(this,t)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=j(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ee(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X=/\d/,Z=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,oe=/\d{1,4}/,re=/[+-]?\d{1,6}/,se=/\d+/,ae=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[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 ue(e,n,i){me[e]=A(n)?n:function(e,t){return e&&i?i:n}}function he(e,t){return p(me,e)?me[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,o){return t||n||i||o})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},fe={};function ge(e,n){var t,i=n;for("string"==typeof e&&(e=[e]),c(n)&&(i=function(e,t){t[n]=j(e)}),t=0;t<e.length;t++)fe[e[t]]=i}function ye(e,o){ge(e,function(e,t,n,i){n._w=n._w||{},o(e,n._w,n,i)})}var _e,be=0,ve=1,we=2,xe=3,Ce=4,Pe=5,Ae=6,Te=7,Se=8;function Ee(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?H(e)?29:28:31-n%7%2}_e=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),O("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),Y("month",8),ue("M",ee),ue("MM",ee,Z),ue("MMM",function(e,t){return t.monthsShortRegex(e)}),ue("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[ve]=j(e)-1}),ge(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[ve]=i:f(n).invalidMonth=e});var Me="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=de,Le=de;function Oe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=j(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ee(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ne(e){return null!=e?(Oe(this,e),m.updateOffset(this,!0),this):V(this,"Month")}function Be(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],o=[],r=0;r<12;r++)t=u([2e3,r]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),o.push(this.months(t,"")),o.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),o.sort(e),r=0;r<12;r++)n[r]=pe(n[r]),i[r]=pe(i[r]);for(r=0;r<24;r++)o[r]=pe(o[r]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Re(e){return H(e)?366:365}O("Y",0,0,function(){var e=this.year();return e<=9999?M(e,4):"+"+e}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),F("year","y"),Y("year",1),ue("Y",ae),ue("YY",ee,Z),ue("YYYY",oe,K),ue("YYYYY",re,Q),ue("YYYYYY",re,Q),ge(["YYYYY","YYYYYY"],be),ge("YYYY",function(e,t){t[be]=2===e.length?m.parseTwoDigitYear(e):j(e)}),ge("YY",function(e,t){t[be]=m.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[be]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return j(e)+(68<j(e)?1900:2e3)};var Fe=G("FullYear",!0);function $e(e,t,n,i,o,r,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,i,o,r,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,o,r,s),a}function ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,n){n=7+t-n;return-(7+ze(e,0,n).getUTCDay()-t)%7+n-1}function Ye(e,t,n,i,o){var r,o=1+7*(t-1)+(7+n-i)%7+We(e,i,o),o=o<=0?Re(r=e-1)+o:o>Re(e)?(r=e+1,o-Re(e)):(r=e,o);return{year:r,dayOfYear:o}}function He(e,t,n){var i,o,r=We(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?i=r+Ue(o=e.year()-1,t,n):r>Ue(e.year(),t,n)?(i=r-Ue(e.year(),t,n),o=e.year()+1):(o=e.year(),i=r),{week:i,year:o}}function Ue(e,t,n){var i=We(e,t,n),n=We(e+1,t,n);return(Re(e)-i+n)/7}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),Y("week",5),Y("isoWeek",5),ue("w",ee),ue("ww",ee,Z),ue("W",ee),ue("WW",ee,Z),ye(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=j(e)});function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),Y("day",11),Y("weekday",11),Y("isoWeekday",11),ue("d",ee),ue("e",ee),ue("E",ee),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),ye(["d","e","E"],function(e,t,n,i){t[i]=j(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=de,Ze=de,Je=de;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,i,o=[],r=[],s=[],a=[],l=0;l<7;l++)i=u([2e3,1]).day(l),t=pe(this.weekdaysMin(i,"")),n=pe(this.weekdaysShort(i,"")),i=pe(this.weekdays(i,"")),o.push(t),r.push(n),s.push(i),a.push(t),a.push(n),a.push(i);o.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,Qe),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+Qe.apply(this)+M(this.minutes(),2)}),O("hmmss",0,0,function(){return""+Qe.apply(this)+M(this.minutes(),2)+M(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+M(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+M(this.minutes(),2)+M(this.seconds(),2)}),et("a",!0),et("A",!1),F("hour","h"),Y("hour",13),ue("a",tt),ue("A",tt),ue("H",ee),ue("h",ee),ue("k",ee),ue("HH",ee,Z),ue("hh",ee,Z),ue("kk",ee,Z),ue("hmm",te),ue("hmmss",ne),ue("Hmm",te),ue("Hmmss",ne),ge(["H","HH"],xe),ge(["k","kk"],function(e,t,n){e=j(e);t[xe]=24===e?0:e}),ge(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ge(["h","hh"],function(e,t,n){t[xe]=j(e),f(n).bigHour=!0}),ge("hmm",function(e,t,n){var i=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i)),f(n).bigHour=!0}),ge("hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i,2)),t[Pe]=j(e.substr(o)),f(n).bigHour=!0}),ge("Hmm",function(e,t,n){var i=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i))}),ge("Hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;t[xe]=j(e.substr(0,i)),t[Ce]=j(e.substr(i,2)),t[Pe]=j(e.substr(o))});var nt=G("Hours",!0);var it,ot={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:Me,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:qe,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},rt={},st={};function at(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,n,i,o,r=0;r<e.length;){for(t=(o=at(e[r]).split("-")).length,n=(n=at(e[r+1]))?n.split("-"):null;0<t;){if(i=ct(o.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}(o,n)>=t-1)break;t--}r++}return it}function ct(t){var e;if(void 0===rt[t]&&Qi&&Qi.exports)try{e=it._abbr,kn(),dt(e)}catch(e){rt[t]=null}return rt[t]}function dt(e,t){return e&&((t=r(t)?ht(e):ut(e,t))?it=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),it._abbr}function ut(e,t){if(null===t)return delete rt[e],null;var n,i=ot;if(t.abbr=e,null!=rt[e])P("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=rt[e]._config;else if(null!=t.parentLocale)if(null!=rt[t.parentLocale])i=rt[t.parentLocale]._config;else{if(null==(n=ct(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;i=n._config}return rt[e]=new S(T(i,t)),st[e]&&st[e].forEach(function(e){ut(e.name,e.config)}),dt(e),rt[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return it;if(!s(e)){if(t=ct(e))return t;e=[e]}return lt(e)}function pt(e){var t=e._a;return t&&-2===f(e).overflow&&(t=t[ve]<0||11<t[ve]?ve:t[we]<1||t[we]>Ee(t[be],t[ve])?we:t[xe]<0||24<t[xe]||24===t[xe]&&(0!==t[Ce]||0!==t[Pe]||0!==t[Ae])?xe:t[Ce]<0||59<t[Ce]?Ce:t[Pe]<0||59<t[Pe]?Pe:t[Ae]<0||999<t[Ae]?Ae:-1,f(e)._overflowDayOfYear&&(t<be||we<t)&&(t=we),f(e)._overflowWeeks&&-1===t&&(t=Te),f(e)._overflowWeekday&&-1===t&&(t=Se),f(e).overflow=t),e}var mt=/^\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)?)?$/,ft=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],_t=[["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/]],bt=/^\/?Date\((-?\d+)/i,vt=/^(?:(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}))$/,wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,n,i,o,r,s,a=e._i,l=mt.exec(a)||ft.exec(a);if(l){for(f(e).iso=!0,t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[1])){o=yt[t][0],i=!1!==yt[t][2];break}if(null==o)return e._isValid=!1;if(l[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[3])){r=(l[2]||" ")+_t[t][0];break}if(null==r)return e._isValid=!1}if(!i&&null!=r)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;s="Z"}e._f=o+(r||"")+(s||""),St(e)}else e._isValid=!1}function Ct(e,t,n,i,o,r){o=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(o,10)];return r&&o.push(parseInt(r,10)),o}function Pt(e){var t,n,i,o,r=vt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=Ct(r[4],r[3],r[2],r[5],r[6],r[7]),n=r[1],i=t,o=e,n&&Ve.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(f(o).weekdayMismatch=!0,o._isValid=!1):(e._a=t,e._tzm=(o=r[8],t=r[9],r=r[10],o?wt[o]:t?0:((t=parseInt(r,10))-(r=t%100))/100*60+r),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0)):e._isValid=!1}function At(e,t,n){return null!=e?e:null!=t?t:n}function Tt(e){var t,n,i,o,r,s,a,l,c,d,u,h,p=[];if(!e._d){for(u=e,h=new Date(m.now()),n=u._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[we]&&null==e._a[ve]&&(null!=(u=(o=e)._w).GG||null!=u.W||null!=u.E?(l=1,c=4,r=At(u.GG,o._a[be],He(Dt(),1,4).year),s=At(u.W,1),((a=At(u.E,1))<1||7<a)&&(d=!0)):(l=o._locale._week.dow,c=o._locale._week.doy,h=He(Dt(),l,c),r=At(u.gg,o._a[be],h.year),s=At(u.w,h.week),null!=u.d?((a=u.d)<0||6<a)&&(d=!0):null!=u.e?(a=u.e+l,(u.e<0||6<u.e)&&(d=!0)):a=l),s<1||s>Ue(r,l,c)?f(o)._overflowWeeks=!0:null!=d?f(o)._overflowWeekday=!0:(c=Ye(r,s,a,l,c),o._a[be]=c.year,o._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(i=At(e._a[be],n[be]),(e._dayOfYear>Re(i)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),i=ze(i,0,e._dayOfYear),e._a[ve]=i.getUTCMonth(),e._a[we]=i.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[xe]&&0===e._a[Ce]&&0===e._a[Pe]&&0===e._a[Ae]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?ze:$e).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[xe]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(f(e).weekdayMismatch=!0)}}function St(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],f(e).empty=!0;for(var t,n,i=""+e._i,o=i.length,r=0,s=B(e._f,e._locale).match(D)||[],a=0;a<s.length;a++)n=s[a],(t=(i.match(he(n,e))||[])[0])&&(0<(u=i.substr(0,i.indexOf(t))).length&&f(e).unusedInput.push(u),i=i.slice(i.indexOf(t)+t.length),r+=t.length),L[n]?(t?f(e).empty=!1:f(e).unusedTokens.push(n),d=n,h=e,null!=(u=t)&&p(fe,d)&&fe[d](u,h._a,h,d)):e._strict&&!t&&f(e).unusedTokens.push(n);f(e).charsLeftOver=o-r,0<i.length&&f(e).unusedInput.push(i),e._a[xe]<=12&&!0===f(e).bigHour&&0<e._a[xe]&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[xe]=(l=e._locale,c=e._a[xe],null==(o=e._meridiem)?c:null!=l.meridiemHour?l.meridiemHour(c,o):null!=l.isPM?((o=l.isPM(o))&&c<12&&(c+=12),c=o||12!==c?c:0):c),null!==(c=f(e).era)&&(e._a[be]=e._locale.erasConvertYear(c,e._a[be])),Tt(e),pt(e)}else Pt(e);else xt(e);var l,c,d,u,h}function Et(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new v(pt(t)):(o(t)?e._d=t:s(n)?function(e){var t,n,i,o,r,s,a=!1;if(0===e._f.length)return f(e).invalidFormat=!0,e._d=new Date(NaN);for(o=0;o<e._f.length;o++)r=0,s=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],St(t),h(t)&&(s=!0),r+=f(t).charsLeftOver,r+=10*f(t).unusedTokens.length,f(t).score=r,a?r<i&&(i=r,n=t):(null==i||r<i||s)&&(i=r,n=t,s&&(a=!0));d(e,n||t)}(e):n?St(e):r(n=(t=e)._i)?t._d=new Date(m.now()):o(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=bt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Pt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(n)?(t._a=i(n.slice(0),function(e){return parseInt(e,10)}),Tt(t)):a(n)?function(e){var t,n;e._d||(n=void 0===(t=z(e._i)).day?t.date:t.day,e._a=i([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Tt(e))}(t):c(n)?t._d=new Date(n):m.createFromInputFallback(t),h(e)||(e._d=null),e))}function Mt(e,t,n,i,o){var r={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=o,r._l=n,r._i=e,r._f=t,r._strict=i,(r=new v(pt(Et(r=r))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function Dt(e,t,n,i){return Mt(e,t,n,i,!1)}m.createFromInputFallback=n("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(){};var kt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),It=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Lt(e,t){var n,i;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return Dt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=z(e),n=t.year||0,i=t.quarter||0,o=t.month||0,r=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,i=!1;for(t in e)if(p(e,t)&&(-1===_e.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ot.length;++n)if(e[Ot[n]]){if(i)return!1;parseFloat(e[Ot[n]])!==j(e[Ot[n]])&&(i=!0)}return!0}(t),this._milliseconds=+e+1e3*c+6e4*l+1e3*a*60*60,this._days=+s+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=ht(),this._bubble()}function Bt(e){return e instanceof Nt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,n){O(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+M(~~(e/60),2)+n+M(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),ue("Z",ce),ue("ZZ",ce),ge(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=zt(ce,e)});var $t=/([\+\-]|\d\d)/gi;function zt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+j(e[2]))?0:"+"===e[0]?t:-t}function Wt(e,t){var n;return t._isUTC?(n=t.clone(),t=(w(e)||o(e)?e:Dt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Dt(e).local()}function Yt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\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 Gt(e,t){var n,i,o=e,r=null;return Bt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(r=Ut.exec(e))?(n="-"===r[1]?-1:1,o={y:0,d:j(r[we])*n,h:j(r[xe])*n,m:j(r[Ce])*n,s:j(r[Pe])*n,ms:j(Rt(1e3*r[Ae]))*n}):(r=jt.exec(e))?(n="-"===r[1]?-1:1,o={y:Vt(r[2],n),M:Vt(r[3],n),w:Vt(r[4],n),d:Vt(r[5],n),h:Vt(r[6],n),m:Vt(r[7],n),s:Vt(r[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Dt(o.from),n=Dt(o.to),i=r.isValid()&&n.isValid()?(n=Wt(n,r),r.isBefore(n)?i=qt(r,n):((i=qt(n,r)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(o={}).ms=i.milliseconds,o.M=i.months),o=new Nt(o),Bt(e)&&p(e,"_locale")&&(o._locale=e._locale),Bt(e)&&p(e,"_isValid")&&(o._isValid=e._isValid),o}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function qt(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 Xt(i,o){return function(e,t){var n;return null===t||isNaN(+t)||(P(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Zt(this,Gt(e,t),i),this}}function Zt(e,t,n,i){var o=t._milliseconds,r=Rt(t._days),t=Rt(t._months);e.isValid()&&(i=null==i||i,t&&Oe(e,V(e,"Month")+t*n),r&&q(e,"Date",V(e,"Date")+r*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&m.updateOffset(e,r||t))}Gt.fn=Nt.prototype,Gt.invalid=function(){return Gt(NaN)};var Jt=Xt(1,"add"),de=Xt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return w(e)||o(e)||Kt(e)||c(e)||(n=s(t=e),i=!1,n&&(i=0===t.filter(function(e){return!c(e)&&Kt(t)}).length),n&&i)||function(e){var t,n,i=a(e)&&!l(e),o=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<r.length;t+=1)n=r[t],o=o||p(e,n);return i&&o}(e)||null==e;var t,n,i}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("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 nn(){return this._locale}var on=126227808e5;function rn(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-on:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-on:Date.UTC(e,t,n)}function ln(e,t){return t.erasAbbrRegex(e)}function cn(){for(var e=[],t=[],n=[],i=[],o=this.eras(),r=0,s=o.length;r<s;++r)t.push(pe(o[r].name)),e.push(pe(o[r].abbr)),n.push(pe(o[r].narrow)),i.push(pe(o[r].name)),i.push(pe(o[r].abbr)),i.push(pe(o[r].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 dn(e,t){O(0,[e,e.length],0,t)}function un(e,t,n,i,o){var r;return null==e?He(this,i,o).year:(t>(r=Ue(e,i,o))&&(t=r),function(e,t,n,i,o){o=Ye(e,t,n,i,o),o=ze(o.year,0,o.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,e,t,n,i,o))}O("N",0,0,"eraAbbr"),O("NN",0,0,"eraAbbr"),O("NNN",0,0,"eraAbbr"),O("NNNN",0,0,"eraName"),O("NNNNN",0,0,"eraNarrow"),O("y",["y",1],"yo","eraYear"),O("y",["yy",2],0,"eraYear"),O("y",["yyy",3],0,"eraYear"),O("y",["yyyy",4],0,"eraYear"),ue("N",ln),ue("NN",ln),ue("NNN",ln),ue("NNNN",function(e,t){return t.erasNameRegex(e)}),ue("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?f(n).era=i:f(n).invalidEra=e}),ue("y",se),ue("yy",se),ue("yyy",se),ue("yyyy",se),ue("yo",function(e,t){return t._eraYearOrdinalRegex||se}),ge(["y","yy","yyy","yyyy"],be),ge(["yo"],function(e,t,n,i){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[be]=n._locale.eraYearOrdinalParse(e,o):t[be]=parseInt(e,10)}),O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),Y("weekYear",1),Y("isoWeekYear",1),ue("G",ae),ue("g",ae),ue("GG",ee,Z),ue("gg",ee,Z),ue("GGGG",oe,K),ue("gggg",oe,K),ue("GGGGG",re,Q),ue("ggggg",re,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=j(e)}),ye(["gg","GG"],function(e,t,n,i){t[i]=m.parseTwoDigitYear(e)}),O("Q",0,"Qo","quarter"),F("quarter","Q"),Y("quarter",7),ue("Q",X),ge("Q",function(e,t){t[ve]=3*(j(e)-1)}),O("D",["DD",2],"Do","date"),F("date","D"),Y("date",9),ue("D",ee),ue("DD",ee,Z),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],we),ge("Do",function(e,t){t[we]=j(e.match(ee)[0])});ne=G("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),Y("dayOfYear",4),ue("DDD",ie),ue("DDDD",J),ge(["DDD","DDDD"],function(e,t,n){n._dayOfYear=j(e)}),O("m",["mm",2],0,"minute"),F("minute","m"),Y("minute",14),ue("m",ee),ue("mm",ee,Z),ge(["m","mm"],Ce);Me=G("Minutes",!1);O("s",["ss",2],0,"second"),F("second","s"),Y("second",15),ue("s",ee),ue("ss",ee,Z),ge(["s","ss"],Pe);var hn,Ge=G("Seconds",!1);for(O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),Y("millisecond",16),ue("S",ie,X),ue("SS",ie,Z),ue("SSS",ie,J),hn="SSSS";hn.length<=9;hn+="S")ue(hn,se);function pn(e,t){t[Ae]=j(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ge(hn,pn);qe=G("Milliseconds",!1),O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");oe=v.prototype;function mn(e){return e}oe.add=Jt,oe.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!l(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o=0;o<i.length;o+=1)n=n||p(e,i[o]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Dt(),e=Wt(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(A(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Dt(n)))},oe.clone=function(){return new v(this)},oe.diff=function(e,t,n){var i,o,r;if(!this.isValid())return NaN;if(!(i=Wt(e,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),t=$(t)){case"year":r=en(this,i)/12;break;case"month":r=en(this,i);break;case"quarter":r=en(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-o)/864e5;break;case"week":r=(this-i-o)/6048e5;break;default:r=this-i}return n?r:U(r)},oe.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,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-rn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-rn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-rn(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},oe.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=N(this,e),this.localeData().postformat(e)},oe.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Dt(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oe.fromNow=function(e){return this.from(Dt(),e)},oe.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Dt(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oe.toNow=function(e){return this.to(Dt(),e)},oe.get=function(e){return A(this[e=$(e)])?this[e]():this},oe.invalidAt=function(){return f(this).overflow},oe.isAfter=function(e,t){return e=w(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},oe.isBefore=function(e,t){return e=w(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},oe.isBetween=function(e,t,n,i){return e=w(e)?e:Dt(e),t=w(t)?t:Dt(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))},oe.isSame=function(e,t){var e=w(e)?e:Dt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},oe.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},oe.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},oe.isValid=function(){return h(this)},oe.lang=te,oe.locale=tn,oe.localeData=nn,oe.max=It,oe.min=kt,oe.parsingFlags=function(){return d({},f(this))},oe.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:W[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=z(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(A(this[e=$(e)]))return this[e](t);return this},oe.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,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-=rn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=rn(t,6e4);break;case"second":t=this._d.valueOf(),t-=rn(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},oe.subtract=de,oe.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},oe.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},oe.toDate=function(){return new Date(this.valueOf())},oe.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?N(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(e,"Z")):N(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},oe.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(oe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},oe.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},oe.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""},oe.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""},oe.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""},oe.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,o=n.length;i<o;++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()},oe.year=Fe,oe.isLeapYear=function(){return H(this.year())},oe.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},oe.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},oe.quarter=oe.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},oe.month=Ne,oe.daysInMonth=function(){return Ee(this.year(),this.month())},oe.week=oe.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},oe.isoWeek=oe.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},oe.weeksInYear=function(){var e=this.localeData()._week;return Ue(this.year(),e.dow,e.doy)},oe.weeksInWeekYear=function(){var e=this.localeData()._week;return Ue(this.weekYear(),e.dow,e.doy)},oe.isoWeeksInYear=function(){return Ue(this.year(),1,4)},oe.isoWeeksInISOWeekYear=function(){return Ue(this.isoWeekYear(),1,4)},oe.date=ne,oe.day=oe.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},oe.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},oe.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},oe.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")},oe.hour=oe.hours=nt,oe.minute=oe.minutes=Me,oe.second=oe.seconds=Ge,oe.millisecond=oe.milliseconds=qe,oe.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?o:Yt(this);if("string"==typeof e){if(null===(e=zt(ce,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Yt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Zt(this,Gt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},oe.utc=function(e){return this.utcOffset(0,e)},oe.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Yt(this),"m")),this},oe.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=zt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},oe.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Dt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},oe.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},oe.isLocal=function(){return!!this.isValid()&&!this._isUTC},oe.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},oe.isUtc=Ht,oe.isUTC=Ht,oe.zoneAbbr=function(){return this._isUTC?"UTC":""},oe.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},oe.dates=n("dates accessor is deprecated. Use date instead.",ne),oe.months=n("months accessor is deprecated. Use month instead",Ne),oe.years=n("years accessor is deprecated. Use year instead",Fe),oe.zone=n("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()}),oe.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Et(t))._a?(e=(t._isUTC?u:Dt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),r=0,s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&j(e[s])!==j(t[s]))&&r++;return r+o}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=S.prototype;function fn(e,t,n,i){var o=ht(),t=u().set(i,t);return o[n](t,e)}function gn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fn(e,t,n,"month");for(var i=[],o=0;o<12;o++)i[o]=fn(e,o,n,"month");return i}function yn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),c(t)&&(n=t,t=void 0),t||"");var o,r=ht(),s=e?r._week.dow:0,a=[];if(null!=n)return fn(t,(n+s)%7,i,"day");for(o=0;o<7;o++)a[o]=fn(t,(o+s)%7,i,"day");return a}K.calendar=function(e,t,n){return A(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=mn,K.postformat=mn,K.relativeTime=function(e,t,n,i){var o=this._relativeTime[n];return A(o)?o(e,t,n,i):o.replace(/%d/i,e)},K.pastFuture=function(e,t){return A(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)p(e,n)&&(A(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)},K.eras=function(e,t){for(var n,i=this._eras||ht("en")._eras,o=0,r=i.length;o<r;++o)switch("string"==typeof i[o].since&&(n=m(i[o].since).startOf("day"),i[o].since=n.valueOf()),typeof i[o].until){case"undefined":i[o].until=1/0;break;case"string":n=m(i[o].until).startOf("day").valueOf(),i[o].until=n.valueOf()}return i},K.erasParse=function(e,t,n){var i,o,r,s,a,l=this.eras();for(e=e.toUpperCase(),i=0,o=l.length;i<o;++i)if(r=l[i].name.toUpperCase(),s=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[i];break;case"NNNN":if(r===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if(0<=[r,s,a].indexOf(e))return l[i]},K.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},K.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return p(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[ke.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var i,o;if(this._monthsParseExact)return function(e,t,n){var i,o,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=u([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,e))?o:null:-1!==(o=_e.call(this._longMonthsParse,e))?o:null:"MMM"===t?-1!==(o=_e.call(this._shortMonthsParse,e))||-1!==(o=_e.call(this._longMonthsParse,e))?o:null:-1!==(o=_e.call(this._longMonthsParse,e))||-1!==(o=_e.call(this._shortMonthsParse,e))?o:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=u([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(o.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}},K.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Be.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Be.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return He(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?je(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var i,o;if(this._weekdaysParseExact)return function(e,t,n){var i,o,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=u([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,e))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,e))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:"dddd"===t?-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._shortWeekdaysParse,e))||-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:"ddd"===t?-1!==(o=_e.call(this._shortWeekdaysParse,e))||-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._minWeekdaysParse,e))?o:null:-1!==(o=_e.call(this._minWeekdaysParse,e))||-1!==(o=_e.call(this._weekdaysParse,e))||-1!==(o=_e.call(this._shortWeekdaysParse,e))?o:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=u([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),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}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ze),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},dt("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===j(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",dt),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var _n=Math.abs;function bn(e,t,n,i){n=Gt(t,n);return e._milliseconds+=i*n._milliseconds,e._days+=i*n._days,e._months+=i*n._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}re=Cn("ms"),Q=Cn("s"),X=Cn("m"),Z=Cn("h"),ie=Cn("d"),J=Cn("w"),Jt=Cn("M"),It=Cn("Q"),kt=Cn("y");function Pn(e){return function(){return this.isValid()?this._data[e]:NaN}}de=Pn("milliseconds"),nt=Pn("seconds"),Me=Pn("minutes"),Ge=Pn("hours"),qe=Pn("days"),ne=Pn("months"),Fe=Pn("years");var An=Math.round,Tn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Sn(e,t,n,i){var o=Gt(e).abs(),r=An(o.as("s")),s=An(o.as("m")),a=An(o.as("h")),l=An(o.as("d")),c=An(o.as("M")),d=An(o.as("w")),o=An(o.as("y")),l=(r<=n.ss?["s",r]:r<n.s&&["ss",r])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||d<=1&&["w"]||d<n.w&&["ww",d]:l)||c<=1&&["M"]||c<n.M&&["MM",c]||o<=1&&["y"]||["yy",o])[2]=t,l[3]=0<+e,l[4]=i,function(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}.apply(null,l)}var En=Math.abs;function Mn(e){return(0<e)-(e<0)||+e}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,o,r,s,a=En(this._milliseconds)/1e3,l=En(this._days),c=En(this._months),d=this.asSeconds();return d?(e=U(a/60),t=U(e/60),a%=60,e%=60,n=U(c/12),c%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",o=Mn(this._months)!==Mn(d)?"-":"",r=Mn(this._days)!==Mn(d)?"-":"",s=Mn(this._milliseconds)!==Mn(d)?"-":"",(d<0?"-":"")+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(l?r+l+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+i+"S":"")):"P0D"}K=Nt.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},K.add=function(e,t){return bn(this,e,t,1)},K.subtract=function(e,t){return bn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+wn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xn(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)}},K.asMilliseconds=re,K.asSeconds=Q,K.asMinutes=X,K.asHours=Z,K.asDays=ie,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=It,K.asYears=kt,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*j(this._months/12):NaN},K._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*vn(xn(n)+t),n=t=0),i.milliseconds=e%1e3,e=U(e/1e3),i.seconds=e%60,e=U(e/60),i.minutes=e%60,e=U(e/60),i.hours=e%24,t+=U(e/24),n+=e=U(wn(t)),t-=vn(xn(e)),e=U(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},K.clone=function(){return Gt(this)},K.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=de,K.seconds=nt,K.minutes=Me,K.hours=Ge,K.days=qe,K.weeks=function(){return U(this.days()/7)},K.months=ne,K.years=Fe,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Tn;return"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)),i=Sn(this,!n,i,t=this.localeData()),n&&(i=t.pastFuture(+this,i)),t.postformat(i)},K.toISOString=Dn,K.toString=Dn,K.toJSON=Dn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),K.lang=te,O("X",0,0,"unix"),O("x",0,0,"valueOf"),ue("x",ae),ue("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,n){n._d=new Date(j(e))}),m.version="2.29.1",e=Dt,m.fn=oe,m.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=u,m.unix=function(e){return Dt(1e3*e)},m.months=function(e,t){return gn(e,t,"months")},m.isDate=o,m.locale=dt,m.invalid=g,m.duration=Gt,m.isMoment=w,m.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},m.parseZone=function(){return Dt.apply(null,arguments).parseZone()},m.localeData=ht,m.isDuration=Bt,m.monthsShort=function(e,t){return gn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},m.defineLocale=ut,m.updateLocale=function(e,t){var n,i;return null!=t?(i=ot,null!=rt[e]&&null!=rt[e].parentLocale?rt[e].set(T(rt[e]._config,t)):(t=T(i=null!=(n=ct(e))?n._config:i,t),null==n&&(t.abbr=e),(t=new S(t)).parentLocale=rt[e],rt[e]=t),dt(e)):null!=rt[e]&&(null!=rt[e].parentLocale?(rt[e]=rt[e].parentLocale,e===dt()&&dt(e)):null!=rt[e]&&delete rt[e]),rt[e]},m.locales=function(){return E(rt)},m.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},m.normalizeUnits=$,m.relativeTimeRounding=function(e){return void 0===e?An:"function"==typeof e&&(An=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(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=oe,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}(),Ki.exports);class to extends HTMLElement{static get version(){return"1.6.1"}}customElements.define("vaadin-lumo-styles",to);let no,io=null,oo=window.HTMLImports&&window.HTMLImports.whenReady||null;function ro(e){requestAnimationFrame(function(){oo?oo(e):(io||(io=new Promise(e=>{no=e}),"complete"===document.readyState?no():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&no()})),io.then(function(){e&&e()}))})}const so="__seenByShadyCSS",ao="__shadyCSSCachedStyle";let lo=null,co=null;class uo{constructor(){this.customStyles=[],this.enqueued=!1,ro(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&co&&(this.enqueued=!0,ro(co))}addCustomStyle(e){e[so]||(e[so]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){return e[ao]||(e.getStyle?e.getStyle():e)}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const i=t[e];if(!i[ao]){var n=this.getStyleForCustomStyle(i);if(n){const t=n.__appliedElement||n;lo&&lo(t),i[ao]=t}}}return t}}Object.defineProperties(uo.prototype,{transformCallback:{get:()=>lo,set(e){lo=e}},validateCallback:{get:()=>co,set(e){let t=!1;co||(t=!0),co=e,t&&this.enqueueDocumentValidation()}}});const ho=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,po=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,mo=/@media\s(.*)/;function fo(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}function go(e,t){const n=window.getComputedStyle(e).getPropertyValue(t);return n?n.trim():""}const yo=!(window.ShadyDOM&&window.ShadyDOM.inUse);let _o,bo;function vo(e){_o=(!e||!e.shimcssproperties)&&(yo||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&&(bo=window.ShadyCSS.cssBuild);gn=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?_o=window.ShadyCSS.nativeCss:window.ShadyCSS?(vo(window.ShadyCSS),window.ShadyCSS=void 0):vo(window.WebComponents&&window.WebComponents.flags);const wo=_o,xo=new uo;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,n){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,n){},styleSubtree(e,t){xo.processStyles(),fo(e,t)},styleElement(e){xo.processStyles()},styleDocument(e){xo.processStyles(),fo(document.body,e)},getComputedStyleValue:(e,t)=>go(e,t),flushCustomStyles(){},nativeCss:wo,nativeShadow:yo,cssBuild:bo,disableRuntime:gn}),window.ShadyCSS.CustomStyleInterface=xo,window.JSCompiler_renameProperty=function(e,t){return e};let Co,Po,Ao=/(url\()([^)]*)(\))/g,To=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function So(e,t){if(e&&To.test(e))return e;if("//"===e)return e;if(void 0===Co){Co=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",Co="http://a/c%20d"===e.href}catch(e){}}if(t=t||(document.baseURI||window.location.href),Co)try{return new URL(e,t).href}catch(t){return e}return Po||(Po=document.implementation.createHTMLDocument("temp"),Po.base=Po.createElement("base"),Po.head.appendChild(Po.base),Po.anchor=Po.createElement("a"),Po.body.appendChild(Po.anchor)),Po.base.href=t,Po.anchor.href=e,Po.anchor.href||e}function Eo(e,o){return e.replace(Ao,function(e,t,n,i){return t+"'"+So(n.replace(/["']/g,""),o)+"'"+i})}function Mo(e){return e.substring(0,e.lastIndexOf("/")+1)}const Do=!window.ShadyDOM||!window.ShadyDOM.inUse;Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss);const ko=Do&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet;e.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})();let Io=window.Polymer&&window.Polymer.rootPath||Mo(document.baseURI||window.location.href),Lo=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,Oo=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1,No=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,Bo=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,Ro=window.Polymer&&window.Polymer.legacyOptimizations||!1,Fo=window.Polymer&&window.Polymer.legacyWarnings||!1,$o=window.Polymer&&window.Polymer.syncInitialRender||!1,zo=window.Polymer&&window.Polymer.legacyUndefined||!1,Wo=window.Polymer&&window.Polymer.orderedComputed||!1,Yo=window.Polymer&&window.Polymer.removeNestedTemplates||!1,Ho=window.Polymer&&window.Polymer.fastDomIf||!1,Uo=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1,jo=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1,Go=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1,Vo={},qo={};function Xo(e,t){Vo[e]=qo[e.toLowerCase()]=t}function Zo(e){return Vo[e]||qo[e.toLowerCase()]}class Jo extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,n){if(t){let e=Zo(t);return e&&n?e.querySelector(n):e}return 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=So(this.getAttribute("assetpath")||"",e.baseURI),this.__assetpath=Mo(e)),this.__assetpath}register(e){if(e=e||this.id){if(No&&void 0!==Zo(e))throw Xo(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);Xo(this.id=e,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}}}Jo.prototype.modules=Vo,customElements.define("dom-module",Jo);const Ko="shady-unscoped";function Qo(e){return Jo.import(e)}function er(e){const t=Eo((e.body||e).textContent,e.baseURI),n=document.createElement("style");return n.textContent=t,n}function tr(e){const t=e.trim().split(/\s+/),n=[];for(let e=0;e<t.length;e++)n.push(...function(e){const t=Qo(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const n=[];n.push(...ir(t));e=t.querySelector("template");e&&n.push(...nr(e,t.assetpath)),t._styles=n}return t._styles}(t[e]));return n}function nr(e,i){if(!e._styles){const o=[],r=e.content.querySelectorAll("style");for(let n=0;n<r.length;n++){let e=r[n],t=e.getAttribute("include");t&&o.push(...tr(t).filter(function(e,t,n){return n.indexOf(e)===t})),i&&(e.textContent=Eo(e.textContent,i)),o.push(e)}e._styles=o}return e._styles}function ir(n){const i=[],o=n.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<o.length;t++){let e=o[t];if(e.import){const n=e.import,o=e.hasAttribute(Ko);if(o&&!n._unscopedStyle){const i=er(n);i.setAttribute(Ko,""),n._unscopedStyle=i}else n._style||(n._style=er(n));i.push(o?n._unscopedStyle:n._style)}}return i}const or="include",rr=window.ShadyCSS.CustomStyleInterface;class sr extends HTMLElement{constructor(){super(),this._style=null,rr.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const e=this.querySelector("style");if(!e)return null;this._style=e;var i=e.getAttribute(or);return i&&(e.removeAttribute(or),e.textContent=function(){let t=i.trim().split(/\s+/),n="";for(let e=0;e<t.length;e++)n+=function(e){let o=Qo(e);if(o&&void 0===o._cssText){let e=function(){let t="",n=ir(o);for(let e=0;e<n.length;e++)t+=n[e].textContent;return t}(),t=o.querySelector("template");t&&(e+=function(){let n="";var i=nr(t,o.assetpath);for(let t=0;t<i.length;t++){let e=i[t];e.parentNode&&e.parentNode.removeChild(e),n+=e.textContent}return n}()),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),this._style}}window.customElements.define("custom-style",sr);const ar=document.createElement("template");ar.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(ar.content);const lr=document.createElement("template");lr.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(lr.content);const cr=document.createElement("template");cr.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(cr.content);const dr=document.createElement("template");dr.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(dr.content);const ur=document.createElement("template");ur.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(ur.content);const hr=document.createElement("template");hr.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(hr.content);const pr=document.createElement("template");pr.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(pr.content);class mr{constructor(e){this.value=e.toString()}toString(){return this.value}}const fr=function(i,...e){const t=document.createElement("template");return t.innerHTML=e.reduce((e,t,n)=>e+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof mr)return function(e){if(e instanceof mr)return e.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${e}`)}(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}(t)+i[n+1],i[0]),t},gr=fr`<dom-module id="lumo-date-picker-overlay" theme-for="vaadin-date-picker-overlay">
2
2
  <template>
3
3
  <style include="lumo-menu-overlay">
4
4
  [part="overlay"] {