@everymatrix/casino-footer 1.45.0 → 1.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFooter-B0dm5xz-.js → CasinoFooter-CExC-mt3.js} +516 -520
- package/components/{CasinoFooter-swj2W7bn.cjs → CasinoFooter-Fkn-CmIz.cjs} +6 -6
- package/components/CasinoFooterSection-BP6Wd440.cjs +1 -0
- package/components/{CasinoFooterSection-CljV0sqr.js → CasinoFooterSection-Bf6VC_Qc.js} +51 -51
- package/components/CasinoFooterThumbnail-B-Q1sqiL.cjs +1 -0
- package/components/{CasinoFooterThumbnail-owTolPNC.js → CasinoFooterThumbnail-CcLz2KNi.js} +259 -259
- package/components/PlayerPanicButton-DD5ja969.cjs +1 -0
- package/components/PlayerPanicButton-DhEzThWl.js +241 -0
- package/es2015/casino-footer.cjs +1 -1
- package/es2015/casino-footer.js +1 -1
- package/package.json +2 -2
- package/components/CasinoFooterSection-Co06za0g.cjs +0 -1
- package/components/CasinoFooterThumbnail-BXo_hVlq.cjs +0 -1
- package/components/PlayerPanicButton-BBzVGTEu.cjs +0 -1
- package/components/PlayerPanicButton-DNamU5Fr.js +0 -245
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";var mo=Object.defineProperty,po=Object.defineProperties;var _o=Object.getOwnPropertyDescriptors;var li=Object.getOwnPropertySymbols;var go=Object.prototype.hasOwnProperty,yo=Object.prototype.propertyIsEnumerable;var Br=(e,t,r)=>t in e?mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ui=(e,t)=>{for(var r in t||(t={}))go.call(t,r)&&Br(e,r,t[r]);if(li)for(var r of li(t))yo.call(t,r)&&Br(e,r,t[r]);return e},fi=(e,t)=>po(e,_o(t));var oe=(e,t,r)=>Br(e,typeof t!="symbol"?t+"":t,r);var hi=(e,t,r)=>new Promise((n,i)=>{var s=l=>{try{o(r.next(l))}catch(u){i(u)}},a=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,a);o((r=r.apply(e,t)).next())});function re(){}function gs(e){return e()}function ci(){return Object.create(null)}function Ve(e){e.forEach(gs)}function We(e){return typeof e=="function"}function En(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let zt;function Ie(e,t){return e===t?!0:(zt||(zt=document.createElement("a")),zt.href=t,e===zt.href)}function bo(e){return Object.keys(e).length===0}function ys(e,...t){if(e==null){for(const n of t)n(void 0);return re}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function bs(e,t,r){e.$$.on_destroy.push(ys(t,r))}function vo(e){return e==null?"":e}function Ur(e){return e&&We(e.destroy)?e.destroy:re}const wo=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function v(e,t){e.appendChild(t)}function vs(e,t,r){const n=So(e);if(!n.getElementById(t)){const i=E("style");i.id=t,i.textContent=r,To(n,i)}}function So(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function To(e,t){return v(e.head||e,t),t.sheet}function A(e,t,r){e.insertBefore(t,r||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function tn(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function E(e){return document.createElement(e)}function K(e){return document.createTextNode(e)}function z(){return K(" ")}function ws(){return K("")}function wt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function m(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function g(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:m(e,t,r)}function Eo(e){return Array.from(e.childNodes)}function ie(e,t){t=""+t,e.data!==t&&(e.data=t)}function di(e,t){e.value=t==null?"":t}function mi(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Mo(e){const t=e.querySelector(":checked");return t&&t.__value}function xo(e,t,r){e.classList.toggle(t,!!r)}function Oo(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Et;function St(e){Et=e}function ko(){if(!Et)throw new Error("Function called outside component initialization");return Et}function Ss(e){ko().$$.on_mount.push(e)}const Qe=[],Mt=[];let tt=[];const pi=[],Do=Promise.resolve();let rn=!1;function Po(){rn||(rn=!0,Do.then(Z))}function sr(e){tt.push(e)}const Wr=new Set;let Xe=0;function Z(){if(Xe!==0)return;const e=Et;do{try{for(;Xe<Qe.length;){const t=Qe[Xe];Xe++,St(t),Ho(t.$$)}}catch(t){throw Qe.length=0,Xe=0,t}for(St(null),Qe.length=0,Xe=0;Mt.length;)Mt.pop()();for(let t=0;t<tt.length;t+=1){const r=tt[t];Wr.has(r)||(Wr.add(r),r())}tt.length=0}while(Qe.length);for(;pi.length;)pi.pop()();rn=!1,Wr.clear(),St(e)}function Ho(e){if(e.fragment!==null){e.update(),Ve(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(sr)}}function Ro(e){const t=[],r=[];tt.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),tt=t}const No=new Set;function Co(e,t){e&&e.i&&(No.delete(e),e.i(t))}function vt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Lo(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),sr(()=>{const s=e.$$.on_mount.map(gs).filter(We);e.$$.on_destroy?e.$$.on_destroy.push(...s):Ve(s),e.$$.on_mount=[]}),i.forEach(sr)}function Ao(e,t){const r=e.$$;r.fragment!==null&&(Ro(r.after_update),Ve(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Io(e,t){e.$$.dirty[0]===-1&&(Qe.push(e),Po(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ts(e,t,r,n,i,s,a=null,o=[-1]){const l=Et;St(e);const u=e.$$={fragment:null,ctx:[],props:s,update:re,not_equal:i,bound:ci(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:ci(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let f=!1;if(u.ctx=r?r(e,t.props||{},(h,c,...S)=>{const w=S.length?S[0]:c;return u.ctx&&i(u.ctx[h],u.ctx[h]=w)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](w),f&&Io(e,h)),c}):[],u.update(),f=!0,Ve(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const h=Eo(t.target);u.fragment&&u.fragment.l(h),h.forEach(R)}else u.fragment&&u.fragment.c();t.intro&&Co(e.$$.fragment),Lo(e,t.target,t.anchor),Z()}St(l)}let Es;typeof HTMLElement=="function"&&(Es=class extends HTMLElement{constructor(t,r,n){super();oe(this,"$$ctor");oe(this,"$$s");oe(this,"$$c");oe(this,"$$cn",!1);oe(this,"$$d",{});oe(this,"$$r",!1);oe(this,"$$p_d",{});oe(this,"$$l",{});oe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return hi(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=E("slot"),s!=="default"&&m(a,"name",s)},m:function(u,f){A(u,a,f)},d:function(u){u&&R(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Oo(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=Qt(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:fi(ui({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=Qt(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const a of this.$$l[s]){const o=this.$$c.$on(s,a);this.$$l_u.set(a,o)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Qt(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Qt(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ms(e,t,r,n,i,s){let a=class extends Es{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=Qt(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(a.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=a,a}class xs{constructor(){oe(this,"$$");oe(this,"$$set")}$destroy(){Ao(this,1),this.$destroy=re}$on(t,r){if(!We(r))return re;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!bo(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Fo="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Fo);if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoFooterSection-Co06za0g.cjs")).then(({default:t})=>{!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerPanicButton-BBzVGTEu.cjs")).then(({default:t})=>{!customElements.get("player-panic-button")&&customElements.define("player-panic-button",t.element)})}function Yo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Go(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
1
|
+
"use strict";var mo=Object.defineProperty,po=Object.defineProperties;var _o=Object.getOwnPropertyDescriptors;var li=Object.getOwnPropertySymbols;var go=Object.prototype.hasOwnProperty,yo=Object.prototype.propertyIsEnumerable;var Br=(e,t,r)=>t in e?mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ui=(e,t)=>{for(var r in t||(t={}))go.call(t,r)&&Br(e,r,t[r]);if(li)for(var r of li(t))yo.call(t,r)&&Br(e,r,t[r]);return e},hi=(e,t)=>po(e,_o(t));var oe=(e,t,r)=>Br(e,typeof t!="symbol"?t+"":t,r);var fi=(e,t,r)=>new Promise((n,i)=>{var s=l=>{try{o(r.next(l))}catch(u){i(u)}},a=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,a);o((r=r.apply(e,t)).next())});function re(){}function gs(e){return e()}function ci(){return Object.create(null)}function Ve(e){e.forEach(gs)}function We(e){return typeof e=="function"}function En(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let zt;function Ie(e,t){return e===t?!0:(zt||(zt=document.createElement("a")),zt.href=t,e===zt.href)}function bo(e){return Object.keys(e).length===0}function ys(e,...t){if(e==null){for(const n of t)n(void 0);return re}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function bs(e,t,r){e.$$.on_destroy.push(ys(t,r))}function Ur(e){return e&&We(e.destroy)?e.destroy:re}const vo=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function v(e,t){e.appendChild(t)}function vs(e,t,r){const n=wo(e);if(!n.getElementById(t)){const i=E("style");i.id=t,i.textContent=r,So(n,i)}}function wo(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function So(e,t){return v(e.head||e,t),t.sheet}function A(e,t,r){e.insertBefore(t,r||null)}function H(e){e.parentNode&&e.parentNode.removeChild(e)}function tn(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function E(e){return document.createElement(e)}function K(e){return document.createTextNode(e)}function z(){return K(" ")}function ws(){return K("")}function wt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function m(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function g(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:m(e,t,r)}function To(e){return Array.from(e.childNodes)}function ie(e,t){t=""+t,e.data!==t&&(e.data=t)}function di(e,t){e.value=t==null?"":t}function mi(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Eo(e){const t=e.querySelector(":checked");return t&&t.__value}function Mo(e,t,r){e.classList.toggle(t,!!r)}function xo(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Et;function St(e){Et=e}function Oo(){if(!Et)throw new Error("Function called outside component initialization");return Et}function Ss(e){Oo().$$.on_mount.push(e)}const Qe=[],Mt=[];let tt=[];const pi=[],ko=Promise.resolve();let rn=!1;function Do(){rn||(rn=!0,ko.then(Z))}function sr(e){tt.push(e)}const Wr=new Set;let Xe=0;function Z(){if(Xe!==0)return;const e=Et;do{try{for(;Xe<Qe.length;){const t=Qe[Xe];Xe++,St(t),Po(t.$$)}}catch(t){throw Qe.length=0,Xe=0,t}for(St(null),Qe.length=0,Xe=0;Mt.length;)Mt.pop()();for(let t=0;t<tt.length;t+=1){const r=tt[t];Wr.has(r)||(Wr.add(r),r())}tt.length=0}while(Qe.length);for(;pi.length;)pi.pop()();rn=!1,Wr.clear(),St(e)}function Po(e){if(e.fragment!==null){e.update(),Ve(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(sr)}}function Ro(e){const t=[],r=[];tt.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),tt=t}const Ho=new Set;function Co(e,t){e&&e.i&&(Ho.delete(e),e.i(t))}function vt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function No(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),sr(()=>{const s=e.$$.on_mount.map(gs).filter(We);e.$$.on_destroy?e.$$.on_destroy.push(...s):Ve(s),e.$$.on_mount=[]}),i.forEach(sr)}function Lo(e,t){const r=e.$$;r.fragment!==null&&(Ro(r.after_update),Ve(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Ao(e,t){e.$$.dirty[0]===-1&&(Qe.push(e),Do(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ts(e,t,r,n,i,s,a=null,o=[-1]){const l=Et;St(e);const u=e.$$={fragment:null,ctx:[],props:s,update:re,not_equal:i,bound:ci(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:ci(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let h=!1;if(u.ctx=r?r(e,t.props||{},(f,c,...S)=>{const w=S.length?S[0]:c;return u.ctx&&i(u.ctx[f],u.ctx[f]=w)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](w),h&&Ao(e,f)),c}):[],u.update(),h=!0,Ve(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const f=To(t.target);u.fragment&&u.fragment.l(f),f.forEach(H)}else u.fragment&&u.fragment.c();t.intro&&Co(e.$$.fragment),No(e,t.target,t.anchor),Z()}St(l)}let Es;typeof HTMLElement=="function"&&(Es=class extends HTMLElement{constructor(t,r,n){super();oe(this,"$$ctor");oe(this,"$$s");oe(this,"$$c");oe(this,"$$cn",!1);oe(this,"$$d",{});oe(this,"$$r",!1);oe(this,"$$p_d",{});oe(this,"$$l",{});oe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return fi(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=E("slot"),s!=="default"&&m(a,"name",s)},m:function(u,h){A(u,a,h)},d:function(u){u&&H(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=xo(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=Qt(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:hi(ui({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=Qt(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const a of this.$$l[s]){const o=this.$$c.$on(s,a);this.$$l_u.set(a,o)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Qt(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Qt(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ms(e,t,r,n,i,s){let a=class extends Es{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=Qt(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(a.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=a,a}class xs{constructor(){oe(this,"$$");oe(this,"$$set")}$destroy(){Lo(this,1),this.$destroy=re}$on(t,r){if(!We(r))return re;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!bo(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Io="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Io);if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoFooterSection-BP6Wd440.cjs")).then(({default:t})=>{!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerPanicButton-DD5ja969.cjs")).then(({default:t})=>{!customElements.get("player-panic-button")&&customElements.define("player-panic-button",t.element)})}function Fo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Go(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
2
2
|
//! version : 2.30.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var Os;function y(){return Os.apply(null,arguments)}function
|
|
6
|
+
var Os;function y(){return Os.apply(null,arguments)}function Yo(e){Os=e}function me(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function je(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Mn(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(L(e,t))return!1;return!0}function ne(e){return e===void 0}function ke(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Ht(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function ks(e,t){var r=[],n,i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function Ne(e,t){for(var r in t)L(t,r)&&(e[r]=t[r]);return L(t,"toString")&&(e.toString=t.toString),L(t,"valueOf")&&(e.valueOf=t.valueOf),e}function be(e,t,r,n){return Js(e,t,r,n,!0).utc()}function Bo(){return{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}}function O(e){return e._pf==null&&(e._pf=Bo()),e._pf}var nn;Array.prototype.some?nn=Array.prototype.some:nn=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function xn(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());if(n&&(t=O(e),r=nn.call(t.parsedDateParts,function(i){return i!=null}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n;return e._isValid}function dr(e){var t=be(NaN);return e!=null?Ne(O(t),e):O(t).userInvalidated=!0,t}var _i=y.momentProperties=[],jr=!1;function On(e,t){var r,n,i,s=_i.length;if(ne(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ne(t._i)||(e._i=t._i),ne(t._f)||(e._f=t._f),ne(t._l)||(e._l=t._l),ne(t._strict)||(e._strict=t._strict),ne(t._tzm)||(e._tzm=t._tzm),ne(t._isUTC)||(e._isUTC=t._isUTC),ne(t._offset)||(e._offset=t._offset),ne(t._pf)||(e._pf=O(t)),ne(t._locale)||(e._locale=t._locale),s>0)for(r=0;r<s;r++)n=_i[r],i=t[n],ne(i)||(e[n]=i);return e}function Ct(e){On(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),jr===!1&&(jr=!0,y.updateOffset(this),jr=!1)}function pe(e){return e instanceof Ct||e!=null&&e._isAMomentObject!=null}function Ds(e){y.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function ue(e,t){var r=!0;return Ne(function(){if(y.deprecationHandler!=null&&y.deprecationHandler(null,e),r){var n=[],i,s,a,o=arguments.length;for(s=0;s<o;s++){if(i="",typeof arguments[s]=="object"){i+=`
|
|
7
7
|
[`+s+"] ";for(a in arguments[0])L(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[s];n.push(i)}Ds(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
9
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var gi={};function Ps(e,t){y.deprecationHandler!=null&&y.deprecationHandler(e,t),gi[e]||(Ds(t),gi[e]=!0)}y.suppressDeprecationWarnings=!1;y.deprecationHandler=null;function ve(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Wo(e){var t,r;for(r in e)L(e,r)&&(t=e[r],ve(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function sn(e,t){var r=Ce({},e),n;for(n in t)L(t,n)&&(je(e[n])&&je(t[n])?(r[n]={},Ce(r[n],e[n]),Ce(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)L(e,n)&&!L(t,n)&&je(e[n])&&(r[n]=Ce({},r[n]));return r}function kn(e){e!=null&&this.set(e)}var an;Object.keys?an=Object.keys:an=function(e){var t,r=[];for(t in e)L(e,t)&&r.push(t);return r};var jo={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Vo(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return ve(n)?n.call(t,r):n}function ye(e,t,r){var n=""+Math.abs(e),i=t-n.length,s=e>=0;return(s?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var Dn=/(\[[^\[]*\])|(\\)?([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,Zt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Vr={},rt={};function T(e,t,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),e&&(rt[e]=i),t&&(rt[t[0]]=function(){return ye(i.apply(this,arguments),t[1],t[2])}),r&&(rt[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function $o(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function zo(e){var t=e.match(Dn),r,n;for(r=0,n=t.length;r<n;r++)rt[t[r]]?t[r]=rt[t[r]]:t[r]=$o(t[r]);return function(i){var s="",a;for(a=0;a<n;a++)s+=ve(t[a])?t[a].call(i,e):t[a];return s}}function Kt(e,t){return e.isValid()?(t=Hs(t,e.localeData()),Vr[t]=Vr[t]||zo(t),Vr[t](e)):e.localeData().invalidDate()}function Hs(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(Zt.lastIndex=0;r>=0&&Zt.test(e);)e=e.replace(Zt,n),Zt.lastIndex=0,r-=1;return e}var Zo={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"};function Xo(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Dn).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var qo="Invalid date";function Jo(){return this._invalidDate}var Qo="%d",Ko=/\d{1,2}/;function el(e){return this._ordinal.replace("%d",e)}var tl={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"};function rl(e,t,r,n){var i=this._relativeTime[r];return ve(i)?i(e,t,r,n):i.replace(/%d/i,e)}function nl(e,t){var r=this._relativeTime[e>0?"future":"past"];return ve(r)?r(t):r.replace(/%s/i,t)}var yi={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function fe(e){return typeof e=="string"?yi[e]||yi[e.toLowerCase()]:void 0}function Pn(e){var t={},r,n;for(n in e)L(e,n)&&(r=fe(n),r&&(t[r]=e[n]));return t}var il={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function sl(e){var t=[],r;for(r in e)L(e,r)&&t.push({unit:r,priority:il[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}var Rs=/\d/,ae=/\d\d/,Ns=/\d{3}/,Hn=/\d{4}/,mr=/[+-]?\d{6}/,W=/\d\d?/,Cs=/\d\d\d\d?/,Ls=/\d\d\d\d\d\d?/,pr=/\d{1,3}/,Rn=/\d{1,4}/,_r=/[+-]?\d{1,6}/,ft=/\d+/,gr=/[+-]?\d+/,al=/Z|[+-]\d\d:?\d\d/gi,yr=/Z|[+-]\d\d(?::?\d\d)?/gi,ol=/[+-]?\d+(\.\d{1,3})?/,Ct=/[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,ht=/^[1-9]\d?/,Nn=/^([1-9]\d|\d)/,ar;ar={};function b(e,t,r){ar[e]=ve(t)?t:function(n,i){return n&&r?r:t}}function ll(e,t){return L(ar,e)?ar[e](t._strict,t._locale):new RegExp(ul(e))}function ul(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,s){return r||n||i||s}))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function D(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=le(t)),r}var on={};function Y(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),ke(t)&&(n=function(s,a){a[t]=D(s)}),i=e.length,r=0;r<i;r++)on[e[r]]=n}function Lt(e,t){Y(e,function(r,n,i,s){i._w=i._w||{},t(r,i._w,i,s)})}function fl(e,t,r){t!=null&&L(on,e)&&on[e](t,r._a,r,e)}function br(e){return e%4===0&&e%100!==0||e%400===0}var ee=0,Te=1,ge=2,J=3,de=4,Ee=5,Ue=6,hl=7,cl=8;T("Y",0,0,function(){var e=this.year();return e<=9999?ye(e,4):"+"+e});T(0,["YY",2],0,function(){return this.year()%100});T(0,["YYYY",4],0,"year");T(0,["YYYYY",5],0,"year");T(0,["YYYYYY",6,!0],0,"year");b("Y",gr);b("YY",W,ae);b("YYYY",Rn,Hn);b("YYYYY",_r,mr);b("YYYYYY",_r,mr);Y(["YYYYY","YYYYYY"],ee);Y("YYYY",function(e,t){t[ee]=e.length===2?y.parseTwoDigitYear(e):D(e)});Y("YY",function(e,t){t[ee]=y.parseTwoDigitYear(e)});Y("Y",function(e,t){t[ee]=parseInt(e,10)});function Tt(e){return br(e)?366:365}y.parseTwoDigitYear=function(e){return D(e)+(D(e)>68?1900:2e3)};var As=ct("FullYear",!0);function dl(){return br(this.year())}function ct(e,t){return function(r){return r!=null?(Is(this,e,r),y.updateOffset(this,t),this):xt(this,e)}}function xt(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Is(e,t,r){var n,i,s,a,o;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}s=r,a=e.month(),o=e.date(),o=o===29&&a===1&&!br(s)?28:o,i?n.setUTCFullYear(s,a,o):n.setFullYear(s,a,o)}}function ml(e){return e=fe(e),ve(this[e])?this[e]():this}function pl(e,t){if(typeof e=="object"){e=Pn(e);var r=sl(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=fe(e),ve(this[e]))return this[e](t);return this}function _l(e,t){return(e%t+t)%t}var q;Array.prototype.indexOf?q=Array.prototype.indexOf:q=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Cn(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=_l(t,12);return e+=(t-r)/12,r===1?br(e)?29:28:31-r%7%2}T("M",["MM",2],"Mo",function(){return this.month()+1});T("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});T("MMMM",0,0,function(e){return this.localeData().months(this,e)});b("M",W,ht);b("MM",W,ae);b("MMM",function(e,t){return t.monthsShortRegex(e)});b("MMMM",function(e,t){return t.monthsRegex(e)});Y(["M","MM"],function(e,t){t[Te]=D(e)-1});Y(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[Te]=i:O(r).invalidMonth=e});var gl="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Fs="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ys=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,yl=Ct,bl=Ct;function vl(e,t){return e?me(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ys).test(t)?"format":"standalone"][e.month()]:me(this._months)?this._months:this._months.standalone}function wl(e,t){return e?me(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ys.test(t)?"format":"standalone"][e.month()]:me(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Sl(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=be([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return r?t==="MMM"?(i=q.call(this._shortMonthsParse,a),i!==-1?i:null):(i=q.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=q.call(this._shortMonthsParse,a),i!==-1?i:(i=q.call(this._longMonthsParse,a),i!==-1?i:null)):(i=q.call(this._longMonthsParse,a),i!==-1?i:(i=q.call(this._shortMonthsParse,a),i!==-1?i:null))}function Tl(e,t,r){var n,i,s;if(this._monthsParseExact)return Sl.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=be([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function Gs(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=D(t);else if(t=e.localeData().monthsParse(t),!ke(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,Cn(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function Bs(e){return e!=null?(Gs(this,e),y.updateOffset(this,!0),this):xt(this,"Month")}function El(){return Cn(this.year(),this.month())}function Ml(e){return this._monthsParseExact?(L(this,"_monthsRegex")||Us.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(L(this,"_monthsShortRegex")||(this._monthsShortRegex=yl),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function xl(e){return this._monthsParseExact?(L(this,"_monthsRegex")||Us.call(this),e?this._monthsStrictRegex:this._monthsRegex):(L(this,"_monthsRegex")||(this._monthsRegex=bl),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Us(){function e(l,u){return u.length-l.length}var t=[],r=[],n=[],i,s,a,o;for(i=0;i<12;i++)s=be([2e3,i]),a=Me(this.monthsShort(s,"")),o=Me(this.months(s,"")),t.push(a),r.push(o),n.push(o),n.push(a);t.sort(e),r.sort(e),n.sort(e),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ol(e,t,r,n,i,s,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function Ot(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function or(e,t,r){var n=7+t-r,i=(7+Ot(e,0,n).getUTCDay()-t)%7;return-i+n-1}function Ws(e,t,r,n,i){var s=(7+r-n)%7,a=or(e,n,i),o=1+7*(t-1)+s+a,l,u;return o<=0?(l=e-1,u=Tt(l)+o):o>Tt(e)?(l=e+1,u=o-Tt(e)):(l=e,u=o),{year:l,dayOfYear:u}}function kt(e,t,r){var n=or(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,s,a;return i<1?(a=e.year()-1,s=i+xe(a,t,r)):i>xe(e.year(),t,r)?(s=i-xe(e.year(),t,r),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function xe(e,t,r){var n=or(e,t,r),i=or(e+1,t,r);return(Tt(e)-n+i)/7}T("w",["ww",2],"wo","week");T("W",["WW",2],"Wo","isoWeek");b("w",W,ht);b("ww",W,ae);b("W",W,ht);b("WW",W,ae);Lt(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=D(e)});function kl(e){return kt(e,this._week.dow,this._week.doy).week}var Dl={dow:0,doy:6};function Pl(){return this._week.dow}function Hl(){return this._week.doy}function Rl(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Nl(e){var t=kt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}T("d",0,"do","day");T("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});T("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});T("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});T("e",0,0,"weekday");T("E",0,0,"isoWeekday");b("d",W);b("e",W);b("E",W);b("dd",function(e,t){return t.weekdaysMinRegex(e)});b("ddd",function(e,t){return t.weekdaysShortRegex(e)});b("dddd",function(e,t){return t.weekdaysRegex(e)});Lt(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:O(r).invalidWeekday=e});Lt(["d","e","E"],function(e,t,r,n){t[n]=D(e)});function Cl(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Ll(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ln(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Al="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),js="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Il="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fl=Ct,Yl=Ct,Gl=Ct;function Bl(e,t){var r=me(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ln(r,this._week.dow):e?r[e.day()]:r}function Ul(e){return e===!0?Ln(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Wl(e){return e===!0?Ln(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function jl(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=be([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?t==="dddd"?(i=q.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=q.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=q.call(this._weekdaysParse,a),i!==-1||(i=q.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=q.call(this._shortWeekdaysParse,a),i!==-1||(i=q.call(this._weekdaysParse,a),i!==-1)?i:(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=q.call(this._minWeekdaysParse,a),i!==-1||(i=q.call(this._weekdaysParse,a),i!==-1)?i:(i=q.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function Vl(e,t,r){var n,i,s;if(this._weekdaysParseExact)return jl.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=be([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function $l(e){if(!this.isValid())return e!=null?this:NaN;var t=xt(this,"Day");return e!=null?(e=Cl(e,this.localeData()),this.add(e-t,"d")):t}function zl(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Zl(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Ll(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Xl(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||An.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(L(this,"_weekdaysRegex")||(this._weekdaysRegex=Fl),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ql(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||An.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(L(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yl),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jl(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||An.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(L(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gl),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function An(){function e(f,h){return h.length-f.length}var t=[],r=[],n=[],i=[],s,a,o,l,u;for(s=0;s<7;s++)a=be([2e3,1]).day(s),o=Me(this.weekdaysMin(a,"")),l=Me(this.weekdaysShort(a,"")),u=Me(this.weekdays(a,"")),t.push(o),r.push(l),n.push(u),i.push(o),i.push(l),i.push(u);t.sort(e),r.sort(e),n.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function In(){return this.hours()%12||12}function Ql(){return this.hours()||24}T("H",["HH",2],0,"hour");T("h",["hh",2],0,In);T("k",["kk",2],0,Ql);T("hmm",0,0,function(){return""+In.apply(this)+ye(this.minutes(),2)});T("hmmss",0,0,function(){return""+In.apply(this)+ye(this.minutes(),2)+ye(this.seconds(),2)});T("Hmm",0,0,function(){return""+this.hours()+ye(this.minutes(),2)});T("Hmmss",0,0,function(){return""+this.hours()+ye(this.minutes(),2)+ye(this.seconds(),2)});function Vs(e,t){T(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Vs("a",!0);Vs("A",!1);function $s(e,t){return t._meridiemParse}b("a",$s);b("A",$s);b("H",W,Nn);b("h",W,ht);b("k",W,ht);b("HH",W,ae);b("hh",W,ae);b("kk",W,ae);b("hmm",Cs);b("hmmss",Ls);b("Hmm",Cs);b("Hmmss",Ls);Y(["H","HH"],J);Y(["k","kk"],function(e,t,r){var n=D(e);t[J]=n===24?0:n});Y(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});Y(["h","hh"],function(e,t,r){t[J]=D(e),O(r).bigHour=!0});Y("hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n)),O(r).bigHour=!0});Y("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n,2)),t[Ee]=D(e.substr(i)),O(r).bigHour=!0});Y("Hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n))});Y("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n,2)),t[Ee]=D(e.substr(i))});function Kl(e){return(e+"").toLowerCase().charAt(0)==="p"}var eu=/[ap]\.?m?\.?/i,tu=ct("Hours",!0);function ru(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var zs={calendar:jo,longDateFormat:Zo,invalidDate:qo,ordinal:Qo,dayOfMonthOrdinalParse:Ko,relativeTime:tl,months:gl,monthsShort:Fs,week:Dl,weekdays:Al,weekdaysMin:Il,weekdaysShort:js,meridiemParse:eu},V={},gt={},Dt;function nu(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function bi(e){return e&&e.toLowerCase().replace("_","-")}function iu(e){for(var t=0,r,n,i,s;t<e.length;){for(s=bi(e[t]).split("-"),r=s.length,n=bi(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=vr(s.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&nu(s,n)>=r-1)break;r--}t++}return Dt}function su(e){return!!(e&&e.match("^[^/\\\\]*$"))}function vr(e){var t=null,r;if(V[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&su(e))try{t=Dt._abbr,r=Go,r("./locale/"+e),Fe(t)}catch(n){V[e]=null}return V[e]}function Fe(e,t){var r;return e&&(ne(t)?r=De(e):r=Fn(e,t),r?Dt=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Dt._abbr}function Fn(e,t){if(t!==null){var r,n=zs;if(t.abbr=e,V[e]!=null)Ps("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=V[e]._config;else if(t.parentLocale!=null)if(V[t.parentLocale]!=null)n=V[t.parentLocale]._config;else if(r=vr(t.parentLocale),r!=null)n=r._config;else return gt[t.parentLocale]||(gt[t.parentLocale]=[]),gt[t.parentLocale].push({name:e,config:t}),null;return V[e]=new kn(sn(n,t)),gt[e]&>[e].forEach(function(i){Fn(i.name,i.config)}),Fe(e),V[e]}else return delete V[e],null}function au(e,t){if(t!=null){var r,n,i=zs;V[e]!=null&&V[e].parentLocale!=null?V[e].set(sn(V[e]._config,t)):(n=vr(e),n!=null&&(i=n._config),t=sn(i,t),n==null&&(t.abbr=e),r=new kn(t),r.parentLocale=V[e],V[e]=r),Fe(e)}else V[e]!=null&&(V[e].parentLocale!=null?(V[e]=V[e].parentLocale,e===Fe()&&Fe(e)):V[e]!=null&&delete V[e]);return V[e]}function De(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Dt;if(!me(e)){if(t=vr(e),t)return t;e=[e]}return iu(e)}function ou(){return an(V)}function Yn(e){var t,r=e._a;return r&&O(e).overflow===-2&&(t=r[Te]<0||r[Te]>11?Te:r[ge]<1||r[ge]>Cn(r[ee],r[Te])?ge:r[J]<0||r[J]>24||r[J]===24&&(r[de]!==0||r[Ee]!==0||r[Ue]!==0)?J:r[de]<0||r[de]>59?de:r[Ee]<0||r[Ee]>59?Ee:r[Ue]<0||r[Ue]>999?Ue:-1,O(e)._overflowDayOfYear&&(t<ee||t>ge)&&(t=ge),O(e)._overflowWeeks&&t===-1&&(t=hl),O(e)._overflowWeekday&&t===-1&&(t=cl),O(e).overflow=t),e}var lu=/^\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)?)?$/,uu=/^\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)?)?$/,fu=/Z|[+-]\d\d(?::?\d\d)?/,Xt=[["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]],$r=[["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/]],hu=/^\/?Date\((-?\d+)/i,cu=/^(?:(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}))$/,du={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Zs(e){var t,r,n=e._i,i=lu.exec(n)||uu.exec(n),s,a,o,l,u=Xt.length,f=$r.length;if(i){for(O(e).iso=!0,t=0,r=u;t<r;t++)if(Xt[t][1].exec(i[1])){a=Xt[t][0],s=Xt[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,r=f;t<r;t++)if($r[t][1].exec(i[3])){o=(i[2]||" ")+$r[t][0];break}if(o==null){e._isValid=!1;return}}if(!s&&o!=null){e._isValid=!1;return}if(i[4])if(fu.exec(i[4]))l="Z";else{e._isValid=!1;return}e._f=a+(o||"")+(l||""),Bn(e)}else e._isValid=!1}function mu(e,t,r,n,i,s){var a=[pu(e),Fs.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&a.push(parseInt(s,10)),a}function pu(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function _u(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function gu(e,t,r){if(e){var n=js.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return O(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function yu(e,t,r){if(e)return du[e];if(t)return 0;var n=parseInt(r,10),i=n%100,s=(n-i)/100;return s*60+i}function Xs(e){var t=cu.exec(_u(e._i)),r;if(t){if(r=mu(t[4],t[3],t[2],t[5],t[6],t[7]),!gu(t[1],r,e))return;e._a=r,e._tzm=yu(t[8],t[9],t[10]),e._d=Ot.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),O(e).rfc2822=!0}else e._isValid=!1}function bu(e){var t=hu.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Zs(e),e._isValid===!1)delete e._isValid;else return;if(Xs(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:y.createFromInputFallback(e)}y.createFromInputFallback=ue("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":""))});function Ke(e,t,r){return e!=null?e:t!=null?t:r}function vu(e){var t=new Date(y.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Gn(e){var t,r,n=[],i,s,a;if(!e._d){for(i=vu(e),e._w&&e._a[ge]==null&&e._a[Te]==null&&wu(e),e._dayOfYear!=null&&(a=Ke(e._a[ee],i[ee]),(e._dayOfYear>Tt(a)||e._dayOfYear===0)&&(O(e)._overflowDayOfYear=!0),r=Ot(a,0,e._dayOfYear),e._a[Te]=r.getUTCMonth(),e._a[ge]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=i[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[J]===24&&e._a[de]===0&&e._a[Ee]===0&&e._a[Ue]===0&&(e._nextDay=!0,e._a[J]=0),e._d=(e._useUTC?Ot:Ol).apply(null,n),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[J]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==s&&(O(e).weekdayMismatch=!0)}}function wu(e){var t,r,n,i,s,a,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,r=Ke(t.GG,e._a[ee],kt(U(),1,4).year),n=Ke(t.W,1),i=Ke(t.E,1),(i<1||i>7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,u=kt(U(),s,a),r=Ke(t.gg,e._a[ee],u.year),n=Ke(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),n<1||n>xe(r,s,a)?O(e)._overflowWeeks=!0:l!=null?O(e)._overflowWeekday=!0:(o=Ws(r,n,i,s,a),e._a[ee]=o.year,e._dayOfYear=o.dayOfYear)}y.ISO_8601=function(){};y.RFC_2822=function(){};function Bn(e){if(e._f===y.ISO_8601){Zs(e);return}if(e._f===y.RFC_2822){Xs(e);return}e._a=[],O(e).empty=!0;var t=""+e._i,r,n,i,s,a,o=t.length,l=0,u,f;for(i=Hs(e._f,e._locale).match(Dn)||[],f=i.length,r=0;r<f;r++)s=i[r],n=(t.match(ll(s,e))||[])[0],n&&(a=t.substr(0,t.indexOf(n)),a.length>0&&O(e).unusedInput.push(a),t=t.slice(t.indexOf(n)+n.length),l+=n.length),rt[s]?(n?O(e).empty=!1:O(e).unusedTokens.push(s),fl(s,n,e)):e._strict&&!n&&O(e).unusedTokens.push(s);O(e).charsLeftOver=o-l,t.length>0&&O(e).unusedInput.push(t),e._a[J]<=12&&O(e).bigHour===!0&&e._a[J]>0&&(O(e).bigHour=void 0),O(e).parsedDateParts=e._a.slice(0),O(e).meridiem=e._meridiem,e._a[J]=Su(e._locale,e._a[J],e._meridiem),u=O(e).era,u!==null&&(e._a[ee]=e._locale.erasConvertYear(u,e._a[ee])),Gn(e),Yn(e)}function Su(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Tu(e){var t,r,n,i,s,a,o=!1,l=e._f.length;if(l===0){O(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)s=0,a=!1,t=On({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Bn(t),xn(t)&&(a=!0),s+=O(t).charsLeftOver,s+=O(t).unusedTokens.length*10,O(t).score=s,o?s<n&&(n=s,r=t):(n==null||s<n||a)&&(n=s,r=t,a&&(o=!0));Ce(e,r||t)}function Eu(e){if(!e._d){var t=Pn(e._i),r=t.day===void 0?t.date:t.day;e._a=ks([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Gn(e)}}function Mu(e){var t=new Nt(Yn(qs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function qs(e){var t=e._i,r=e._f;return e._locale=e._locale||De(e._l),t===null||r===void 0&&t===""?dr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),pe(t)?new Nt(Yn(t)):(Rt(t)?e._d=t:me(r)?Tu(e):r?Bn(e):xu(e),xn(e)||(e._d=null),e))}function xu(e){var t=e._i;ne(t)?e._d=new Date(y.now()):Rt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?bu(e):me(t)?(e._a=ks(t.slice(0),function(r){return parseInt(r,10)}),Gn(e)):je(t)?Eu(e):ke(t)?e._d=new Date(t):y.createFromInputFallback(e)}function Js(e,t,r,n,i){var s={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(je(e)&&Mn(e)||me(e)&&e.length===0)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,Mu(s)}function U(e,t,r,n){return Js(e,t,r,n,!1)}var Ou=ue("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:dr()}),ku=ue("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:dr()});function Qs(e,t){var r,n;if(t.length===1&&me(t[0])&&(t=t[0]),!t.length)return U();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Du(){var e=[].slice.call(arguments,0);return Qs("isBefore",e)}function Pu(){var e=[].slice.call(arguments,0);return Qs("isAfter",e)}var Hu=function(){return Date.now?Date.now():+new Date},yt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ru(e){var t,r=!1,n,i=yt.length;for(t in e)if(L(e,t)&&!(q.call(yt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[yt[n]]){if(r)return!1;parseFloat(e[yt[n]])!==D(e[yt[n]])&&(r=!0)}return!0}function Nu(){return this._isValid}function Cu(){return _e(NaN)}function wr(e){var t=Pn(e),r=t.year||0,n=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,f=t.millisecond||0;this._isValid=Ru(t),this._milliseconds=+f+u*1e3+l*6e4+o*1e3*60*60,this._days=+a+s*7,this._months=+i+n*3+r*12,this._data={},this._locale=De(),this._bubble()}function er(e){return e instanceof wr}function ln(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Lu(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a;for(a=0;a<n;a++)D(e[a])!==D(t[a])&&s++;return s+i}function Ks(e,t){T(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+ye(~~(r/60),2)+t+ye(~~r%60,2)})}Ks("Z",":");Ks("ZZ","");b("Z",yr);b("ZZ",yr);Y(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Un(yr,e)});var Au=/([\+\-]|\d\d)/gi;function Un(e,t){var r=(t||"").match(e),n,i,s;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(Au)||["-",0,0],s=+(i[1]*60)+D(i[2]),s===0?0:i[0]==="+"?s:-s)}function Wn(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(pe(e)||Rt(e)?e.valueOf():U(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),y.updateOffset(r,!1),r):U(e).local()}function un(e){return-Math.round(e._d.getTimezoneOffset())}y.updateOffset=function(){};function Iu(e,t,r){var n=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Un(yr,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=un(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?ra(this,_e(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,y.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:un(this)}function Fu(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Yu(e){return this.utcOffset(0,e)}function Gu(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(un(this),"m")),this}function Bu(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Un(al,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Uu(e){return this.isValid()?(e=e?U(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Wu(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ju(){if(!ne(this._isDSTShifted))return this._isDSTShifted;var e={},t;return On(e,this),e=qs(e),e._a?(t=e._isUTC?be(e._a):U(e._a),this._isDSTShifted=this.isValid()&&Lu(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Vu(){return this.isValid()?!this._isUTC:!1}function $u(){return this.isValid()?this._isUTC:!1}function ea(){return this.isValid()?this._isUTC&&this._offset===0:!1}var zu=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Zu=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _e(e,t){var r=e,n=null,i,s,a;return er(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ke(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=zu.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:D(n[ge])*i,h:D(n[J])*i,m:D(n[de])*i,s:D(n[Ee])*i,ms:D(ln(n[Ue]*1e3))*i}):(n=Zu.exec(e))?(i=n[1]==="-"?-1:1,r={y:Be(n[2],i),M:Be(n[3],i),w:Be(n[4],i),d:Be(n[5],i),h:Be(n[6],i),m:Be(n[7],i),s:Be(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(a=Xu(U(r.from),U(r.to)),r={},r.ms=a.milliseconds,r.M=a.months),s=new wr(r),er(e)&&L(e,"_locale")&&(s._locale=e._locale),er(e)&&L(e,"_isValid")&&(s._isValid=e._isValid),s}_e.fn=wr.prototype;_e.invalid=Cu;function Be(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function vi(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Xu(e,t){var r;return e.isValid()&&t.isValid()?(t=Wn(t,e),e.isBefore(t)?r=vi(e,t):(r=vi(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function ta(e,t){return function(r,n){var i,s;return n!==null&&!isNaN(+n)&&(Ps(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=r,r=n,n=s),i=_e(r,n),ra(this,i,e),this}}function ra(e,t,r,n){var i=t._milliseconds,s=ln(t._days),a=ln(t._months);e.isValid()&&(n=n==null?!0:n,a&&Gs(e,xt(e,"Month")+a*r),s&&Is(e,"Date",xt(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&y.updateOffset(e,s||a))}var qu=ta(1,"add"),Ju=ta(-1,"subtract");function na(e){return typeof e=="string"||e instanceof String}function Qu(e){return pe(e)||Rt(e)||na(e)||ke(e)||ef(e)||Ku(e)||e===null||e===void 0}function Ku(e){var t=je(e)&&!Mn(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,s,a=n.length;for(i=0;i<a;i+=1)s=n[i],r=r||L(e,s);return t&&r}function ef(e){var t=me(e),r=!1;return t&&(r=e.filter(function(n){return!ke(n)&&na(e)}).length===0),t&&r}function tf(e){var t=je(e)&&!Mn(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<n.length;i+=1)s=n[i],r=r||L(e,s);return t&&r}function rf(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function nf(e,t){arguments.length===1&&(arguments[0]?Qu(arguments[0])?(e=arguments[0],t=void 0):tf(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||U(),n=Wn(r,this).startOf("day"),i=y.calendarFormat(this,n)||"sameElse",s=t&&(ve(t[i])?t[i].call(this,r):t[i]);return this.format(s||this.localeData().calendar(i,this,U(r)))}function sf(){return new Nt(this)}function af(e,t){var r=pe(e)?e:U(e);return this.isValid()&&r.isValid()?(t=fe(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function of(e,t){var r=pe(e)?e:U(e);return this.isValid()&&r.isValid()?(t=fe(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function lf(e,t,r,n){var i=pe(e)?e:U(e),s=pe(t)?t:U(t);return this.isValid()&&i.isValid()&&s.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(s,r):!this.isAfter(s,r))):!1}function uf(e,t){var r=pe(e)?e:U(e),n;return this.isValid()&&r.isValid()?(t=fe(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function ff(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function hf(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function cf(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(n=Wn(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=fe(t),t){case"year":s=tr(this,n)/12;break;case"month":s=tr(this,n);break;case"quarter":s=tr(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:le(s)}function tr(e,t){if(e.date()<t.date())return-tr(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,s;return t-n<0?(i=e.clone().add(r-1,"months"),s=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),s=(t-n)/(i-n)),-(r+s)||0}y.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";y.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function df(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function mf(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Kt(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ve(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Kt(r,"Z")):Kt(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function pf(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(r+n+i+s)}function _f(e){e||(e=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var t=Kt(this,e);return this.localeData().postformat(t)}function gf(e,t){return this.isValid()&&(pe(e)&&e.isValid()||U(e).isValid())?_e({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function yf(e){return this.from(U(),e)}function bf(e,t){return this.isValid()&&(pe(e)&&e.isValid()||U(e).isValid())?_e({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function vf(e){return this.to(U(),e)}function ia(e){var t;return e===void 0?this._locale._abbr:(t=De(e),t!=null&&(this._locale=t),this)}var sa=ue("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function aa(){return this._locale}var lr=1e3,nt=60*lr,ur=60*nt,oa=(365*400+97)*24*ur;function it(e,t){return(e%t+t)%t}function la(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-oa:new Date(e,t,r).valueOf()}function ua(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-oa:Date.UTC(e,t,r)}function wf(e){var t,r;if(e=fe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?ua:la,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=it(t+(this._isUTC?0:this.utcOffset()*nt),ur);break;case"minute":t=this._d.valueOf(),t-=it(t,nt);break;case"second":t=this._d.valueOf(),t-=it(t,lr);break}return this._d.setTime(t),y.updateOffset(this,!0),this}function Sf(e){var t,r;if(e=fe(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?ua:la,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ur-it(t+(this._isUTC?0:this.utcOffset()*nt),ur)-1;break;case"minute":t=this._d.valueOf(),t+=nt-it(t,nt)-1;break;case"second":t=this._d.valueOf(),t+=lr-it(t,lr)-1;break}return this._d.setTime(t),y.updateOffset(this,!0),this}function Tf(){return this._d.valueOf()-(this._offset||0)*6e4}function Ef(){return Math.floor(this.valueOf()/1e3)}function Mf(){return new Date(this.valueOf())}function xf(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Of(){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()}}function kf(){return this.isValid()?this.toISOString():null}function Df(){return xn(this)}function Pf(){return Ce({},O(this))}function Hf(){return O(this).overflow}function Rf(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}T("N",0,0,"eraAbbr");T("NN",0,0,"eraAbbr");T("NNN",0,0,"eraAbbr");T("NNNN",0,0,"eraName");T("NNNNN",0,0,"eraNarrow");T("y",["y",1],"yo","eraYear");T("y",["yy",2],0,"eraYear");T("y",["yyy",3],0,"eraYear");T("y",["yyyy",4],0,"eraYear");b("N",jn);b("NN",jn);b("NNN",jn);b("NNNN",Wf);b("NNNNN",jf);Y(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?O(r).era=i:O(r).invalidEra=e});b("y",ft);b("yy",ft);b("yyy",ft);b("yyyy",ft);b("yo",Vf);Y(["y","yy","yyy","yyyy"],ee);Y(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ee]=r._locale.eraYearOrdinalParse(e,i):t[ee]=parseInt(e,10)});function Nf(e,t){var r,n,i,s=this._eras||De("en")._eras;for(r=0,n=s.length;r<n;++r){switch(typeof s[r].since){case"string":i=y(s[r].since).startOf("day"),s[r].since=i.valueOf();break}switch(typeof s[r].until){case"undefined":s[r].until=1/0;break;case"string":i=y(s[r].until).startOf("day").valueOf(),s[r].until=i.valueOf();break}}return s}function Cf(e,t,r){var n,i,s=this.eras(),a,o,l;for(e=e.toUpperCase(),n=0,i=s.length;n<i;++n)if(a=s[n].name.toUpperCase(),o=s[n].abbr.toUpperCase(),l=s[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return s[n];break;case"NNNN":if(a===e)return s[n];break;case"NNNNN":if(l===e)return s[n];break}else if([a,o,l].indexOf(e)>=0)return s[n]}function Lf(e,t){var r=e.since<=e.until?1:-1;return t===void 0?y(e.since).year():y(e.since).year()+(t-e.offset)*r}function Af(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function If(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function Ff(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function Yf(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-y(i[e].since).year())*r+i[e].offset;return this.year()}function Gf(e){return L(this,"_erasNameRegex")||Vn.call(this),e?this._erasNameRegex:this._erasRegex}function Bf(e){return L(this,"_erasAbbrRegex")||Vn.call(this),e?this._erasAbbrRegex:this._erasRegex}function Uf(e){return L(this,"_erasNarrowRegex")||Vn.call(this),e?this._erasNarrowRegex:this._erasRegex}function jn(e,t){return t.erasAbbrRegex(e)}function Wf(e,t){return t.erasNameRegex(e)}function jf(e,t){return t.erasNarrowRegex(e)}function Vf(e,t){return t._eraYearOrdinalRegex||ft}function Vn(){var e=[],t=[],r=[],n=[],i,s,a,o,l,u=this.eras();for(i=0,s=u.length;i<s;++i)a=Me(u[i].name),o=Me(u[i].abbr),l=Me(u[i].narrow),t.push(a),e.push(o),r.push(l),n.push(a),n.push(o),n.push(l);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}T(0,["gg",2],0,function(){return this.weekYear()%100});T(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Sr(e,t){T(0,[e,e.length],0,t)}Sr("gggg","weekYear");Sr("ggggg","weekYear");Sr("GGGG","isoWeekYear");Sr("GGGGG","isoWeekYear");b("G",gr);b("g",gr);b("GG",W,ae);b("gg",W,ae);b("GGGG",Rn,Hn);b("gggg",Rn,Hn);b("GGGGG",_r,mr);b("ggggg",_r,mr);Lt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=D(e)});Lt(["gg","GG"],function(e,t,r,n){t[n]=y.parseTwoDigitYear(e)});function $f(e){return fa.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function zf(e){return fa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Zf(){return xe(this.year(),1,4)}function Xf(){return xe(this.isoWeekYear(),1,4)}function qf(){var e=this.localeData()._week;return xe(this.year(),e.dow,e.doy)}function Jf(){var e=this.localeData()._week;return xe(this.weekYear(),e.dow,e.doy)}function fa(e,t,r,n,i){var s;return e==null?kt(this,n,i).year:(s=xe(e,n,i),t>s&&(t=s),Qf.call(this,e,t,r,n,i))}function Qf(e,t,r,n,i){var s=Ws(e,t,r,n,i),a=Ot(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}T("Q",0,"Qo","quarter");b("Q",Rs);Y("Q",function(e,t){t[Te]=(D(e)-1)*3});function Kf(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}T("D",["DD",2],"Do","date");b("D",W,ht);b("DD",W,ae);b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Y(["D","DD"],ge);Y("Do",function(e,t){t[ge]=D(e.match(W)[0])});var ha=ct("Date",!0);T("DDD",["DDDD",3],"DDDo","dayOfYear");b("DDD",pr);b("DDDD",Ns);Y(["DDD","DDDD"],function(e,t,r){r._dayOfYear=D(e)});function eh(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}T("m",["mm",2],0,"minute");b("m",W,Nn);b("mm",W,ae);Y(["m","mm"],de);var th=ct("Minutes",!1);T("s",["ss",2],0,"second");b("s",W,Nn);b("ss",W,ae);Y(["s","ss"],Ee);var rh=ct("Seconds",!1);T("S",0,0,function(){return~~(this.millisecond()/100)});T(0,["SS",2],0,function(){return~~(this.millisecond()/10)});T(0,["SSS",3],0,"millisecond");T(0,["SSSS",4],0,function(){return this.millisecond()*10});T(0,["SSSSS",5],0,function(){return this.millisecond()*100});T(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});T(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});T(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});T(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});b("S",pr,Rs);b("SS",pr,ae);b("SSS",pr,Ns);var Le,ca;for(Le="SSSS";Le.length<=9;Le+="S")b(Le,ft);function nh(e,t){t[Ue]=D(("0."+e)*1e3)}for(Le="S";Le.length<=9;Le+="S")Y(Le,nh);ca=ct("Milliseconds",!1);T("z",0,0,"zoneAbbr");T("zz",0,0,"zoneName");function ih(){return this._isUTC?"UTC":""}function sh(){return this._isUTC?"Coordinated Universal Time":""}var d=Nt.prototype;d.add=qu;d.calendar=nf;d.clone=sf;d.diff=cf;d.endOf=Sf;d.format=_f;d.from=gf;d.fromNow=yf;d.to=bf;d.toNow=vf;d.get=ml;d.invalidAt=Hf;d.isAfter=af;d.isBefore=of;d.isBetween=lf;d.isSame=uf;d.isSameOrAfter=ff;d.isSameOrBefore=hf;d.isValid=Df;d.lang=sa;d.locale=ia;d.localeData=aa;d.max=ku;d.min=Ou;d.parsingFlags=Pf;d.set=pl;d.startOf=wf;d.subtract=Ju;d.toArray=xf;d.toObject=Of;d.toDate=Mf;d.toISOString=mf;d.inspect=pf;typeof Symbol!="undefined"&&Symbol.for!=null&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});d.toJSON=kf;d.toString=df;d.unix=Ef;d.valueOf=Tf;d.creationData=Rf;d.eraName=Af;d.eraNarrow=If;d.eraAbbr=Ff;d.eraYear=Yf;d.year=As;d.isLeapYear=dl;d.weekYear=$f;d.isoWeekYear=zf;d.quarter=d.quarters=Kf;d.month=Bs;d.daysInMonth=El;d.week=d.weeks=Rl;d.isoWeek=d.isoWeeks=Nl;d.weeksInYear=qf;d.weeksInWeekYear=Jf;d.isoWeeksInYear=Zf;d.isoWeeksInISOWeekYear=Xf;d.date=ha;d.day=d.days=$l;d.weekday=zl;d.isoWeekday=Zl;d.dayOfYear=eh;d.hour=d.hours=tu;d.minute=d.minutes=th;d.second=d.seconds=rh;d.millisecond=d.milliseconds=ca;d.utcOffset=Iu;d.utc=Yu;d.local=Gu;d.parseZone=Bu;d.hasAlignedHourOffset=Uu;d.isDST=Wu;d.isLocal=Vu;d.isUtcOffset=$u;d.isUtc=ea;d.isUTC=ea;d.zoneAbbr=ih;d.zoneName=sh;d.dates=ue("dates accessor is deprecated. Use date instead.",ha);d.months=ue("months accessor is deprecated. Use month instead",Bs);d.years=ue("years accessor is deprecated. Use year instead",As);d.zone=ue("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Fu);d.isDSTShifted=ue("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ju);function ah(e){return U(e*1e3)}function oh(){return U.apply(null,arguments).parseZone()}function da(e){return e}var I=kn.prototype;I.calendar=Vo;I.longDateFormat=Xo;I.invalidDate=Jo;I.ordinal=el;I.preparse=da;I.postformat=da;I.relativeTime=rl;I.pastFuture=nl;I.set=Wo;I.eras=Nf;I.erasParse=Cf;I.erasConvertYear=Lf;I.erasAbbrRegex=Bf;I.erasNameRegex=Gf;I.erasNarrowRegex=Uf;I.months=vl;I.monthsShort=wl;I.monthsParse=Tl;I.monthsRegex=xl;I.monthsShortRegex=Ml;I.week=kl;I.firstDayOfYear=Hl;I.firstDayOfWeek=Pl;I.weekdays=Bl;I.weekdaysMin=Wl;I.weekdaysShort=Ul;I.weekdaysParse=Vl;I.weekdaysRegex=Xl;I.weekdaysShortRegex=ql;I.weekdaysMinRegex=Jl;I.isPM=Kl;I.meridiem=ru;function fr(e,t,r,n){var i=De(),s=be().set(n,t);return i[r](s,e)}function ma(e,t,r){if(ke(e)&&(t=e,e=void 0),e=e||"",t!=null)return fr(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=fr(e,n,r,"month");return i}function $n(e,t,r,n){typeof e=="boolean"?(ke(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ke(t)&&(r=t,t=void 0),t=t||"");var i=De(),s=e?i._week.dow:0,a,o=[];if(r!=null)return fr(t,(r+s)%7,n,"day");for(a=0;a<7;a++)o[a]=fr(t,(a+s)%7,n,"day");return o}function lh(e,t){return ma(e,t,"months")}function uh(e,t){return ma(e,t,"monthsShort")}function fh(e,t,r){return $n(e,t,r,"weekdays")}function hh(e,t,r){return $n(e,t,r,"weekdaysShort")}function ch(e,t,r){return $n(e,t,r,"weekdaysMin")}Fe("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,r=D(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});y.lang=ue("moment.lang is deprecated. Use moment.locale instead.",Fe);y.langData=ue("moment.langData is deprecated. Use moment.localeData instead.",De);var we=Math.abs;function dh(){var e=this._data;return this._milliseconds=we(this._milliseconds),this._days=we(this._days),this._months=we(this._months),e.milliseconds=we(e.milliseconds),e.seconds=we(e.seconds),e.minutes=we(e.minutes),e.hours=we(e.hours),e.months=we(e.months),e.years=we(e.years),this}function pa(e,t,r,n){var i=_e(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function mh(e,t){return pa(this,e,t,1)}function ph(e,t){return pa(this,e,t,-1)}function wi(e){return e<0?Math.floor(e):Math.ceil(e)}function _h(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,s,a,o,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=wi(fn(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=le(e/1e3),n.seconds=i%60,s=le(i/60),n.minutes=s%60,a=le(s/60),n.hours=a%24,t+=le(a/24),l=le(_a(t)),r+=l,t-=wi(fn(l)),o=le(r/12),r%=12,n.days=t,n.months=r,n.years=o,this}function _a(e){return e*4800/146097}function fn(e){return e*146097/4800}function gh(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=fe(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+_a(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(fn(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function Pe(e){return function(){return this.as(e)}}var ga=Pe("ms"),yh=Pe("s"),bh=Pe("m"),vh=Pe("h"),wh=Pe("d"),Sh=Pe("w"),Th=Pe("M"),Eh=Pe("Q"),Mh=Pe("y"),xh=ga;function Oh(){return _e(this)}function kh(e){return e=fe(e),this.isValid()?this[e+"s"]():NaN}function $e(e){return function(){return this.isValid()?this._data[e]:NaN}}var Dh=$e("milliseconds"),Ph=$e("seconds"),Hh=$e("minutes"),Rh=$e("hours"),Nh=$e("days"),Ch=$e("months"),Lh=$e("years");function Ah(){return le(this.days()/7)}var Se=Math.round,et={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ih(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function Fh(e,t,r,n){var i=_e(e).abs(),s=Se(i.as("s")),a=Se(i.as("m")),o=Se(i.as("h")),l=Se(i.as("d")),u=Se(i.as("M")),f=Se(i.as("w")),h=Se(i.as("y")),c=s<=r.ss&&["s",s]||s<r.s&&["ss",s]||a<=1&&["m"]||a<r.m&&["mm",a]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(c=c||f<=1&&["w"]||f<r.w&&["ww",f]),c=c||u<=1&&["M"]||u<r.M&&["MM",u]||h<=1&&["y"]||["yy",h],c[2]=t,c[3]=+e>0,c[4]=n,Ih.apply(null,c)}function Yh(e){return e===void 0?Se:typeof e=="function"?(Se=e,!0):!1}function Gh(e,t){return et[e]===void 0?!1:t===void 0?et[e]:(et[e]=t,e==="s"&&(et.ss=t-1),!0)}function Bh(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=et,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},et,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),s=Fh(this,!r,n,i),r&&(s=i.pastFuture(+this,s)),i.postformat(s)}var zr=Math.abs;function qe(e){return(e>0)-(e<0)||+e}function Tr(){if(!this.isValid())return this.localeData().invalidDate();var e=zr(this._milliseconds)/1e3,t=zr(this._days),r=zr(this._months),n,i,s,a,o=this.asSeconds(),l,u,f,h;return o?(n=le(e/60),i=le(n/60),e%=60,n%=60,s=le(r/12),r%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=qe(this._months)!==qe(o)?"-":"",f=qe(this._days)!==qe(o)?"-":"",h=qe(this._milliseconds)!==qe(o)?"-":"",l+"P"+(s?u+s+"Y":"")+(r?u+r+"M":"")+(t?f+t+"D":"")+(i||n||e?"T":"")+(i?h+i+"H":"")+(n?h+n+"M":"")+(e?h+a+"S":"")):"P0D"}var N=wr.prototype;N.isValid=Nu;N.abs=dh;N.add=mh;N.subtract=ph;N.as=gh;N.asMilliseconds=ga;N.asSeconds=yh;N.asMinutes=bh;N.asHours=vh;N.asDays=wh;N.asWeeks=Sh;N.asMonths=Th;N.asQuarters=Eh;N.asYears=Mh;N.valueOf=xh;N._bubble=_h;N.clone=Oh;N.get=kh;N.milliseconds=Dh;N.seconds=Ph;N.minutes=Hh;N.hours=Rh;N.days=Nh;N.weeks=Ah;N.months=Ch;N.years=Lh;N.humanize=Bh;N.toISOString=Tr;N.toString=Tr;N.toJSON=Tr;N.locale=ia;N.localeData=aa;N.toIsoString=ue("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tr);N.lang=sa;T("X",0,0,"unix");T("x",0,0,"valueOf");b("x",gr);b("X",ol);Y("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});Y("x",function(e,t,r){r._d=new Date(D(e))});//! moment.js
|
|
10
|
-
y.version="2.30.1";
|
|
9
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var gi={};function Ps(e,t){y.deprecationHandler!=null&&y.deprecationHandler(e,t),gi[e]||(Ds(t),gi[e]=!0)}y.suppressDeprecationWarnings=!1;y.deprecationHandler=null;function ve(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Uo(e){var t,r;for(r in e)L(e,r)&&(t=e[r],ve(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function sn(e,t){var r=Ne({},e),n;for(n in t)L(t,n)&&(je(e[n])&&je(t[n])?(r[n]={},Ne(r[n],e[n]),Ne(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)L(e,n)&&!L(t,n)&&je(e[n])&&(r[n]=Ne({},r[n]));return r}function kn(e){e!=null&&this.set(e)}var an;Object.keys?an=Object.keys:an=function(e){var t,r=[];for(t in e)L(e,t)&&r.push(t);return r};var Wo={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function jo(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return ve(n)?n.call(t,r):n}function ye(e,t,r){var n=""+Math.abs(e),i=t-n.length,s=e>=0;return(s?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var Dn=/(\[[^\[]*\])|(\\)?([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,Zt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Vr={},rt={};function T(e,t,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),e&&(rt[e]=i),t&&(rt[t[0]]=function(){return ye(i.apply(this,arguments),t[1],t[2])}),r&&(rt[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Vo(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function $o(e){var t=e.match(Dn),r,n;for(r=0,n=t.length;r<n;r++)rt[t[r]]?t[r]=rt[t[r]]:t[r]=Vo(t[r]);return function(i){var s="",a;for(a=0;a<n;a++)s+=ve(t[a])?t[a].call(i,e):t[a];return s}}function Kt(e,t){return e.isValid()?(t=Rs(t,e.localeData()),Vr[t]=Vr[t]||$o(t),Vr[t](e)):e.localeData().invalidDate()}function Rs(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(Zt.lastIndex=0;r>=0&&Zt.test(e);)e=e.replace(Zt,n),Zt.lastIndex=0,r-=1;return e}var zo={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"};function Zo(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Dn).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var Xo="Invalid date";function qo(){return this._invalidDate}var Jo="%d",Qo=/\d{1,2}/;function Ko(e){return this._ordinal.replace("%d",e)}var el={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"};function tl(e,t,r,n){var i=this._relativeTime[r];return ve(i)?i(e,t,r,n):i.replace(/%d/i,e)}function rl(e,t){var r=this._relativeTime[e>0?"future":"past"];return ve(r)?r(t):r.replace(/%s/i,t)}var yi={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function he(e){return typeof e=="string"?yi[e]||yi[e.toLowerCase()]:void 0}function Pn(e){var t={},r,n;for(n in e)L(e,n)&&(r=he(n),r&&(t[r]=e[n]));return t}var nl={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function il(e){var t=[],r;for(r in e)L(e,r)&&t.push({unit:r,priority:nl[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}var Hs=/\d/,ae=/\d\d/,Cs=/\d{3}/,Rn=/\d{4}/,mr=/[+-]?\d{6}/,W=/\d\d?/,Ns=/\d\d\d\d?/,Ls=/\d\d\d\d\d\d?/,pr=/\d{1,3}/,Hn=/\d{1,4}/,_r=/[+-]?\d{1,6}/,ht=/\d+/,gr=/[+-]?\d+/,sl=/Z|[+-]\d\d:?\d\d/gi,yr=/Z|[+-]\d\d(?::?\d\d)?/gi,al=/[+-]?\d+(\.\d{1,3})?/,Nt=/[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,ft=/^[1-9]\d?/,Cn=/^([1-9]\d|\d)/,ar;ar={};function b(e,t,r){ar[e]=ve(t)?t:function(n,i){return n&&r?r:t}}function ol(e,t){return L(ar,e)?ar[e](t._strict,t._locale):new RegExp(ll(e))}function ll(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,s){return r||n||i||s}))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function D(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=le(t)),r}var on={};function G(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),ke(t)&&(n=function(s,a){a[t]=D(s)}),i=e.length,r=0;r<i;r++)on[e[r]]=n}function Lt(e,t){G(e,function(r,n,i,s){i._w=i._w||{},t(r,i._w,i,s)})}function ul(e,t,r){t!=null&&L(on,e)&&on[e](t,r._a,r,e)}function br(e){return e%4===0&&e%100!==0||e%400===0}var ee=0,Te=1,ge=2,J=3,de=4,Ee=5,Ue=6,hl=7,fl=8;T("Y",0,0,function(){var e=this.year();return e<=9999?ye(e,4):"+"+e});T(0,["YY",2],0,function(){return this.year()%100});T(0,["YYYY",4],0,"year");T(0,["YYYYY",5],0,"year");T(0,["YYYYYY",6,!0],0,"year");b("Y",gr);b("YY",W,ae);b("YYYY",Hn,Rn);b("YYYYY",_r,mr);b("YYYYYY",_r,mr);G(["YYYYY","YYYYYY"],ee);G("YYYY",function(e,t){t[ee]=e.length===2?y.parseTwoDigitYear(e):D(e)});G("YY",function(e,t){t[ee]=y.parseTwoDigitYear(e)});G("Y",function(e,t){t[ee]=parseInt(e,10)});function Tt(e){return br(e)?366:365}y.parseTwoDigitYear=function(e){return D(e)+(D(e)>68?1900:2e3)};var As=ct("FullYear",!0);function cl(){return br(this.year())}function ct(e,t){return function(r){return r!=null?(Is(this,e,r),y.updateOffset(this,t),this):xt(this,e)}}function xt(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Is(e,t,r){var n,i,s,a,o;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}s=r,a=e.month(),o=e.date(),o=o===29&&a===1&&!br(s)?28:o,i?n.setUTCFullYear(s,a,o):n.setFullYear(s,a,o)}}function dl(e){return e=he(e),ve(this[e])?this[e]():this}function ml(e,t){if(typeof e=="object"){e=Pn(e);var r=il(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=he(e),ve(this[e]))return this[e](t);return this}function pl(e,t){return(e%t+t)%t}var q;Array.prototype.indexOf?q=Array.prototype.indexOf:q=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Nn(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=pl(t,12);return e+=(t-r)/12,r===1?br(e)?29:28:31-r%7%2}T("M",["MM",2],"Mo",function(){return this.month()+1});T("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});T("MMMM",0,0,function(e){return this.localeData().months(this,e)});b("M",W,ft);b("MM",W,ae);b("MMM",function(e,t){return t.monthsShortRegex(e)});b("MMMM",function(e,t){return t.monthsRegex(e)});G(["M","MM"],function(e,t){t[Te]=D(e)-1});G(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[Te]=i:O(r).invalidMonth=e});var _l="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Fs="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Gs=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,gl=Nt,yl=Nt;function bl(e,t){return e?me(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Gs).test(t)?"format":"standalone"][e.month()]:me(this._months)?this._months:this._months.standalone}function vl(e,t){return e?me(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Gs.test(t)?"format":"standalone"][e.month()]:me(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function wl(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=be([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return r?t==="MMM"?(i=q.call(this._shortMonthsParse,a),i!==-1?i:null):(i=q.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=q.call(this._shortMonthsParse,a),i!==-1?i:(i=q.call(this._longMonthsParse,a),i!==-1?i:null)):(i=q.call(this._longMonthsParse,a),i!==-1?i:(i=q.call(this._shortMonthsParse,a),i!==-1?i:null))}function Sl(e,t,r){var n,i,s;if(this._monthsParseExact)return wl.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=be([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function Ys(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=D(t);else if(t=e.localeData().monthsParse(t),!ke(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,Nn(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function Bs(e){return e!=null?(Ys(this,e),y.updateOffset(this,!0),this):xt(this,"Month")}function Tl(){return Nn(this.year(),this.month())}function El(e){return this._monthsParseExact?(L(this,"_monthsRegex")||Us.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(L(this,"_monthsShortRegex")||(this._monthsShortRegex=gl),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Ml(e){return this._monthsParseExact?(L(this,"_monthsRegex")||Us.call(this),e?this._monthsStrictRegex:this._monthsRegex):(L(this,"_monthsRegex")||(this._monthsRegex=yl),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Us(){function e(l,u){return u.length-l.length}var t=[],r=[],n=[],i,s,a,o;for(i=0;i<12;i++)s=be([2e3,i]),a=Me(this.monthsShort(s,"")),o=Me(this.months(s,"")),t.push(a),r.push(o),n.push(o),n.push(a);t.sort(e),r.sort(e),n.sort(e),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function xl(e,t,r,n,i,s,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function Ot(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function or(e,t,r){var n=7+t-r,i=(7+Ot(e,0,n).getUTCDay()-t)%7;return-i+n-1}function Ws(e,t,r,n,i){var s=(7+r-n)%7,a=or(e,n,i),o=1+7*(t-1)+s+a,l,u;return o<=0?(l=e-1,u=Tt(l)+o):o>Tt(e)?(l=e+1,u=o-Tt(e)):(l=e,u=o),{year:l,dayOfYear:u}}function kt(e,t,r){var n=or(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,s,a;return i<1?(a=e.year()-1,s=i+xe(a,t,r)):i>xe(e.year(),t,r)?(s=i-xe(e.year(),t,r),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function xe(e,t,r){var n=or(e,t,r),i=or(e+1,t,r);return(Tt(e)-n+i)/7}T("w",["ww",2],"wo","week");T("W",["WW",2],"Wo","isoWeek");b("w",W,ft);b("ww",W,ae);b("W",W,ft);b("WW",W,ae);Lt(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=D(e)});function Ol(e){return kt(e,this._week.dow,this._week.doy).week}var kl={dow:0,doy:6};function Dl(){return this._week.dow}function Pl(){return this._week.doy}function Rl(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Hl(e){var t=kt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}T("d",0,"do","day");T("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});T("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});T("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});T("e",0,0,"weekday");T("E",0,0,"isoWeekday");b("d",W);b("e",W);b("E",W);b("dd",function(e,t){return t.weekdaysMinRegex(e)});b("ddd",function(e,t){return t.weekdaysShortRegex(e)});b("dddd",function(e,t){return t.weekdaysRegex(e)});Lt(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:O(r).invalidWeekday=e});Lt(["d","e","E"],function(e,t,r,n){t[n]=D(e)});function Cl(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Nl(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ln(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Ll="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),js="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Al="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Il=Nt,Fl=Nt,Gl=Nt;function Yl(e,t){var r=me(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ln(r,this._week.dow):e?r[e.day()]:r}function Bl(e){return e===!0?Ln(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ul(e){return e===!0?Ln(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wl(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=be([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?t==="dddd"?(i=q.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=q.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=q.call(this._weekdaysParse,a),i!==-1||(i=q.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=q.call(this._shortWeekdaysParse,a),i!==-1||(i=q.call(this._weekdaysParse,a),i!==-1)?i:(i=q.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=q.call(this._minWeekdaysParse,a),i!==-1||(i=q.call(this._weekdaysParse,a),i!==-1)?i:(i=q.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function jl(e,t,r){var n,i,s;if(this._weekdaysParseExact)return Wl.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=be([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Vl(e){if(!this.isValid())return e!=null?this:NaN;var t=xt(this,"Day");return e!=null?(e=Cl(e,this.localeData()),this.add(e-t,"d")):t}function $l(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function zl(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Nl(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Zl(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||An.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(L(this,"_weekdaysRegex")||(this._weekdaysRegex=Il),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xl(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||An.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(L(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fl),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ql(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||An.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(L(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gl),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function An(){function e(h,f){return f.length-h.length}var t=[],r=[],n=[],i=[],s,a,o,l,u;for(s=0;s<7;s++)a=be([2e3,1]).day(s),o=Me(this.weekdaysMin(a,"")),l=Me(this.weekdaysShort(a,"")),u=Me(this.weekdays(a,"")),t.push(o),r.push(l),n.push(u),i.push(o),i.push(l),i.push(u);t.sort(e),r.sort(e),n.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function In(){return this.hours()%12||12}function Jl(){return this.hours()||24}T("H",["HH",2],0,"hour");T("h",["hh",2],0,In);T("k",["kk",2],0,Jl);T("hmm",0,0,function(){return""+In.apply(this)+ye(this.minutes(),2)});T("hmmss",0,0,function(){return""+In.apply(this)+ye(this.minutes(),2)+ye(this.seconds(),2)});T("Hmm",0,0,function(){return""+this.hours()+ye(this.minutes(),2)});T("Hmmss",0,0,function(){return""+this.hours()+ye(this.minutes(),2)+ye(this.seconds(),2)});function Vs(e,t){T(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Vs("a",!0);Vs("A",!1);function $s(e,t){return t._meridiemParse}b("a",$s);b("A",$s);b("H",W,Cn);b("h",W,ft);b("k",W,ft);b("HH",W,ae);b("hh",W,ae);b("kk",W,ae);b("hmm",Ns);b("hmmss",Ls);b("Hmm",Ns);b("Hmmss",Ls);G(["H","HH"],J);G(["k","kk"],function(e,t,r){var n=D(e);t[J]=n===24?0:n});G(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});G(["h","hh"],function(e,t,r){t[J]=D(e),O(r).bigHour=!0});G("hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n)),O(r).bigHour=!0});G("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n,2)),t[Ee]=D(e.substr(i)),O(r).bigHour=!0});G("Hmm",function(e,t,r){var n=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n))});G("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[J]=D(e.substr(0,n)),t[de]=D(e.substr(n,2)),t[Ee]=D(e.substr(i))});function Ql(e){return(e+"").toLowerCase().charAt(0)==="p"}var Kl=/[ap]\.?m?\.?/i,eu=ct("Hours",!0);function tu(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var zs={calendar:Wo,longDateFormat:zo,invalidDate:Xo,ordinal:Jo,dayOfMonthOrdinalParse:Qo,relativeTime:el,months:_l,monthsShort:Fs,week:kl,weekdays:Ll,weekdaysMin:Al,weekdaysShort:js,meridiemParse:Kl},V={},gt={},Dt;function ru(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function bi(e){return e&&e.toLowerCase().replace("_","-")}function nu(e){for(var t=0,r,n,i,s;t<e.length;){for(s=bi(e[t]).split("-"),r=s.length,n=bi(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=vr(s.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&ru(s,n)>=r-1)break;r--}t++}return Dt}function iu(e){return!!(e&&e.match("^[^/\\\\]*$"))}function vr(e){var t=null,r;if(V[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&iu(e))try{t=Dt._abbr,r=Go,r("./locale/"+e),Fe(t)}catch(n){V[e]=null}return V[e]}function Fe(e,t){var r;return e&&(ne(t)?r=De(e):r=Fn(e,t),r?Dt=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Dt._abbr}function Fn(e,t){if(t!==null){var r,n=zs;if(t.abbr=e,V[e]!=null)Ps("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=V[e]._config;else if(t.parentLocale!=null)if(V[t.parentLocale]!=null)n=V[t.parentLocale]._config;else if(r=vr(t.parentLocale),r!=null)n=r._config;else return gt[t.parentLocale]||(gt[t.parentLocale]=[]),gt[t.parentLocale].push({name:e,config:t}),null;return V[e]=new kn(sn(n,t)),gt[e]&>[e].forEach(function(i){Fn(i.name,i.config)}),Fe(e),V[e]}else return delete V[e],null}function su(e,t){if(t!=null){var r,n,i=zs;V[e]!=null&&V[e].parentLocale!=null?V[e].set(sn(V[e]._config,t)):(n=vr(e),n!=null&&(i=n._config),t=sn(i,t),n==null&&(t.abbr=e),r=new kn(t),r.parentLocale=V[e],V[e]=r),Fe(e)}else V[e]!=null&&(V[e].parentLocale!=null?(V[e]=V[e].parentLocale,e===Fe()&&Fe(e)):V[e]!=null&&delete V[e]);return V[e]}function De(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Dt;if(!me(e)){if(t=vr(e),t)return t;e=[e]}return nu(e)}function au(){return an(V)}function Gn(e){var t,r=e._a;return r&&O(e).overflow===-2&&(t=r[Te]<0||r[Te]>11?Te:r[ge]<1||r[ge]>Nn(r[ee],r[Te])?ge:r[J]<0||r[J]>24||r[J]===24&&(r[de]!==0||r[Ee]!==0||r[Ue]!==0)?J:r[de]<0||r[de]>59?de:r[Ee]<0||r[Ee]>59?Ee:r[Ue]<0||r[Ue]>999?Ue:-1,O(e)._overflowDayOfYear&&(t<ee||t>ge)&&(t=ge),O(e)._overflowWeeks&&t===-1&&(t=hl),O(e)._overflowWeekday&&t===-1&&(t=fl),O(e).overflow=t),e}var ou=/^\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)?)?$/,lu=/^\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)?)?$/,uu=/Z|[+-]\d\d(?::?\d\d)?/,Xt=[["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]],$r=[["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/]],hu=/^\/?Date\((-?\d+)/i,fu=/^(?:(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}))$/,cu={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Zs(e){var t,r,n=e._i,i=ou.exec(n)||lu.exec(n),s,a,o,l,u=Xt.length,h=$r.length;if(i){for(O(e).iso=!0,t=0,r=u;t<r;t++)if(Xt[t][1].exec(i[1])){a=Xt[t][0],s=Xt[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,r=h;t<r;t++)if($r[t][1].exec(i[3])){o=(i[2]||" ")+$r[t][0];break}if(o==null){e._isValid=!1;return}}if(!s&&o!=null){e._isValid=!1;return}if(i[4])if(uu.exec(i[4]))l="Z";else{e._isValid=!1;return}e._f=a+(o||"")+(l||""),Bn(e)}else e._isValid=!1}function du(e,t,r,n,i,s){var a=[mu(e),Fs.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&a.push(parseInt(s,10)),a}function mu(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function pu(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function _u(e,t,r){if(e){var n=js.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return O(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function gu(e,t,r){if(e)return cu[e];if(t)return 0;var n=parseInt(r,10),i=n%100,s=(n-i)/100;return s*60+i}function Xs(e){var t=fu.exec(pu(e._i)),r;if(t){if(r=du(t[4],t[3],t[2],t[5],t[6],t[7]),!_u(t[1],r,e))return;e._a=r,e._tzm=gu(t[8],t[9],t[10]),e._d=Ot.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),O(e).rfc2822=!0}else e._isValid=!1}function yu(e){var t=hu.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Zs(e),e._isValid===!1)delete e._isValid;else return;if(Xs(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:y.createFromInputFallback(e)}y.createFromInputFallback=ue("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":""))});function Ke(e,t,r){return e!=null?e:t!=null?t:r}function bu(e){var t=new Date(y.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Yn(e){var t,r,n=[],i,s,a;if(!e._d){for(i=bu(e),e._w&&e._a[ge]==null&&e._a[Te]==null&&vu(e),e._dayOfYear!=null&&(a=Ke(e._a[ee],i[ee]),(e._dayOfYear>Tt(a)||e._dayOfYear===0)&&(O(e)._overflowDayOfYear=!0),r=Ot(a,0,e._dayOfYear),e._a[Te]=r.getUTCMonth(),e._a[ge]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=i[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[J]===24&&e._a[de]===0&&e._a[Ee]===0&&e._a[Ue]===0&&(e._nextDay=!0,e._a[J]=0),e._d=(e._useUTC?Ot:xl).apply(null,n),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[J]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==s&&(O(e).weekdayMismatch=!0)}}function vu(e){var t,r,n,i,s,a,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,r=Ke(t.GG,e._a[ee],kt(U(),1,4).year),n=Ke(t.W,1),i=Ke(t.E,1),(i<1||i>7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,u=kt(U(),s,a),r=Ke(t.gg,e._a[ee],u.year),n=Ke(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),n<1||n>xe(r,s,a)?O(e)._overflowWeeks=!0:l!=null?O(e)._overflowWeekday=!0:(o=Ws(r,n,i,s,a),e._a[ee]=o.year,e._dayOfYear=o.dayOfYear)}y.ISO_8601=function(){};y.RFC_2822=function(){};function Bn(e){if(e._f===y.ISO_8601){Zs(e);return}if(e._f===y.RFC_2822){Xs(e);return}e._a=[],O(e).empty=!0;var t=""+e._i,r,n,i,s,a,o=t.length,l=0,u,h;for(i=Rs(e._f,e._locale).match(Dn)||[],h=i.length,r=0;r<h;r++)s=i[r],n=(t.match(ol(s,e))||[])[0],n&&(a=t.substr(0,t.indexOf(n)),a.length>0&&O(e).unusedInput.push(a),t=t.slice(t.indexOf(n)+n.length),l+=n.length),rt[s]?(n?O(e).empty=!1:O(e).unusedTokens.push(s),ul(s,n,e)):e._strict&&!n&&O(e).unusedTokens.push(s);O(e).charsLeftOver=o-l,t.length>0&&O(e).unusedInput.push(t),e._a[J]<=12&&O(e).bigHour===!0&&e._a[J]>0&&(O(e).bigHour=void 0),O(e).parsedDateParts=e._a.slice(0),O(e).meridiem=e._meridiem,e._a[J]=wu(e._locale,e._a[J],e._meridiem),u=O(e).era,u!==null&&(e._a[ee]=e._locale.erasConvertYear(u,e._a[ee])),Yn(e),Gn(e)}function wu(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Su(e){var t,r,n,i,s,a,o=!1,l=e._f.length;if(l===0){O(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)s=0,a=!1,t=On({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Bn(t),xn(t)&&(a=!0),s+=O(t).charsLeftOver,s+=O(t).unusedTokens.length*10,O(t).score=s,o?s<n&&(n=s,r=t):(n==null||s<n||a)&&(n=s,r=t,a&&(o=!0));Ne(e,r||t)}function Tu(e){if(!e._d){var t=Pn(e._i),r=t.day===void 0?t.date:t.day;e._a=ks([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Yn(e)}}function Eu(e){var t=new Ct(Gn(qs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function qs(e){var t=e._i,r=e._f;return e._locale=e._locale||De(e._l),t===null||r===void 0&&t===""?dr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),pe(t)?new Ct(Gn(t)):(Ht(t)?e._d=t:me(r)?Su(e):r?Bn(e):Mu(e),xn(e)||(e._d=null),e))}function Mu(e){var t=e._i;ne(t)?e._d=new Date(y.now()):Ht(t)?e._d=new Date(t.valueOf()):typeof t=="string"?yu(e):me(t)?(e._a=ks(t.slice(0),function(r){return parseInt(r,10)}),Yn(e)):je(t)?Tu(e):ke(t)?e._d=new Date(t):y.createFromInputFallback(e)}function Js(e,t,r,n,i){var s={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(je(e)&&Mn(e)||me(e)&&e.length===0)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,Eu(s)}function U(e,t,r,n){return Js(e,t,r,n,!1)}var xu=ue("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:dr()}),Ou=ue("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:dr()});function Qs(e,t){var r,n;if(t.length===1&&me(t[0])&&(t=t[0]),!t.length)return U();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function ku(){var e=[].slice.call(arguments,0);return Qs("isBefore",e)}function Du(){var e=[].slice.call(arguments,0);return Qs("isAfter",e)}var Pu=function(){return Date.now?Date.now():+new Date},yt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ru(e){var t,r=!1,n,i=yt.length;for(t in e)if(L(e,t)&&!(q.call(yt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[yt[n]]){if(r)return!1;parseFloat(e[yt[n]])!==D(e[yt[n]])&&(r=!0)}return!0}function Hu(){return this._isValid}function Cu(){return _e(NaN)}function wr(e){var t=Pn(e),r=t.year||0,n=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,h=t.millisecond||0;this._isValid=Ru(t),this._milliseconds=+h+u*1e3+l*6e4+o*1e3*60*60,this._days=+a+s*7,this._months=+i+n*3+r*12,this._data={},this._locale=De(),this._bubble()}function er(e){return e instanceof wr}function ln(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Nu(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a;for(a=0;a<n;a++)D(e[a])!==D(t[a])&&s++;return s+i}function Ks(e,t){T(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+ye(~~(r/60),2)+t+ye(~~r%60,2)})}Ks("Z",":");Ks("ZZ","");b("Z",yr);b("ZZ",yr);G(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Un(yr,e)});var Lu=/([\+\-]|\d\d)/gi;function Un(e,t){var r=(t||"").match(e),n,i,s;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(Lu)||["-",0,0],s=+(i[1]*60)+D(i[2]),s===0?0:i[0]==="+"?s:-s)}function Wn(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(pe(e)||Ht(e)?e.valueOf():U(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),y.updateOffset(r,!1),r):U(e).local()}function un(e){return-Math.round(e._d.getTimezoneOffset())}y.updateOffset=function(){};function Au(e,t,r){var n=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Un(yr,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=un(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?ra(this,_e(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,y.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:un(this)}function Iu(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Fu(e){return this.utcOffset(0,e)}function Gu(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(un(this),"m")),this}function Yu(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Un(sl,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Bu(e){return this.isValid()?(e=e?U(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Uu(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Wu(){if(!ne(this._isDSTShifted))return this._isDSTShifted;var e={},t;return On(e,this),e=qs(e),e._a?(t=e._isUTC?be(e._a):U(e._a),this._isDSTShifted=this.isValid()&&Nu(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ju(){return this.isValid()?!this._isUTC:!1}function Vu(){return this.isValid()?this._isUTC:!1}function ea(){return this.isValid()?this._isUTC&&this._offset===0:!1}var $u=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zu=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _e(e,t){var r=e,n=null,i,s,a;return er(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ke(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=$u.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:D(n[ge])*i,h:D(n[J])*i,m:D(n[de])*i,s:D(n[Ee])*i,ms:D(ln(n[Ue]*1e3))*i}):(n=zu.exec(e))?(i=n[1]==="-"?-1:1,r={y:Be(n[2],i),M:Be(n[3],i),w:Be(n[4],i),d:Be(n[5],i),h:Be(n[6],i),m:Be(n[7],i),s:Be(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(a=Zu(U(r.from),U(r.to)),r={},r.ms=a.milliseconds,r.M=a.months),s=new wr(r),er(e)&&L(e,"_locale")&&(s._locale=e._locale),er(e)&&L(e,"_isValid")&&(s._isValid=e._isValid),s}_e.fn=wr.prototype;_e.invalid=Cu;function Be(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function vi(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Zu(e,t){var r;return e.isValid()&&t.isValid()?(t=Wn(t,e),e.isBefore(t)?r=vi(e,t):(r=vi(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function ta(e,t){return function(r,n){var i,s;return n!==null&&!isNaN(+n)&&(Ps(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=r,r=n,n=s),i=_e(r,n),ra(this,i,e),this}}function ra(e,t,r,n){var i=t._milliseconds,s=ln(t._days),a=ln(t._months);e.isValid()&&(n=n==null?!0:n,a&&Ys(e,xt(e,"Month")+a*r),s&&Is(e,"Date",xt(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&y.updateOffset(e,s||a))}var Xu=ta(1,"add"),qu=ta(-1,"subtract");function na(e){return typeof e=="string"||e instanceof String}function Ju(e){return pe(e)||Ht(e)||na(e)||ke(e)||Ku(e)||Qu(e)||e===null||e===void 0}function Qu(e){var t=je(e)&&!Mn(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,s,a=n.length;for(i=0;i<a;i+=1)s=n[i],r=r||L(e,s);return t&&r}function Ku(e){var t=me(e),r=!1;return t&&(r=e.filter(function(n){return!ke(n)&&na(e)}).length===0),t&&r}function eh(e){var t=je(e)&&!Mn(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<n.length;i+=1)s=n[i],r=r||L(e,s);return t&&r}function th(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function rh(e,t){arguments.length===1&&(arguments[0]?Ju(arguments[0])?(e=arguments[0],t=void 0):eh(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||U(),n=Wn(r,this).startOf("day"),i=y.calendarFormat(this,n)||"sameElse",s=t&&(ve(t[i])?t[i].call(this,r):t[i]);return this.format(s||this.localeData().calendar(i,this,U(r)))}function nh(){return new Ct(this)}function ih(e,t){var r=pe(e)?e:U(e);return this.isValid()&&r.isValid()?(t=he(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function sh(e,t){var r=pe(e)?e:U(e);return this.isValid()&&r.isValid()?(t=he(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function ah(e,t,r,n){var i=pe(e)?e:U(e),s=pe(t)?t:U(t);return this.isValid()&&i.isValid()&&s.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(s,r):!this.isAfter(s,r))):!1}function oh(e,t){var r=pe(e)?e:U(e),n;return this.isValid()&&r.isValid()?(t=he(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function lh(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function uh(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function hh(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(n=Wn(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=he(t),t){case"year":s=tr(this,n)/12;break;case"month":s=tr(this,n);break;case"quarter":s=tr(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:le(s)}function tr(e,t){if(e.date()<t.date())return-tr(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,s;return t-n<0?(i=e.clone().add(r-1,"months"),s=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),s=(t-n)/(i-n)),-(r+s)||0}y.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";y.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function fh(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ch(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Kt(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ve(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Kt(r,"Z")):Kt(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function dh(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(r+n+i+s)}function mh(e){e||(e=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var t=Kt(this,e);return this.localeData().postformat(t)}function ph(e,t){return this.isValid()&&(pe(e)&&e.isValid()||U(e).isValid())?_e({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function _h(e){return this.from(U(),e)}function gh(e,t){return this.isValid()&&(pe(e)&&e.isValid()||U(e).isValid())?_e({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function yh(e){return this.to(U(),e)}function ia(e){var t;return e===void 0?this._locale._abbr:(t=De(e),t!=null&&(this._locale=t),this)}var sa=ue("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function aa(){return this._locale}var lr=1e3,nt=60*lr,ur=60*nt,oa=(365*400+97)*24*ur;function it(e,t){return(e%t+t)%t}function la(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-oa:new Date(e,t,r).valueOf()}function ua(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-oa:Date.UTC(e,t,r)}function bh(e){var t,r;if(e=he(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?ua:la,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=it(t+(this._isUTC?0:this.utcOffset()*nt),ur);break;case"minute":t=this._d.valueOf(),t-=it(t,nt);break;case"second":t=this._d.valueOf(),t-=it(t,lr);break}return this._d.setTime(t),y.updateOffset(this,!0),this}function vh(e){var t,r;if(e=he(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?ua:la,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ur-it(t+(this._isUTC?0:this.utcOffset()*nt),ur)-1;break;case"minute":t=this._d.valueOf(),t+=nt-it(t,nt)-1;break;case"second":t=this._d.valueOf(),t+=lr-it(t,lr)-1;break}return this._d.setTime(t),y.updateOffset(this,!0),this}function wh(){return this._d.valueOf()-(this._offset||0)*6e4}function Sh(){return Math.floor(this.valueOf()/1e3)}function Th(){return new Date(this.valueOf())}function Eh(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Mh(){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()}}function xh(){return this.isValid()?this.toISOString():null}function Oh(){return xn(this)}function kh(){return Ne({},O(this))}function Dh(){return O(this).overflow}function Ph(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}T("N",0,0,"eraAbbr");T("NN",0,0,"eraAbbr");T("NNN",0,0,"eraAbbr");T("NNNN",0,0,"eraName");T("NNNNN",0,0,"eraNarrow");T("y",["y",1],"yo","eraYear");T("y",["yy",2],0,"eraYear");T("y",["yyy",3],0,"eraYear");T("y",["yyyy",4],0,"eraYear");b("N",jn);b("NN",jn);b("NNN",jn);b("NNNN",Bh);b("NNNNN",Uh);G(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?O(r).era=i:O(r).invalidEra=e});b("y",ht);b("yy",ht);b("yyy",ht);b("yyyy",ht);b("yo",Wh);G(["y","yy","yyy","yyyy"],ee);G(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ee]=r._locale.eraYearOrdinalParse(e,i):t[ee]=parseInt(e,10)});function Rh(e,t){var r,n,i,s=this._eras||De("en")._eras;for(r=0,n=s.length;r<n;++r){switch(typeof s[r].since){case"string":i=y(s[r].since).startOf("day"),s[r].since=i.valueOf();break}switch(typeof s[r].until){case"undefined":s[r].until=1/0;break;case"string":i=y(s[r].until).startOf("day").valueOf(),s[r].until=i.valueOf();break}}return s}function Hh(e,t,r){var n,i,s=this.eras(),a,o,l;for(e=e.toUpperCase(),n=0,i=s.length;n<i;++n)if(a=s[n].name.toUpperCase(),o=s[n].abbr.toUpperCase(),l=s[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return s[n];break;case"NNNN":if(a===e)return s[n];break;case"NNNNN":if(l===e)return s[n];break}else if([a,o,l].indexOf(e)>=0)return s[n]}function Ch(e,t){var r=e.since<=e.until?1:-1;return t===void 0?y(e.since).year():y(e.since).year()+(t-e.offset)*r}function Nh(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function Lh(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function Ah(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function Ih(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-y(i[e].since).year())*r+i[e].offset;return this.year()}function Fh(e){return L(this,"_erasNameRegex")||Vn.call(this),e?this._erasNameRegex:this._erasRegex}function Gh(e){return L(this,"_erasAbbrRegex")||Vn.call(this),e?this._erasAbbrRegex:this._erasRegex}function Yh(e){return L(this,"_erasNarrowRegex")||Vn.call(this),e?this._erasNarrowRegex:this._erasRegex}function jn(e,t){return t.erasAbbrRegex(e)}function Bh(e,t){return t.erasNameRegex(e)}function Uh(e,t){return t.erasNarrowRegex(e)}function Wh(e,t){return t._eraYearOrdinalRegex||ht}function Vn(){var e=[],t=[],r=[],n=[],i,s,a,o,l,u=this.eras();for(i=0,s=u.length;i<s;++i)a=Me(u[i].name),o=Me(u[i].abbr),l=Me(u[i].narrow),t.push(a),e.push(o),r.push(l),n.push(a),n.push(o),n.push(l);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}T(0,["gg",2],0,function(){return this.weekYear()%100});T(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Sr(e,t){T(0,[e,e.length],0,t)}Sr("gggg","weekYear");Sr("ggggg","weekYear");Sr("GGGG","isoWeekYear");Sr("GGGGG","isoWeekYear");b("G",gr);b("g",gr);b("GG",W,ae);b("gg",W,ae);b("GGGG",Hn,Rn);b("gggg",Hn,Rn);b("GGGGG",_r,mr);b("ggggg",_r,mr);Lt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=D(e)});Lt(["gg","GG"],function(e,t,r,n){t[n]=y.parseTwoDigitYear(e)});function jh(e){return ha.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Vh(e){return ha.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function $h(){return xe(this.year(),1,4)}function zh(){return xe(this.isoWeekYear(),1,4)}function Zh(){var e=this.localeData()._week;return xe(this.year(),e.dow,e.doy)}function Xh(){var e=this.localeData()._week;return xe(this.weekYear(),e.dow,e.doy)}function ha(e,t,r,n,i){var s;return e==null?kt(this,n,i).year:(s=xe(e,n,i),t>s&&(t=s),qh.call(this,e,t,r,n,i))}function qh(e,t,r,n,i){var s=Ws(e,t,r,n,i),a=Ot(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}T("Q",0,"Qo","quarter");b("Q",Hs);G("Q",function(e,t){t[Te]=(D(e)-1)*3});function Jh(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}T("D",["DD",2],"Do","date");b("D",W,ft);b("DD",W,ae);b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});G(["D","DD"],ge);G("Do",function(e,t){t[ge]=D(e.match(W)[0])});var fa=ct("Date",!0);T("DDD",["DDDD",3],"DDDo","dayOfYear");b("DDD",pr);b("DDDD",Cs);G(["DDD","DDDD"],function(e,t,r){r._dayOfYear=D(e)});function Qh(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}T("m",["mm",2],0,"minute");b("m",W,Cn);b("mm",W,ae);G(["m","mm"],de);var Kh=ct("Minutes",!1);T("s",["ss",2],0,"second");b("s",W,Cn);b("ss",W,ae);G(["s","ss"],Ee);var ef=ct("Seconds",!1);T("S",0,0,function(){return~~(this.millisecond()/100)});T(0,["SS",2],0,function(){return~~(this.millisecond()/10)});T(0,["SSS",3],0,"millisecond");T(0,["SSSS",4],0,function(){return this.millisecond()*10});T(0,["SSSSS",5],0,function(){return this.millisecond()*100});T(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});T(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});T(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});T(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});b("S",pr,Hs);b("SS",pr,ae);b("SSS",pr,Cs);var Le,ca;for(Le="SSSS";Le.length<=9;Le+="S")b(Le,ht);function tf(e,t){t[Ue]=D(("0."+e)*1e3)}for(Le="S";Le.length<=9;Le+="S")G(Le,tf);ca=ct("Milliseconds",!1);T("z",0,0,"zoneAbbr");T("zz",0,0,"zoneName");function rf(){return this._isUTC?"UTC":""}function nf(){return this._isUTC?"Coordinated Universal Time":""}var d=Ct.prototype;d.add=Xu;d.calendar=rh;d.clone=nh;d.diff=hh;d.endOf=vh;d.format=mh;d.from=ph;d.fromNow=_h;d.to=gh;d.toNow=yh;d.get=dl;d.invalidAt=Dh;d.isAfter=ih;d.isBefore=sh;d.isBetween=ah;d.isSame=oh;d.isSameOrAfter=lh;d.isSameOrBefore=uh;d.isValid=Oh;d.lang=sa;d.locale=ia;d.localeData=aa;d.max=Ou;d.min=xu;d.parsingFlags=kh;d.set=ml;d.startOf=bh;d.subtract=qu;d.toArray=Eh;d.toObject=Mh;d.toDate=Th;d.toISOString=ch;d.inspect=dh;typeof Symbol!="undefined"&&Symbol.for!=null&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});d.toJSON=xh;d.toString=fh;d.unix=Sh;d.valueOf=wh;d.creationData=Ph;d.eraName=Nh;d.eraNarrow=Lh;d.eraAbbr=Ah;d.eraYear=Ih;d.year=As;d.isLeapYear=cl;d.weekYear=jh;d.isoWeekYear=Vh;d.quarter=d.quarters=Jh;d.month=Bs;d.daysInMonth=Tl;d.week=d.weeks=Rl;d.isoWeek=d.isoWeeks=Hl;d.weeksInYear=Zh;d.weeksInWeekYear=Xh;d.isoWeeksInYear=$h;d.isoWeeksInISOWeekYear=zh;d.date=fa;d.day=d.days=Vl;d.weekday=$l;d.isoWeekday=zl;d.dayOfYear=Qh;d.hour=d.hours=eu;d.minute=d.minutes=Kh;d.second=d.seconds=ef;d.millisecond=d.milliseconds=ca;d.utcOffset=Au;d.utc=Fu;d.local=Gu;d.parseZone=Yu;d.hasAlignedHourOffset=Bu;d.isDST=Uu;d.isLocal=ju;d.isUtcOffset=Vu;d.isUtc=ea;d.isUTC=ea;d.zoneAbbr=rf;d.zoneName=nf;d.dates=ue("dates accessor is deprecated. Use date instead.",fa);d.months=ue("months accessor is deprecated. Use month instead",Bs);d.years=ue("years accessor is deprecated. Use year instead",As);d.zone=ue("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Iu);d.isDSTShifted=ue("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Wu);function sf(e){return U(e*1e3)}function af(){return U.apply(null,arguments).parseZone()}function da(e){return e}var I=kn.prototype;I.calendar=jo;I.longDateFormat=Zo;I.invalidDate=qo;I.ordinal=Ko;I.preparse=da;I.postformat=da;I.relativeTime=tl;I.pastFuture=rl;I.set=Uo;I.eras=Rh;I.erasParse=Hh;I.erasConvertYear=Ch;I.erasAbbrRegex=Gh;I.erasNameRegex=Fh;I.erasNarrowRegex=Yh;I.months=bl;I.monthsShort=vl;I.monthsParse=Sl;I.monthsRegex=Ml;I.monthsShortRegex=El;I.week=Ol;I.firstDayOfYear=Pl;I.firstDayOfWeek=Dl;I.weekdays=Yl;I.weekdaysMin=Ul;I.weekdaysShort=Bl;I.weekdaysParse=jl;I.weekdaysRegex=Zl;I.weekdaysShortRegex=Xl;I.weekdaysMinRegex=ql;I.isPM=Ql;I.meridiem=tu;function hr(e,t,r,n){var i=De(),s=be().set(n,t);return i[r](s,e)}function ma(e,t,r){if(ke(e)&&(t=e,e=void 0),e=e||"",t!=null)return hr(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=hr(e,n,r,"month");return i}function $n(e,t,r,n){typeof e=="boolean"?(ke(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ke(t)&&(r=t,t=void 0),t=t||"");var i=De(),s=e?i._week.dow:0,a,o=[];if(r!=null)return hr(t,(r+s)%7,n,"day");for(a=0;a<7;a++)o[a]=hr(t,(a+s)%7,n,"day");return o}function of(e,t){return ma(e,t,"months")}function lf(e,t){return ma(e,t,"monthsShort")}function uf(e,t,r){return $n(e,t,r,"weekdays")}function hf(e,t,r){return $n(e,t,r,"weekdaysShort")}function ff(e,t,r){return $n(e,t,r,"weekdaysMin")}Fe("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,r=D(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});y.lang=ue("moment.lang is deprecated. Use moment.locale instead.",Fe);y.langData=ue("moment.langData is deprecated. Use moment.localeData instead.",De);var we=Math.abs;function cf(){var e=this._data;return this._milliseconds=we(this._milliseconds),this._days=we(this._days),this._months=we(this._months),e.milliseconds=we(e.milliseconds),e.seconds=we(e.seconds),e.minutes=we(e.minutes),e.hours=we(e.hours),e.months=we(e.months),e.years=we(e.years),this}function pa(e,t,r,n){var i=_e(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function df(e,t){return pa(this,e,t,1)}function mf(e,t){return pa(this,e,t,-1)}function wi(e){return e<0?Math.floor(e):Math.ceil(e)}function pf(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,s,a,o,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=wi(hn(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=le(e/1e3),n.seconds=i%60,s=le(i/60),n.minutes=s%60,a=le(s/60),n.hours=a%24,t+=le(a/24),l=le(_a(t)),r+=l,t-=wi(hn(l)),o=le(r/12),r%=12,n.days=t,n.months=r,n.years=o,this}function _a(e){return e*4800/146097}function hn(e){return e*146097/4800}function _f(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=he(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+_a(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(hn(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function Pe(e){return function(){return this.as(e)}}var ga=Pe("ms"),gf=Pe("s"),yf=Pe("m"),bf=Pe("h"),vf=Pe("d"),wf=Pe("w"),Sf=Pe("M"),Tf=Pe("Q"),Ef=Pe("y"),Mf=ga;function xf(){return _e(this)}function Of(e){return e=he(e),this.isValid()?this[e+"s"]():NaN}function $e(e){return function(){return this.isValid()?this._data[e]:NaN}}var kf=$e("milliseconds"),Df=$e("seconds"),Pf=$e("minutes"),Rf=$e("hours"),Hf=$e("days"),Cf=$e("months"),Nf=$e("years");function Lf(){return le(this.days()/7)}var Se=Math.round,et={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Af(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function If(e,t,r,n){var i=_e(e).abs(),s=Se(i.as("s")),a=Se(i.as("m")),o=Se(i.as("h")),l=Se(i.as("d")),u=Se(i.as("M")),h=Se(i.as("w")),f=Se(i.as("y")),c=s<=r.ss&&["s",s]||s<r.s&&["ss",s]||a<=1&&["m"]||a<r.m&&["mm",a]||o<=1&&["h"]||o<r.h&&["hh",o]||l<=1&&["d"]||l<r.d&&["dd",l];return r.w!=null&&(c=c||h<=1&&["w"]||h<r.w&&["ww",h]),c=c||u<=1&&["M"]||u<r.M&&["MM",u]||f<=1&&["y"]||["yy",f],c[2]=t,c[3]=+e>0,c[4]=n,Af.apply(null,c)}function Ff(e){return e===void 0?Se:typeof e=="function"?(Se=e,!0):!1}function Gf(e,t){return et[e]===void 0?!1:t===void 0?et[e]:(et[e]=t,e==="s"&&(et.ss=t-1),!0)}function Yf(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=et,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},et,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),s=If(this,!r,n,i),r&&(s=i.pastFuture(+this,s)),i.postformat(s)}var zr=Math.abs;function qe(e){return(e>0)-(e<0)||+e}function Tr(){if(!this.isValid())return this.localeData().invalidDate();var e=zr(this._milliseconds)/1e3,t=zr(this._days),r=zr(this._months),n,i,s,a,o=this.asSeconds(),l,u,h,f;return o?(n=le(e/60),i=le(n/60),e%=60,n%=60,s=le(r/12),r%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=qe(this._months)!==qe(o)?"-":"",h=qe(this._days)!==qe(o)?"-":"",f=qe(this._milliseconds)!==qe(o)?"-":"",l+"P"+(s?u+s+"Y":"")+(r?u+r+"M":"")+(t?h+t+"D":"")+(i||n||e?"T":"")+(i?f+i+"H":"")+(n?f+n+"M":"")+(e?f+a+"S":"")):"P0D"}var C=wr.prototype;C.isValid=Hu;C.abs=cf;C.add=df;C.subtract=mf;C.as=_f;C.asMilliseconds=ga;C.asSeconds=gf;C.asMinutes=yf;C.asHours=bf;C.asDays=vf;C.asWeeks=wf;C.asMonths=Sf;C.asQuarters=Tf;C.asYears=Ef;C.valueOf=Mf;C._bubble=pf;C.clone=xf;C.get=Of;C.milliseconds=kf;C.seconds=Df;C.minutes=Pf;C.hours=Rf;C.days=Hf;C.weeks=Lf;C.months=Cf;C.years=Nf;C.humanize=Yf;C.toISOString=Tr;C.toString=Tr;C.toJSON=Tr;C.locale=ia;C.localeData=aa;C.toIsoString=ue("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tr);C.lang=sa;T("X",0,0,"unix");T("x",0,0,"valueOf");b("x",gr);b("X",al);G("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});G("x",function(e,t,r){r._d=new Date(D(e))});//! moment.js
|
|
10
|
+
y.version="2.30.1";Yo(U);y.fn=d;y.min=ku;y.max=Du;y.now=Pu;y.utc=be;y.unix=sf;y.months=of;y.isDate=Ht;y.locale=Fe;y.invalid=dr;y.duration=_e;y.isMoment=pe;y.weekdays=uf;y.parseZone=af;y.localeData=De;y.isDuration=er;y.monthsShort=lf;y.weekdaysMin=ff;y.defineLocale=Fn;y.updateLocale=su;y.locales=au;y.weekdaysShort=hf;y.normalizeUnits=he;y.relativeTimeRounding=Ff;y.relativeTimeThreshold=Gf;y.calendarFormat=th;y.prototype=d;y.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"};var fn=function(e,t){return fn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},fn(e,t)};function Re(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");fn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var N=function(){return N=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},N.apply(this,arguments)};function Bf(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function cn(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,s=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(o){a={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function st(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function Oe(e){return typeof e=="function"}function ya(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Zr=ya(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
11
11
|
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
12
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function mn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Er=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=cn(a),l=o.next();!l.done;l=o.next()){var u=l.value;u.remove(this)}}catch(_){t={error:_}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(Oe(f))try{f()}catch(_){s=_ instanceof Zr?_.errors:[_]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var c=cn(h),S=c.next();!S.done;S=c.next()){var w=S.value;try{Si(w)}catch(_){s=s!=null?s:[],_ instanceof Zr?s=st(st([],dn(s)),dn(_.errors)):s.push(_)}}}catch(_){n={error:_}}finally{try{S&&!S.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}if(s)throw new Zr(s)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Si(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&mn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&mn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ba=Er.EMPTY;function va(e){return e instanceof Er||e&&"closed"in e&&Oe(e.remove)&&Oe(e.add)&&Oe(e.unsubscribe)}function Si(e){Oe(e)?e():e.unsubscribe()}var wa={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Sa={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,st([e,t],dn(r)))},clearTimeout:function(e){var t=Sa.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Wh(e){Sa.setTimeout(function(){throw e})}function Ti(){}function rr(e){e()}var Ta=function(e){He(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,va(r)&&r.add(n)):n.destination=zh,n}return t.create=function(r,n,i){return new pn(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Er),jh=Function.prototype.bind;function Xr(e,t){return jh.call(e,t)}var Vh=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){qt(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){qt(n)}else qt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){qt(r)}},e}(),pn=function(e){He(t,e);function t(r,n,i){var s=e.call(this)||this,a;if(Oe(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var o;s&&wa.useDeprecatedNextContext?(o=Object.create(r),o.unsubscribe=function(){return s.unsubscribe()},a={next:r.next&&Xr(r.next,o),error:r.error&&Xr(r.error,o),complete:r.complete&&Xr(r.complete,o)}):a=r}return s.destination=new Vh(a),s}return t}(Ta);function qt(e){Wh(e)}function $h(e){throw e}var zh={closed:!0,next:Ti,error:$h,complete:Ti},Zh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Xh(e){return e}function qh(e){return e.length===0?Xh:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Ei=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,s=Qh(t)?t:new pn(t,r,n);return rr(function(){var a=i,o=a.operator,l=a.source;s.add(o?o.call(s,l):l?i._subscribe(s):i._trySubscribe(s))}),s},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Mi(r),new r(function(i,s){var a=new pn({next:function(o){try{t(o)}catch(l){s(l),a.unsubscribe()}},error:s,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Zh]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return qh(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Mi(t),new t(function(n,i){var s;r.subscribe(function(a){return s=a},function(a){return i(a)},function(){return n(s)})})},e.create=function(t){return new e(t)},e}();function Mi(e){var t;return(t=e!=null?e:wa.Promise)!==null&&t!==void 0?t:Promise}function Jh(e){return e&&Oe(e.next)&&Oe(e.error)&&Oe(e.complete)}function Qh(e){return e&&e instanceof Ta||Jh(e)&&va(e)}var Kh=ya(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ea=function(e){He(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new xi(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Kh},t.prototype.next=function(r){var n=this;rr(function(){var i,s;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=cn(n.currentObservers),o=a.next();!o.done;o=a.next()){var l=o.value;l.next(r)}}catch(u){i={error:u}}finally{try{o&&!o.done&&(s=a.return)&&s.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;rr(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;rr(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,s=i.hasError,a=i.isStopped,o=i.observers;return s||a?ba:(this.currentObservers=null,o.push(r),new Er(function(){n.currentObservers=null,mn(o,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,s=n.thrownError,a=n.isStopped;i?r.error(s):a&&r.complete()},t.prototype.asObservable=function(){var r=new Ei;return r.source=this,r},t.create=function(r,n){return new xi(r,n)},t}(Ei),xi=function(e){He(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:ba},t}(Ea),Ma={now:function(){return(Ma.delegate||Date).now()},delegate:void 0},ec=function(e){He(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Ma);var s=e.call(this)||this;return s._bufferSize=r,s._windowTime=n,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=n===1/0,s._bufferSize=Math.max(1,r),s._windowTime=Math.max(1,n),s}return t.prototype.next=function(r){var n=this,i=n.isStopped,s=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,l=n._windowTime;i||(s.push(r),!a&&s.push(o.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,s=i._infiniteTimeWindow,a=i._buffer,o=a.slice(),l=0;l<o.length&&!r.closed;l+=s?1:2)r.next(o[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,s=r._buffer,a=r._infiniteTimeWindow,o=(a?1:2)*n;if(n<1/0&&o<s.length&&s.splice(0,s.length-o),!a){for(var l=i.now(),u=0,f=1;f<s.length&&s[f]<=l;f+=2)u=f;u&&s.splice(0,u+1)}},t}(Ea);const Oi=[],ki={},tc=(e,t=0)=>{if(Oi.indexOf(e)==-1){const r=new ec(t);ki[e]=r,Oi.push(e)}return ki[e]},Je=[];function rc(e,t){return{subscribe:Mr(e,t).subscribe}}function Mr(e,t=re){let r;const n=new Set;function i(o){if(En(e,o)&&(e=o,r)){const l=!Je.length;for(const u of n)u[1](),Je.push(u,e);if(l){for(let u=0;u<Je.length;u+=2)Je[u][0](Je[u+1]);Je.length=0}}}function s(o){i(o(e))}function a(o,l=re){const u=[o,l];return n.add(u),n.size===1&&(r=t(i,s)||re),o(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:a}}function dt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return rc(r,(a,o)=>{let l=!1;const u=[];let f=0,h=re;const c=()=>{if(f)return;h();const w=t(n?u[0]:u,a,o);s?a(w):h=We(w)?w:re},S=i.map((w,_)=>ys(w,k=>{u[_]=k,f&=~(1<<_),l&&c()},()=>{f|=1<<_}));return l=!0,c(),function(){Ve(S),h(),l=!1}})}var nc=function(t){return ic(t)&&!sc(t)};function ic(e){return!!e&&typeof e=="object"}function sc(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||lc(e)}var ac=typeof Symbol=="function"&&Symbol.for,oc=ac?Symbol.for("react.element"):60103;function lc(e){return e.$$typeof===oc}function uc(e){return Array.isArray(e)?[]:{}}function Pt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?at(uc(e),e,t):e}function fc(e,t,r){return e.concat(t).map(function(n){return Pt(n,r)})}function hc(e,t){if(!t.customMerge)return at;var r=t.customMerge(e);return typeof r=="function"?r:at}function cc(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Di(e){return Object.keys(e).concat(cc(e))}function xa(e,t){try{return t in e}catch(r){return!1}}function dc(e,t){return xa(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function mc(e,t,r){var n={};return r.isMergeableObject(e)&&Di(e).forEach(function(i){n[i]=Pt(e[i],r)}),Di(t).forEach(function(i){dc(e,i)||(xa(e,i)&&r.isMergeableObject(t[i])?n[i]=hc(i,r)(e[i],t[i],r):n[i]=Pt(t[i],r))}),n}function at(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||fc,r.isMergeableObject=r.isMergeableObject||nc,r.cloneUnlessOtherwiseSpecified=Pt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):mc(e,t,r):Pt(t,r)}at.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return at(n,i,r)},{})};var pc=at,_c=pc;const gc=Yo(_c);var P;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(P||(P={}));var $;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})($||($={}));var ot;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ot||(ot={}));function Pi(e){return e.type===$.literal}function yc(e){return e.type===$.argument}function Oa(e){return e.type===$.number}function ka(e){return e.type===$.date}function Da(e){return e.type===$.time}function Pa(e){return e.type===$.select}function Ha(e){return e.type===$.plural}function bc(e){return e.type===$.pound}function Ra(e){return e.type===$.tag}function Na(e){return!!(e&&typeof e=="object"&&e.type===ot.number)}function _n(e){return!!(e&&typeof e=="object"&&e.type===ot.dateTime)}var Ca=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,vc=/(?:[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;function wc(e){var t={};return e.replace(vc,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"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":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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""}),t}var Sc=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Tc(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Sc).filter(function(c){return c.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var o=a[0],l=a.slice(1),u=0,f=l;u<f.length;u++){var h=f[u];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function Ec(e){return e.replace(/^(.*?)-/,"")}var Hi=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,La=/^(@+)?(\+|#+)?[rs]?$/g,Mc=/(\*)(0+)|(#+)(0+)|(0+)/g,Aa=/^(0+)$/;function Ri(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(La,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Ia(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 xc(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Aa.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ni(e){var t={},r=Ia(e);return r||t}function Oc(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Ec(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=C(C(C({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return C(C({},l),Ni(u))},{}));continue;case"engineering":t=C(C(C({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return C(C({},l),Ni(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Mc,function(l,u,f,h,c,S){if(u)t.minimumIntegerDigits=f.length;else{if(h&&c)throw new Error("We currently do not support maximum integer digits");if(S)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Aa.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Hi.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Hi,function(l,u,f,h,c,S){return f==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:c&&S?(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length+S.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=C(C({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=C(C({},t),Ri(s)));continue}if(La.test(i.stem)){t=C(C({},t),Ri(i.stem));continue}var a=Ia(i.stem);a&&(t=C(C({},t),a));var o=xc(i.stem);o&&(t=C(C({},t),o))}return t}var Jt={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function kc(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(s&1),o=s<2?1:3+(s>>1),l="a",u=Dc(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;a-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Dc(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Jt[n||""]||Jt[r||""]||Jt["".concat(r,"-001")]||Jt["001"];return i[0]}var qr,Pc=new RegExp("^".concat(Ca.source,"*")),Hc=new RegExp("".concat(Ca.source,"*$"));function H(e,t){return{start:e,end:t}}var Rc=!!String.prototype.startsWith&&"_a".startsWith("a",1),Nc=!!String.fromCodePoint,Cc=!!Object.fromEntries,Lc=!!String.prototype.codePointAt,Ac=!!String.prototype.trimStart,Ic=!!String.prototype.trimEnd,Fc=!!Number.isSafeInteger,Yc=Fc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},gn=!0;try{var Gc=Ya("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");gn=((qr=Gc.exec("a"))===null||qr===void 0?void 0:qr[0])==="a"}catch(e){gn=!1}var Ci=Rc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},yn=Nc?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,a;i>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Li=Cc?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],a=s[0],o=s[1];r[a]=o}return r},Fa=Lc?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Bc=Ac?function(t){return t.trimStart()}:function(t){return t.replace(Pc,"")},Uc=Ic?function(t){return t.trimEnd()}:function(t){return t.replace(Hc,"")};function Ya(e,t){return new RegExp(e,t)}var bn;if(gn){var Ai=Ya("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bn=function(t,r){var n;Ai.lastIndex=r;var i=Ai.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else bn=function(t,r){for(var n=[];;){var i=Fa(t,r);if(i===void 0||Ga(i)||$c(i))break;n.push(i),r+=i>=65536?2:1}return yn.apply(void 0,n)};var Wc=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:$.pound,location:H(o,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(P.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&vn(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$.literal,value:"<".concat(i,"/>"),location:H(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!vn(this.char()))return this.error(P.INVALID_TAG,H(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(P.UNMATCHED_CLOSING_TAG,H(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$.tag,value:i,children:a,location:H(n,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,H(o,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,H(n,this.clonePosition()))}else return this.error(P.INVALID_TAG,H(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Vc(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=H(n,this.clonePosition());return{val:{type:$.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!jc(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return yn.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),yn(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,H(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(P.MALFORMED_ARGUMENT,H(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$.argument,value:i,location:H(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(P.MALFORMED_ARGUMENT,H(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=bn(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),a=H(t,s);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,H(a,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var c=Uc(h.val);if(c.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var S=H(f,this.clonePosition());u={style:c,styleLocation:S}}var w=this.tryParseArgumentClose(i);if(w.err)return w;var _=H(i,this.clonePosition());if(u&&Ci(u==null?void 0:u.style,"::",0)){var k=Bc(u.style.slice(2));if(o==="number"){var h=this.parseNumberSkeletonFromString(k,u.styleLocation);return h.err?h:{val:{type:$.number,value:n,location:_,style:h.val},err:null}}else{if(k.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,_);var G=k;this.locale&&(G=kc(k,this.locale));var c={type:ot.dateTime,pattern:G,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?wc(G):{}},Q=o==="date"?$.date:$.time;return{val:{type:Q,value:n,location:_,style:c},err:null}}}return{val:{type:o==="number"?$.number:o==="date"?$.date:$.time,value:n,location:_,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var F=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,H(F,C({},F)));this.bumpSpace();var M=this.parseIdentifierIfPossible(),j=0;if(o!=="select"&&M.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),M=this.parseIdentifierIfPossible(),j=h.val}var x=this.tryParsePluralOrSelectOptions(t,o,r,M);if(x.err)return x;var w=this.tryParseArgumentClose(i);if(w.err)return w;var he=H(i,this.clonePosition());return o==="select"?{val:{type:$.select,value:n,options:Li(x.val),location:he},err:null}:{val:{type:$.plural,value:n,options:Li(x.val),offset:j,pluralType:o==="plural"?"cardinal":"ordinal",location:he},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,H(a,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,H(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Tc(t)}catch(i){return this.error(P.INVALID_NUMBER_SKELETON,r)}return{val:{type:ot.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Oc(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,a=!1,o=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;f=H(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(a=!0),this.bumpSpace();var S=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(t+1,r,n);if(w.err)return w;var _=this.tryParseArgumentClose(S);if(_.err)return _;o.push([u,{value:w.val,location:H(S,this.clonePosition())}]),l.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,f=s.location}return o.length===0?this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(P.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)s=!0,a=a*10+(o-48),this.bump();else break}var l=H(i,this.clonePosition());return s?(a*=n,Yc(a)?{val:a,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Fa(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ci(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ga(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function vn(e){return e>=97&&e<=122||e>=65&&e<=90}function jc(e){return vn(e)||e===47}function Vc(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ga(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function $c(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function wn(e){e.forEach(function(t){if(delete t.location,Pa(t)||Ha(t))for(var r in t.options)delete t.options[r].location,wn(t.options[r].value);else Oa(t)&&Na(t.style)||(ka(t)||Da(t))&&_n(t.style)?delete t.style.location:Ra(t)&&wn(t.children)})}function zc(e,t){t===void 0&&(t={}),t=C({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Wc(e,t).parse();if(r.err){var n=SyntaxError(P[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||wn(r.val),r.val}function Jr(e,t){var r=t&&t.cache?t.cache:Kc,n=t&&t.serializer?t.serializer:Qc,i=t&&t.strategy?t.strategy:Xc;return i(e,{cache:r,serializer:n})}function Zc(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ba(e,t,r,n){var i=Zc(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Ua(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function zn(e,t,r,n,i){return r.bind(t,e,n,i)}function Xc(e,t){var r=e.length===1?Ba:Ua;return zn(e,this,r,t.cache.create(),t.serializer)}function qc(e,t){return zn(e,this,Ua,t.cache.create(),t.serializer)}function Jc(e,t){return zn(e,this,Ba,t.cache.create(),t.serializer)}var Qc=function(){return JSON.stringify(arguments)};function Zn(){this.cache=Object.create(null)}Zn.prototype.get=function(e){return this.cache[e]};Zn.prototype.set=function(e,t){this.cache[e]=t};var Kc={create:function(){return new Zn}},Qr={variadic:qc,monadic:Jc},lt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(lt||(lt={}));var xr=function(e){He(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ii=function(e){He(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),lt.INVALID_VALUE,s)||this}return t}(xr),ed=function(e){He(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),lt.INVALID_VALUE,i)||this}return t}(xr),td=function(e){He(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),lt.MISSING_VALUE,n)||this}return t}(xr),te;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(te||(te={}));function rd(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==te.literal||r.type!==te.literal?t.push(r):n.value+=r.value,t},[])}function nd(e){return typeof e=="function"}function nr(e,t,r,n,i,s,a){if(e.length===1&&Pi(e[0]))return[{type:te.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var f=u[l];if(Pi(f)){o.push({type:te.literal,value:f.value});continue}if(bc(f)){typeof s=="number"&&o.push({type:te.literal,value:r.getNumberFormat(t).format(s)});continue}var h=f.value;if(!(i&&h in i))throw new td(h,a);var c=i[h];if(yc(f)){(!c||typeof c=="string"||typeof c=="number")&&(c=typeof c=="string"||typeof c=="number"?String(c):""),o.push({type:typeof c=="string"?te.literal:te.object,value:c});continue}if(ka(f)){var S=typeof f.style=="string"?n.date[f.style]:_n(f.style)?f.style.parsedOptions:void 0;o.push({type:te.literal,value:r.getDateTimeFormat(t,S).format(c)});continue}if(Da(f)){var S=typeof f.style=="string"?n.time[f.style]:_n(f.style)?f.style.parsedOptions:n.time.medium;o.push({type:te.literal,value:r.getDateTimeFormat(t,S).format(c)});continue}if(Oa(f)){var S=typeof f.style=="string"?n.number[f.style]:Na(f.style)?f.style.parsedOptions:void 0;S&&S.scale&&(c=c*(S.scale||1)),o.push({type:te.literal,value:r.getNumberFormat(t,S).format(c)});continue}if(Ra(f)){var w=f.children,_=f.value,k=i[_];if(!nd(k))throw new ed(_,"function",a);var G=nr(w,t,r,n,i,s),Q=k(G.map(function(j){return j.value}));Array.isArray(Q)||(Q=[Q]),o.push.apply(o,Q.map(function(j){return{type:typeof j=="string"?te.literal:te.object,value:j}}))}if(Pa(f)){var F=f.options[c]||f.options.other;if(!F)throw new Ii(f.value,c,Object.keys(f.options),a);o.push.apply(o,nr(F.value,t,r,n,i));continue}if(Ha(f)){var F=f.options["=".concat(c)];if(!F){if(!Intl.PluralRules)throw new xr(`Intl.PluralRules is not available in this environment.
|
|
12
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function mn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Er=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=cn(a),l=o.next();!l.done;l=o.next()){var u=l.value;u.remove(this)}}catch(_){t={error:_}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else a.remove(this);var h=this.initialTeardown;if(Oe(h))try{h()}catch(_){s=_ instanceof Zr?_.errors:[_]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var c=cn(f),S=c.next();!S.done;S=c.next()){var w=S.value;try{Si(w)}catch(_){s=s!=null?s:[],_ instanceof Zr?s=st(st([],dn(s)),dn(_.errors)):s.push(_)}}}catch(_){n={error:_}}finally{try{S&&!S.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}if(s)throw new Zr(s)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Si(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&mn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&mn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ba=Er.EMPTY;function va(e){return e instanceof Er||e&&"closed"in e&&Oe(e.remove)&&Oe(e.add)&&Oe(e.unsubscribe)}function Si(e){Oe(e)?e():e.unsubscribe()}var wa={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Sa={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,st([e,t],dn(r)))},clearTimeout:function(e){var t=Sa.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Uf(e){Sa.setTimeout(function(){throw e})}function Ti(){}function rr(e){e()}var Ta=function(e){Re(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,va(r)&&r.add(n)):n.destination=$f,n}return t.create=function(r,n,i){return new pn(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Er),Wf=Function.prototype.bind;function Xr(e,t){return Wf.call(e,t)}var jf=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){qt(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){qt(n)}else qt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){qt(r)}},e}(),pn=function(e){Re(t,e);function t(r,n,i){var s=e.call(this)||this,a;if(Oe(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var o;s&&wa.useDeprecatedNextContext?(o=Object.create(r),o.unsubscribe=function(){return s.unsubscribe()},a={next:r.next&&Xr(r.next,o),error:r.error&&Xr(r.error,o),complete:r.complete&&Xr(r.complete,o)}):a=r}return s.destination=new jf(a),s}return t}(Ta);function qt(e){Uf(e)}function Vf(e){throw e}var $f={closed:!0,next:Ti,error:Vf,complete:Ti},zf=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Zf(e){return e}function Xf(e){return e.length===0?Zf:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Ei=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,s=Jf(t)?t:new pn(t,r,n);return rr(function(){var a=i,o=a.operator,l=a.source;s.add(o?o.call(s,l):l?i._subscribe(s):i._trySubscribe(s))}),s},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Mi(r),new r(function(i,s){var a=new pn({next:function(o){try{t(o)}catch(l){s(l),a.unsubscribe()}},error:s,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[zf]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Xf(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Mi(t),new t(function(n,i){var s;r.subscribe(function(a){return s=a},function(a){return i(a)},function(){return n(s)})})},e.create=function(t){return new e(t)},e}();function Mi(e){var t;return(t=e!=null?e:wa.Promise)!==null&&t!==void 0?t:Promise}function qf(e){return e&&Oe(e.next)&&Oe(e.error)&&Oe(e.complete)}function Jf(e){return e&&e instanceof Ta||qf(e)&&va(e)}var Qf=ya(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ea=function(e){Re(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new xi(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Qf},t.prototype.next=function(r){var n=this;rr(function(){var i,s;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=cn(n.currentObservers),o=a.next();!o.done;o=a.next()){var l=o.value;l.next(r)}}catch(u){i={error:u}}finally{try{o&&!o.done&&(s=a.return)&&s.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;rr(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;rr(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,s=i.hasError,a=i.isStopped,o=i.observers;return s||a?ba:(this.currentObservers=null,o.push(r),new Er(function(){n.currentObservers=null,mn(o,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,s=n.thrownError,a=n.isStopped;i?r.error(s):a&&r.complete()},t.prototype.asObservable=function(){var r=new Ei;return r.source=this,r},t.create=function(r,n){return new xi(r,n)},t}(Ei),xi=function(e){Re(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:ba},t}(Ea),Ma={now:function(){return(Ma.delegate||Date).now()},delegate:void 0},Kf=function(e){Re(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Ma);var s=e.call(this)||this;return s._bufferSize=r,s._windowTime=n,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=n===1/0,s._bufferSize=Math.max(1,r),s._windowTime=Math.max(1,n),s}return t.prototype.next=function(r){var n=this,i=n.isStopped,s=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,l=n._windowTime;i||(s.push(r),!a&&s.push(o.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,s=i._infiniteTimeWindow,a=i._buffer,o=a.slice(),l=0;l<o.length&&!r.closed;l+=s?1:2)r.next(o[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,s=r._buffer,a=r._infiniteTimeWindow,o=(a?1:2)*n;if(n<1/0&&o<s.length&&s.splice(0,s.length-o),!a){for(var l=i.now(),u=0,h=1;h<s.length&&s[h]<=l;h+=2)u=h;u&&s.splice(0,u+1)}},t}(Ea);const Oi=[],ki={},ec=(e,t=0)=>{if(Oi.indexOf(e)==-1){const r=new Kf(t);ki[e]=r,Oi.push(e)}return ki[e]},Je=[];function tc(e,t){return{subscribe:Mr(e,t).subscribe}}function Mr(e,t=re){let r;const n=new Set;function i(o){if(En(e,o)&&(e=o,r)){const l=!Je.length;for(const u of n)u[1](),Je.push(u,e);if(l){for(let u=0;u<Je.length;u+=2)Je[u][0](Je[u+1]);Je.length=0}}}function s(o){i(o(e))}function a(o,l=re){const u=[o,l];return n.add(u),n.size===1&&(r=t(i,s)||re),o(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:a}}function dt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return tc(r,(a,o)=>{let l=!1;const u=[];let h=0,f=re;const c=()=>{if(h)return;f();const w=t(n?u[0]:u,a,o);s?a(w):f=We(w)?w:re},S=i.map((w,_)=>ys(w,k=>{u[_]=k,h&=~(1<<_),l&&c()},()=>{h|=1<<_}));return l=!0,c(),function(){Ve(S),f(),l=!1}})}var rc=function(t){return nc(t)&&!ic(t)};function nc(e){return!!e&&typeof e=="object"}function ic(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||oc(e)}var sc=typeof Symbol=="function"&&Symbol.for,ac=sc?Symbol.for("react.element"):60103;function oc(e){return e.$$typeof===ac}function lc(e){return Array.isArray(e)?[]:{}}function Pt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?at(lc(e),e,t):e}function uc(e,t,r){return e.concat(t).map(function(n){return Pt(n,r)})}function hc(e,t){if(!t.customMerge)return at;var r=t.customMerge(e);return typeof r=="function"?r:at}function fc(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Di(e){return Object.keys(e).concat(fc(e))}function xa(e,t){try{return t in e}catch(r){return!1}}function cc(e,t){return xa(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function dc(e,t,r){var n={};return r.isMergeableObject(e)&&Di(e).forEach(function(i){n[i]=Pt(e[i],r)}),Di(t).forEach(function(i){cc(e,i)||(xa(e,i)&&r.isMergeableObject(t[i])?n[i]=hc(i,r)(e[i],t[i],r):n[i]=Pt(t[i],r))}),n}function at(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||uc,r.isMergeableObject=r.isMergeableObject||rc,r.cloneUnlessOtherwiseSpecified=Pt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):dc(e,t,r):Pt(t,r)}at.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return at(n,i,r)},{})};var mc=at,pc=mc;const _c=Fo(pc);var P;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(P||(P={}));var $;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})($||($={}));var ot;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ot||(ot={}));function Pi(e){return e.type===$.literal}function gc(e){return e.type===$.argument}function Oa(e){return e.type===$.number}function ka(e){return e.type===$.date}function Da(e){return e.type===$.time}function Pa(e){return e.type===$.select}function Ra(e){return e.type===$.plural}function yc(e){return e.type===$.pound}function Ha(e){return e.type===$.tag}function Ca(e){return!!(e&&typeof e=="object"&&e.type===ot.number)}function _n(e){return!!(e&&typeof e=="object"&&e.type===ot.dateTime)}var Na=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,bc=/(?:[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;function vc(e){var t={};return e.replace(bc,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"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":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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""}),t}var wc=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Sc(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(wc).filter(function(c){return c.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var o=a[0],l=a.slice(1),u=0,h=l;u<h.length;u++){var f=h[u];if(f.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function Tc(e){return e.replace(/^(.*?)-/,"")}var Ri=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,La=/^(@+)?(\+|#+)?[rs]?$/g,Ec=/(\*)(0+)|(#+)(0+)|(0+)/g,Aa=/^(0+)$/;function Hi(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(La,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Ia(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 Mc(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Aa.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ci(e){var t={},r=Ia(e);return r||t}function xc(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Tc(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=N(N(N({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return N(N({},l),Ci(u))},{}));continue;case"engineering":t=N(N(N({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return N(N({},l),Ci(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ec,function(l,u,h,f,c,S){if(u)t.minimumIntegerDigits=h.length;else{if(f&&c)throw new Error("We currently do not support maximum integer digits");if(S)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Aa.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Ri.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ri,function(l,u,h,f,c,S){return h==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:c&&S?(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length+S.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=N(N({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=N(N({},t),Hi(s)));continue}if(La.test(i.stem)){t=N(N({},t),Hi(i.stem));continue}var a=Ia(i.stem);a&&(t=N(N({},t),a));var o=Mc(i.stem);o&&(t=N(N({},t),o))}return t}var Jt={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Oc(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(s&1),o=s<2?1:3+(s>>1),l="a",u=kc(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;a-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function kc(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Jt[n||""]||Jt[r||""]||Jt["".concat(r,"-001")]||Jt["001"];return i[0]}var qr,Dc=new RegExp("^".concat(Na.source,"*")),Pc=new RegExp("".concat(Na.source,"*$"));function R(e,t){return{start:e,end:t}}var Rc=!!String.prototype.startsWith&&"_a".startsWith("a",1),Hc=!!String.fromCodePoint,Cc=!!Object.fromEntries,Nc=!!String.prototype.codePointAt,Lc=!!String.prototype.trimStart,Ac=!!String.prototype.trimEnd,Ic=!!Number.isSafeInteger,Fc=Ic?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},gn=!0;try{var Gc=Ga("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");gn=((qr=Gc.exec("a"))===null||qr===void 0?void 0:qr[0])==="a"}catch(e){gn=!1}var Ni=Rc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},yn=Hc?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,a;i>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Li=Cc?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],a=s[0],o=s[1];r[a]=o}return r},Fa=Nc?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Yc=Lc?function(t){return t.trimStart()}:function(t){return t.replace(Dc,"")},Bc=Ac?function(t){return t.trimEnd()}:function(t){return t.replace(Pc,"")};function Ga(e,t){return new RegExp(e,t)}var bn;if(gn){var Ai=Ga("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bn=function(t,r){var n;Ai.lastIndex=r;var i=Ai.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else bn=function(t,r){for(var n=[];;){var i=Fa(t,r);if(i===void 0||Ya(i)||Vc(i))break;n.push(i),r+=i>=65536?2:1}return yn.apply(void 0,n)};var Uc=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:$.pound,location:R(o,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(P.UNMATCHED_CLOSING_TAG,R(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&vn(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$.literal,value:"<".concat(i,"/>"),location:R(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!vn(this.char()))return this.error(P.INVALID_TAG,R(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(P.UNMATCHED_CLOSING_TAG,R(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$.tag,value:i,children:a,location:R(n,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,R(o,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,R(n,this.clonePosition()))}else return this.error(P.INVALID_TAG,R(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&jc(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=R(n,this.clonePosition());return{val:{type:$.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Wc(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return yn.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),yn(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,R(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(P.MALFORMED_ARGUMENT,R(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$.argument,value:i,location:R(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(P.MALFORMED_ARGUMENT,R(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=bn(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),a=R(t,s);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,R(a,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var c=Bc(f.val);if(c.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,R(this.clonePosition(),this.clonePosition()));var S=R(h,this.clonePosition());u={style:c,styleLocation:S}}var w=this.tryParseArgumentClose(i);if(w.err)return w;var _=R(i,this.clonePosition());if(u&&Ni(u==null?void 0:u.style,"::",0)){var k=Yc(u.style.slice(2));if(o==="number"){var f=this.parseNumberSkeletonFromString(k,u.styleLocation);return f.err?f:{val:{type:$.number,value:n,location:_,style:f.val},err:null}}else{if(k.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,_);var Y=k;this.locale&&(Y=Oc(k,this.locale));var c={type:ot.dateTime,pattern:Y,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?vc(Y):{}},Q=o==="date"?$.date:$.time;return{val:{type:Q,value:n,location:_,style:c},err:null}}}return{val:{type:o==="number"?$.number:o==="date"?$.date:$.time,value:n,location:_,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var F=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,R(F,N({},F)));this.bumpSpace();var M=this.parseIdentifierIfPossible(),j=0;if(o!=="select"&&M.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),M=this.parseIdentifierIfPossible(),j=f.val}var x=this.tryParsePluralOrSelectOptions(t,o,r,M);if(x.err)return x;var w=this.tryParseArgumentClose(i);if(w.err)return w;var fe=R(i,this.clonePosition());return o==="select"?{val:{type:$.select,value:n,options:Li(x.val),location:fe},err:null}:{val:{type:$.plural,value:n,options:Li(x.val),offset:j,pluralType:o==="plural"?"cardinal":"ordinal",location:fe},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,R(a,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,R(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,R(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Sc(t)}catch(i){return this.error(P.INVALID_NUMBER_SKELETON,r)}return{val:{type:ot.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?xc(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,a=!1,o=[],l=new Set,u=i.value,h=i.location;;){if(u.length===0){var f=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;h=R(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(a=!0),this.bumpSpace();var S=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,R(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(t+1,r,n);if(w.err)return w;var _=this.tryParseArgumentClose(S);if(_.err)return _;o.push([u,{value:w.val,location:R(S,this.clonePosition())}]),l.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,h=s.location}return o.length===0?this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,R(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(P.MISSING_OTHER_CLAUSE,R(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)s=!0,a=a*10+(o-48),this.bump();else break}var l=R(i,this.clonePosition());return s?(a*=n,Fc(a)?{val:a,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Fa(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ni(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ya(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function vn(e){return e>=97&&e<=122||e>=65&&e<=90}function Wc(e){return vn(e)||e===47}function jc(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ya(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Vc(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function wn(e){e.forEach(function(t){if(delete t.location,Pa(t)||Ra(t))for(var r in t.options)delete t.options[r].location,wn(t.options[r].value);else Oa(t)&&Ca(t.style)||(ka(t)||Da(t))&&_n(t.style)?delete t.style.location:Ha(t)&&wn(t.children)})}function $c(e,t){t===void 0&&(t={}),t=N({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Uc(e,t).parse();if(r.err){var n=SyntaxError(P[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||wn(r.val),r.val}function Jr(e,t){var r=t&&t.cache?t.cache:Qc,n=t&&t.serializer?t.serializer:Jc,i=t&&t.strategy?t.strategy:Zc;return i(e,{cache:r,serializer:n})}function zc(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ba(e,t,r,n){var i=zc(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Ua(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function zn(e,t,r,n,i){return r.bind(t,e,n,i)}function Zc(e,t){var r=e.length===1?Ba:Ua;return zn(e,this,r,t.cache.create(),t.serializer)}function Xc(e,t){return zn(e,this,Ua,t.cache.create(),t.serializer)}function qc(e,t){return zn(e,this,Ba,t.cache.create(),t.serializer)}var Jc=function(){return JSON.stringify(arguments)};function Zn(){this.cache=Object.create(null)}Zn.prototype.get=function(e){return this.cache[e]};Zn.prototype.set=function(e,t){this.cache[e]=t};var Qc={create:function(){return new Zn}},Qr={variadic:Xc,monadic:qc},lt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(lt||(lt={}));var xr=function(e){Re(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ii=function(e){Re(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),lt.INVALID_VALUE,s)||this}return t}(xr),Kc=function(e){Re(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),lt.INVALID_VALUE,i)||this}return t}(xr),ed=function(e){Re(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),lt.MISSING_VALUE,n)||this}return t}(xr),te;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(te||(te={}));function td(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==te.literal||r.type!==te.literal?t.push(r):n.value+=r.value,t},[])}function rd(e){return typeof e=="function"}function nr(e,t,r,n,i,s,a){if(e.length===1&&Pi(e[0]))return[{type:te.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var h=u[l];if(Pi(h)){o.push({type:te.literal,value:h.value});continue}if(yc(h)){typeof s=="number"&&o.push({type:te.literal,value:r.getNumberFormat(t).format(s)});continue}var f=h.value;if(!(i&&f in i))throw new ed(f,a);var c=i[f];if(gc(h)){(!c||typeof c=="string"||typeof c=="number")&&(c=typeof c=="string"||typeof c=="number"?String(c):""),o.push({type:typeof c=="string"?te.literal:te.object,value:c});continue}if(ka(h)){var S=typeof h.style=="string"?n.date[h.style]:_n(h.style)?h.style.parsedOptions:void 0;o.push({type:te.literal,value:r.getDateTimeFormat(t,S).format(c)});continue}if(Da(h)){var S=typeof h.style=="string"?n.time[h.style]:_n(h.style)?h.style.parsedOptions:n.time.medium;o.push({type:te.literal,value:r.getDateTimeFormat(t,S).format(c)});continue}if(Oa(h)){var S=typeof h.style=="string"?n.number[h.style]:Ca(h.style)?h.style.parsedOptions:void 0;S&&S.scale&&(c=c*(S.scale||1)),o.push({type:te.literal,value:r.getNumberFormat(t,S).format(c)});continue}if(Ha(h)){var w=h.children,_=h.value,k=i[_];if(!rd(k))throw new Kc(_,"function",a);var Y=nr(w,t,r,n,i,s),Q=k(Y.map(function(j){return j.value}));Array.isArray(Q)||(Q=[Q]),o.push.apply(o,Q.map(function(j){return{type:typeof j=="string"?te.literal:te.object,value:j}}))}if(Pa(h)){var F=h.options[c]||h.options.other;if(!F)throw new Ii(h.value,c,Object.keys(h.options),a);o.push.apply(o,nr(F.value,t,r,n,i));continue}if(Ra(h)){var F=h.options["=".concat(c)];if(!F){if(!Intl.PluralRules)throw new xr(`Intl.PluralRules is not available in this environment.
|
|
13
13
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
14
|
-
`,lt.MISSING_INTL_API,a);var M=r.getPluralRules(t,{type:f.pluralType}).select(c-(f.offset||0));F=f.options[M]||f.options.other}if(!F)throw new Ii(f.value,c,Object.keys(f.options),a);o.push.apply(o,nr(F.value,t,r,n,i,c-(f.offset||0)));continue}}return rd(o)}function id(e,t){return t?C(C(C({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=C(C({},e[n]),t[n]||{}),r},{})):e}function sd(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=id(e[n],t[n]),r},C({},e)):e}function Kr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function ad(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Jr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,st([void 0],r,!1)))},{cache:Kr(e.number),strategy:Qr.variadic}),getDateTimeFormat:Jr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,st([void 0],r,!1)))},{cache:Kr(e.dateTime),strategy:Qr.variadic}),getPluralRules:Jr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,st([void 0],r,!1)))},{cache:Kr(e.pluralRules),strategy:Qr.variadic})}}var od=function(){function e(t,r,n,i){var s=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(h,c){return!h.length||c.type!==te.literal||typeof h[h.length-1]!="string"?h.push(c.value):h[h.length-1]+=c.value,h},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return nr(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var o=Uh(a,["formatters"]);this.ast=e.__parse(t,C(C({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=sd(e.formats,n),this.formatters=i&&i.formatters||ad(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=zc,e.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"}}},e}();function ld(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const Ae={},ud=(e,t,r)=>r&&(t in Ae||(Ae[t]={}),e in Ae[t]||(Ae[t][e]=r),r),Wa=(e,t)=>{if(t==null)return;if(t in Ae&&e in Ae[t])return Ae[t][e];const r=Or(t);for(let n=0;n<r.length;n++){const i=r[n],s=hd(i,e);if(s)return ud(e,t,s)}};let Xn;const At=Mr({});function fd(e){return Xn[e]||null}function ja(e){return e in Xn}function hd(e,t){if(!ja(e))return null;const r=fd(e);return ld(r,t)}function cd(e){if(e==null)return;const t=Or(e);for(let r=0;r<t.length;r++){const n=t[r];if(ja(n))return n}}function qn(e,...t){delete Ae[e],At.update(r=>(r[e]=gc.all([r[e]||{},...t]),r))}dt([At],([e])=>Object.keys(e));At.subscribe(e=>Xn=e);const ir={};function dd(e,t){ir[e].delete(t),ir[e].size===0&&delete ir[e]}function Va(e){return ir[e]}function md(e){return Or(e).map(t=>{const r=Va(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Sn(e){return e==null?!1:Or(e).some(t=>{var r;return(r=Va(t))==null?void 0:r.size})}function pd(e,t){return Promise.all(t.map(n=>(dd(e,n),n().then(i=>i.default||i)))).then(n=>qn(e,...n))}const bt={};function $a(e){if(!Sn(e))return e in bt?bt[e]:Promise.resolve();const t=md(e);return bt[e]=Promise.all(t.map(([r,n])=>pd(r,n))).then(()=>{if(Sn(e))return $a(e);delete bt[e]}),bt[e]}const _d={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"}}},gd={fallbackLocale:null,loadingDelay:200,formats:_d,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},yd=gd;function ut(){return yd}const en=Mr(!1);var bd=Object.defineProperty,vd=Object.defineProperties,wd=Object.getOwnPropertyDescriptors,Fi=Object.getOwnPropertySymbols,Sd=Object.prototype.hasOwnProperty,Td=Object.prototype.propertyIsEnumerable,Yi=(e,t,r)=>t in e?bd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ed=(e,t)=>{for(var r in t||(t={}))Sd.call(t,r)&&Yi(e,r,t[r]);if(Fi)for(var r of Fi(t))Td.call(t,r)&&Yi(e,r,t[r]);return e},Md=(e,t)=>vd(e,wd(t));let Tn;const hr=Mr(null);function Gi(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Or(e,t=ut().fallbackLocale){const r=Gi(e);return t?[...new Set([...r,...Gi(t)])]:r}function ze(){return Tn!=null?Tn:void 0}hr.subscribe(e=>{Tn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const xd=e=>{if(e&&cd(e)&&Sn(e)){const{loadingDelay:t}=ut();let r;return typeof window!="undefined"&&ze()!=null&&t?r=window.setTimeout(()=>en.set(!0),t):en.set(!0),$a(e).then(()=>{hr.set(e)}).finally(()=>{clearTimeout(r),en.set(!1)})}return hr.set(e)},Ze=Md(Ed({},hr),{set:xd}),kr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Od=Object.defineProperty,cr=Object.getOwnPropertySymbols,za=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,Bi=(e,t,r)=>t in e?Od(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Jn=(e,t)=>{for(var r in t||(t={}))za.call(t,r)&&Bi(e,r,t[r]);if(cr)for(var r of cr(t))Za.call(t,r)&&Bi(e,r,t[r]);return e},mt=(e,t)=>{var r={};for(var n in e)za.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&cr)for(var n of cr(e))t.indexOf(n)<0&&Za.call(e,n)&&(r[n]=e[n]);return r};const Ht=(e,t)=>{const{formats:r}=ut();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},kd=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Ht("number",n)),new Intl.NumberFormat(r,i)}),Dd=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Ht("date",n):Object.keys(i).length===0&&(i=Ht("date","short")),new Intl.DateTimeFormat(r,i)}),Pd=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Ht("time",n):Object.keys(i).length===0&&(i=Ht("time","short")),new Intl.DateTimeFormat(r,i)}),Hd=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return kd(Jn({locale:r},n))},Rd=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return Dd(Jn({locale:r},n))},Nd=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return Pd(Jn({locale:r},n))},Cd=kr((e,t=ze())=>new od(e,t,ut().formats,{ignoreTag:ut().ignoreTag})),Ld=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=ze(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Wa(e,l);if(!f)f=(s=(i=(n=(r=ut()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!o)return f;let h=f;try{h=Cd(f,l).format(o)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return h},Ad=(e,t)=>Nd(t).format(e),Id=(e,t)=>Rd(t).format(e),Fd=(e,t)=>Hd(t).format(e),Yd=(e,t=ze())=>Wa(e,t),Xa=dt([Ze,At],()=>Ld);dt([Ze],()=>Ad);dt([Ze],()=>Id);dt([Ze],()=>Fd);dt([Ze,At],()=>Yd);window.emWidgets={topic:tc};const qa=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Gd(e,t){return new Promise((r,n)=>{const i=new Headers;i.append("X-SessionID",t);const s={method:"GET",headers:i};fetch(`${e}/v1/player/session/player`,s).then(a=>a.json()).then(a=>r(a)).catch(a=>n(a))})}function Ui(e,t){qn(e,t)}function Bd(e){Ze.set(e)}const Wi={en:{timeText:"Time",sessionTimer:"Logged in for"},fr:{timeText:"Temps",sessionTimer:"Connecté pour"},ro:{timeText:"Ora",sessionTimer:"Online de"},es:{timeText:"Hora",sessionTimer:"Tiempo sesión"},pt:{timeText:"Categorias",sessionTimer:"Logged in for"},hr:{timeText:"Vrijeme",sessionTimer:"Prijavljen za"},"pt-br":{timeText:"Tempo",sessionTimer:"Tempo de sessão"},"es-mx":{timeText:"Tiempo",sessionTimer:"Tiempo de sesión"},tr:{timeText:"Zaman",sessionTimer:"Giriş süresi"}},{document:ji}=wo;function Ud(e){vs(e,"svelte-1wuteef",".SearchLoading.svelte-1wuteef.svelte-1wuteef{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.FooterGrid.svelte-1wuteef.svelte-1wuteef{font-weight:400;display:flex;padding:10px 40px;background-color:var(--emfe-w-color-footer-bg, var(--emfe-w-color-background-secondary, #212529));color:var(--emfe-w-color-white, #FFFFFF);flex-direction:column;align-items:center;justify-content:center}.FooterGrid.NoSponsorSpacing.svelte-1wuteef.svelte-1wuteef{padding-top:30px}.FooterGrid.svelte-1wuteef .GridRow.svelte-1wuteef{display:flex;flex-flow:row wrap;width:100%;padding:20px 0;align-items:flex-start;justify-content:center}.FooterGrid.svelte-1wuteef .GridRow.svelte-1wuteef:first-child{padding-top:0}.FooterGrid.svelte-1wuteef .GridRow.svelte-1wuteef:not(:last-child){border-bottom:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid.svelte-1wuteef .GridRow.LicenseRow.svelte-1wuteef{border-bottom:0}.FooterGrid.svelte-1wuteef .GridRow.SplitRow .GridCol.svelte-1wuteef:first-child{flex-basis:50%}.FooterGrid.svelte-1wuteef .GridRow.SplitRow .GridCol.svelte-1wuteef:nth-child(2){flex-basis:calc(50% - 1px);border-left:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid.svelte-1wuteef .GridRow.ProvisionalRow.svelte-1wuteef{padding-top:12px;justify-content:space-between;align-items:center}.FooterGrid.svelte-1wuteef .GridRow .GridCol.svelte-1wuteef{width:100%;flex:1}.FooterGrid.svelte-1wuteef .GridRow .GridCol p.svelte-1wuteef{text-align:center}.FooterGrid.svelte-1wuteef .GridRow .GridCol p.FooterTitle.svelte-1wuteef{font-size:12px;font-weight:700}.FooterGrid.svelte-1wuteef .DetailedLicenses.svelte-1wuteef{margin:30px 50px 20px;font-size:10px;text-align:center;color:var(--emfe-w-color-gray-150, #828282)}.FooterGrid.svelte-1wuteef .CopyrightAreaRights.svelte-1wuteef{margin-top:10px}.FooterGrid.svelte-1wuteef .CopyrightTextArea p.svelte-1wuteef,.FooterGrid.svelte-1wuteef .CopyrightArea p.svelte-1wuteef{margin:0;color:var(--emfe-w-color-gray-150, #828282);font-size:9px}@media only screen and (max-width: 768px){.FooterGrid.svelte-1wuteef.svelte-1wuteef{padding:5px 20px}.FooterGrid.svelte-1wuteef .FooterTitle.svelte-1wuteef{margin-top:0}.FooterGrid.svelte-1wuteef .GridRow.svelte-1wuteef{padding:0}.FooterGrid.svelte-1wuteef .GridRow.svelte-1wuteef:not(:last-child){border-bottom:0}.FooterGrid.svelte-1wuteef .GridRow:not(:last-child).ProvisionalRow.svelte-1wuteef{padding-top:12px;justify-content:space-between;flex-direction:column;align-items:center;gap:1rem}.FooterGrid.svelte-1wuteef .GridRow:last-child .GridCol.svelte-1wuteef:last-child{border-bottom:0}.FooterGrid.svelte-1wuteef .GridRow.SplitRow .GridCol.svelte-1wuteef:first-child,.FooterGrid.svelte-1wuteef .GridRow.SplitRow .GridCol.svelte-1wuteef:nth-child(2){flex-basis:unset}.FooterGrid.svelte-1wuteef .GridRow.SplitRow .GridCol.svelte-1wuteef:nth-child(2){border-left:none}.FooterGrid.svelte-1wuteef .GridRow .GridCol.svelte-1wuteef{border-bottom:1px solid rgba(255, 255, 255, 0.1);padding:15px 0}}.ClockContainer.svelte-1wuteef.svelte-1wuteef{color:var(--emfe-w-color-gray-150, #c3c3c3)}.SessionText.svelte-1wuteef.svelte-1wuteef{color:var(--emfe-w-color-gray-150, #c3c3c3)}.ItemLanguage.svelte-1wuteef.svelte-1wuteef{display:none}#languageList.svelte-1wuteef.svelte-1wuteef{padding:0;margin:0}.languageSelectorOverlay.svelte-1wuteef.svelte-1wuteef{position:relative}.drawerButton.svelte-1wuteef.svelte-1wuteef{height:30px;width:150px;background:#212529;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-evenly;align-items:center;border-radius:0px;border:0}.languageDrawer.svelte-1wuteef.svelte-1wuteef{position:absolute;background:#363e46;width:150px;top:30px;padding:6px 0}.languageDrawer.hidden.svelte-1wuteef.svelte-1wuteef{display:none}.languageFlag.svelte-1wuteef.svelte-1wuteef{margin-right:8px;background:white;border-radius:50%;width:14px;height:14px}.downwardChevron.svelte-1wuteef.svelte-1wuteef{margin-left:8px;margin-top:4px;width:8px;height:auto}.overlayLanguageOption.svelte-1wuteef.svelte-1wuteef{list-style:none;width:24px;position:relative;padding:0;justify-content:center}.overlayLanguageOption.svelte-1wuteef img.svelte-1wuteef{position:absolute;z-index:0;cursor:pointer;top:6px;left:12px}.overlayLanguageOption.svelte-1wuteef a.svelte-1wuteef{text-decoration:none;color:#fff;display:inline-block;width:150px}.overlayLanguageOption.svelte-1wuteef a span.svelte-1wuteef{width:100%;display:flex;justify-content:center;margin:4px 0}")}function Vi(e,t,r){const n=e.slice();return n[74]=t[r],n}function $i(e,t,r){const n=e.slice();return n[77]=t[r],n}function zi(e){let t,r;return{c(){t=E("script"),Ie(t.src,r=e[28])||m(t,"src",r)},m(n,i){A(n,t,i)},p(n,i){i[0]&268435456&&!Ie(t.src,r=n[28])&&m(t,"src",r)},d(n){n&&R(t)}}}function Wd(e){let t,r,n,i,s,a,o,l,u=(e[3]==="true"||e[5]==="true"||e[6]==="true")&&Zi(e),f=e[7]==="true"&&localStorage.session&&es(e),h=e[16]&&ts(e),c=(e[14]||e[12])&&is(e),S=(e[18]||e[20])&&us(e),w=(e[24]||e[23])&&ms(e);return{c(){t=E("div"),u&&u.c(),r=z(),f&&f.c(),n=z(),h&&h.c(),i=z(),c&&c.c(),s=z(),S&&S.c(),a=z(),w&&w.c(),m(t,"class",o="FooterGrid "+(e[16]?"":"NoSponsorSpacing")+" svelte-1wuteef"),m(t,"part",l="FooterGrid "+(e[16]?"":"NoSponsorSpacing"))},m(_,k){A(_,t,k),u&&u.m(t,null),v(t,r),f&&f.m(t,null),v(t,n),h&&h.m(t,null),v(t,i),c&&c.m(t,null),v(t,s),S&&S.m(t,null),v(t,a),w&&w.m(t,null)},p(_,k){_[3]==="true"||_[5]==="true"||_[6]==="true"?u?u.p(_,k):(u=Zi(_),u.c(),u.m(t,r)):u&&(u.d(1),u=null),_[7]==="true"&&localStorage.session?f?f.p(_,k):(f=es(_),f.c(),f.m(t,n)):f&&(f.d(1),f=null),_[16]?h?h.p(_,k):(h=ts(_),h.c(),h.m(t,i)):h&&(h.d(1),h=null),_[14]||_[12]?c?c.p(_,k):(c=is(_),c.c(),c.m(t,s)):c&&(c.d(1),c=null),_[18]||_[20]?S?S.p(_,k):(S=us(_),S.c(),S.m(t,a)):S&&(S.d(1),S=null),_[24]||_[23]?w?w.p(_,k):(w=ms(_),w.c(),w.m(t,null)):w&&(w.d(1),w=null),k[0]&65536&&o!==(o="FooterGrid "+(_[16]?"":"NoSponsorSpacing")+" svelte-1wuteef")&&m(t,"class",o),k[0]&65536&&l!==(l="FooterGrid "+(_[16]?"":"NoSponsorSpacing"))&&m(t,"part",l)},d(_){_&&R(t),u&&u.d(),f&&f.d(),h&&h.d(),c&&c.d(),S&&S.d(),w&&w.d()}}}function jd(e){let t;return{c(){t=E("p"),t.textContent="Loading ...",m(t,"class","SearchLoading svelte-1wuteef"),m(t,"part","SearchLoading")},m(r,n){A(r,t,n)},p:re,d(r){r&&R(t)}}}function Vd(e){let t;return{c(){t=E("p"),t.textContent="500 Error - Internal Server Error",m(t,"class","SearchLoading svelte-1wuteef"),m(t,"part","SearchLoading")},m(r,n){A(r,t,n)},p:re,d(r){r&&R(t)}}}function Zi(e){let t,r,n,i=e[3]==="true"&&Xi(e),s=e[6]==="true"&&qi(e),a=e[5]==="true"&&e[36]&&e[30]&&Ji(e);return{c(){t=E("div"),i&&i.c(),r=z(),s&&s.c(),n=z(),a&&a.c(),m(t,"class","GridRow ProvisionalRow svelte-1wuteef"),m(t,"part","GridRow")},m(o,l){A(o,t,l),i&&i.m(t,null),v(t,r),s&&s.m(t,null),v(t,n),a&&a.m(t,null)},p(o,l){o[3]==="true"?i?i.p(o,l):(i=Xi(o),i.c(),i.m(t,r)):i&&(i.d(1),i=null),o[6]==="true"?s?s.p(o,l):(s=qi(o),s.c(),s.m(t,n)):s&&(s.d(1),s=null),o[5]==="true"&&o[36]&&o[30]?a?a.p(o,l):(a=Ji(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(o){o&&R(t),i&&i.d(),s&&s.d(),a&&a.d()}}}function Xi(e){let t,r,n,i,s,a,o;return{c(){t=E("div"),r=E("span"),n=K(e[4]),i=K(":"),s=z(),a=E("span"),o=K(e[31]),m(r,"class","ClockText"),m(a,"class","ClockTime"),m(t,"class","ClockContainer svelte-1wuteef")},m(l,u){A(l,t,u),v(t,r),v(r,n),v(r,i),v(t,s),v(t,a),v(a,o)},p(l,u){u[0]&16&&ie(n,l[4]),u[1]&1&&ie(o,l[31])},d(l){l&&R(t)}}}function qi(e){let t;return{c(){t=E("player-panic-button"),g(t,"lang",e[1])},m(r,n){A(r,t,n)},p(r,n){n[0]&2&&g(t,"lang",r[1])},d(r){r&&R(t)}}}function Ji(e){let t,r,n,i,s,a,o,l,u,f,h,c,S,w,_,k=vt(e[32]),G=[];for(let M=0;M<k.length;M+=1)G[M]=Qi($i(e,k,M));let Q=vt(e[9]),F=[];for(let M=0;M<Q.length;M+=1)F[M]=Ki(Vi(e,Q,M));return{c(){t=E("div"),r=E("select");for(let M=0;M<G.length;M+=1)G[M].c();n=z(),i=E("div"),s=E("button"),a=E("img"),l=K(e[34]),u=E("img"),h=z(),c=E("div"),S=E("ul");for(let M=0;M<F.length;M+=1)F[M].c();m(r,"class","Item ItemLanguage svelte-1wuteef"),m(r,"part","Item ItemLanguage"),e[30]===void 0&&sr(()=>e[55].call(r)),m(a,"class","languageFlag svelte-1wuteef"),Ie(a.src,o=e[35])||m(a,"src",o),m(u,"class","downwardChevron svelte-1wuteef"),Ie(u.src,f="https://upload.wikimedia.org/wikipedia/commons/2/24/White_arrow_down.svg")||m(u,"src",f),m(s,"class","drawerButton svelte-1wuteef"),s.value=e[30],m(S,"id","languageList"),m(S,"class","svelte-1wuteef"),m(c,"class","languageDrawer hidden svelte-1wuteef"),m(i,"class","languageSelectorOverlay svelte-1wuteef"),m(t,"class","languageSelectorContainer")},m(M,j){A(M,t,j),v(t,r);for(let x=0;x<G.length;x+=1)G[x]&&G[x].m(r,null);mi(r,e[30],!0),v(t,n),v(t,i),v(i,s),v(s,a),v(s,l),v(s,u),v(i,h),v(i,c),v(c,S);for(let x=0;x<F.length;x+=1)F[x]&&F[x].m(S,null);e[57](c),w||(_=[wt(r,"change",e[55]),wt(r,"change",e[56]),wt(s,"click",e[41])],w=!0)},p(M,j){if(j[1]&2){k=vt(M[32]);let x;for(x=0;x<k.length;x+=1){const he=$i(M,k,x);G[x]?G[x].p(he,j):(G[x]=Qi(he),G[x].c(),G[x].m(r,null))}for(;x<G.length;x+=1)G[x].d(1);G.length=k.length}if(j[0]&1073741824|j[1]&2&&mi(r,M[30]),j[1]&16&&!Ie(a.src,o=M[35])&&m(a,"src",o),j[1]&8&&ie(l,M[34]),j[0]&1073741824|j[1]&2&&(s.value=M[30]),j[0]&512|j[1]&2048){Q=vt(M[9]);let x;for(x=0;x<Q.length;x+=1){const he=Vi(M,Q,x);F[x]?F[x].p(he,j):(F[x]=Ki(he),F[x].c(),F[x].m(S,null))}for(;x<F.length;x+=1)F[x].d(1);F.length=Q.length}},d(M){M&&R(t),tn(G,M),tn(F,M),e[57](null),w=!1,Ve(_)}}}function Qi(e){let t,r=e[77]+"",n,i;return{c(){t=E("option"),n=K(r),t.__value=i=e[77],di(t,t.__value),t.selected=!0},m(s,a){A(s,t,a),v(t,n)},p(s,a){a[1]&2&&r!==(r=s[77]+"")&&ie(n,r),a[1]&2&&i!==(i=s[77])&&(t.__value=i,di(t,t.__value))},d(s){s&&R(t)}}}function Ki(e){let t,r,n,i,s,a=e[74].name+"",o,l,u,f;return{c(){t=E("li"),r=E("img"),i=E("a"),s=E("span"),o=K(a),m(r,"class","languageFlag svelte-1wuteef"),Ie(r.src,n=e[74].flag_icon_editable)||m(r,"src",n),m(s,"class","svelte-1wuteef"),m(i,"href","javascript:void(0)"),m(i,"class","svelte-1wuteef"),m(t,"class","overlayLanguageOption svelte-1wuteef"),m(t,"data-lang",l=e[74].code)},m(h,c){A(h,t,c),v(t,r),v(t,i),v(i,s),v(s,o),u||(f=wt(t,"click",e[42]),u=!0)},p(h,c){c[0]&512&&!Ie(r.src,n=h[74].flag_icon_editable)&&m(r,"src",n),c[0]&512&&a!==(a=h[74].name+"")&&ie(o,a),c[0]&512&&l!==(l=h[74].code)&&m(t,"data-lang",l)},d(h){h&&R(t),u=!1,f()}}}function es(e){let t,r,n,i=e[38]("sessionTimer")+"",s,a,o;return{c(){t=E("div"),r=E("div"),n=E("span"),s=K(i),a=z(),o=K(e[37]),m(n,"class","SessionText svelte-1wuteef"),m(r,"class","sessionTimerContainer"),m(t,"class","GridRow ProvisionalRow svelte-1wuteef"),m(t,"part","GridRow")},m(l,u){A(l,t,u),v(t,r),v(r,n),v(n,s),v(n,a),v(n,o)},p(l,u){u[1]&128&&i!==(i=l[38]("sessionTimer")+"")&&ie(s,i),u[1]&64&&ie(o,l[37])},d(l){l&&R(t)}}}function ts(e){let t,r=e[16]&&rs(e);return{c(){t=E("div"),r&&r.c(),m(t,"class","GridRow svelte-1wuteef"),m(t,"part","GridRow")},m(n,i){A(n,t,i),r&&r.m(t,null)},p(n,i){n[16]?r?r.p(n,i):(r=rs(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(n){n&&R(t),r&&r.d()}}}function rs(e){let t,r,n,i=e[15]&&ns(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"sponsorflag","1"),g(n,"clientstyling",e[0]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol svelte-1wuteef"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[15]?i?i.p(s,a):(i=ns(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&R(t),i&&i.d()}}}function ns(e){let t,r;return{c(){t=E("p"),r=K(e[15]),m(t,"class","FooterTitle svelte-1wuteef"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&32768&&ie(r,n[15])},d(n){n&&R(t)}}}function is(e){let t,r,n,i,s=e[14]&&ss(e),a=e[12]&&os(e);return{c(){t=E("div"),s&&s.c(),r=z(),a&&a.c(),m(t,"class",n="GridRow "+(e[14]&&e[12]?"SplitRow":"")+" svelte-1wuteef"),m(t,"part",i="GridRow "+(e[14]&&e[12]?"SplitRow":""))},m(o,l){A(o,t,l),s&&s.m(t,null),v(t,r),a&&a.m(t,null)},p(o,l){o[14]?s?s.p(o,l):(s=ss(o),s.c(),s.m(t,r)):s&&(s.d(1),s=null),o[12]?a?a.p(o,l):(a=os(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null),l[0]&20480&&n!==(n="GridRow "+(o[14]&&o[12]?"SplitRow":"")+" svelte-1wuteef")&&m(t,"class",n),l[0]&20480&&i!==(i="GridRow "+(o[14]&&o[12]?"SplitRow":""))&&m(t,"part",i)},d(o){o&&R(t),s&&s.d(),a&&a.d()}}}function ss(e){let t,r,n,i=e[13]&&as(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"paymentflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol svelte-1wuteef"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[13]?i?i.p(s,a):(i=as(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&R(t),i&&i.d()}}}function as(e){let t,r;return{c(){t=E("p"),r=K(e[13]),m(t,"class","FooterTitle svelte-1wuteef"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&8192&&ie(r,n[13])},d(n){n&&R(t)}}}function os(e){let t,r,n,i=e[11]&&ls(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"vendorflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol svelte-1wuteef"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[11]?i?i.p(s,a):(i=ls(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&R(t),i&&i.d()}}}function ls(e){let t,r;return{c(){t=E("p"),r=K(e[11]),m(t,"class","FooterTitle svelte-1wuteef"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&2048&&ie(r,n[11])},d(n){n&&R(t)}}}function us(e){let t,r,n,i,s=e[18]&&fs(e),a=e[20]&&cs(e);return{c(){t=E("div"),s&&s.c(),r=z(),a&&a.c(),m(t,"class",n="GridRow "+(e[18]&&e[20]?"SplitRow":"")+" svelte-1wuteef"),m(t,"part",i="GridRow "+(e[18]&&e[20]?"SplitRow":""))},m(o,l){A(o,t,l),s&&s.m(t,null),v(t,r),a&&a.m(t,null)},p(o,l){o[18]?s?s.p(o,l):(s=fs(o),s.c(),s.m(t,r)):s&&(s.d(1),s=null),o[20]?a?a.p(o,l):(a=cs(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null),l[0]&1310720&&n!==(n="GridRow "+(o[18]&&o[20]?"SplitRow":"")+" svelte-1wuteef")&&m(t,"class",n),l[0]&1310720&&i!==(i="GridRow "+(o[18]&&o[20]?"SplitRow":""))&&m(t,"part",i)},d(o){o&&R(t),s&&s.d(),a&&a.d()}}}function fs(e){let t,r,n,i=e[17]&&hs(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"helperflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol svelte-1wuteef"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[17]?i?i.p(s,a):(i=hs(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&R(t),i&&i.d()}}}function hs(e){let t,r;return{c(){t=E("p"),r=K(e[17]),m(t,"class","FooterTitle svelte-1wuteef"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&131072&&ie(r,n[17])},d(n){n&&R(t)}}}function cs(e){let t,r,n,i=e[19]&&ds(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"licenseFlag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol svelte-1wuteef"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[19]?i?i.p(s,a):(i=ds(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&R(t),i&&i.d()}}}function ds(e){let t,r;return{c(){t=E("p"),r=K(e[19]),m(t,"class","FooterTitle svelte-1wuteef"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&524288&&ie(r,n[19])},d(n){n&&R(t)}}}function ms(e){let t,r,n,i,s,a,o,l,u,f,h,c,S,w=e[22]&&ps(e);return{c(){t=E("div"),r=E("div"),n=E("div"),s=z(),a=E("div"),l=z(),w&&w.c(),u=z(),f=E("div"),m(n,"class","DetailedLicenses svelte-1wuteef"),m(n,"part","DetailedLicenses"),m(a,"class","DetailedCustomLicenses"),m(a,"part","DetailedCustomLicenses"),m(f,"class","CopyrightAreaRights CopyrightArea svelte-1wuteef"),m(f,"part","CopyrightAreaRights CopyrightArea"),m(r,"class","GridCol svelte-1wuteef"),m(r,"part","GridCol"),m(t,"class","GridRow LicenseRow svelte-1wuteef"),m(t,"part","GridRow LicenseRow")},m(_,k){A(_,t,k),v(t,r),v(r,n),v(r,s),v(r,a),v(r,l),w&&w.m(r,null),v(r,u),v(r,f),c||(S=[Ur(i=e[39].call(null,n,e[24])),Ur(o=e[39].call(null,a,e[29])),Ur(h=e[39].call(null,f,e[23]))],c=!0)},p(_,k){i&&We(i.update)&&k[0]&16777216&&i.update.call(null,_[24]),o&&We(o.update)&&k[0]&536870912&&o.update.call(null,_[29]),_[22]?w?w.p(_,k):(w=ps(_),w.c(),w.m(r,u)):w&&(w.d(1),w=null),h&&We(h.update)&&k[0]&8388608&&h.update.call(null,_[23])},d(_){_&&R(t),w&&w.d(),c=!1,Ve(S)}}}function ps(e){let t,r,n=e[21]&&_s(e);return{c(){n&&n.c(),t=z(),r=E("casino-footer-section"),g(r,"class","FooterSection SocialSection"),g(r,"part","FooterSection SocialSection"),g(r,"socialflag","1"),g(r,"clientstyling",e[0]),g(r,"clientstylingurl",e[2]),g(r,"baseurl",e[8]),g(r,"lang",e[1]),g(r,"footertype","footerprimary")},m(i,s){n&&n.m(i,s),A(i,t,s),A(i,r,s)},p(i,s){i[21]?n?n.p(i,s):(n=_s(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),s[0]&1&&g(r,"clientstyling",i[0]),s[0]&4&&g(r,"clientstylingurl",i[2]),s[0]&256&&g(r,"baseurl",i[8]),s[0]&2&&g(r,"lang",i[1])},d(i){i&&(R(t),R(r)),n&&n.d(i)}}}function _s(e){let t,r;return{c(){t=E("p"),r=K(e[21]),m(t,"class","FooterTitle svelte-1wuteef"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&2097152&&ie(r,n[21])},d(n){n&&R(t)}}}function $d(e){let t,r,n,i=e[27]&&zi(e);function s(l,u){return l[25]?Vd:l[26]?jd:Wd}let a=s(e),o=a(e);return{c(){i&&i.c(),t=ws(),r=z(),n=E("div"),o.c()},m(l,u){i&&i.m(ji.head,null),v(ji.head,t),A(l,r,u),A(l,n,u),o.m(n,null),e[58](n)},p(l,u){l[27]?i?i.p(l,u):(i=zi(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a===(a=s(l))&&o?o.p(l,u):(o.d(1),o=a(l),o&&(o.c(),o.m(n,null)))},i:re,o:re,d(l){l&&(R(r),R(n)),i&&i.d(l),R(t),o.d(),e[58](null)}}}function zd(e,t,r){let n;bs(e,Xa,p=>r(38,n=p));let{endpoint:i=""}=t,{lang:s="en"}=t,{env:a=""}=t,{clientstyling:o=""}=t,{clientstylingurl:l=""}=t,{translationurl:u=""}=t,{clockenabled:f=""}=t,{clocksecondsenabled:h=""}=t,{clockcustomformat:c=""}=t,{clocktext:S="Time"}=t,{languageselectorenabled:w="true"}=t,{languageslist:_="en, ro"}=t,{languagedisplaytype:k="name"}=t,{session:G=""}=t,{userid:Q=""}=t,{userendpoint:F=""}=t,{userroles:M=""}=t,{panicbuttonenabled:j="true"}=t,{sessiontimerenabled:x="true"}=t,{baseurl:he=""}=t,Dr="",It=[],Pr="",Ft=[],Hr="",Yt=[],Rr="",Gt=[],Nr="",Bt=[],Cr="",Ut=[],Lr="",Ar="",Ir=!1,Wt=!1,Qn,Kn=!1,ei="",ti="",jt=!1,Re="hr",Ne=[],Qa=window.navigator.userAgent,ri,ni,pt=[],_t,Fr="",ii="",si=!1,ai="";const Ka=()=>{fetch(u).then(B=>B.json()).then(B=>{Object.keys(B).forEach(X=>{Ui(X,B[X])})}).catch(B=>{console.log(B)})};let Ye;Object.keys(Wi).forEach(p=>{Ui(p,Wi[p])});const eo=()=>{Gd(F,G).then(p=>{p.Guid,p.UserID,r(54,jt=!0)},p=>{r(54,jt=!1),console.error("Error while checking the session - ",p)})},to=()=>{const p=JSON.parse(localStorage.session),B=new Date(p.Login),X=new Date().getTimezoneOffset()/60;let se=new Date().getTime()-B.getTime(),Ge=Math.floor(se/36e5)+X,Vt=Math.floor(se%36e5/6e4),$t=Math.floor(se%6e4/1e3);setInterval(()=>{Ge=Math.floor(se/36e5)+X,Vt=Math.floor(se%36e5/6e4),$t=Math.floor(se%6e4/1e3),r(37,ai=`${Ge>9?Ge:"0"+Ge}:${Vt>9?Vt:"0"+Vt}:${$t>9?$t:"0"+$t}`),se+=1e3},1e3)},ro=()=>{setInterval(()=>{oi()},ni)},oi=()=>{const p=c!="false"?c:`hh:mm${h==="true"?":ss":""} (UTC Z)`;r(31,ri=y().format(p))},no=()=>{let p=new URL(`${i}/${s}/footer-raw-data?env=${a}`),B=qa(Qa);p.searchParams.append("userRoles",M),B&&(B==="PC"?p.searchParams.append("device","dk"):p.searchParams.append("device","mtWeb")),r(25,Ir=!1),r(26,Wt=!0),fetch(p).then(X=>X.json()).then(X=>{r(26,Wt=!1),Qn=X;let ce,se,Ge;r(11,{gameVendorsLinksTitle:Dr,gameVendorsRepeater:It,paymentLinksTitle:Pr,paymentMethodsRepeater:Ft,sponsorsLinksTitle:Hr,sponsorsRepeater:Yt,helpLinksTitle:Rr,helpLinksRepeater:Gt,licensesLinksTitle:Nr,licensesRepeater:Bt,socialLinksTitle:Cr,socialLinksRepeater:Ut,copyright:Lr,licenseDesc:Ar,licenseHeadScriptSrc:ce,licenseScriptBody:se,licenseEvent:Ge,language:Ne}=Qn,Dr,r(12,It),r(13,Pr),r(14,Ft),r(15,Hr),r(16,Yt),r(17,Rr),r(18,Gt),r(19,Nr),r(20,Bt),r(21,Cr),r(22,Ut),r(23,Lr),r(24,Ar),r(9,Ne)),Ne&&(r(36,si=!0),Gr()),(ce==null?void 0:ce.length)>0&&(r(27,Kn=!0),r(28,ei=ce)),(se==null?void 0:se.length)>0&&r(29,ti=se),window.postMessage({type:Ge},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:It,paymentMethodsRepeater:Ft,sponsorsRepeater:Yt,helpLinksRepeater:Gt,licensesRepeater:Bt,socialLinksRepeater:Ut},window.location.href)}).catch(X=>{r(25,Ir=!0),r(26,Wt=!1),console.error(X)})},io=(p,B)=>{let X=document.createElement("div");X.innerHTML=B,p.append(X)},Yr=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:Re},window.location.href)},so=()=>{_t.classList.toggle("hidden")},ao=p=>{let B=p.target.closest(".overlayLanguageOption");r(30,Re=B.getAttribute("data-lang")),Yr(),Gr(),_t.classList.toggle("hidden")},Gr=()=>{let p=!1;Ne.forEach((B,X)=>{if(B.code==Re.toLowerCase()){p=!0;let ce="";switch(r(35,ii=B.flag_icon_editable),k){case"name":ce=B.name;break;case"translatedName":ce=B.translated_name;break;default:ce=B.code;break}r(34,Fr=ce)}}),p||r(34,Fr=Re)},oo=()=>{let p=document.createElement("style");p.innerHTML=o,Ye.appendChild(p)},lo=()=>{let p=new URL(l),B=document.createElement("style");fetch(p.href).then(X=>X.text()).then(X=>{B.innerHTML=X,r(0,o=o?o+X:X),setTimeout(()=>{Ye.appendChild(B)},1),setTimeout(()=>{},500)})};Ss(()=>{r(32,pt=_.replace(/ /g,"").split(",")),r(32,pt=pt.map(p=>p.toUpperCase()))});function uo(){Re=Mo(this),r(30,Re),r(1,s),r(9,Ne),r(32,pt)}const fo=()=>Yr();function ho(p){Mt[p?"unshift":"push"](()=>{_t=p,r(33,_t)})}function co(p){Mt[p?"unshift":"push"](()=>{Ye=p,r(10,Ye)})}return e.$$set=p=>{"endpoint"in p&&r(43,i=p.endpoint),"lang"in p&&r(1,s=p.lang),"env"in p&&r(44,a=p.env),"clientstyling"in p&&r(0,o=p.clientstyling),"clientstylingurl"in p&&r(2,l=p.clientstylingurl),"translationurl"in p&&r(45,u=p.translationurl),"clockenabled"in p&&r(3,f=p.clockenabled),"clocksecondsenabled"in p&&r(46,h=p.clocksecondsenabled),"clockcustomformat"in p&&r(47,c=p.clockcustomformat),"clocktext"in p&&r(4,S=p.clocktext),"languageselectorenabled"in p&&r(5,w=p.languageselectorenabled),"languageslist"in p&&r(48,_=p.languageslist),"languagedisplaytype"in p&&r(49,k=p.languagedisplaytype),"session"in p&&r(50,G=p.session),"userid"in p&&r(51,Q=p.userid),"userendpoint"in p&&r(52,F=p.userendpoint),"userroles"in p&&r(53,M=p.userroles),"panicbuttonenabled"in p&&r(6,j=p.panicbuttonenabled),"sessiontimerenabled"in p&&r(7,x=p.sessiontimerenabled),"baseurl"in p&&r(8,he=p.baseurl)},e.$$.update=()=>{e.$$.dirty[0]&2&&s&&Bd(s),e.$$.dirty[1]&1576960&&G&&Q&&i&&eo(),e.$$.dirty[0]&2|e.$$.dirty[1]&8388608&&jt&&s&&to(),e.$$.dirty[0]&1025&&o&&Ye&&oo(),e.$$.dirty[0]&1028&&l&&Ye&&lo(),e.$$.dirty[0]&2|e.$$.dirty[1]&4206592&&i&&s&&a&&M&&no(),e.$$.dirty[1]&16384&&u&&Ka(),e.$$.dirty[0]&8|e.$$.dirty[1]&98304&&f!=="false"&&h&&c&&oi(),e.$$.dirty[0]&8|e.$$.dirty[1]&32768&&f!=="false"&&h&&(ni=h=="true"?1e3:6e4)&&ro(),e.$$.dirty[0]&514&&s&&r(30,Re=s)&&Ne&&Ne.length>0&&Gr()},[o,s,l,f,S,w,j,x,he,Ne,Ye,Dr,It,Pr,Ft,Hr,Yt,Rr,Gt,Nr,Bt,Cr,Ut,Lr,Ar,Ir,Wt,Kn,ei,ti,Re,ri,pt,_t,Fr,ii,si,ai,n,io,Yr,so,ao,i,a,u,h,c,_,k,G,Q,F,M,jt,uo,fo,ho,co]}class Ja extends xs{constructor(t){super(),Ts(this,t,zd,$d,En,{endpoint:43,lang:1,env:44,clientstyling:0,clientstylingurl:2,translationurl:45,clockenabled:3,clocksecondsenabled:46,clockcustomformat:47,clocktext:4,languageselectorenabled:5,languageslist:48,languagedisplaytype:49,session:50,userid:51,userendpoint:52,userroles:53,panicbuttonenabled:6,sessiontimerenabled:7,baseurl:8},Ud,[-1,-1,-1])}get endpoint(){return this.$$.ctx[43]}set endpoint(t){this.$$set({endpoint:t}),Z()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),Z()}get env(){return this.$$.ctx[44]}set env(t){this.$$set({env:t}),Z()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get translationurl(){return this.$$.ctx[45]}set translationurl(t){this.$$set({translationurl:t}),Z()}get clockenabled(){return this.$$.ctx[3]}set clockenabled(t){this.$$set({clockenabled:t}),Z()}get clocksecondsenabled(){return this.$$.ctx[46]}set clocksecondsenabled(t){this.$$set({clocksecondsenabled:t}),Z()}get clockcustomformat(){return this.$$.ctx[47]}set clockcustomformat(t){this.$$set({clockcustomformat:t}),Z()}get clocktext(){return this.$$.ctx[4]}set clocktext(t){this.$$set({clocktext:t}),Z()}get languageselectorenabled(){return this.$$.ctx[5]}set languageselectorenabled(t){this.$$set({languageselectorenabled:t}),Z()}get languageslist(){return this.$$.ctx[48]}set languageslist(t){this.$$set({languageslist:t}),Z()}get languagedisplaytype(){return this.$$.ctx[49]}set languagedisplaytype(t){this.$$set({languagedisplaytype:t}),Z()}get session(){return this.$$.ctx[50]}set session(t){this.$$set({session:t}),Z()}get userid(){return this.$$.ctx[51]}set userid(t){this.$$set({userid:t}),Z()}get userendpoint(){return this.$$.ctx[52]}set userendpoint(t){this.$$set({userendpoint:t}),Z()}get userroles(){return this.$$.ctx[53]}set userroles(t){this.$$set({userroles:t}),Z()}get panicbuttonenabled(){return this.$$.ctx[6]}set panicbuttonenabled(t){this.$$set({panicbuttonenabled:t}),Z()}get sessiontimerenabled(){return this.$$.ctx[7]}set sessiontimerenabled(t){this.$$set({sessiontimerenabled:t}),Z()}get baseurl(){return this.$$.ctx[8]}set baseurl(t){this.$$set({baseurl:t}),Z()}}Ms(Ja,{endpoint:{},lang:{},env:{},clientstyling:{},clientstylingurl:{},translationurl:{},clockenabled:{},clocksecondsenabled:{},clockcustomformat:{},clocktext:{},languageselectorenabled:{},languageslist:{},languagedisplaytype:{},session:{},userid:{},userendpoint:{},userroles:{},panicbuttonenabled:{},sessiontimerenabled:{},baseurl:{}},[],[],!0);const Zd=Object.freeze(Object.defineProperty({__proto__:null,default:Ja},Symbol.toStringTag,{value:"Module"}));exports.$format=Xa;exports.$locale=Ze;exports.CasinoFooter_ce=Zd;exports.SvelteComponent=xs;exports.addMessages=qn;exports.append=v;exports.append_styles=vs;exports.attr=m;exports.binding_callbacks=Mt;exports.component_subscribe=bs;exports.create_custom_element=Ms;exports.destroy_each=tn;exports.detach=R;exports.element=E;exports.empty=ws;exports.ensure_array_like=vt;exports.flush=Z;exports.getDevice=qa;exports.init=Ts;exports.insert=A;exports.listen=wt;exports.noop=re;exports.null_to_empty=vo;exports.onMount=Ss;exports.safe_not_equal=En;exports.set_custom_element_data=g;exports.set_data=ie;exports.space=z;exports.src_url_equal=Ie;exports.text=K;exports.toggle_class=xo;
|
|
14
|
+
`,lt.MISSING_INTL_API,a);var M=r.getPluralRules(t,{type:h.pluralType}).select(c-(h.offset||0));F=h.options[M]||h.options.other}if(!F)throw new Ii(h.value,c,Object.keys(h.options),a);o.push.apply(o,nr(F.value,t,r,n,i,c-(h.offset||0)));continue}}return td(o)}function nd(e,t){return t?N(N(N({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=N(N({},e[n]),t[n]||{}),r},{})):e}function id(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=nd(e[n],t[n]),r},N({},e)):e}function Kr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function sd(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Jr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,st([void 0],r,!1)))},{cache:Kr(e.number),strategy:Qr.variadic}),getDateTimeFormat:Jr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,st([void 0],r,!1)))},{cache:Kr(e.dateTime),strategy:Qr.variadic}),getPluralRules:Jr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,st([void 0],r,!1)))},{cache:Kr(e.pluralRules),strategy:Qr.variadic})}}var ad=function(){function e(t,r,n,i){var s=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(f,c){return!f.length||c.type!==te.literal||typeof f[f.length-1]!="string"?f.push(c.value):f[f.length-1]+=c.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return nr(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var o=Bf(a,["formatters"]);this.ast=e.__parse(t,N(N({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=id(e.formats,n),this.formatters=i&&i.formatters||sd(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=$c,e.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"}}},e}();function od(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const Ae={},ld=(e,t,r)=>r&&(t in Ae||(Ae[t]={}),e in Ae[t]||(Ae[t][e]=r),r),Wa=(e,t)=>{if(t==null)return;if(t in Ae&&e in Ae[t])return Ae[t][e];const r=Or(t);for(let n=0;n<r.length;n++){const i=r[n],s=hd(i,e);if(s)return ld(e,t,s)}};let Xn;const At=Mr({});function ud(e){return Xn[e]||null}function ja(e){return e in Xn}function hd(e,t){if(!ja(e))return null;const r=ud(e);return od(r,t)}function fd(e){if(e==null)return;const t=Or(e);for(let r=0;r<t.length;r++){const n=t[r];if(ja(n))return n}}function qn(e,...t){delete Ae[e],At.update(r=>(r[e]=_c.all([r[e]||{},...t]),r))}dt([At],([e])=>Object.keys(e));At.subscribe(e=>Xn=e);const ir={};function cd(e,t){ir[e].delete(t),ir[e].size===0&&delete ir[e]}function Va(e){return ir[e]}function dd(e){return Or(e).map(t=>{const r=Va(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Sn(e){return e==null?!1:Or(e).some(t=>{var r;return(r=Va(t))==null?void 0:r.size})}function md(e,t){return Promise.all(t.map(n=>(cd(e,n),n().then(i=>i.default||i)))).then(n=>qn(e,...n))}const bt={};function $a(e){if(!Sn(e))return e in bt?bt[e]:Promise.resolve();const t=dd(e);return bt[e]=Promise.all(t.map(([r,n])=>md(r,n))).then(()=>{if(Sn(e))return $a(e);delete bt[e]}),bt[e]}const pd={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"}}},_d={fallbackLocale:null,loadingDelay:200,formats:pd,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},gd=_d;function ut(){return gd}const en=Mr(!1);var yd=Object.defineProperty,bd=Object.defineProperties,vd=Object.getOwnPropertyDescriptors,Fi=Object.getOwnPropertySymbols,wd=Object.prototype.hasOwnProperty,Sd=Object.prototype.propertyIsEnumerable,Gi=(e,t,r)=>t in e?yd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Td=(e,t)=>{for(var r in t||(t={}))wd.call(t,r)&&Gi(e,r,t[r]);if(Fi)for(var r of Fi(t))Sd.call(t,r)&&Gi(e,r,t[r]);return e},Ed=(e,t)=>bd(e,vd(t));let Tn;const fr=Mr(null);function Yi(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Or(e,t=ut().fallbackLocale){const r=Yi(e);return t?[...new Set([...r,...Yi(t)])]:r}function ze(){return Tn!=null?Tn:void 0}fr.subscribe(e=>{Tn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Md=e=>{if(e&&fd(e)&&Sn(e)){const{loadingDelay:t}=ut();let r;return typeof window!="undefined"&&ze()!=null&&t?r=window.setTimeout(()=>en.set(!0),t):en.set(!0),$a(e).then(()=>{fr.set(e)}).finally(()=>{clearTimeout(r),en.set(!1)})}return fr.set(e)},Ze=Ed(Td({},fr),{set:Md}),kr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var xd=Object.defineProperty,cr=Object.getOwnPropertySymbols,za=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable,Bi=(e,t,r)=>t in e?xd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Jn=(e,t)=>{for(var r in t||(t={}))za.call(t,r)&&Bi(e,r,t[r]);if(cr)for(var r of cr(t))Za.call(t,r)&&Bi(e,r,t[r]);return e},mt=(e,t)=>{var r={};for(var n in e)za.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&cr)for(var n of cr(e))t.indexOf(n)<0&&Za.call(e,n)&&(r[n]=e[n]);return r};const Rt=(e,t)=>{const{formats:r}=ut();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Od=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Rt("number",n)),new Intl.NumberFormat(r,i)}),kd=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Rt("date",n):Object.keys(i).length===0&&(i=Rt("date","short")),new Intl.DateTimeFormat(r,i)}),Dd=kr(e=>{var t=e,{locale:r,format:n}=t,i=mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Rt("time",n):Object.keys(i).length===0&&(i=Rt("time","short")),new Intl.DateTimeFormat(r,i)}),Pd=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return Od(Jn({locale:r},n))},Rd=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return kd(Jn({locale:r},n))},Hd=(e={})=>{var t=e,{locale:r=ze()}=t,n=mt(t,["locale"]);return Dd(Jn({locale:r},n))},Cd=kr((e,t=ze())=>new ad(e,t,ut().formats,{ignoreTag:ut().ignoreTag})),Nd=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=ze(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Wa(e,l);if(!h)h=(s=(i=(n=(r=ut()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!o)return h;let f=h;try{f=Cd(h,l).format(o)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return f},Ld=(e,t)=>Hd(t).format(e),Ad=(e,t)=>Rd(t).format(e),Id=(e,t)=>Pd(t).format(e),Fd=(e,t=ze())=>Wa(e,t),Xa=dt([Ze,At],()=>Nd);dt([Ze],()=>Ld);dt([Ze],()=>Ad);dt([Ze],()=>Id);dt([Ze,At],()=>Fd);window.emWidgets={topic:ec};const qa=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Gd(e,t){return new Promise((r,n)=>{const i=new Headers;i.append("X-SessionID",t);const s={method:"GET",headers:i};fetch(`${e}/v1/player/session/player`,s).then(a=>a.json()).then(a=>r(a)).catch(a=>n(a))})}function Ui(e,t){qn(e,t)}function Yd(e){Ze.set(e)}const Wi={en:{timeText:"Time",sessionTimer:"Logged in for"},fr:{timeText:"Temps",sessionTimer:"Connecté pour"},ro:{timeText:"Ora",sessionTimer:"Online de"},es:{timeText:"Hora",sessionTimer:"Tiempo sesión"},pt:{timeText:"Categorias",sessionTimer:"Logged in for"},hr:{timeText:"Vrijeme",sessionTimer:"Prijavljen za"},"pt-br":{timeText:"Tempo",sessionTimer:"Tempo de sessão"},"es-mx":{timeText:"Tiempo",sessionTimer:"Tiempo de sesión"},tr:{timeText:"Zaman",sessionTimer:"Giriş süresi"}},{document:ji}=vo;function Bd(e){vs(e,"svelte-154ioob",".SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.FooterGrid{font-weight:400;display:flex;padding:10px 40px;background-color:var(--emfe-w-color-footer-bg, var(--emfe-w-color-background-secondary, #212529));color:var(--emfe-w-color-white, #FFFFFF);flex-direction:column;align-items:center;justify-content:center}.FooterGrid.NoSponsorSpacing{padding-top:30px}.FooterGrid .GridRow{display:flex;flex-flow:row wrap;width:100%;padding:20px 0;align-items:flex-start;justify-content:center}.FooterGrid .GridRow:first-child{padding-top:0}.FooterGrid .GridRow:not(:last-child){border-bottom:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid .GridRow.LicenseRow{border-bottom:0}.FooterGrid .GridRow.SplitRow .GridCol:first-child{flex-basis:50%}.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){flex-basis:calc(50% - 1px);border-left:1px solid rgba(255, 255, 255, 0.1)}.FooterGrid .GridRow.ProvisionalRow{padding-top:12px;justify-content:space-between;align-items:center}.FooterGrid .GridRow .GridCol{width:100%;flex:1}.FooterGrid .GridRow .GridCol p{text-align:center}.FooterGrid .GridRow .GridCol p.FooterTitle{font-size:12px;font-weight:700}.FooterGrid .GridRow .GridCol .PaymentsTitle,.FooterGrid .GridRow .GridCol .VendorsTitle{margin:0 auto 20px;font-size:10px;font-weight:700}.FooterGrid .DetailedLicenses{margin:30px 50px 20px;font-size:10px;text-align:center;color:var(--emfe-w-color-gray-150, #828282)}.FooterGrid .CopyrightAreaRights{margin-top:10px}.FooterGrid .CopyrightTextArea p,.FooterGrid .CopyrightArea p{margin:0;color:var(--emfe-w-color-gray-150, #828282);font-size:9px}@media only screen and (max-width: 768px){.FooterGrid{padding:5px 20px}.FooterGrid .FooterTitle{margin-top:0}.FooterGrid .GridRow{padding:0}.FooterGrid .GridRow:not(:last-child){border-bottom:0}.FooterGrid .GridRow:not(:last-child).ProvisionalRow{padding-top:12px;justify-content:space-between;flex-direction:column;align-items:center;gap:1rem}.FooterGrid .GridRow:last-child .GridCol:last-child{border-bottom:0}.FooterGrid .GridRow.SplitRow .GridCol:first-child,.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){flex-basis:unset}.FooterGrid .GridRow.SplitRow .GridCol:nth-child(2){border-left:none}.FooterGrid .GridRow .GridCol{border-bottom:1px solid rgba(255, 255, 255, 0.1);padding:15px 0}.FooterGrid .GridRow .GridCol #DetailedLicenses{margin:10px auto 25px}.FooterGrid .GridRow .GridCol .PaymentsTitle,.FooterGrid .GridRow .GridCol .VendorsTitle{margin:10px auto}}.ClockContainer{color:var(--emfe-w-color-gray-150, #c3c3c3)}.SessionText{color:var(--emfe-w-color-gray-150, #c3c3c3)}.ItemLanguage{display:none}#languageList{padding:0;margin:0}.languageSelectorOverlay{position:relative}.drawerButton{height:30px;width:150px;background:#212529;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-evenly;align-items:center;border-radius:0px;border:0}.languageDrawer{position:absolute;background:#363e46;width:150px;top:30px;padding:6px 0}.languageDrawer.hidden{display:none}.languageFlag{margin-right:8px;background:white;border-radius:50%;width:14px;height:14px}.downwardChevron{margin-left:8px;margin-top:4px;width:8px;height:auto}.overlayLanguageOption{list-style:none;width:24px;position:relative;padding:0;justify-content:center}.overlayLanguageOption img{position:absolute;z-index:0;cursor:pointer;top:6px;left:12px}.overlayLanguageOption a{text-decoration:none;color:#fff;display:inline-block;width:150px}.overlayLanguageOption a span{width:100%;display:flex;justify-content:center;margin:4px 0}")}function Vi(e,t,r){const n=e.slice();return n[74]=t[r],n}function $i(e,t,r){const n=e.slice();return n[77]=t[r],n}function zi(e){let t,r;return{c(){t=E("script"),Ie(t.src,r=e[28])||m(t,"src",r)},m(n,i){A(n,t,i)},p(n,i){i[0]&268435456&&!Ie(t.src,r=n[28])&&m(t,"src",r)},d(n){n&&H(t)}}}function Ud(e){let t,r,n,i,s,a,o,l,u=(e[3]==="true"||e[5]==="true"||e[6]==="true")&&Zi(e),h=e[7]==="true"&&localStorage.session&&es(e),f=e[16]&&ts(e),c=(e[14]||e[12])&&is(e),S=(e[18]||e[20])&&us(e),w=(e[24]||e[23])&&ms(e);return{c(){t=E("div"),u&&u.c(),r=z(),h&&h.c(),n=z(),f&&f.c(),i=z(),c&&c.c(),s=z(),S&&S.c(),a=z(),w&&w.c(),m(t,"class",o="FooterGrid "+(e[16]?"":"NoSponsorSpacing")),m(t,"part",l="FooterGrid "+(e[16]?"":"NoSponsorSpacing"))},m(_,k){A(_,t,k),u&&u.m(t,null),v(t,r),h&&h.m(t,null),v(t,n),f&&f.m(t,null),v(t,i),c&&c.m(t,null),v(t,s),S&&S.m(t,null),v(t,a),w&&w.m(t,null)},p(_,k){_[3]==="true"||_[5]==="true"||_[6]==="true"?u?u.p(_,k):(u=Zi(_),u.c(),u.m(t,r)):u&&(u.d(1),u=null),_[7]==="true"&&localStorage.session?h?h.p(_,k):(h=es(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),_[16]?f?f.p(_,k):(f=ts(_),f.c(),f.m(t,i)):f&&(f.d(1),f=null),_[14]||_[12]?c?c.p(_,k):(c=is(_),c.c(),c.m(t,s)):c&&(c.d(1),c=null),_[18]||_[20]?S?S.p(_,k):(S=us(_),S.c(),S.m(t,a)):S&&(S.d(1),S=null),_[24]||_[23]?w?w.p(_,k):(w=ms(_),w.c(),w.m(t,null)):w&&(w.d(1),w=null),k[0]&65536&&o!==(o="FooterGrid "+(_[16]?"":"NoSponsorSpacing"))&&m(t,"class",o),k[0]&65536&&l!==(l="FooterGrid "+(_[16]?"":"NoSponsorSpacing"))&&m(t,"part",l)},d(_){_&&H(t),u&&u.d(),h&&h.d(),f&&f.d(),c&&c.d(),S&&S.d(),w&&w.d()}}}function Wd(e){let t;return{c(){t=E("p"),t.textContent="Loading ...",m(t,"class","SearchLoading"),m(t,"part","SearchLoading")},m(r,n){A(r,t,n)},p:re,d(r){r&&H(t)}}}function jd(e){let t;return{c(){t=E("p"),t.textContent="500 Error - Internal Server Error",m(t,"class","SearchLoading"),m(t,"part","SearchLoading")},m(r,n){A(r,t,n)},p:re,d(r){r&&H(t)}}}function Zi(e){let t,r,n,i=e[3]==="true"&&Xi(e),s=e[6]==="true"&&qi(e),a=e[5]==="true"&&e[36]&&e[30]&&Ji(e);return{c(){t=E("div"),i&&i.c(),r=z(),s&&s.c(),n=z(),a&&a.c(),m(t,"class","GridRow ProvisionalRow"),m(t,"part","GridRow")},m(o,l){A(o,t,l),i&&i.m(t,null),v(t,r),s&&s.m(t,null),v(t,n),a&&a.m(t,null)},p(o,l){o[3]==="true"?i?i.p(o,l):(i=Xi(o),i.c(),i.m(t,r)):i&&(i.d(1),i=null),o[6]==="true"?s?s.p(o,l):(s=qi(o),s.c(),s.m(t,n)):s&&(s.d(1),s=null),o[5]==="true"&&o[36]&&o[30]?a?a.p(o,l):(a=Ji(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(o){o&&H(t),i&&i.d(),s&&s.d(),a&&a.d()}}}function Xi(e){let t,r,n,i,s,a,o;return{c(){t=E("div"),r=E("span"),n=K(e[4]),i=K(":"),s=z(),a=E("span"),o=K(e[31]),m(r,"class","ClockText"),m(a,"class","ClockTime"),m(t,"class","ClockContainer")},m(l,u){A(l,t,u),v(t,r),v(r,n),v(r,i),v(t,s),v(t,a),v(a,o)},p(l,u){u[0]&16&&ie(n,l[4]),u[1]&1&&ie(o,l[31])},d(l){l&&H(t)}}}function qi(e){let t;return{c(){t=E("player-panic-button"),g(t,"lang",e[1])},m(r,n){A(r,t,n)},p(r,n){n[0]&2&&g(t,"lang",r[1])},d(r){r&&H(t)}}}function Ji(e){let t,r,n,i,s,a,o,l,u,h,f,c,S,w,_,k=vt(e[32]),Y=[];for(let M=0;M<k.length;M+=1)Y[M]=Qi($i(e,k,M));let Q=vt(e[9]),F=[];for(let M=0;M<Q.length;M+=1)F[M]=Ki(Vi(e,Q,M));return{c(){t=E("div"),r=E("select");for(let M=0;M<Y.length;M+=1)Y[M].c();n=z(),i=E("div"),s=E("button"),a=E("img"),l=K(e[34]),u=E("img"),f=z(),c=E("div"),S=E("ul");for(let M=0;M<F.length;M+=1)F[M].c();m(r,"class","Item ItemLanguage"),m(r,"part","Item ItemLanguage"),e[30]===void 0&&sr(()=>e[55].call(r)),m(a,"class","languageFlag"),Ie(a.src,o=e[35])||m(a,"src",o),m(u,"class","downwardChevron"),Ie(u.src,h="https://upload.wikimedia.org/wikipedia/commons/2/24/White_arrow_down.svg")||m(u,"src",h),m(s,"class","drawerButton"),s.value=e[30],m(S,"id","languageList"),m(c,"class","languageDrawer hidden"),m(i,"class","languageSelectorOverlay"),m(t,"class","languageSelectorContainer")},m(M,j){A(M,t,j),v(t,r);for(let x=0;x<Y.length;x+=1)Y[x]&&Y[x].m(r,null);mi(r,e[30],!0),v(t,n),v(t,i),v(i,s),v(s,a),v(s,l),v(s,u),v(i,f),v(i,c),v(c,S);for(let x=0;x<F.length;x+=1)F[x]&&F[x].m(S,null);e[57](c),w||(_=[wt(r,"change",e[55]),wt(r,"change",e[56]),wt(s,"click",e[41])],w=!0)},p(M,j){if(j[1]&2){k=vt(M[32]);let x;for(x=0;x<k.length;x+=1){const fe=$i(M,k,x);Y[x]?Y[x].p(fe,j):(Y[x]=Qi(fe),Y[x].c(),Y[x].m(r,null))}for(;x<Y.length;x+=1)Y[x].d(1);Y.length=k.length}if(j[0]&1073741824|j[1]&2&&mi(r,M[30]),j[1]&16&&!Ie(a.src,o=M[35])&&m(a,"src",o),j[1]&8&&ie(l,M[34]),j[0]&1073741824|j[1]&2&&(s.value=M[30]),j[0]&512|j[1]&2048){Q=vt(M[9]);let x;for(x=0;x<Q.length;x+=1){const fe=Vi(M,Q,x);F[x]?F[x].p(fe,j):(F[x]=Ki(fe),F[x].c(),F[x].m(S,null))}for(;x<F.length;x+=1)F[x].d(1);F.length=Q.length}},d(M){M&&H(t),tn(Y,M),tn(F,M),e[57](null),w=!1,Ve(_)}}}function Qi(e){let t,r=e[77]+"",n,i;return{c(){t=E("option"),n=K(r),t.__value=i=e[77],di(t,t.__value),t.selected=!0},m(s,a){A(s,t,a),v(t,n)},p(s,a){a[1]&2&&r!==(r=s[77]+"")&&ie(n,r),a[1]&2&&i!==(i=s[77])&&(t.__value=i,di(t,t.__value))},d(s){s&&H(t)}}}function Ki(e){let t,r,n,i,s,a=e[74].name+"",o,l,u,h;return{c(){t=E("li"),r=E("img"),i=E("a"),s=E("span"),o=K(a),m(r,"class","languageFlag"),Ie(r.src,n=e[74].flag_icon_editable)||m(r,"src",n),m(i,"href","javascript:void(0)"),m(t,"class","overlayLanguageOption"),m(t,"data-lang",l=e[74].code)},m(f,c){A(f,t,c),v(t,r),v(t,i),v(i,s),v(s,o),u||(h=wt(t,"click",e[42]),u=!0)},p(f,c){c[0]&512&&!Ie(r.src,n=f[74].flag_icon_editable)&&m(r,"src",n),c[0]&512&&a!==(a=f[74].name+"")&&ie(o,a),c[0]&512&&l!==(l=f[74].code)&&m(t,"data-lang",l)},d(f){f&&H(t),u=!1,h()}}}function es(e){let t,r,n,i=e[38]("sessionTimer")+"",s,a,o;return{c(){t=E("div"),r=E("div"),n=E("span"),s=K(i),a=z(),o=K(e[37]),m(n,"class","SessionText"),m(r,"class","sessionTimerContainer"),m(t,"class","GridRow ProvisionalRow"),m(t,"part","GridRow")},m(l,u){A(l,t,u),v(t,r),v(r,n),v(n,s),v(n,a),v(n,o)},p(l,u){u[1]&128&&i!==(i=l[38]("sessionTimer")+"")&&ie(s,i),u[1]&64&&ie(o,l[37])},d(l){l&&H(t)}}}function ts(e){let t,r=e[16]&&rs(e);return{c(){t=E("div"),r&&r.c(),m(t,"class","GridRow"),m(t,"part","GridRow")},m(n,i){A(n,t,i),r&&r.m(t,null)},p(n,i){n[16]?r?r.p(n,i):(r=rs(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(n){n&&H(t),r&&r.d()}}}function rs(e){let t,r,n,i=e[15]&&ns(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"sponsorflag","1"),g(n,"clientstyling",e[0]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[15]?i?i.p(s,a):(i=ns(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function ns(e){let t,r;return{c(){t=E("p"),r=K(e[15]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&32768&&ie(r,n[15])},d(n){n&&H(t)}}}function is(e){let t,r,n,i,s=e[14]&&ss(e),a=e[12]&&os(e);return{c(){t=E("div"),s&&s.c(),r=z(),a&&a.c(),m(t,"class",n="GridRow "+(e[14]&&e[12]?"SplitRow":"")),m(t,"part",i="GridRow "+(e[14]&&e[12]?"SplitRow":""))},m(o,l){A(o,t,l),s&&s.m(t,null),v(t,r),a&&a.m(t,null)},p(o,l){o[14]?s?s.p(o,l):(s=ss(o),s.c(),s.m(t,r)):s&&(s.d(1),s=null),o[12]?a?a.p(o,l):(a=os(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null),l[0]&20480&&n!==(n="GridRow "+(o[14]&&o[12]?"SplitRow":""))&&m(t,"class",n),l[0]&20480&&i!==(i="GridRow "+(o[14]&&o[12]?"SplitRow":""))&&m(t,"part",i)},d(o){o&&H(t),s&&s.d(),a&&a.d()}}}function ss(e){let t,r,n,i=e[13]&&as(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"paymentflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[13]?i?i.p(s,a):(i=as(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function as(e){let t,r;return{c(){t=E("p"),r=K(e[13]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&8192&&ie(r,n[13])},d(n){n&&H(t)}}}function os(e){let t,r,n,i=e[11]&&ls(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"vendorflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[11]?i?i.p(s,a):(i=ls(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function ls(e){let t,r;return{c(){t=E("p"),r=K(e[11]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&2048&&ie(r,n[11])},d(n){n&&H(t)}}}function us(e){let t,r,n,i,s=e[18]&&hs(e),a=e[20]&&cs(e);return{c(){t=E("div"),s&&s.c(),r=z(),a&&a.c(),m(t,"class",n="GridRow "+(e[18]&&e[20]?"SplitRow":"")),m(t,"part",i="GridRow "+(e[18]&&e[20]?"SplitRow":""))},m(o,l){A(o,t,l),s&&s.m(t,null),v(t,r),a&&a.m(t,null)},p(o,l){o[18]?s?s.p(o,l):(s=hs(o),s.c(),s.m(t,r)):s&&(s.d(1),s=null),o[20]?a?a.p(o,l):(a=cs(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null),l[0]&1310720&&n!==(n="GridRow "+(o[18]&&o[20]?"SplitRow":""))&&m(t,"class",n),l[0]&1310720&&i!==(i="GridRow "+(o[18]&&o[20]?"SplitRow":""))&&m(t,"part",i)},d(o){o&&H(t),s&&s.d(),a&&a.d()}}}function hs(e){let t,r,n,i=e[17]&&fs(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"helperflag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[17]?i?i.p(s,a):(i=fs(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function fs(e){let t,r;return{c(){t=E("p"),r=K(e[17]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&131072&&ie(r,n[17])},d(n){n&&H(t)}}}function cs(e){let t,r,n,i=e[19]&&ds(e);return{c(){t=E("div"),i&&i.c(),r=z(),n=E("casino-footer-section"),g(n,"class","FooterSection"),g(n,"part","FooterSection"),g(n,"licenseFlag","1"),g(n,"clientstyling",e[0]),g(n,"clientstylingurl",e[2]),g(n,"baseurl",e[8]),g(n,"lang",e[1]),g(n,"footertype","footerprimary"),m(t,"class","GridCol"),m(t,"part","GridCol")},m(s,a){A(s,t,a),i&&i.m(t,null),v(t,r),v(t,n)},p(s,a){s[19]?i?i.p(s,a):(i=ds(s),i.c(),i.m(t,r)):i&&(i.d(1),i=null),a[0]&1&&g(n,"clientstyling",s[0]),a[0]&4&&g(n,"clientstylingurl",s[2]),a[0]&256&&g(n,"baseurl",s[8]),a[0]&2&&g(n,"lang",s[1])},d(s){s&&H(t),i&&i.d()}}}function ds(e){let t,r;return{c(){t=E("p"),r=K(e[19]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&524288&&ie(r,n[19])},d(n){n&&H(t)}}}function ms(e){let t,r,n,i,s,a,o,l,u,h,f,c,S,w=e[22]&&ps(e);return{c(){t=E("div"),r=E("div"),n=E("div"),s=z(),a=E("div"),l=z(),w&&w.c(),u=z(),h=E("div"),m(n,"class","DetailedLicenses"),m(n,"part","DetailedLicenses"),m(a,"class","DetailedCustomLicenses"),m(a,"part","DetailedCustomLicenses"),m(h,"class","CopyrightAreaRights CopyrightArea"),m(h,"part","CopyrightAreaRights CopyrightArea"),m(r,"class","GridCol"),m(r,"part","GridCol"),m(t,"class","GridRow LicenseRow"),m(t,"part","GridRow LicenseRow")},m(_,k){A(_,t,k),v(t,r),v(r,n),v(r,s),v(r,a),v(r,l),w&&w.m(r,null),v(r,u),v(r,h),c||(S=[Ur(i=e[39].call(null,n,e[24])),Ur(o=e[39].call(null,a,e[29])),Ur(f=e[39].call(null,h,e[23]))],c=!0)},p(_,k){i&&We(i.update)&&k[0]&16777216&&i.update.call(null,_[24]),o&&We(o.update)&&k[0]&536870912&&o.update.call(null,_[29]),_[22]?w?w.p(_,k):(w=ps(_),w.c(),w.m(r,u)):w&&(w.d(1),w=null),f&&We(f.update)&&k[0]&8388608&&f.update.call(null,_[23])},d(_){_&&H(t),w&&w.d(),c=!1,Ve(S)}}}function ps(e){let t,r,n=e[21]&&_s(e);return{c(){n&&n.c(),t=z(),r=E("casino-footer-section"),g(r,"class","FooterSection SocialSection"),g(r,"part","FooterSection SocialSection"),g(r,"socialflag","1"),g(r,"clientstyling",e[0]),g(r,"clientstylingurl",e[2]),g(r,"baseurl",e[8]),g(r,"lang",e[1]),g(r,"footertype","footerprimary")},m(i,s){n&&n.m(i,s),A(i,t,s),A(i,r,s)},p(i,s){i[21]?n?n.p(i,s):(n=_s(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),s[0]&1&&g(r,"clientstyling",i[0]),s[0]&4&&g(r,"clientstylingurl",i[2]),s[0]&256&&g(r,"baseurl",i[8]),s[0]&2&&g(r,"lang",i[1])},d(i){i&&(H(t),H(r)),n&&n.d(i)}}}function _s(e){let t,r;return{c(){t=E("p"),r=K(e[21]),m(t,"class","FooterTitle"),m(t,"part","FooterTitle")},m(n,i){A(n,t,i),v(t,r)},p(n,i){i[0]&2097152&&ie(r,n[21])},d(n){n&&H(t)}}}function Vd(e){let t,r,n,i=e[27]&&zi(e);function s(l,u){return l[25]?jd:l[26]?Wd:Ud}let a=s(e),o=a(e);return{c(){i&&i.c(),t=ws(),r=z(),n=E("div"),o.c()},m(l,u){i&&i.m(ji.head,null),v(ji.head,t),A(l,r,u),A(l,n,u),o.m(n,null),e[58](n)},p(l,u){l[27]?i?i.p(l,u):(i=zi(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a===(a=s(l))&&o?o.p(l,u):(o.d(1),o=a(l),o&&(o.c(),o.m(n,null)))},i:re,o:re,d(l){l&&(H(r),H(n)),i&&i.d(l),H(t),o.d(),e[58](null)}}}function $d(e,t,r){let n;bs(e,Xa,p=>r(38,n=p));let{endpoint:i=""}=t,{lang:s="en"}=t,{env:a=""}=t,{clientstyling:o=""}=t,{clientstylingurl:l=""}=t,{translationurl:u=""}=t,{clockenabled:h=""}=t,{clocksecondsenabled:f=""}=t,{clockcustomformat:c=""}=t,{clocktext:S="Time"}=t,{languageselectorenabled:w="true"}=t,{languageslist:_="en, ro"}=t,{languagedisplaytype:k="name"}=t,{session:Y=""}=t,{userid:Q=""}=t,{userendpoint:F=""}=t,{userroles:M=""}=t,{panicbuttonenabled:j="true"}=t,{sessiontimerenabled:x="true"}=t,{baseurl:fe=""}=t,Dr="",It=[],Pr="",Ft=[],Rr="",Gt=[],Hr="",Yt=[],Cr="",Bt=[],Nr="",Ut=[],Lr="",Ar="",Ir=!1,Wt=!1,Qn,Kn=!1,ei="",ti="",jt=!1,He="hr",Ce=[],Qa=window.navigator.userAgent,ri,ni,pt=[],_t,Fr="",ii="",si=!1,ai="";const Ka=()=>{fetch(u).then(B=>B.json()).then(B=>{Object.keys(B).forEach(X=>{Ui(X,B[X])})}).catch(B=>{console.log(B)})};let Ge;Object.keys(Wi).forEach(p=>{Ui(p,Wi[p])});const eo=()=>{Gd(F,Y).then(p=>{p.Guid,p.UserID,r(54,jt=!0)},p=>{r(54,jt=!1),console.error("Error while checking the session - ",p)})},to=()=>{const p=JSON.parse(localStorage.session),B=new Date(p.Login),X=new Date().getTimezoneOffset()/60;let se=new Date().getTime()-B.getTime(),Ye=Math.floor(se/36e5)+X,Vt=Math.floor(se%36e5/6e4),$t=Math.floor(se%6e4/1e3);setInterval(()=>{Ye=Math.floor(se/36e5)+X,Vt=Math.floor(se%36e5/6e4),$t=Math.floor(se%6e4/1e3),r(37,ai=`${Ye>9?Ye:"0"+Ye}:${Vt>9?Vt:"0"+Vt}:${$t>9?$t:"0"+$t}`),se+=1e3},1e3)},ro=()=>{setInterval(()=>{oi()},ni)},oi=()=>{const p=c!="false"?c:`hh:mm${f==="true"?":ss":""} (UTC Z)`;r(31,ri=y().format(p))},no=()=>{let p=new URL(`${i}/${s}/footer-raw-data?env=${a}`),B=qa(Qa);p.searchParams.append("userRoles",M),B&&(B==="PC"?p.searchParams.append("device","dk"):p.searchParams.append("device","mtWeb")),r(25,Ir=!1),r(26,Wt=!0),fetch(p).then(X=>X.json()).then(X=>{r(26,Wt=!1),Qn=X;let ce,se,Ye;r(11,{gameVendorsLinksTitle:Dr,gameVendorsRepeater:It,paymentLinksTitle:Pr,paymentMethodsRepeater:Ft,sponsorsLinksTitle:Rr,sponsorsRepeater:Gt,helpLinksTitle:Hr,helpLinksRepeater:Yt,licensesLinksTitle:Cr,licensesRepeater:Bt,socialLinksTitle:Nr,socialLinksRepeater:Ut,copyright:Lr,licenseDesc:Ar,licenseHeadScriptSrc:ce,licenseScriptBody:se,licenseEvent:Ye,language:Ce}=Qn,Dr,r(12,It),r(13,Pr),r(14,Ft),r(15,Rr),r(16,Gt),r(17,Hr),r(18,Yt),r(19,Cr),r(20,Bt),r(21,Nr),r(22,Ut),r(23,Lr),r(24,Ar),r(9,Ce)),Ce&&(r(36,si=!0),Yr()),(ce==null?void 0:ce.length)>0&&(r(27,Kn=!0),r(28,ei=ce)),(se==null?void 0:se.length)>0&&r(29,ti=se),window.postMessage({type:Ye},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:It,paymentMethodsRepeater:Ft,sponsorsRepeater:Gt,helpLinksRepeater:Yt,licensesRepeater:Bt,socialLinksRepeater:Ut},window.location.href)}).catch(X=>{r(25,Ir=!0),r(26,Wt=!1),console.error(X)})},io=(p,B)=>{let X=document.createElement("div");X.innerHTML=B,p.append(X)},Gr=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:He},window.location.href)},so=()=>{_t.classList.toggle("hidden")},ao=p=>{let B=p.target.closest(".overlayLanguageOption");r(30,He=B.getAttribute("data-lang")),Gr(),Yr(),_t.classList.toggle("hidden")},Yr=()=>{let p=!1;Ce.forEach((B,X)=>{if(B.code==He.toLowerCase()){p=!0;let ce="";switch(r(35,ii=B.flag_icon_editable),k){case"name":ce=B.name;break;case"translatedName":ce=B.translated_name;break;default:ce=B.code;break}r(34,Fr=ce)}}),p||r(34,Fr=He)},oo=()=>{let p=document.createElement("style");p.innerHTML=o,Ge.appendChild(p)},lo=()=>{let p=new URL(l),B=document.createElement("style");fetch(p.href).then(X=>X.text()).then(X=>{B.innerHTML=X,r(0,o=o?o+X:X),setTimeout(()=>{Ge.appendChild(B)},1),setTimeout(()=>{},500)})};Ss(()=>{r(32,pt=_.replace(/ /g,"").split(",")),r(32,pt=pt.map(p=>p.toUpperCase()))});function uo(){He=Eo(this),r(30,He),r(1,s),r(9,Ce),r(32,pt)}const ho=()=>Gr();function fo(p){Mt[p?"unshift":"push"](()=>{_t=p,r(33,_t)})}function co(p){Mt[p?"unshift":"push"](()=>{Ge=p,r(10,Ge)})}return e.$$set=p=>{"endpoint"in p&&r(43,i=p.endpoint),"lang"in p&&r(1,s=p.lang),"env"in p&&r(44,a=p.env),"clientstyling"in p&&r(0,o=p.clientstyling),"clientstylingurl"in p&&r(2,l=p.clientstylingurl),"translationurl"in p&&r(45,u=p.translationurl),"clockenabled"in p&&r(3,h=p.clockenabled),"clocksecondsenabled"in p&&r(46,f=p.clocksecondsenabled),"clockcustomformat"in p&&r(47,c=p.clockcustomformat),"clocktext"in p&&r(4,S=p.clocktext),"languageselectorenabled"in p&&r(5,w=p.languageselectorenabled),"languageslist"in p&&r(48,_=p.languageslist),"languagedisplaytype"in p&&r(49,k=p.languagedisplaytype),"session"in p&&r(50,Y=p.session),"userid"in p&&r(51,Q=p.userid),"userendpoint"in p&&r(52,F=p.userendpoint),"userroles"in p&&r(53,M=p.userroles),"panicbuttonenabled"in p&&r(6,j=p.panicbuttonenabled),"sessiontimerenabled"in p&&r(7,x=p.sessiontimerenabled),"baseurl"in p&&r(8,fe=p.baseurl)},e.$$.update=()=>{e.$$.dirty[0]&2&&s&&Yd(s),e.$$.dirty[1]&1576960&&Y&&Q&&i&&eo(),e.$$.dirty[0]&2|e.$$.dirty[1]&8388608&&jt&&s&&to(),e.$$.dirty[0]&1025&&o&&Ge&&oo(),e.$$.dirty[0]&1028&&l&&Ge&&lo(),e.$$.dirty[0]&2|e.$$.dirty[1]&4206592&&i&&s&&a&&M&&no(),e.$$.dirty[1]&16384&&u&&Ka(),e.$$.dirty[0]&8|e.$$.dirty[1]&98304&&h!=="false"&&f&&c&&oi(),e.$$.dirty[0]&8|e.$$.dirty[1]&32768&&h!=="false"&&f&&(ni=f=="true"?1e3:6e4)&&ro(),e.$$.dirty[0]&514&&s&&r(30,He=s)&&Ce&&Ce.length>0&&Yr()},[o,s,l,h,S,w,j,x,fe,Ce,Ge,Dr,It,Pr,Ft,Rr,Gt,Hr,Yt,Cr,Bt,Nr,Ut,Lr,Ar,Ir,Wt,Kn,ei,ti,He,ri,pt,_t,Fr,ii,si,ai,n,io,Gr,so,ao,i,a,u,f,c,_,k,Y,Q,F,M,jt,uo,ho,fo,co]}class Ja extends xs{constructor(t){super(),Ts(this,t,$d,Vd,En,{endpoint:43,lang:1,env:44,clientstyling:0,clientstylingurl:2,translationurl:45,clockenabled:3,clocksecondsenabled:46,clockcustomformat:47,clocktext:4,languageselectorenabled:5,languageslist:48,languagedisplaytype:49,session:50,userid:51,userendpoint:52,userroles:53,panicbuttonenabled:6,sessiontimerenabled:7,baseurl:8},Bd,[-1,-1,-1])}get endpoint(){return this.$$.ctx[43]}set endpoint(t){this.$$set({endpoint:t}),Z()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),Z()}get env(){return this.$$.ctx[44]}set env(t){this.$$set({env:t}),Z()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get translationurl(){return this.$$.ctx[45]}set translationurl(t){this.$$set({translationurl:t}),Z()}get clockenabled(){return this.$$.ctx[3]}set clockenabled(t){this.$$set({clockenabled:t}),Z()}get clocksecondsenabled(){return this.$$.ctx[46]}set clocksecondsenabled(t){this.$$set({clocksecondsenabled:t}),Z()}get clockcustomformat(){return this.$$.ctx[47]}set clockcustomformat(t){this.$$set({clockcustomformat:t}),Z()}get clocktext(){return this.$$.ctx[4]}set clocktext(t){this.$$set({clocktext:t}),Z()}get languageselectorenabled(){return this.$$.ctx[5]}set languageselectorenabled(t){this.$$set({languageselectorenabled:t}),Z()}get languageslist(){return this.$$.ctx[48]}set languageslist(t){this.$$set({languageslist:t}),Z()}get languagedisplaytype(){return this.$$.ctx[49]}set languagedisplaytype(t){this.$$set({languagedisplaytype:t}),Z()}get session(){return this.$$.ctx[50]}set session(t){this.$$set({session:t}),Z()}get userid(){return this.$$.ctx[51]}set userid(t){this.$$set({userid:t}),Z()}get userendpoint(){return this.$$.ctx[52]}set userendpoint(t){this.$$set({userendpoint:t}),Z()}get userroles(){return this.$$.ctx[53]}set userroles(t){this.$$set({userroles:t}),Z()}get panicbuttonenabled(){return this.$$.ctx[6]}set panicbuttonenabled(t){this.$$set({panicbuttonenabled:t}),Z()}get sessiontimerenabled(){return this.$$.ctx[7]}set sessiontimerenabled(t){this.$$set({sessiontimerenabled:t}),Z()}get baseurl(){return this.$$.ctx[8]}set baseurl(t){this.$$set({baseurl:t}),Z()}}Ms(Ja,{endpoint:{},lang:{},env:{},clientstyling:{},clientstylingurl:{},translationurl:{},clockenabled:{},clocksecondsenabled:{},clockcustomformat:{},clocktext:{},languageselectorenabled:{},languageslist:{},languagedisplaytype:{},session:{},userid:{},userendpoint:{},userroles:{},panicbuttonenabled:{},sessiontimerenabled:{},baseurl:{}},[],[],!0);const zd=Object.freeze(Object.defineProperty({__proto__:null,default:Ja},Symbol.toStringTag,{value:"Module"}));exports.$format=Xa;exports.$locale=Ze;exports.CasinoFooter_ce=zd;exports.SvelteComponent=xs;exports.addMessages=qn;exports.append=v;exports.append_styles=vs;exports.attr=m;exports.binding_callbacks=Mt;exports.component_subscribe=bs;exports.create_custom_element=Ms;exports.destroy_each=tn;exports.detach=H;exports.element=E;exports.empty=ws;exports.ensure_array_like=vt;exports.flush=Z;exports.getDevice=qa;exports.init=Ts;exports.insert=A;exports.listen=wt;exports.noop=re;exports.onMount=Ss;exports.safe_not_equal=En;exports.set_custom_element_data=g;exports.set_data=ie;exports.space=z;exports.src_url_equal=Ie;exports.text=K;exports.toggle_class=Mo;
|